.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   How to auto kicks the bots when player try to join (http://forums.bots-united.com/showthread.php?t=4419)

The Storm 01-09-2005 00:18

How to auto kicks the bots when player try to join
 
So I mean if the server is full with EPBs how I can make one bot to be kicked when some kind of player try to join?

botman 03-09-2005 00:40

Re: How to auto kicks the bots when player try to join
 
Set it up so there is ALWAYS one empty player slot. When a player joins have the bots checking if there are any free slots left. If there are no free slots, have one of the bots kick himself from the server (which will free up another player slot).

botman

Whistler 03-09-2005 14:27

Re: How to auto kicks the bots when player try to join
 
and if you want some code - grep for "autovacate" in YaPB source code. :)

The Storm 05-09-2005 13:55

Re: How to auto kicks the bots when player try to join
 
Thanks guys. :)


All times are GMT +2. The time now is 06:15.

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