Using [Party] to pre-define party members, (v0.17)
Posted: Fri Mar 15, 2002 1:41 pm
I was testing something out in the DM.TXT file and needed a party member, so I added the following lines directly after the [Characters] section:
[Party]
CHARACTER_ZED
RTC crashed before it loaded or saved the dungeon, immediately after the Loading Dungeon message bottom left. A log file had been opened, but nothing written to it. The error generated is:
Stack Dump:
RTC.GetCharFromUniqueID(string "CHARACTER_ZED");
RTC.ParseDungeonItemWall(pointer 0x007EF510, int 2, string "002");
RTC.ParseDungeonItems(pointer 0x007EF510);
RTC.ParseDungeonTextFile(string "modules\dmtest.txt");
RTC.InitSecondary();
RTC.DoFrame(int 7);
RTC.WinMain();
Obviously this is something to do with Mirrors. Note that the string "002" is the mirror that contains ZED. If I move the [Party] section to the bottom of the file as you have done in CSB, I don't get this crash but get a DM style compilation warning stating that the Mirror character has already been used.
In my kid dungeon, I have something similar with [Party] directly after the [Characters] section, but I am using a character that ISN'T used in a mirror -- the dungeon compiles fine with no errors.
[Party]
CHARACTER_ZED
RTC crashed before it loaded or saved the dungeon, immediately after the Loading Dungeon message bottom left. A log file had been opened, but nothing written to it. The error generated is:
Stack Dump:
RTC.GetCharFromUniqueID(string "CHARACTER_ZED");
RTC.ParseDungeonItemWall(pointer 0x007EF510, int 2, string "002");
RTC.ParseDungeonItems(pointer 0x007EF510);
RTC.ParseDungeonTextFile(string "modules\dmtest.txt");
RTC.InitSecondary();
RTC.DoFrame(int 7);
RTC.WinMain();
Obviously this is something to do with Mirrors. Note that the string "002" is the mirror that contains ZED. If I move the [Party] section to the bottom of the file as you have done in CSB, I don't get this crash but get a DM style compilation warning stating that the Mirror character has already been used.
In my kid dungeon, I have something similar with [Party] directly after the [Characters] section, but I am using a character that ISN'T used in a mirror -- the dungeon compiles fine with no errors.