Object stacking "bug"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fph
    Veteran
    • Apr 2009
    • 1030

    Object stacking "bug"

    I am playing build ga914ed2, with pack size reduced to 25.

    I picked up 3 !CLW while I had 23 other in my inventory. Now they show up separately as 23 !CLW in one stack and 3 in another. OTOH, when I do the same with the arrows in the quiver, then the first stack gets maxed up to 25 and then the remaining arrows "overflow" to the next stack. This seems inconsistent, and the proper behaviour should be the one implemented in the quiver (25+1 rather than 23+3).

    btw, I like pack_size=25 for now, even though I haven't been shooting much with this character.
    --
    Dive fast, die young, leave a high-CHA corpse.
  • fph
    Veteran
    • Apr 2009
    • 1030

    #2
    And another related oddity: when I have 23 !CLW in one pack and there's 3 on the floor and my inventory is full, I cannot pick only two of them up. Some inventory juggling is needed to obtain the proper result.
    --
    Dive fast, die young, leave a high-CHA corpse.

    Comment

    • d_m
      Angband Devteam member
      • Aug 2008
      • 1517

      #3
      Originally posted by fph
      And another related oddity: when I have 23 !CLW in one pack and there's 3 on the floor and my inventory is full, I cannot pick only two of them up. Some inventory juggling is needed to obtain the proper result.
      Good call.

      I wrote some special quiver-spillover code that will probably need to be generalized for this to work.
      linux->xterm->screen->pmacs

      Comment

      • Nomad
        Knight
        • Sep 2010
        • 958

        #4
        Currently playing g74b42d1, and discovered a some weirdness with the new stack size limits when buying in the town. I bought 30 enchanted arrows from a shop, and they entered my inventory as a stack of 30. I equipped them to the quiver, and on the 'e' screen they were shown as a stack of 30 in one slot, although the 'i' screen had the correct behaviour, showing two "in Quiver" lines with 25 and 5.

        I was able to drop the full 30 stack and pick it up again without it splitting, though when I dropped 10 of the arrows and then picked those up, the arrows didn't recombine but stayed split into two stacks of 20/10.

        Possibly the simplest answer to this is just that shops shouldn't be selling ammo in stacks of >25 in the first place? I see that the standard stocks of average ammo have been reduced from 99 to 25, but it looks like the random stacks of enchanted ammo sometimes sold may have escaped via a loophole.

        Iron spikes are also currently stocked in stacks higher than 25. Just got some further interesting behaviour checking the problem with the arrows could be reproduced: the shop had 60 spikes, I bought 30 of them (and did indeed get them as a stack of 30). Then I sold them back, and the shop's remaining stock suddenly went down to 25. (The other 5 and the 30 I sold back all disappeared rather than showing up as another stack in the shop inventory.) So that maximum must be set somewhere, but something's gone a little bit wonky.

        Comment

        • d_m
          Angband Devteam member
          • Aug 2008
          • 1517

          #5
          Was this a new game, or a saved game?

          The game should no longer be generating stacks of more than 25 for sale, but old stacks might still be hanging around.

          If you started a new game with the 25 limit and still saw a stack of 30 then this is a bug.
          linux->xterm->screen->pmacs

          Comment

          • Nomad
            Knight
            • Sep 2010
            • 958

            #6
            Originally posted by d_m
            Was this a new game, or a saved game?

            The game should no longer be generating stacks of more than 25 for sale, but old stacks might still be hanging around.

            If you started a new game with the 25 limit and still saw a stack of 30 then this is a bug.
            It was a brand new game started from scratch in g74b42d1. I've played three or four games in that version now, and it seems like everything appears in stacks of 25 or less except for iron spikes and sometimes ammo at the weaponsmith.

            Comment

            • d_m
              Angband Devteam member
              • Aug 2008
              • 1517

              #7
              Originally posted by Nomad
              It was a brand new game started from scratch in g74b42d1. I've played three or four games in that version now, and it seems like everything appears in stacks of 25 or less except for iron spikes and sometimes ammo at the weaponsmith.
              Huh, weird. Thanks for the report!

              I will try to replicate and fix this. I'm assuming it's legit, but if anyone else has seen this I'd love confirmation that it's still an issue.
              linux->xterm->screen->pmacs

              Comment

              • dos350
                Knight
                • Sep 2010
                • 546

                #8
                these new stack limits suck so much why do this 2 angband ?~ please no rage
                ~eek

                Reality hits you -more-

                S+++++++++++++++++++

                Comment

                • bulian
                  Adept
                  • Sep 2010
                  • 163

                  #9
                  I'll trust the older players this change is good to limit power of ranged attacks, but I'm concerned about limited capacity for consumables in ironman games. Has anyone played ironman with the reduced stack sizes?

                  Being able to carry only 25 (or 40) CCW might be risky at best, and devoting a second (or third) slot might be challenging given the inventory constraints. Apologies if this has already been discussed.

                  The comp 107 winners (ironman warrior) had 0 and 31 CCW potions in inventory, though Ewan said he stashed a bunch. My winner (http://angband.oook.cz/ladder-show.php?id=11781) had 22. Likely the numbers going into the final fight were all higher than 25.

                  Comment

                  • Magnate
                    Angband Devteam member
                    • May 2007
                    • 5110

                    #10
                    Originally posted by bulian
                    I'll trust the older players this change is good to limit power of ranged attacks, but I'm concerned about limited capacity for consumables in ironman games. Has anyone played ironman with the reduced stack sizes?

                    Being able to carry only 25 (or 40) CCW might be risky at best, and devoting a second (or third) slot might be challenging given the inventory constraints. Apologies if this has already been discussed.

                    The comp 107 winners (ironman warrior) had 0 and 31 CCW potions in inventory, though Ewan said he stashed a bunch. My winner (http://angband.oook.cz/ladder-show.php?id=11781) had 22. Likely the numbers going into the final fight were all higher than 25.
                    There's nothing stopping you carrying more than one stack ...
                    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                    Comment

                    • bulian
                      Adept
                      • Sep 2010
                      • 163

                      #11
                      There's nothing stopping you carrying more than one stack ...
                      I think I mentioned that in my original post, so I'll interpret the response as "play, find out, and report back whether there is an issue."

                      It may take some time but I will play, find out, and report back, likely with a rogue. I have a feeling the late game will be particularly challenging given the other nerf to CCW from proportional to fixed healing.

                      Comment

                      • Derakon
                        Prophet
                        • Dec 2009
                        • 9022

                        #12
                        Originally posted by bulian
                        I have a feeling the late game will be particularly challenging given the other nerf to CCW from proportional to fixed healing.
                        The current flat 60HP heal is still miles better than the CCW of the old days which was, IIRC, an 8d8 heal.

                        Comment

                        • dos350
                          Knight
                          • Sep 2010
                          • 546

                          #13
                          theres nothing stopping u from leaving the game 2 b good and not ruining it with every idea u think u have,

                          dont bother~

                          even talking about pathetic changes like this 2 make game difficult (which it wont) it will just make it annoying 2 play and i will go all the way back 2 3.12v2,, i hope eeryone else does 2 unlesse ur attitude of angband changes, and i mean u devs!!!

                          please no rage
                          ~eek

                          Reality hits you -more-

                          S+++++++++++++++++++

                          Comment

                          • Nick
                            Vanilla maintainer
                            • Apr 2007
                            • 9634

                            #14
                            Originally posted by dos350
                            even talking about pathetic changes like this 2 make game difficult (which it wont) it will just make it annoying 2 play and i will go all the way back 2 3.12v2,, i hope eeryone else does 2 unlesse ur attitude of angband changes, and i mean u devs!!!
                            I bet they're quaking in their boots
                            One for the Dark Lord on his dark throne
                            In the Land of Mordor where the Shadows lie.

                            Comment

                            • Magnate
                              Angband Devteam member
                              • May 2007
                              • 5110

                              #15
                              Originally posted by Nick
                              I bet they're quaking in their boots
                              It's particularly amusing that dos threatens to go back to a version which most other people who dislike current development consider far inferior to 3.0.x
                              "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                              Comment

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