Advanced Bot Balance

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Advanced Bot Balance

Post by greenie »

For bot users, the bot count is a delicate setting. The bot count can make or break a server (literally and not lol). With my experience with bots I found that I needed a better way to balance the number of bots on my servers. I consider proper bot management (on servers with bots) a major component to the servers' popularity.

The optimal number of bots on the server depends on the time, number of humans, map cycle, and many other things.

This plug in attempts to intelligently keep the bot count at the optimal level.

Change log:
___________________________
1.0 Initial Version

CVARS:
___________________________
abb_add_command (Default "pb add")
Change this to the server command which will add a bot to your server, and any extra parameters you may need. The default will work for Podbot MM.

abb_remove_command (Default "pb remove #%d")
Where %d is a random bot player ID. You can leave out the %d if necessary. The default will work for Podbot MM.

abb_min_usedslots (Default "10")
minimum (human+bots) slots used on the server. ABB will add a bots if there's less than the minimum total slots taken - until the min is reached. This setting is great for keeping players company during off hours.

abb_min_open_slots (Default "1")
The minimum open slots on the server. ABB will kick a bot if we need more open slots and there is a bot to kick. Use this to prevent humans from not being able to connect due to the server being full.

abb_reaction_time (Default "60.0")
Time in seconds between every check and balance cycle. If ABB does need to add/remove bots it will add/remove 1 bot per cycle.

abb_lingering_bots (Default "1")
ABB tries to keep this many bots in play at all times (if there are [abb_min_usedslots] number of humans in play). Used right, this can improve your server pop drastically.

abb_extra_slack (Default "3")
If the (# of lingering bots in play) > (abb_extra_slack), ABB will start kicking bots (1 per cycle). This setting is great because it allows the server population to come down gradually. ABB uses extra bot slack to supplement the leaving humans, while keeping the server pop smooth.

get plugin
Post Reply

Return to “Server Management”