Page 1 of 1

CSGO: player connection problems

Posted: Tue Aug 04, 2015 2:52 pm
by nullable
How can I determine what the player connection problems?

Posted: Tue Aug 04, 2015 2:55 pm
by stinkyfax
Rephrase your question to be more specific.

Posted: Tue Aug 04, 2015 2:56 pm
by stonedegg
No idea what you mean, can you please explain better? Do you want to find out when a player is losing connection from the server?

Posted: Tue Aug 04, 2015 2:59 pm
by nullable
Once a player has internet connection problems the server stops. I need to intercept this event and make necessary actions. Is it possible or not.

Posted: Tue Aug 04, 2015 3:02 pm
by stonedegg
Do you need to stop your server as soon as the player is losing connection, or is it enough to stop after the player timed out? If so, use the player_disconnect event and check for game_event.get_string('reason').