.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Ideas (http://forums.bots-united.com/forumdisplay.php?f=50)
-   -   cvar pb_maxbots (http://forums.bots-united.com/showthread.php?t=5832)

lantz69 23-10-2006 14:40

cvar pb_maxbots
 
In V3build16 you did this
Code:

For pb_bot_quota_match parameter the spectators or team unnasigned human-players aren't counted.
Could you make that for the cvar pb_maxbots also.
If the server has 2 players and 2 bots (2 vs. 2) If one human join one bot is kicked.
Could it wait to kick the bot until the human player choose a team(Not spectator).
So the bot will only be kicked if the human choose CT or Terrorist
This is when you have pb_maxbots 4.
thx

KWo 23-10-2006 15:59

Re: cvar pb_maxbots
 
pb_maxbots and pb_minbots they are the limits for some functions - pb fillserver, pb removebots, pb add, pb remove. So setting up the pb_maxbots will not affect the current number of the bots on the server (unless You put lower value of maxbots than amount of humans + bots You have currently on Your server). It's done so (to count also spectators) to have always teh same amount of players + bots on the server.
Imagine the situation - pb_maxbots is 26 , there is 26 bots and 6 humans-spectators. No one human more is able to join, because no bot is kicked.

lantz69 23-10-2006 17:20

Re: cvar pb_maxbots
 
How about a cvar if you still need it to NOT count spectators
pb_maxbots_count_spec <0|1> // 1 count spec, 0 dont count spec.

I think many server admins use kick afk/spectators on their server so if you have that it wont be a problem.
At least the above extra cvar gives you the option to not count spectators.

Hope this is possible
Keep up the good work KWo.


All times are GMT +2. The time now is 19:45.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.