On IncomingConnection kick existing AFK player (e.g. then server full )
#1

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 ?
Reply
#2

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.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)