DM original crashes instantly (v0.17)

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

DM original crashes instantly (v0.17)

Post by Gambit37 »

Downloaded the latest version earlier today and have just had a chance to fire it up...

Whoops... something's seriously gone wrong this time! The DM original dungeon doesn't load anymore, although the exception hamdling does kick in correctly. I've tried this tree times now. The contents of the log file are thus:

Stack Dump:
RTC.UnLoadBitmaps();
RTC.InitSecondary();
RTC.DoFrame(int 7);
RTC.WinMain();

The CSB dungeon and the DM 'RTC Rules' dungeon work fine however.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: DM original crashes instantly (v0.17)

Post by beowuuf »

lol, for a change i get to be anal..someone else reported this bug two posts down (in another thread though, the CSB crash one)
seemed the same as yours
Was unable to (permenantly) kill off ian_scho (Haynuus), Ameena, oh_brother (Westian), money (Falkor), raixel (Petal) and Lord_Bones (Aurek) in the DM D&D game Time's Champions!

CONGRATULATIONS TO THOSE WHO MADE THE GAME WHAT IT WAS - GREAT!
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: DM original crashes instantly (v0.17)

Post by Gambit37 »

Yeah, I saw it but started a new post as I thought it might have got lost!

BTW, George, I have tried re-compiling the DM Original dungeon and running it again and I get the same problem. I have also run a file compare on DM.TXT and DM_ORIGINAL.TXT to see what the main differences are and to see if I could notice a problem.

The main differences appear to be the RESTRICT_RUNES bit, the addition of the spell book and power runes scroll, slightly modified objectives text and the addition of hints in the RTC version. I couldn't spot anything that might have fouled up the compiler. Weird....
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: DM original crashes instantly (v0.17)

Post by beowuuf »

an 'unclosed' hint area, etc?
Was unable to (permenantly) kill off ian_scho (Haynuus), Ameena, oh_brother (Westian), money (Falkor), raixel (Petal) and Lord_Bones (Aurek) in the DM D&D game Time's Champions!

CONGRATULATIONS TO THOSE WHO MADE THE GAME WHAT IT WAS - GREAT!
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: DM original crashes instantly (v0.17)

Post by Gambit37 »

Nope - the hints are in the RTC Rules dungeon which plays fine - it's the other one without hints that crashes.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: DM original crashes instantly (v0.17)

Post by George Gilbert »

I've found the root cause of this crash; I'll try to fix it over the weekend and release a fix (probably as a backwardsly compatible V0.18) next week.
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: DM original crashes instantly (v0.17)

Post by Gambit37 »

I'm curious as to what this problem is, considering the RTC version compiles and plays fine???
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: DM original crashes instantly (v0.17)

Post by George Gilbert »

The code is referencing a pointer that's pointing to a random bit of memory. Whether it crashes or not depends on whether the bit of memory it just happens to be pointing to exists or not.

In short there's nothing intrinsicly wrong with the dungeon - it's a random crash and I'm surprised that the other dungeons aren't afflicted too!
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: DM original crashes instantly (v0.17)

Post by George Gilbert »

Fixed for V0.18
Post Reply