Chaosforge Forum

  • March 28, 2024, 05:03
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: [0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"  (Read 2814 times)

raigan

  • Greater Elder
  • Private FC
  • *
  • *
  • Offline Offline
  • Posts: 10
    • View Profile

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!
:(
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/

Did you modify the .lua config files? It fails to load the configuration.
Logged
at your service,
Kornel Kisielewicz

raigan

  • Greater Elder
  • Private FC
  • *
  • *
  • Offline Offline
  • Posts: 10
    • View Profile

Doh, thanks! I must have typo'd somewhere.
Logged

Unkillable Cat

  • Private FC
  • *
  • Offline Offline
  • Posts: 9
    • View Profile

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?
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile

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.
Logged
I computed, therefore I was.

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/

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.
Logged
at your service,
Kornel Kisielewicz

Unkillable Cat

  • Private FC
  • *
  • Offline Offline
  • Posts: 9
    • View Profile

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.
Logged
Pages: [1]