.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   Making ALL bots leave when x players join. (http://forums.bots-united.com/showthread.php?t=7027)

eksquall 03-02-2009 14:52

Making ALL bots leave when x players join.
 
Ok i would like X (lets assume 4 for example purposes) Bots to be on my server when its empty. When 1 player joins, one of the bot leaves. However when 2 players join the server i want all the bots to get kicked. If i use the maxbot cvar, bots only get kicked by every player that joins. (1 player joins, 1 bot leaves). How would i make it so when 2 players on the server all bots get kicked? Thanks, Squall.

Sc0Rp 06-02-2009 22:38

Re: Making ALL bots leave when x players join.
 
Just add only 2 bots on your server.
So if 1 human joins, it's 1 human vs 1 bot.
Then a second person joins so the second ( and also the last ) bot gets kicked.
Now you have all bots gone.
But when you want more than 2 bots ( like you exampled: 4 ), I'm afraid I also don't know the answer.

eksquall 07-02-2009 00:30

Re: Making ALL bots leave when x players join.
 
Yeah thats what i have been doing with 2 bots. But its annoying if DM is on and if the bot or human dies, the round restarts. i guess ill need a plugin that does a check every x seconds for 2 connected players and then kicks the bots (2+ in this case) Squall

KWo 07-02-2009 12:07

Re: Making ALL bots leave when x players join.
 
Take a look at this topic and let me know if with that plugin You can solve Your problem.

eksquall 07-02-2009 16:14

Re: Making ALL bots leave when x players join.
 
No sorry.

what i want is: (using 6 as an example, would prefer more)
6 Bots when there are 0 players on the server
6 Bots when 1 player joins. (or 5 since pb kicks 1 bot for every player that joins)
0 Bots when the 2nd player joins.


with the current system, podbot will only remve 1 bot for every human that joins.

The plugins will keep 6 bots on the server but will require 6 players to join to get rid of the bots.
Squall.

KWo 07-02-2009 17:55

Re: Making ALL bots leave when x players join.
 
OK. I see. No solution then. I can't help.


All times are GMT +2. The time now is 12:24.

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