Thread: idea's bug's
View Single Post
Re: idea's bug's
Old
  (#7)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: idea's bug's - 10-06-2004

Quote:
Originally Posted by sPlOrYgOn
you see..
the problem is..
automatic is implied...
if it wasn't automatic..
it will NOT reach max_bots...
will implies that it is going to happen in the near future...
and in order to make that statement true it NEEDS to be automatic..
Look in this way. Min and max are allways some limits only of some variable. But never max is implied as a default value of this variable You define.
You are a coder. You have to know this. When You define for example some array, Your default (start value) is the max of this array definition implied? No - You have to define the start value manualy. (almost allways default is min, BTW )
But why it has to reach max? Why do You think in this way the number of bots has to reach max_bots value? It can , but it hasn't...This max_bots variable was made by CF to prevent the situation, when You use fillserver and all free slots are filled by bots and there isn't any free slot for a player. If You not define (comment out) this variable, bot will fill Your server until reaching max_players variable (max_bots by default is 32). To prevent this situation CF made a limit (LIMIT, LIMIT, LIMIT). Try to understand this intention of author. He wrote this intention exactly - set this variable (max_bots) at_least one less than mp_maxplayers (read this comment in podbot.cfg once again) to let at least one player to join.
OK - I'm tired by explaining this. Maybe the problem is once again my bad english. In my country is now 3 AM so it's a time to sleep for me.

So - for now a little suggestion. Maybe You are right, maybe I'm right - wait for opinion of other peoples and change nothing in this topic. Majority will be a winner.
Now I start a pool - who is right? Me or sPlOrYgOn?
  
Reply With Quote