EDITOR: v0.29 First Crash opening a file

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: 13772
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

EDITOR: v0.29 First Crash opening a file

Post by Gambit37 »

Excitedly downloaded and extracted the new version, and the first thing I do is to load my Mixed dungeon into the editor

It crashed instantly with this debug file:

Code: Select all

RTC Editor (V0.29) Diagnostic file - Tue Dec 21 19:15:14 2004

Error:
  an integer divide by zero exception.

Stack Dump:
  RTCModule.AddModuleAnimation(pointer 0x02C01928);
  RTCModule.ParseAnimations(pointer 0x0012EF14);
  RTCModule.ParseDungeonTextFile(string "E:\\Projects\\Dungeon Master\\Games\\Clones\\RTC\\V028\\mixed\\mixed_028.txt");
  RTCEditView.LoadFile(string "E:\\Projects\\Dungeon Master\\Games\\Clones\\RTC\\V028\\mixed\\mixed_028.txt");
  RTCEditView.OnFileOpen();
I can open the files that come with the new version OK. I guess this is to do with the format change?

Can you -- pretty please -- take the time to write a summary of what's changed so that I can update my dungeon without having to keep loading and testing and seeing what the error is and adjusting accordingly....? Thank you kindly!
User avatar
chburbe
Neophyte
Posts: 6
Joined: Tue Jan 20, 2004 11:09 am

Post by chburbe »

Hi try this

in the set [Main Data]

add these 2 lines:
RESTRICT_SAVES=(FALSE)
MAX_PARTY_SIZE=(4)

in the set [Graphics - Wall Sets]

add this line:
WALL_BK=(BITMAP_WALL_BK_MAIN)

I had no further problems after I did it.

Regards
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Yep - I think chburbe has got all the changes you need.

Apologies though, I shoiuld have tested loading an old text file and it certainly shouldn't have crashed - I'll work out why it did and fix it so it doesn't happen again in future releases!
User avatar
Gambit37
Should eat more pies
Posts: 13772
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Same crash in version 0.30 with my old unchanged file:

Code: Select all

RTC Editor (V0.30) Diagnostic file - Mon Jan 03 23:05:18 2005

Error:
  an integer divide by zero exception.

Stack Dump:
  RTCModule.AddModuleAnimation(pointer 0x02C06ED8);
  RTCModule.ParseAnimations(pointer 0x0012EF14);
  RTCModule.ParseDungeonTextFile(string "E:\\Projects\\Dungeon Master\\Games\\Clones\\RTC\\V028\\mixed\\mixed_028.txt");
  RTCEditView.LoadFile(string "E:\\Projects\\Dungeon Master\\Games\\Clones\\RTC\\V028\\mixed\\mixed_028.txt");
  RTCEditView.OnFileOpen();
Can't you simply do a quick check of the file to see if it's an old format and warn about the elements that need to be changed?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Hmm - there's something else going on here as this crash is nothing to do with the changes in format (it's attempting to load the animations which havn't changed).

Can you send me your whole txt file and I'll take a look at it again.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Many thanks for the file - this has enabled me to spot the problem straight away. The issue was nothing to do with the file format, but instead due to trying to create an animation with a bitmap that hadn't loaded properly.

Now fixed for V0.31
Post Reply