crumpx / upk-modder

Automatically exported from code.google.com/p/upk-modder
0 stars 1 forks source link

Parser can't handle DynamicArrayAddToken #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Enter hex 54 01 E0 41 00 00 2C 0B 16 (with trailing space) in parser, shows 
strikethroughs.

It's from XComStrategyGame >> XGITemTree >> BuildShipWeapons

Here's the token:

(000/000) [54 01 E0 41 00 00 2C 0B 16]
    DAA(13/9) -> IV(9/5) -> ICB(2/2) -> EFP(1/1)
    m_arrShipWeapons.Add(11)

What version of the product are you using? On what operating system?

.65, Windows 7 64-bit

Original issue reported on code.google.com by johnnyl...@gmail.com on 24 Dec 2013 at 9:47

GoogleCodeExporter commented 8 years ago
It appears that I mis-typed there in the operand_data.ini.

It is currently:
; EX_DynArrayAdd = 0x54;
55 1 G S2 G 1   ; DynArrAddItem ; Dynamic Array Add Item  ; CAST 
EX_FloatToString = 0x55

However DynArrAdd (which is distinct from DynArrAddItem) should be:
54 1 G G 1    ; DynArrAdd  ; Dynamic Array Add

Will be included in the next release. Until then operand_data.ini can be 
manually changed.

Original comment by miss.inv...@gmail.com on 24 Dec 2013 at 10:46

GoogleCodeExporter commented 8 years ago

Original comment by miss.inv...@gmail.com on 25 Dec 2013 at 3:05

GoogleCodeExporter commented 8 years ago
Change appears successful

Original comment by miss.inv...@gmail.com on 25 Dec 2013 at 11:50