Dygear/PRISM — Issue #29: Short $Plate from IS_NPL and IS_CPR packets is parsed incorrectly?
Author: LFSPovo
Created: 2012-02-17 18:39:01+00:00
State: open

If I set my car's plate to "d" in LFS, and I leave the pits, in the NPL packet, the following is outputted:
"d 00000" - d + [space] + [space] + 0 + 0 + 0 + 0 (8 chars as supposed, but the spaces and zeros should be not parsed)

If I set my car's plate to "dd" in LFS, I get this:
"dd 00000" - d + d + [space] + 0 + 0 + 0 + 0 (also 8 chars as supposed, but spaces and zeros shouldn't be parsed)

But if I set my car's plate to "dddddddd" (full 8 chars used), I get:
"dddddddd" as I'm supposed to.

The same results happen in the IS_CPR and IS_NPL packet :(