I was messing about in the CSB prison trying to grab some characters to play test the game. I had selected Mantia, Petal and the secret Kazai and was sleeping to regain health before going back through the lower level and dealing with the remaining rock piles.
I went downstairs, DES VEN'd the first rock pile blocking my way - no problem. On doing the same thing to the next one in line, the game crashed. Here's the dump:
RTC.MonsterMove(int 3212, char 10, char 15, char 11);
RTC.UpdateItemMonster(int 3212, int 1046, char 10, char 15, char 11);
RTC.UpdateItem(int 3212, char 10, char 15, char 11);
RTC.UpdateDungeon();
RTC.DoFrame(int 50);
RTC.WinMain();
Do you also need the associated SAV and RTC files? Note that I tried this again after re-starting from the save game, and there were no problems.....
Exception in Prison (CSB - v0.17)
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Re: Exception in Prison (CSB - v0.17)
Curious - I'll have a look at that...
I have a nasty suspicion that this is the crash that I have been trying to nail down for ages (i.e. some problem with the collision detection). I guess that it's trying to move the rock pile out of the way and tests against the spell which is no longer there (as it's turned into a cloud).
Hmmm....
I have a nasty suspicion that this is the crash that I have been trying to nail down for ages (i.e. some problem with the collision detection). I guess that it's trying to move the rock pile out of the way and tests against the spell which is no longer there (as it's turned into a cloud).
Hmmm....
- Gambit37
- Should eat more pies
- Posts: 13778
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Exception in Prison (CSB - v0.17)
The second rock pile was a tile away - not on the same tile as the rockpile that died. So it couldn't have moved into the poison cloud created by des ven. However, maybe it moved into the dust cloud left by the dying rockpile - I'm not sure.
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Re: Exception in Prison (CSB - v0.17)
Well I've found *A* bug in the monster movement code, whether it's *the* bug is another matter though 
There was an obscure path whereby it would crash when a monster tried to move in one direction, found that that direction was blocked, tried to move in another direction and then died as a result of that move (e.g. walked into a fireball or des-ven cloud).
If it was this then it would explain why we only saw this crash in the middle of fights with lots of monsters and lots of spells flying about and even then, only very rarely...
I'll put the fix into V0.18 and we'll have to see if it still crashes...

There was an obscure path whereby it would crash when a monster tried to move in one direction, found that that direction was blocked, tried to move in another direction and then died as a result of that move (e.g. walked into a fireball or des-ven cloud).
If it was this then it would explain why we only saw this crash in the middle of fights with lots of monsters and lots of spells flying about and even then, only very rarely...
I'll put the fix into V0.18 and we'll have to see if it still crashes...
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact: