[Fixed for V0.38] Game freezes when monsters are conjured.
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

- TheMormegil
- Adept
- Posts: 213
- Joined: Thu Apr 10, 2003 10:23 am
- Location: Wales
[Fixed for V0.38] Game freezes when monsters are conjured.
At least that seems to be whats happening...
Situation is a monster who has an attack method of conjuring monsters.
The game freezes when it conjures more than a couple it seems.
No error log, game has to be closed with ctrl-alt-del.
Situation is a monster who has an attack method of conjuring monsters.
The game freezes when it conjures more than a couple it seems.
No error log, game has to be closed with ctrl-alt-del.
- TheMormegil
- Adept
- Posts: 213
- Joined: Thu Apr 10, 2003 10:23 am
- Location: Wales
Like this...
ADD ATTACK_METHOD_CONJURE NAME=(CONJURE) TYPE=(WIZARD) ACTION=(ACTION_CREATE_NEW_SPELL,DUNGEON_SPELL_CONJURE,NULL) STRENGTH=(25) LEVEL=(3) ENERGY=(1) TIME=(30) CHARGES_USED=(1) MANA_USED=(1) SOUND=(NULL)
ADD SPELL_DES NAME=(CONJURE) RUNES=(DES) TYPE=(WIZARD) ACTION=(ACTION_CREATE_NEW_SPELL,DUNGEON_SPELL_CONJURE,NULL) CAST_SOUNDS=(NULL,NULL,NULL,NULL,NULL,NULL) FAIL_SOUNDS=(NULL,NULL,NULL,NULL,NULL,NULL) TIME=(30,35,40,45,50,55)
ADD DUNGEON_SPELL_CONJURE CLONES=(DUNGEON_SPELL_ZO) NAME=(DUNGEON_SPELL_CONJURE) CONVERT_EXPLODE=(SOUND:SOUND_ATTACK_SCORPION,ACTION:ACTION_CREATE_NEW_ON_FLOOR,ACTION_OBJECT1:MONSTER_DRAGON_RED,ACTION_OBJECT2:NULL,ACTION_STRENGTH:0)
ADD MONSTER_CONJURER CLONES=(MONSTER_GIGGLER) NAME=(CONJURER) METHODS=(ATTACK_METHOD_CONJURE,ATTACK_METHOD_CONJURE,ATTACK_METHOD_MONSTER_3) CONVERT_DEATH=(SOUND:SOUND_OTHER_SWOOSH)
ADD ATTACK_METHOD_CONJURE NAME=(CONJURE) TYPE=(WIZARD) ACTION=(ACTION_CREATE_NEW_SPELL,DUNGEON_SPELL_CONJURE,NULL) STRENGTH=(25) LEVEL=(3) ENERGY=(1) TIME=(30) CHARGES_USED=(1) MANA_USED=(1) SOUND=(NULL)
ADD SPELL_DES NAME=(CONJURE) RUNES=(DES) TYPE=(WIZARD) ACTION=(ACTION_CREATE_NEW_SPELL,DUNGEON_SPELL_CONJURE,NULL) CAST_SOUNDS=(NULL,NULL,NULL,NULL,NULL,NULL) FAIL_SOUNDS=(NULL,NULL,NULL,NULL,NULL,NULL) TIME=(30,35,40,45,50,55)
ADD DUNGEON_SPELL_CONJURE CLONES=(DUNGEON_SPELL_ZO) NAME=(DUNGEON_SPELL_CONJURE) CONVERT_EXPLODE=(SOUND:SOUND_ATTACK_SCORPION,ACTION:ACTION_CREATE_NEW_ON_FLOOR,ACTION_OBJECT1:MONSTER_DRAGON_RED,ACTION_OBJECT2:NULL,ACTION_STRENGTH:0)
ADD MONSTER_CONJURER CLONES=(MONSTER_GIGGLER) NAME=(CONJURER) METHODS=(ATTACK_METHOD_CONJURE,ATTACK_METHOD_CONJURE,ATTACK_METHOD_MONSTER_3) CONVERT_DEATH=(SOUND:SOUND_OTHER_SWOOSH)
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
- TheMormegil
- Adept
- Posts: 213
- Joined: Thu Apr 10, 2003 10:23 am
- Location: Wales
http://www.shop4glasses.co.uk/potion.RTC
Sophia's suggestion didn't solve the problem.
To reproduce : Start the dungeon and go through the door into the room with
the giggler. Let him conjure a couple of dragons at you.
When there is not a free space N,E,S,W the next conjure spell will freeze the game. For me anyway
Sophia's suggestion didn't solve the problem.
To reproduce : Start the dungeon and go through the door into the room with
the giggler. Let him conjure a couple of dragons at you.
When there is not a free space N,E,S,W the next conjure spell will freeze the game. For me anyway

- TheMormegil
- Adept
- Posts: 213
- Joined: Thu Apr 10, 2003 10:23 am
- Location: Wales
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
That's great thanks - I can now see exactly what is happening.
FYI, RTC is going into an infinite loop trying to find a free slot for the monster to go into; there is no workaround (other than not using that spell so frequently)
Thinking about the fix, what would the prefered fix be:
1) That if there isn't room for the monster to be generated, it isn't.
2) That if there isn't room for the monster to be generated, it is and it doubles (trebbles, quadruples and on and on) up with those on existing tiles.
?
FYI, RTC is going into an infinite loop trying to find a free slot for the monster to go into; there is no workaround (other than not using that spell so frequently)
Thinking about the fix, what would the prefered fix be:
1) That if there isn't room for the monster to be generated, it isn't.
2) That if there isn't room for the monster to be generated, it is and it doubles (trebbles, quadruples and on and on) up with those on existing tiles.
?
- TheMormegil
- Adept
- Posts: 213
- Joined: Thu Apr 10, 2003 10:23 am
- Location: Wales
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Teleporters use a completely different code path than the spell generation. What they do is something very similar to option 2 (i.e. the monster does get teleported rather than get destroyed or not teleported).
As you say, for spells / attack methods etc, option 2 has alot of problems with it; in particular with monsters with a high attack rate, so I'm leaning heavily towards 1...just in general creating multiple items of any type (monsters as well as standard ones) out of direct control of the designer is a bad idea!
As you say, for spells / attack methods etc, option 2 has alot of problems with it; in particular with monsters with a high attack rate, so I'm leaning heavily towards 1...just in general creating multiple items of any type (monsters as well as standard ones) out of direct control of the designer is a bad idea!
- TheMormegil
- Adept
- Posts: 213
- Joined: Thu Apr 10, 2003 10:23 am
- Location: Wales
- TheMormegil
- Adept
- Posts: 213
- Joined: Thu Apr 10, 2003 10:23 am
- Location: Wales
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact: