Posts: 12
Threads: 3
Joined: Jan 2010
Reputation:
0
For example, server is full and it has AFK player. If I kick AFK player OnIncomingConnection (then new player connecting to full server) will new player is going to connect without receiving "reconnecting" client_message ?
Posts: 954
Threads: 24
Joined: Jul 2012
Reputation:
0
Without testing I'm not sure however in theory when the player requests a connection the server is checked for slots, if it is full then you'd kick an AFK player however the initial player would also get a server full message. So although you kick them they player would not join straight away, but reconnecting would work, I think.
Posts: 12
Threads: 3
Joined: Jan 2010
Reputation:
0
OnIncomingConnection has parameter `playerid`. So logically then server is full (MAX_PLAYERS slots used) `OnIncomingConnection` has INVALID_PLAYER_ID parameter or IT'S NOT EVEN CALLED. In my opinion OnIncomingConnection would be much more usefull if it wouldn't have playerid parameter.