localpcguy / cbloader

Automatically exported from code.google.com/p/cbloader
1 stars 0 forks source link

AppendNodes doesn't work with setting a Specific to a numeric value #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add an AppendNodes for a weapon that includes
<specific name="InternalOnly"> 1 </specific>
2. Merge your file
3. Go to the Shop tab. The weapon is still available for purchase.

What is the expected output? What do you see instead?
 Looking at the combined.dnd40 file, instead of the specific getting set to 1, it comes out like <specific name="InternalOnly" />, missing its value.

What version of the product are you using? On what operating system?
 1.1.6, Windows 7

Original issue reported on code.google.com by sabre...@gmail.com on 29 Jan 2011 at 3:40

GoogleCodeExporter commented 9 years ago
I believe it is an known issue that AppendNodes does not copy InnerElement 
contents.  This should have been fixed in the source. (Note to self: Check 
this).

Original comment by YeOldeSt...@gmail.com on 29 Jan 2011 at 7:38

GoogleCodeExporter commented 9 years ago
Has this been fixed? I see that r36 has some changes to the AppendNodes handler 
but I don't know enough to figure out what exactly.

Original comment by mr.azrae...@gmail.com on 17 Jun 2011 at 8:59

GoogleCodeExporter commented 9 years ago
Yeah, r36 fixed this (Lines 411-417 of FileManager.cs)

Original comment by YeOldeSt...@gmail.com on 18 Jun 2011 at 2:50