ThreeTen22 / skyrim-plugin-decoding-project

Automatically exported from code.google.com/p/skyrim-plugin-decoding-project
1 stars 0 forks source link

FNVEdit - Eat and Escort packages - some subrecord definitions out of order #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an Escort or Eat Package and specify a combat style

What is the expected output? Expect the PKE2 subrecord to be displayed if it is 
an escort package. Expect no 'subrecord out of order' messages for either.

What do you see instead?
PKE2 is not displayed. 'subrecord out of order' error for both

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

Please provide any additional information below.
In package record (PACK) the subrecord CNAM (combat style - CSTY) needs to be 
before both PKED and PKE2
Like:
wbFormIDCk(CNAM, 'Combat Style', [CSTY]),
wbEmpty(PKED, 'Eat Marker'),
wbInteger(PKE2, 'Escort Distance', itU32),

Instead of CNAM being below both of them. Starting on line 9135 of 
wbDefinitionsFNV.pas. I'm assuming this should be in the same order it occurs 
in the plugin?

For example, when CNAM has a value, then PKE2 or PKED is not displayed, 
'subrecord out of order' errors are thrown and the subrecords after that are 
not displayed. Viewing the plugin in a hex viewer shows CNAM comes before the 
other two subrecords in both cases. Screenshot and plugin: 
https://dl.dropboxusercontent.com/u/55759080/Tes5Edit/Eat-Escort-CSTY.7z

Tested FNV and FO3 - both are the same.

Original issue reported on code.google.com by rickerhk...@gmail.com on 7 Sep 2013 at 4:20

GoogleCodeExporter commented 9 years ago
Thanks, try this version 
https://docs.google.com/file/d/0B4rR0C-Bcx_JeVNsZEFRdkJodVU/edit?usp=sharing
Please post results so I can close this.

Original comment by zila...@gmail.com on 7 Sep 2013 at 6:25

GoogleCodeExporter commented 9 years ago
Tested with RHKPKGTest, ProjectBrazil, NVWillow, MyFO3test, CharonImproved 
(FO3). All good. Thank you very much :)

Original comment by rickerhk...@gmail.com on 7 Sep 2013 at 2:25

GoogleCodeExporter commented 9 years ago

Original comment by zila...@gmail.com on 7 Sep 2013 at 2:43