GAME v0.31: Crash, when loading a dungeon with cloned object
Posted: Fri Jan 07, 2005 7:27 pm
This one is strange. DM (Original)-dungeon crashes now instead of loading. My guess was that it's got something to do with cloned objects as DM Orig's Rust Monster is actually a clone.
So, I modified the Zoo-dungeon a little, and cloned a monster. Then I compiled the dungeon and tested it. It works fine. I confront my newly created monster, kill it, and quit the game.
Then! I edit the config.txt so that it won't compile the dungeon again, and after that I load RTC casually and choose the new dungeon with cloned monster...
CRASH!
... and following log file is produced:
Quite weird it doesn't crash when the compile-setting is ON, only on "finished" dungeons.
P.S I don't think monster-cloning is a special case as the custom dungeon 'Sukumvit's Labyrinth' also crashes. The resulting diags-file is identical, except the bitmap it is complaining about is BITMAP_DUNGEON_RUBY.
So, I modified the Zoo-dungeon a little, and cloned a monster. Then I compiled the dungeon and tested it. It works fine. I confront my newly created monster, kill it, and quit the game.
Then! I edit the config.txt so that it won't compile the dungeon again, and after that I load RTC casually and choose the new dungeon with cloned monster...
CRASH!
... and following log file is produced:
Code: Select all
RTC (V0.31) Diagnostic file - Fri Jan 07 20:20:15 2005
Error:
an access violation exception.
Stack Dump:
RTCTextFile.GetBitmapFromUniqueID(string "BITMAP_MONSTER_COUATL_FRONT");
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();
P.S I don't think monster-cloning is a special case as the custom dungeon 'Sukumvit's Labyrinth' also crashes. The resulting diags-file is identical, except the bitmap it is complaining about is BITMAP_DUNGEON_RUBY.