Chaosforge Forum

DoomRL => Bug Reports => Topic started by: raigan on February 13, 2011, 10:19

Title: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"
Post by: raigan on February 13, 2011, 10:19
hey,
Yesterday I tried running the new version a couple times, not playing it (didn't have time) but just to check if it would work with my new PC/Windows 7. It loaded to the mainmenu fine.

Today, when I start doomrl.exe it immediately crashes with this error:
An unhandled exception occurred at $00459433 :
EVariantTypeCastError : Could not convert variant of type (Null) into type (Boolean)
  $00459433
  $00453322
  $0041CECD  TDOOM__CREATE,  line 290 of src/doombase.pas
  $00402069  main,  line 74 of src/doomrl.pas

I'm not sure what could have happened since I haven't touched a thing!
:(
Title: Re: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"
Post by: Kornel Kisielewicz on February 13, 2011, 10:21
Did you modify the .lua config files? It fails to load the configuration.
Title: Re: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"
Post by: raigan on February 13, 2011, 12:06
Doh, thanks! I must have typo'd somewhere.
Title: Re: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"
Post by: Unkillable Cat on February 15, 2011, 09:30
Hi, I have the same error. However, I'm not making any typos. The game just won't read the config file if I make ANY changes to the game's configuration. Skip the intro? Unhandled exception. Turn off the music? Same thing. Always choose a random name? Ditto.

I'm using Notepad on a Windows XP machine to edit the files, could that be a problem?
Title: Re: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"
Post by: thelaptop on February 15, 2011, 09:44
Hi, I have the same error. However, I'm not making any typos. The game just won't read the config file if I make ANY changes to the game's configuration. Skip the intro? Unhandled exception. Turn off the music? Same thing. Always choose a random name? Ditto.

I'm using Notepad on a Windows XP machine to edit the files, could that be a problem?
Have you tried to use a fresh config.lua from a fresh download of the archive?  Note also that capitlalisation probably counts, and there should not be extraneous ';' terminating lines.

If it all fails, you can try posting the offending file enclosed with code tags so we can see what's wrong for you.
Title: Re: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"
Post by: Kornel Kisielewicz on February 15, 2011, 10:31
There are a couple known issues with the new configuration:

1) error reporting via crash -- I'll fix it so there'll be a concise error message
2) the keybindings format is still messy
3) there's a big lack of documentation

I'll try to address these problems in 0.9.9.3.
Title: Re: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"
Post by: Unkillable Cat on February 15, 2011, 14:18
I found the problem. The new config files only accept lower-case letters. The comment lines in the config file, however, have the available options always displayed in upper case, and until 0.9.9.2 upper case was accepted by the game.

It works now, so all's well.