The online racing simulator
On/If Race Ends....
(4 posts, started )
On/If Race Ends....
I'm working on a program for LFS (want to keep it quiet... for now) .. however i am having issues decoding the 'TINY_REN' IS_TINY packet... i have my case properly setup.. all my other cases work fine... but i cant seem to get it to recognize the race ending (returning to pre-grid)... Im using Visual C#... if anyone has any ideas... please let me know. thx.
Not sure what you mean. The REN is returned/decoded just like any other TINY packet and should read 11 on the fourth byte. Not tested this but unless there is a bug in the insim protocol that should be the case. It's only fired when /end returns you to the "home" screen though. I don't even know if it's fired after everyone has left the server.
TINY_REN, // 11 - info : race end (return to game setup screen)

So maybe the ISP_FIN is what your looking for? Or maybe you want to know when returned to the game setup screen, IDK...
i got it... late night coding and me dont mix very well
Woke up this morning... looked at it... and slapped myself in the head :P

@F.Rizzo: REN is sent when the server returns to the entry screen.. either on /end or when everyone has left the server.

On/If Race Ends....
(4 posts, started )
FGED GREDG RDFGDR GSFDG