Page 1 of 1
Crash on entry
Posted: Mon Apr 05, 2010 3:51 pm
by Lunever
Related or not?
Walking a few steps after entering the DM1 dungeon (as ghost) got me:
PROGRAM CRASH!
Location: 0 4 3
Reason: Segmentation Fault
Stack Dump:
DSBmain
DSBgameloop
got_mkeypress
Re: Game crashed, original DM dungeon
Posted: Mon Apr 05, 2010 5:53 pm
by Lunever
First time I could walk a few steps before it crashed, on retries it crashes right on entering.
Re: Crash on entry
Posted: Mon Apr 05, 2010 7:36 pm
by Sophia
Since it's crashing on getting a keypress, and you were pushing for a lot of keyboard configuration features, I'll assume that something in your custom keyboard config is what is creating the problem.
Can you send me your dsb.ini? I'll try using your keyboard configuration and see if I can't duplicate and then fix the bug.
Re: Crash on entry
Posted: Mon Apr 05, 2010 9:29 pm
by Lunever
sent to the mail adress you sent me your rtc source files from
Re: Crash on entry
Posted: Mon Apr 05, 2010 9:44 pm
by Sophia
The reason for the crash is because it's trying to execute magic shortcuts when there are no characters that can do magic, because there are no characters at all. This shows up because you've got some keys (I would assume incorrect) defined so that they perform both movement and spellcasting functions-- a rather fortunate mistake because it lets us spot this bug!
As a workaround until I can fix it for real, though, just make sure your spellcasting shortcuts and your movement shortcuts are not defined to the same keys, and don't press the spellcasting keys until you have a champion.
Re: Crash on entry
Posted: Mon Apr 05, 2010 9:47 pm
by Lunever
So I gonna delete the current dsb.ini and replace it with that from the download and retry.
Re: Crash on entry
Posted: Mon Apr 05, 2010 11:40 pm
by Lunever
Nope, sorry. With a fresh ini and just some moevement keys defined (sxycad instead of numpad), on leaving and restarting, crash
Re: Crash on entry
Posted: Tue Apr 06, 2010 12:09 am
by Lunever
I can use any keys defined right after defining them. Leaving the game and restarting will cause a crash.
Even just entering and leaving the keyboard menu without defining any key at all produces the same result - crash on restart, unless I reset the dsb.ini
Re: Crash on entry
Posted: Tue Apr 06, 2010 12:12 am
by Sophia
That is really strange. I can't reproduce that problem at all.

Re: Crash on entry
Posted: Tue Apr 06, 2010 12:35 am
by Lunever
Hmmm, that is strange.
Can you define some keys that work at your machine even after restarting the game and send me the dsb.ini?
If the same ini works differently on 2 systems it must be something else.
Re: Crash on entry
Posted: Tue Apr 06, 2010 1:03 am
by Sophia
Sent!
Re: Crash on entry
Posted: Tue Apr 06, 2010 1:18 am
by Lunever
If I use the dsb.ini you sent me (without any modifications of course), I get my crash again.
The crash reproducably occurs after selecting the DM1 dungeon.
The DM1 folder (placed as a subdirectory in DSB/Dungeons) does not contain anything other than the DM1 dungeon.
I'm using a laptop, that's why keyboard remapping is impotant to me.
(It's an older model, Samsung R40 T5500 Cinoso, 1,66GHz intel dual, 896 MB RAM, WinXPproSP3, DirectX 9.0c)
EDIT: Note however, I can play and restart with the original ini if I don't ever touch the menu.
Re: Crash on entry
Posted: Tue Apr 06, 2010 5:39 am
by Sophia
Just for fun, can you pretend that your problem is actually the one described in this thread:
http://www.dungeon-master.com/forum/vie ... 53&t=28573 and grab the bugfix exe?
I have no idea if this it, but your crash log looks similar.
If that's the case then finding this other bug with the magic keys is just a bonus.

Re: Crash on entry
Posted: Tue Apr 06, 2010 12:00 pm
by Lunever
Yes, actually that is the same problem, and the fix works fine. Thank you!