View Full Version : Insim timeouts.
Krammeh
10th June 2007, 21:21
For some reason, the insim keeps.. timeing out.
The insim window appears to be still running, but the LFS server drops the conection to the insim.
I am replying to the TINY_NONE packet with a TINE_NONE packet. Without fail.
Sometimes it runs for a long time, sometimes it does not.
Any idea's?
the_angry_angel
10th June 2007, 21:40
Sounds like your receiving is getting out of sync some how - and you're not always responding to your connection - failing that the connectivity between LFS and your InSim addon is failing.
You should get a keepalive packet every 30 seconds or so - you might want to find some way of keeping track of this - what I do is simply echo out a PING? PONG! to the screen.
Since I know you're using PHP, you are calling it from the command line, not from a web browser?
Krammeh
10th June 2007, 23:00
yeah its via command line. Using the php executable.
it only seemed to happen when people got the cash bonus after 20laps.
I get the feeling that it was an issue with a mysql command, killing the script.
Not 100% sure, rewrote that small section of the script, ill have to see how it goes!
Thanks anyway :)
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.