The online racing simulator
IS_OBH Zbyte is always zero
(2 posts, started )
IS_OBH Zbyte is always zero
IS_OBH Zbyte is always zero even if the 'OBH_LAYOUT' is set in the 'OBHFlags'. The Zbyte inside the CarContOBJ does reflect the actual approximate altitude of the car.

(InSimDotNet library was skipping the Zbyte in the CarContOBJ but was actually reading the Zbyte in the IS_OBH. So, it is not a library related problem.)

InSim version: 9, Server version: 0.7D, Game version: 0.7D
Attached images
IS_OBH_XRT_LA1X.png
IS_OBH_Zbyte_0.png
** Best answer **
Thank you for the report.

I confirm there was a missing line of code where this byte should have been copied from an internal packet to the InSim packet. I've added that line so it'll be in any version that is released, 0.7D9 or later. It looks so simple at this point I will simply claim it is fixed, without actually testing it as I'm a bit busy with other things.

If you are using this on client side then you could get the required value in the next test patch (I'm not sure when, but we do have a test patch in progress, though I'm not very active on it). If you need it on server side, I'm not sure when that will be.

IS_OBH Zbyte is always zero
(2 posts, started )
FGED GREDG RDFGDR GSFDG