I'm having some difficulty finding the LAP struct, I have turned on ISF_RACE_TRACKING and am getting NLP packets, I get SPx packets too, but I dont get anything when a car crosses the start finish line and I really dont know why.
Here is my initialisation for insim
Am I missing something please?
Here is my initialisation for insim
[/COLOR]
[COLOR=black]Function inSimInit()[/COLOR]
[COLOR=black]WriteByte UDPout,Asc("I")[/COLOR]
[COLOR=black]WriteByte UDPout,Asc("S")[/COLOR]
[COLOR=black]WriteByte UDPout,Asc("I")[/COLOR]
[COLOR=black]WriteByte UDPout,0[/COLOR]
[COLOR=black]smallEndian=portIn[/COLOR]
[COLOR=black]While smallEndian>255[/COLOR]
[COLOR=black]smallEndian=smallEndian-256[/COLOR]
[COLOR=black]largeEndian=largeEndian+1[/COLOR]
[COLOR=black]Wend[/COLOR]
[COLOR=black][/COLOR]
[COLOR=black]WriteByte UDPout,smallEndian[/COLOR]
[COLOR=black]WriteByte UDPout,largeEndian[/COLOR]
[COLOR=black]WriteByte UDPout,1[/COLOR]
[COLOR=black]WriteByte UDPout,1[/COLOR]
[COLOR=black][/COLOR]
[COLOR=black]For n=1 To 16[/COLOR]
[COLOR=black]WriteByte UDPout,0[/COLOR]
[COLOR=black]Next[/COLOR]
[COLOR=black][/COLOR]
[COLOR=black]SendUDPMsg UDPout,loopback,portOut[/COLOR]
[COLOR=black]End Function[/COLOR]
[COLOR=black]
Am I missing something please?