The online racing simulator
Insim timeouts.
(3 posts, started )
Insim timeouts.
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?
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?
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

Insim timeouts.
(3 posts, started )
FGED GREDG RDFGDR GSFDG