Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old January 4, 2010, 19:10   #1
shawnosullivan
Apprentice
 
Join Date: Aug 2009
Posts: 61
shawnosullivan is on a distinguished road
weird bug in r1877

really weird bug here, that i haven't noticed in any of the earlier nightlies - items keep getting lodged in walls.
an item, often one that i've identified already, will be transposed (with the original item in its original place) into a wall square. i can retrieve the item from the wall by digging it out. the item in its original place will vanish when the duplicate is removed from its wall square. im not totally clear on what triggers it, but its happened at least half a dozen times this game, and increasingly frequently as i get deeper. this is easily one of the stranger bugs i've seen in any roguelike...
shawnosullivan is offline   Reply With Quote
Old January 4, 2010, 19:11   #2
shawnosullivan
Apprentice
 
Join Date: Aug 2009
Posts: 61
shawnosullivan is on a distinguished road
i'll attach a save file next time it happens...
shawnosullivan is offline   Reply With Quote
Old January 4, 2010, 19:49   #3
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,788
Donated: $40
Pete Mack is on a distinguished road
The replayer log could really help with this kind of bug. Maybe it should be added as a compile-time option.
Pete Mack is online now   Reply With Quote
Old January 4, 2010, 20:03   #4
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 40
Posts: 1,516
d_m is on a distinguished road
Is it always the same item? What do you mean transposed? This is an item you see on the floor that's identified, and suddenly a copy shows up in the wall? What happens if you pick up the "original" item?
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old January 4, 2010, 20:40   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Pete Mack View Post
The replayer log could really help with this kind of bug. Maybe it should be added as a compile-time option.
Hi Pete - I'm hoping that Takk will incorporate your replayer - if not in 3.1.2 then at least in 3.1.3 - do you have a patch against svn trunk? I'm happy to commit it - IMO it should be a run-time (birth) option to record a game, rather than compile-time, but let me know if that wouldn't work.

CC
Magnate is offline   Reply With Quote
Old January 4, 2010, 23:23   #6
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,788
Donated: $40
Pete Mack is on a distinguished road
I haven't been maintaining it--it's of limited use.
(You need to replay games with exactly the same version that you played the original.)

Anyway, if you look at the original patch, you will see that the actual code is not version-dependent. It only changes very low level (util) files, along with a few trivial hooks in cmd0.c

In fact, it might be useful ias a bug-fixing tool in any non-stable release, not just in V.

I was thinking compile-time options, because:
1. It's limited to replay in exactly the same point release.
2. It invites cheating to a massive amount.
3. Not too many people seem really interested in watching.

(Birth option doesn't make sense. It's already written as a save-file option (either a live game or a recording.)

EDIT:

I just noticed that I never posted the final (non-buggy) version, and the machine it's on is currently broken. Does anyone have a copy in email?

Otherwise, I'll have to recover the disk from that machine, or else redo the bugfix..

Last edited by Pete Mack; January 5, 2010 at 00:02.
Pete Mack is online now   Reply With Quote
Old January 5, 2010, 01:04   #7
shawnosullivan
Apprentice
 
Join Date: Aug 2009
Posts: 61
shawnosullivan is on a distinguished road
Quote:
Originally Posted by d_m View Post
Is it always the same item? What do you mean transposed? This is an item you see on the floor that's identified, and suddenly a copy shows up in the wall? What happens if you pick up the "original" item?
it's occurred with variety of items - two that spring to mind are a ring of strength +2 and a pair of mithril gauntlets. they are items that are on the floor that i've identified. after looking around, they appear as duplicates elsewhere on the screen. i've not noticed exactly what triggers it - possibly just looking around the map? if i pick up either item, the other seems to disappear, although i haven't noticed it happening at the precise moment that i pick one up.
shawnosullivan is offline   Reply With Quote
Old January 5, 2010, 01:59   #8
shawnosullivan
Apprentice
 
Join Date: Aug 2009
Posts: 61
shawnosullivan is on a distinguished road
here we go - im facing a sling (+3 +3) that i just ID'd in from a small vault. the sling is now lodged in a wall - but the original sling is also still in the vault.
Attached Files
File Type: zip Hargil.zip (19.9 KB, 143 views)
shawnosullivan is offline   Reply With Quote
Old January 5, 2010, 02:00   #9
shawnosullivan
Apprentice
 
Join Date: Aug 2009
Posts: 61
shawnosullivan is on a distinguished road
when i dug out and picked up the wall-bound sling, the original sling from the vault disappeared (but only upon pickup, not when i initially dug it out).
shawnosullivan is offline   Reply With Quote
Old January 5, 2010, 05:41   #10
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 40
Posts: 1,516
d_m is on a distinguished road
Quote:
Originally Posted by shawnosullivan View Post
here we go - im facing a sling (+3 +3) that i just ID'd in from a small vault. the sling is now lodged in a wall - but the original sling is also still in the vault.
Thanks, I'll take a look at this sometime soon.
__________________
linux->xterm->screen->pmacs
d_m 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
Just a weird thought! or not! NeoWizard Vanilla 2 January 25, 2009 07:54


All times are GMT +1. The time now is 09:26.


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