![]() |
#1 |
Swordsman
Join Date: Dec 2007
Posts: 299
![]() |
Dimension Door bug
Playing from a several-weeks-old git checkout, ga4f08cb. My mage just got Dimension Door. I tried to test it out in town. Game went into an infinite loop:
Code:
Program received signal SIGINT, Interrupt. square_in_bounds_fully (c=0xa6bea8, grid=...) at cave-square.c:883 883 return grid.x > 0 && grid.x < c->width - 1 && (gdb) bt #0 square_in_bounds_fully (c=0xa6bea8, grid=...) at cave-square.c:883 #1 0x000000000041945c in effect_handler_TELEPORT_TO (context=0x7fffffffd870) at effects.c:2915 #2 0x000000000041e099 in effect_do (effect=0x849f98, origin=..., obj=0x0, ident=0x9df7f8, aware=true, dir=0, beam=36, boost=0) at effects.c:5251 #3 0x000000000049ab84 in spell_cast (spell_index=23, dir=0) at player-spell.c:491 #4 0x00000000004116f8 in do_cmd_cast (cmd=0x764210 <cmd_queue+880>) at cmd-obj.c:971 #5 0x000000000040e91e in process_command (ctx=CMD_GAME, cmd=0x764210 <cmd_queue+880>) at cmd-core.c:235 #6 0x000000000040ea1a in cmdq_pop (c=CMD_GAME) at cmd-core.c:264 #7 0x0000000000420896 in process_player () at game-world.c:900 #8 0x0000000000420b6f in run_game_loop () at game-world.c:1004 #9 0x00000000004be6c9 in play_game (new_game=false) at ui-game.c:435 #10 0x00000000004f7a75 in main (argc=1, argv=0x7fffffffdbb8) at main.c:528 |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,463
Donated: $60
![]() ![]() |
My first guess was that it's looking for a grid far enough away and can't find one, but I'm not sure if that makes sense. I've filed it as a bug; let me know if it still happens in the dungeon.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#3 |
Swordsman
Join Date: Dec 2007
Posts: 299
![]() |
Confirmed that I also get the infinite loop in the dungeon.
|
![]() |
![]() |
![]() |
#4 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,463
Donated: $60
![]() ![]() |
At what stage were you - had you chosen a place to teleport to?
There are definite problems with the spell (I can make it crash by giving a direction instead of choosing a grid); I want to try and get them all fixed at once.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#5 |
Swordsman
Join Date: Dec 2007
Posts: 299
![]() |
I cast and am immediately in an infinite loop.
|
![]() |
![]() |
![]() |
#6 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,463
Donated: $60
![]() ![]() |
This seems fine in the current revision - is anyone seeing any problems with Dimension Door now?
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#7 |
Swordsman
Join Date: Jun 2010
Posts: 309
![]() |
The last time I ran a mage was two or three nightlies ago at least, but it always worked correctly for me. I never tried giving it a direction though, I always picked a specific target.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
An Interesting Door | CAPM | Vanilla | 4 | February 19, 2018 10:14 |
Minor door opening bug on GV | donalde | Vanilla | 1 | September 22, 2014 17:07 |
Minor bug in 3.5: phase door into a vault | bron | Vanilla | 1 | August 25, 2014 09:32 |
stuck door | quarague | Vanilla | 11 | July 8, 2012 00:01 |
Yes, I know that's a door | Whelk | Vanilla | 17 | November 20, 2010 00:11 |