calref / cboe

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

Open Preferences: crash. #331

Closed NQNStudios closed 1 year ago

NQNStudios commented 1 year ago

image

On Windows. In the main menu, or in a scenario, the menubar's File -> Preferences button causes this message and a crash.

CelticMinstrel commented 1 year ago

We really need a system to improve error messages in this sort of case. If the dialog said "Failed to cast cButton to cLed" for example, it would be easier to track down the location that raised the error.

I have a feeling that's not readily doable in the current model though. We'd need to convert every dialog into a class like cStringChoice and the like…

NQNStudios commented 1 year ago

I think this was caused by having an outdated data folder installed. The game was loading bad xml files from there instead of the repository (it works now)