Bug #692

Command 48 parser warning upon truck loading

Added by flypiper about 1 year ago. Updated about 1 year ago.

Status:Closed Start date:04/18/2011
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-
Operating System:All Operating System Bits:

Description

If Command 48 is defined in the truckfile, the parser throws an error.

//verify array limits so we dont overflow
if(keys >= MAX_COMMANDS || keyl >= MAX_COMMANDS)
{
     parser_warning(c, "Command key invalid");
     continue;
}

Bug is fixed if the two "=" are removed, so Cmd 48 gets recognized.

History

#1 Updated by Lifter about 1 year ago

  • Status changed from New to Closed

Thats intentional.

commandvalue 48 somewhere does make memmory corruption which makes trucks to crash ror randomly ( that was the bug in the ch-47 btw).
Its not recommended right now to use 48 and the parser is set to ignore it.
We tried to track down that bug multiple times but were not successful yet.
For now, cmdvalue 48 is blocked until further notice or a bugfix.

#2 Updated by flypiper about 1 year ago

Lifter wrote:

Thats intentional.

commandvalue 48 somewhere does make memmory corruption which makes trucks to crash ror randomly ( that was the bug in the ch-47 btw).
Its not recommended right now to use 48 and the parser is set to ignore it.
We tried to track down that bug multiple times but were not successful yet.
For now, cmdvalue 48 is blocked until further notice or a bugfix.

Ah, i see-that's a good reason :).

Also available in: Atom PDF