FloooD / custom_cs2dsrv

Jermuk's custom Counter Strike 2D Server written in C and modified by FloooD and leegao.
173.192.35.85:36000
3 stars 0 forks source link

Premature timeout #14

Closed leegao closed 13 years ago

leegao commented 13 years ago

Client times out after 30 or so seconds of no activity, I've tested this on both the experimental and the upstream branch, the bug seems to not stem from the parsing operations so it must be during the check_timeout function call. Kind of high priority.

Logged case:

[14:42:46] P spawned as a terrorist.
[14:43:14] Client 1 timed out!
FloooD commented 13 years ago

hm shouldn't the client be responding to ping packets? I'll look @ it when I get home in 30 min

leegao commented 13 years ago

they are, I think the server may not be initiating the pings

FloooD commented 13 years ago

cant seem to replicate the problem o.O

leegao commented 13 years ago

nvm, might just be me then

leegao commented 13 years ago

okay, looking through the code, 10 seconds is the timeout threshold, and that's when I realized that I commented out the Execute with time function because the chat messages were getting to me <_<. Closed -> Resolved

FloooD commented 13 years ago

rofl...