Page 1 of 1

Chiefy Dungeon crashes

Posted: Mon Feb 12, 2018 12:03 pm
by luke41
Hi,

I am currently playing "Chiefy Dungeon" with RTC 0.24, and after some levels it crashes at the moment when I kill some creatures (knight or guardian).
Strangely, it happens only to SOME of them, since before I managed to kill other guardians or knights in the same places.

I get an "access violation error" and the game crashes. Chiefy who created the dungeon writes in an info-file that all files must not have "read-only". I checked this, I have full access to all files. I even tried it on different systems (Linux and Windows) - but the crashes are the same.

I tried playing it in another RTCs, only with 0.22 it works - but crashes the same way. Other versions either crash when opening "Chiefy Dungeon", or even dont show the dungeon to select when starting.

Can anyone help? I like the dungeon very much, and it would be a pity not to play it further... Unfortunately, Chiefy's email dont work any more...

Re: Chiefy Dungeon crashes

Posted: Mon Feb 12, 2018 9:13 pm
by Saumun
I’ve never played it, and short of successfully contacting chiefy, I don’t see how anything could be done with it.... unless someone else has the txt file.
Can I ask, what kind of access violation do you get?

Re: Chiefy Dungeon crashes

Posted: Mon Feb 12, 2018 9:38 pm
by luke41
Sorry, cant upload the screenshot, so here the error-message:

RTC has detected an access violation exception.
Details of the error have been written to the diagnostic file...
Please send this file together with a brief description... (and so on, no tech. infos)

And here the content of the diagnostic file mentioned above:

RTC (V0.24) Diagnostic file - Mon Feb 12 21:34:16 2018

Error:
an access violation exception.

Stack Dump:
RTC.AddItemToTileAddIt(int 969, pointer 0x00000000, char 34, char 14, char 4, char 3);
RTC.AddItemToTile(int 969, char 34, char 14, char 4, char 3);
RTC.DamageMonster(int 968, int 1500, char 34, char 14, char 4, int 5);
RTC.DamageTile(char 34, char 14, char 4, int 1500, int 5);
RTC.ItemHitSomething(int 19980, int 968, char 34, char 14, char 4);
RTC.AddItemToTileCheckHitSomethingMonster(int 19980, int 1169, int 968, int 1181, char 34, char 14, char 4);
RTC.AddItemToTileCheckHitSomething(int 19980, int 1169, int 968, int 1181, char 34, char 14, char 4);
RTC.AddItemToTile(int 19980, char 34, char 14, char 4, char 1);
RTC.UpdateItemStdSpell(int 19980, int 1169, char 34, char 13, char 4);
RTC.UpdateItem(int 19980, char 34, char 13, char 4);
RTC.UpdateDungeon();
RTC.DoFrame(int 50);
RTC.WinMain();

Re: Chiefy Dungeon crashes

Posted: Mon Feb 12, 2018 9:54 pm
by Saumun
Hmm... so it seems it’s when trying to add items to a tile (which I’m assuming it a knight’s armour and swords).
Is it a particularly large dungeon? Lots of objects? Are there a lot of complicated mechanics that you know of?

There’s an integer in the diagnostic that seems very high (19980).

Re: Chiefy Dungeon crashes

Posted: Mon Feb 12, 2018 10:04 pm
by luke41
Actually it happens when I kill a knight or a guardian (maybe he carries something). But, as I wrote in my post, not ANY knight or ANY guardian - just those two.
The dungeon is more like CSB than DM, but does not seem to be very large so far: you re-enter the same levels, triggers for doors are sometimes on other levels etc. But not too many items.

One guess: in the info-file Chiefy writes:
"if you find that the game is crashing with "access violation exception"
then it may be that the program is attempting to modify the RTC
e.g "ChiefyDungeon" or "DM_Original" and that the file concerned is
ticked 'READ ONLY'

this 'READ ONLY' status occurs with copying of files from CD to C:\ and
you should reverse that status change as soon as possible"

So maybe since I removed the "read-only" of the files not before starting, but only after the crashes, something was going wrong all the time (some values were "growing and growing"), and now the errors and crashes are the result of this?

Re: Chiefy Dungeon crashes

Posted: Mon Feb 12, 2018 10:53 pm
by Saumun
I see. Sorry dude, in absence of the txt file I don’t know what to suggest.
Maybe doing the ‘read only’ thing and starting again could work. I really don’t know.

Re: Chiefy Dungeon crashes

Posted: Tue Feb 13, 2018 8:59 am
by luke41
Yes, I will restart from the beginning and maybe it works this time. A little pity, since it is a hard dungeon from the beginning, but on the other hand sometimes a "second play" is easier and faster.