Recent addition of srvHighBeam (bit 31) in the Flags key value in status.json, when set, now causes the addon.exe program to throw a fatal error.
When bit 31 is set in the Flags key value, it causes the key value integer to exceed the maximum 32 bit signed integer value.
Changing the following to call for an unsigned integer return solves this issue;
// v_Flags = status["Flags"].GetInt();
v_Flags = status["Flags"].GetUint();
Recent addition of srvHighBeam (bit 31) in the Flags key value in status.json, when set, now causes the addon.exe program to throw a fatal error.
When bit 31 is set in the Flags key value, it causes the key value integer to exceed the maximum 32 bit signed integer value.
Changing the following to call for an unsigned integer return solves this issue;
// v_Flags = status["Flags"].GetInt();
v_Flags = status["Flags"].GetUint();