calref / cboe

Classic Blades of Exile

Home Page:http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Preferences: crash.

NQNStudios opened this issue · comments

image

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

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…

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)