EDIT. This whole thread is obsolete.
Hello. I'm experiencing problems with my InSim application, which are rather subtle and therefore, difficult to explain. Instead, I will ask specific and simple questions concerning inner work of LFS. I don't think anyone but the devs can answer these questions. (EDIT: these are obsolete, see post 8 for details)
Let's take a dedicated host, which has an InSim app connected (with MCI enabled). There is one client on the server, who has a ping of (say) 100.
Question 1:
How are the X, Y, Z coordinates and speed in MCI packet calculated? The simpliest assumption is that they are from the last UDP packet sent from the client to the server. But this does not seem to be the case.
Question 2:
If a client lags (from other clients' viewpont, the car "disappears" and is replaced by some sort of a lag counter), what would be the XYZ and Speed sent in the MCI?
Thank you.
Hello. I'm experiencing problems with my InSim application, which are rather subtle and therefore, difficult to explain. Instead, I will ask specific and simple questions concerning inner work of LFS. I don't think anyone but the devs can answer these questions. (EDIT: these are obsolete, see post 8 for details)
Let's take a dedicated host, which has an InSim app connected (with MCI enabled). There is one client on the server, who has a ping of (say) 100.
Question 1:
How are the X, Y, Z coordinates and speed in MCI packet calculated? The simpliest assumption is that they are from the last UDP packet sent from the client to the server. But this does not seem to be the case.
Question 2:
If a client lags (from other clients' viewpont, the car "disappears" and is replaced by some sort of a lag counter), what would be the XYZ and Speed sent in the MCI?
Thank you.