Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 21, 2019, 16:22   #1
kandrc
Swordsman
 
Join Date: Dec 2007
Posts: 299
kandrc is on a distinguished road
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
I doubt it matters, but I was standing on a shop entrance.
kandrc is offline   Reply With Quote
Old February 21, 2019, 20:12   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,592
Donated: $60
Nick is on a distinguished road
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.
Nick is offline   Reply With Quote
Old February 22, 2019, 23:14   #3
kandrc
Swordsman
 
Join Date: Dec 2007
Posts: 299
kandrc is on a distinguished road
Confirmed that I also get the infinite loop in the dungeon.
kandrc is offline   Reply With Quote
Old February 24, 2019, 01:56   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,592
Donated: $60
Nick is on a distinguished road
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.
Nick is offline   Reply With Quote
Old February 25, 2019, 22:26   #5
kandrc
Swordsman
 
Join Date: Dec 2007
Posts: 299
kandrc is on a distinguished road
I cast and am immediately in an infinite loop.
kandrc is offline   Reply With Quote
Old June 11, 2019, 13:12   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,592
Donated: $60
Nick is on a distinguished road
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.
Nick is offline   Reply With Quote
Old June 14, 2019, 19:19   #7
Chud
Adept
 
Join Date: Jun 2010
Posts: 244
Chud is on a distinguished road
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.
Chud is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
An Interesting Door CAPM Vanilla 4 February 19, 2018 09:14
Minor door opening bug on GV donalde Vanilla 1 September 22, 2014 16:07
Minor bug in 3.5: phase door into a vault bron Vanilla 1 August 25, 2014 08:32
stuck door quarague Vanilla 11 July 7, 2012 23:01
Yes, I know that's a door Whelk Vanilla 17 November 19, 2010 23:11


All times are GMT +1. The time now is 17:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.