.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   Problem with bots leaving/joining? (http://forums.bots-united.com/showthread.php?t=6134)

Toilet-Duck 19-02-2007 03:57

Problem with bots leaving/joining?
 
Wondering if someone can help, Ive got the following in podbot.cfg:

pb_minbots 0
pb_maxbots 3
pb add 100
pb add 100
pb add 100

But for some reason it only adds 2 bots every time the map changes or when the server restarts shouldnt it be adding 3 bots? Because the total amount of players are 2 when the server starts which is the 2 bots but not 3.. If someone joins it kicks 1 bot so there is only 1 human and 1 bot but I wanted so there are always 3 bots on the server unless a human joins so it will kick a bot and allow 1 human and 2 bots...

Can anyone help me please?

Cheers!

KWo 19-02-2007 09:58

Re: Problem with bots leaving/joining?
 
Quote:

Originally Posted by Docs for podbot mm V3
pb_maxbots (value) - configure the maximum number of bots that will run on the server. Default is 0.
If You don't specify min/max_bots (You will comment them out in Your podbot.cfg) then the function auto/add kick bot (described a bit below) will not work. If You specify them - then they will support a minimum and maximum number of bots running on the server. Bots will be added to the server until the total number of players (bots and humans) reaches the max_bots value. Each time a new player joins the server, a bot will be kicked from the server unless there are only min_bots number of bots currently on the server. After players disconnect from the server, bots will be automatically added back to the server until the total number of players reaches max_bots again. You should make max_bots be AT LEAST one less than the maxplayers value (otherwise no one will be able to join your server).

As You can see - I've bolded it for You - pb_maxbots is related to the max amount of human and bots. If You have pb_maxbots 3, there is 0 humans - all 3 commands pb add should add a bot, so You should have there 3 bots. But... if You are creating a game on the listenserver (the PC You are playing from) - the host player is counted too - so there is really at least 1 human-player (You) and there can be added only 2 bots (1 human and 2 bots reaches pb_maxbots 3 value). If it works a different way - it might be a bug (except the situation You are using also other bots or some fake bot amxx plugin).


All times are GMT +2. The time now is 16:02.

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