Page 1 of 1

GAME: v0.29 Door open magic causes crash, and...

Posted: Mon Dec 27, 2004 9:55 am
by nobody
compiled examples are no good too.

Posted: Mon Dec 27, 2004 6:17 pm
by Babe Bridou
0.29: same bug here...

the game crashes whenever a spell hits a door. Fireballs, lightning bolts, zo spells... from monsters or party.

Posted: Tue Dec 28, 2004 5:19 am
by DragonsLover
Same thing for me! And it is not only spells on doors, I tried to crush monsters under a door and the same thing happens. :(

======================================

Also, there's always an error on new compiled dungeons.
For example, the examples dungeons crash!:

The dungeon Animation crashes at the opening and here's the log file:

RTC (V0.29) Diagnostic file - Mon Dec 27 22:46:58 2004

Error:
an access violation exception.

Stack Dump:
RTCModule.AddModuleAnimation(pointer 0x00E85B00);
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();

Same thing for the dungeon Walls:

RTC (V0.29) Diagnostic file - Mon Dec 27 22:49:26 2004

Error:
an access violation exception.

Stack Dump:
RTC.DrawBitmap(pointer 0x00CB4684);
RTC.DrawDungeonFloorAndRoof();
RTC.DrawDungeonView(char 6, char 5, char 0, char 1);
RTC.DoEntrance(pointer 0x00CB4240);
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();

The dungeon Orange crash when I'm clicking on the floor and the orange doesn't appear on the floor at the start of the dungeon. Here's the contain of the log file:

RTC (V0.29) Diagnostic file - Mon Dec 27 22:44:18 2004

Error:
an access violation exception.

Stack Dump:
RTC.PickUpStdObject(char 6, char 5, char 0, char 1);
RTC.OnLMouseButtonDown(int 140, int 357);
RTC.WinMain();

For the dungeon Phantom, the ghost is totally invisible and we cannot hear it.

BUT! When I write the command COMPILE in the file config.txt, corresponding to one of these dungeons above, the dungeon works perfectly (except for Walls with 4 critical errors)! I can take and see the orange, I can see the ghost and hear it, I can see the walls in sand and I can see the animated red gem ONLY when I compile the corresponding txt files. If I'm trying to re-open them, then it crashes! And it was the same thing for the first RTC version!

George, can you fix this too?

Posted: Tue Dec 28, 2004 2:21 pm
by Gambit37
Bugger -- that failure was the biggest reason I stopped doing work on my RTC dungeon; according to the fixed bugs list, it was fixed. Hope we'll get a quick round of bug fixes.

Posted: Tue Dec 28, 2004 9:46 pm
by DragonsLover
Fixed bugs list? Where it is?

Posted: Tue Dec 28, 2004 10:04 pm
by Gambit37
There's no 'list' as such -- one just has to keep an eye on the bugs that are moved from the 'Bugs' forum to the 'RTC Archive' forum.

I may be mistaken about it being fixed, I'll take a look to see if I can find the thread when I have a bit of time.

Posted: Thu Dec 30, 2004 7:13 am
by billgus
I tweaked the DM.txt file and compiled it. I am seeing crashes when a door kills a monster. No bug report - the program just exits.

Posted: Thu Dec 30, 2004 3:24 pm
by George Gilbert
OK - there are two problems here, both are now fixed for V0.30 (which I'll post up tomorrow hopefully).

On the off chance you're interested they are:

- 1) Clouds (either as a result of spells or by killing monsters) hitting doors causes an infinite recursion which causes RTC to crash.

- 2) When loading a dungeon with replaced sounds or bitmaps, RTC always tries to load the source files from disk. This is fine for the txt version, but for the compiled RTC module files, the source file is already embedded in the file and doesn't need loading from disk (that's one of the major reasons for having the RTC single file format!) and this confuses the engine no end.

Both fixes only affect the RTC.exe file and any V0.29 save games / dungeons you may already have will be completely forwards / backwards compatible with V0.30.

Posted: Thu Dec 30, 2004 4:05 pm
by Babe Bridou
*sound of two hands clapping repeatedly and warmly*

Posted: Thu Dec 30, 2004 11:28 pm
by DragonsLover
Excellent! :D

George, you make a good job! ;)