Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old December 9, 2009, 02:58   #1
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,023
fizzix is on a distinguished road
glyph of warding bug?

playing r1823 came across a glyph of warding on the ground. I'm a level 15 priest so I certainly didn't cast it...All monsters were too far away so I couldn't test to see if it worked but I made a save file.
fizzix is offline   Reply With Quote
Old December 9, 2009, 10:15   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Interesting - maybe somebody included random glyph placement in dungeon generation ...
Magnate is offline   Reply With Quote
Old December 9, 2009, 17:13   #3
Marble Dice
Swordsman
 
Join Date: Jun 2008
Location: Portland, OR, USA
Posts: 412
Marble Dice is on a distinguished road
How eerie! You couldn't have read a scroll without realizing it, could you?
Marble Dice is offline   Reply With Quote
Old December 9, 2009, 17:20   #4
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,023
fizzix is on a distinguished road
Quote:
Originally Posted by Marble Dice View Post
How eerie! You couldn't have read a scroll without realizing it, could you?
Well, unless I got a rune of protection scroll (way OoD) and it happened to create the glyph somewhere far away in the dungeon. But that would just change the nature of the bug. You guys want the bug savefile?
fizzix is offline   Reply With Quote
Old December 9, 2009, 17:56   #5
Marble Dice
Swordsman
 
Join Date: Jun 2008
Location: Portland, OR, USA
Posts: 412
Marble Dice is on a distinguished road
Sure, post it up.
Marble Dice is offline   Reply With Quote
Old December 10, 2009, 01:32   #6
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,023
fizzix is on a distinguished road
Had to wait to get home from work, I uploaded the savefile here (although maybe there's a better way to do it?)

no laughing at my pathetic attempt at ironman please.

edit: in the savefile, I'm standing on the glyph.
Attached Files
File Type: zip glyph_bug.zip (11.3 KB, 186 views)
fizzix is offline   Reply With Quote
Old December 10, 2009, 07:10   #7
Philip
Knight
 
Join Date: Jul 2009
Location: Prague,Czech Republic
Posts: 909
Philip is on a distinguished road
There is a simple way of dealing with this. Redefine it as a feature.
Philip is offline   Reply With Quote
Old December 10, 2009, 07:52   #8
Marble Dice
Swordsman
 
Join Date: Jun 2008
Location: Portland, OR, USA
Posts: 412
Marble Dice is on a distinguished road
I can't find any answer through source analysis. FEAT_GLYPH is only set from one function, which is only called from the priest spell, the mage spell, and the effect. No other calls to cave_set_feat seem to have logic errors that could lead to accidentally setting a glyph instead of e.g. a trap.

My best guess is spontaneous single byte corruption of the current dungeon level from the savefile on game load. Now you'll tell me you didn't load the game on this level I'm sure.
Marble Dice is offline   Reply With Quote
Old December 10, 2009, 14:46   #9
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,023
fizzix is on a distinguished road
Quote:
Originally Posted by Marble Dice View Post
I can't find any answer through source analysis. FEAT_GLYPH is only set from one function, which is only called from the priest spell, the mage spell, and the effect. No other calls to cave_set_feat seem to have logic errors that could lead to accidentally setting a glyph instead of e.g. a trap.

My best guess is spontaneous single byte corruption of the current dungeon level from the savefile on game load. Now you'll tell me you didn't load the game on this level I'm sure.
I don't think I did. It's possible though...we'll see if anyone else reports finding one.
fizzix is offline   Reply With Quote
Old December 10, 2009, 16:50   #10
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 991
fph is on a distinguished road
Quote:
Originally Posted by Philip View Post
There is a simple way of dealing with this. Redefine it as a feature.
You mean a feature as in "it's not a bug, it's a feature" or as in "the terrain feature FEAT_GLYPH"?

If it is in the first meaning, I too wouldn't mind finding an occasional glyph of warding in the dungeon -- it would create a lot of tactical options and definitely make the game funnier for me.
fph 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


All times are GMT +1. The time now is 01:41.


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