weird bug in r1877

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shawnosullivan
    Apprentice
    • Aug 2009
    • 61

    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
    Apprentice
    • Aug 2009
    • 61

    #2
    i'll attach a save file next time it happens...

    Comment

    • Pete Mack
      Prophet
      • Apr 2007
      • 6883

      #3
      The replayer log could really help with this kind of bug. Maybe it should be added as a compile-time option.

      Comment

      • d_m
        Angband Devteam member
        • Aug 2008
        • 1517

        #4
        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

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #5
          Originally posted by Pete Mack
          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
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • Pete Mack
            Prophet
            • Apr 2007
            • 6883

            #6
            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, 01:02.

            Comment

            • shawnosullivan
              Apprentice
              • Aug 2009
              • 61

              #7
              Originally posted by d_m
              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.

              Comment

              • shawnosullivan
                Apprentice
                • Aug 2009
                • 61

                #8
                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

                Comment

                • shawnosullivan
                  Apprentice
                  • Aug 2009
                  • 61

                  #9
                  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).

                  Comment

                  • d_m
                    Angband Devteam member
                    • Aug 2008
                    • 1517

                    #10
                    Originally posted by shawnosullivan
                    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

                    Comment

                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎