Greetings programmers.
I've stumbled upon a bit of an issue.
I have a button that displays the remaining fuel of the player. But some servers have disabled /showfuel and I can get this information from various packets, like the NPL.
The problem with this is that if a player connects and doesn't join the track, the insim can't tell if /showfuel is enabled or disabled on the server.
Perhaps the code above should be included in either IS_STA or IS_NCN.
For other programmers that stumbled upon this issue, did you find a workaround? Looking for pointers at the moment.
I've stumbled upon a bit of an issue.
I have a button that displays the remaining fuel of the player. But some servers have disabled /showfuel and I can get this information from various packets, like the NPL.
The problem with this is that if a player connects and doesn't join the track, the insim can't tell if /showfuel is enabled or disabled on the server.
byte Fuel; // /showfuel yes: fuel percent / no: 255
Perhaps the code above should be included in either IS_STA or IS_NCN.
For other programmers that stumbled upon this issue, did you find a workaround? Looking for pointers at the moment.