Quote:
Originally Posted by rob
from a pm with dead bwoy:
my related settings are:
m_maxhumans 4
m_botmode botvshuman
m_autobalancebots on 10 10 10
these settings have worked fine since version 4.00, with 5.50.12 i started having the same problems you are...
adding new bot...
max players reached. Can't create bot!
going back to 5.50.00 fixed my problems, so i suspect that its something in the new beta.
try going back to 5.50 and see if it helps.
|
As of version 5.50.12 the autobalancing code was completely changed, and it's behaviour will now be different. What used to work in the past may no longer work.
Now, according to your settings:
m_botmode botvshuman
m_autobalancebots on 10 10 10
maxbots = 10
minbots = 10
ratio = 10
According to these settings, even with the high ratio of bots to humans (10:1), there should never be less than 10 bots, or more than 10 bots in the game.
I just ran a test on my server and it works fine. So, what's going wrong?
Here is a clue:
Quote:
15 bots would fill the server (maxplayers), some join a team (usually 2 will join a team, 13 will spectate), when the round ends, 8 of the bots will join the botteam...but those other 5 just sit and spectate (and fill the only public slots)
|
The fact that some bots are spectating is the probem. Bots that spectate are not included in the bot balancing calculations, so the balancing algo thinks you do not have enough bots and adds more of them. Older versions of mEAn would kick out spectating bots, but this was a problem when bots were being kicked even before they could join a team. I realize that sometimes spectating bots should be kicked out, but spectating bots usually means there's a config problem somewhere (eg not enough spawn points for the map, or mp_limitteams != 0).
If my theory is correct, then the solution is to find out why your bots are being added only as spectators and fix the configuration problem.
To confirm the problem (or not) try the following:
1) Make note of how many bots the balancing message displayed on the HLDS console wants to add. If the number is correct, excluding the spectators, then the algo is functioning correctly.
2) Try adding bots manually and see if they are joining as spectators.
To fix the problem, make sure mp_limitteams = 0 and the maps being used have enough spawn sites. If that does not work, try another bot, but be sure to report the problem in the respective bot forum so the author can try and resolve it for you.
I should also mention that you should remove mEAn and check if the spectating goes away or not - but be sure to use the same map and all the same settings for such a test!