How kick clients-bots (no show for SCORE-MENU) have ping: ZMBI (status)?
Ty)
Printable View
How kick clients-bots (no show for SCORE-MENU) have ping: ZMBI (status)?
Ty)
free_slot(<clientnum>)
Module: libcod
Summary:
Sets the client's state to CS_FREE (only works for bots).
Required Args:
1 : <clientnum> The bot's client number.
CAPTAIN OBVIOUS? :)
I dont know GetEntityNumber() bots.
I want to iterate over the array players and kick bots where ping: ZMBI
p.s if(players[i] getping()... no job(
then kick the damn bots BEFORE changing map...
Izno, I did so)
Mitch added if (player getAddressType() == 0): http://killtube.org/showthread.php?1...ll=1#post10374
Probably if (player getClientState() == 1) would work too:
Code:typedef enum {
0 = CS_FREE, // can be reused for a new connection
1 = CS_ZOMBIE, // client has been disconnected, but don't reuse connection for a couple seconds
2 = CS_CONNECTED, // has been assigned to a client_t, but no gamestate yet
3 = CS_PRIMED, // gamestate has been sent, but client hasn't sent a usercmd
4 = CS_ACTIVE // client is fully in game
} clientState_t;
Doesnt work, zmbi players arent script ents. Would require getaddresstype to take a slot number as argument
I wanted to do well, but the game does not see these players :( and the place they occupy! :( :( :( :( :(
I did EndMap () array bulkhead and the exclusion of certain parameters of the players!
Yes, I did, but occasionally writes to me that something like this:
From terminal server:
Code:Client 2 is not player.