Quote:
Originally Posted by sPlOrYgOn
okay KWo lets give you a situation...
suppose a person wanted 10 bots to begin with..
then he wanted one to leave everytime a player joined..
and one to join everytime a player left.
if 10 players join then there should be no bots..
but this guy who owns this server is lazy and wants it all done for him...
if min_bots and max_bots was the way you want it..
he would never beable to have it all done for him..
because he would set min_bots to ZERO and max_bots to 10..
making no bots automaticly join..
|
Like You found a fix in Your edit2 - one way is after setting min_bots 0 max_bots 10 writing by this lazy person a command at the end of podbot.cfg :
pb fillserver
or he can do this: don't need touch (but he can) min/max_bots and simply write in podbot.cfg 10 addbot command lines, like I do...
It was sufficient ask me first, how to prepare a game on the server with 10 bots than totally change the specification and change the meaning of some parameters.
This is a lesson for You for the future - believe me - it's better ask first the people than lose one week of hard unless work.
But , OK - this time You dedicated to this problem is probably not 100% losed.
I suppose all Your effort to do some change in this autoaddremove has its begining here:
http://forums.bots-united.com/showthread.php?t=1669
Because now You now very well how this function works, this "eventually making server empty" should be for You simply for fix (BTW some fix for this situation is seting min_bots at value You want...).
With this problem is corresponding another one :
http://forums.bots-united.com/showthread.php?t=1765
I proposed some way
http://forums.bots-united.com/showpo...5&postcount=13
but I'm not sure it can realy help. We have to try first , maybe in some beta if You want and if You find a time for this and if the order of priority will reach this topic.
Another thing is - if some server's owner wants to have at the end of the game the same number of bots like on start of the game. If there is not any bot on the server (server is started without bots - without any addbot or fillserver command - only if admin realy want bots - he add them manualy to the server), after there are joined some people - for example 10 people and after some time they leave the game (so every client disconect in this case probably the same - bot will be curiosaly added, so when all players left the game in this case probably You have 10 bots on the server (but You didn't added them by fillserver or addbot command - so why exactly are they there? I suppose this admin doesn't want this. This is for discussion. I don't know how it should be - maybe this is correct (start without bots, players connect, after player left, and at sever there are some bots without any reaction of server's owner) - maybe bots should not be added.???
Another thing is - You want setup server with 10 bots , but You don't want the situation - player connect - bot kicked or player disconnect - bot added to the game. You want still 10 bots on the server.
So for bots of these example above Your CVAR can be useful - set it to 0 and this solve these problems above. If people want normal add/remove bots like until now - Your cvar should be 1 (defaiult if not specified - should be 1).
So all Your effort with testing this autojoining don't need to be taken as negative here - now You can use all You know in this topic to implement this what I described few lines above, what T Wrecks described in some his post and, I suppose, what Huntkillaz wanted, too.
Doing this cvar with this meaning like I described is safe because it doesn't change the functionality of existing bots-servers and this Your change gives a new future (if somebody wants use it). Think about this once again and don't give up. Your effort to do something here is realy good (at least the same like mine
) and I have the respect for all time You dediacted to this bot. So don't think I have something against You - no. Like I promised You few weeks ago - I can be Your beta tester but I need only speak before You change something. It's maybe because You are so young, sometimes You are too fast when You want to do something. Try in this way - if You want change something - ask first the people - this should be sufficient. The majority will be a winner.
But for now there are many bugs to fix and idaa's to do... Every new beta You are better and better - so don't give up.
And I'm agree with T Wrecks - all we have to thank You - You made realy a big and good job.