calref / cboe

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

Required attributes missing on elements in multiple dialog xml files #273

Closed seisatsu closed 1 year ago

seisatsu commented 4 years ago

In the following xml files, the element "led" does not have the required attribute "width", which will likely lead to a crash when they are loaded. This has been confirmed with tip-of-the-day.xml and pc-alchemy-info.xml.

In addition, edit-party.xml throws Required attribute anchor missing on element button (file edit-party.xml, line 4, column 5). This can be fixed by changing the "relative" attribute from "neg pos" to "neg abs".

I will continue appending to this issue as errors occur, while applying temporary fixes to my own files. (I do not know the appropriate widths for the led elements, but having something there will at least allow the game to continue on my end until fixes are pushed.)

CelticMinstrel commented 4 years ago

I believe any width should fix the led elements, if it's less than 14 or so (the actual width of the button) it'll be expanded to that size.

I'm guessing a lot of these are older LEDs that haven't been updated to contain their label.

NQNStudios commented 1 year ago

A crash in the scenario editor when I click Edit Town Details is preventing me from diagnosing a different bug, so I think I'll try to fix this.

It most be because edit-town-details.xml is on that list, because the missing attribute 'width' message is the one I'm getting.

CelticMinstrel commented 1 year ago

Generally speaking, the appropriate width is "wide enough that the full label can fit" and also usually "same width as other LEDs in the same column" where applicable.

CelticMinstrel commented 1 year ago

By the way, you might want to check out #274 before getting started on this

CelticMinstrel commented 1 year ago

I think this should be considered fixed by b03a200f8a54ff68bb79e8778c004dcb880d887d and c3dd886783c3fea2fb0f95c228e74b1b79827b5c?

NQNStudios commented 1 year ago

With #298 in place, I agree.