calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
167 stars 41 forks source link

Scenario editor: edit creature: XML parse error #342

Closed NQNStudios closed 1 year ago

NQNStudios commented 1 year ago

I click to edit a creature and get this:

imagen

I thought LEDs didn't require width attribute anymore?

NQNStudios commented 1 year ago

also thought that the new dialogs unit test would catch this.

CelticMinstrel commented 1 year ago

LED requires a width if it has content (ie a label). All the previously-recorded cases of this error were an LED without content. I assume this one does have content.

NQNStudios commented 1 year ago

The led in question does have content... but it also has a width! https://github.com/calref/cboe/blob/1bc7524ec218782ee469b2cb853f570a3f4eedcc/rsrc/dialogs/edit-townperson.xml#L24

Makes me think I have an outdated file somewhere??

NQNStudios commented 1 year ago

It's loading from APPDATA/Roaming/Blades of Exile/data which was outdated.