BlitzPlay Pro

Blitz3D Forums/Blitz3D Programming/BlitzPlay Pro

RifRaf(Posted 2009) [#1]
Sorry to post this here, the forums for Bplay look to have been dead for some time. Im fighting an issue on my server, where if a player drops out properly (via quiting game and endind the session on their end) all is well, but if they lag out. 50% of the time, the server goes unresponsive, no code breaks or runtime errors, it just locks up and I have to stop it via taskmanager.

Any Blitzplay users have any information on this ?


RifRaf(Posted 2009) [#2]
Disregard these posts, been fighting this for hours. 13 minutes after I post for help I figure it out.

Thanks


LineOf7s(Posted 2009) [#3]
Could you perhaps share what you figured out, for the sake of posterity?


RifRaf(Posted 2009) [#4]
Well , a few things. One I have a lobby set up , so a player with a special name is created , gathers server info then disconnects. I was using BP_ENDSESSSION on the client side, after a ping report.. I guess this isnt required, also I had a constant message type mispelled, so that Blitzlay was accessing the case branch anytime the value was 0, instead of the intended 21 value.
meaning it was like this

Const MsgSpecialPackt=21   <-- missing E

and on the server it was
Case MsgSpecialPacket


After fixing those two things, it seems to be working properly.


LineOf7s(Posted 2009) [#5]
Excellent. Thankyou. :o)