Angband 4.2.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • moosferatu
    Apprentice
    • Feb 2020
    • 99

    #61
    Originally posted by DavidMedley
    There is a user interface option to prevent this.
    Do you mean disable auto-pickup matching items or charges being averaged across devices? I like auto-pickup most of the time. I'm not seeing a setting for the latter.

    Comment

    • DavidMedley
      Veteran
      • Oct 2019
      • 1004

      #62
      Matching items
      Command: =af
      Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

      Comment

      • spara
        Adept
        • Nov 2014
        • 235

        #63
        Found another unknown rod. Zapped from the ground and it revealed itself to be Rod of Polymorph. Again missing details in description. I guess the problem is in the identification of (rods?) from the ground.

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9634

          #64
          Originally posted by backwardsEric
          There was a change to avoid problems when reading a rune of protection scroll from the floor. As a direct result of that or the subsequent fixes to clean up extra messages from that change, a problem with propagating knowledge about single-use items was introduced which Nick fixed. All those changes were in a routine that's called for all item use. So, they could be related to this bug about not learning the properties of a rod after using it.
          OK, I'm pretty sure this is actually the problem. Looking at that code, it seems to me that there is only need to use a work object for single use items, so that code for multi-use items could just be removed - do you agree?
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • spara
            Adept
            • Nov 2014
            • 235

            #65
            @ has been blinded and tries to look at objects formerly left behind. They all basically give the same "You see an open floor..." message. They can be seen in the "You are aware of ... objects" term-window though. @ should probably be able to use the look command to check the objects they are aware of even though being blinded.

            Click image for larger version

Name:	Screenshot from 2020-06-15 15-04-52.jpg
Views:	1
Size:	19.5 KB
ID:	233314

            Save: look.zip

            Comment

            • backwardsEric
              Knight
              • Aug 2019
              • 527

              #66
              Originally posted by Nick
              OK, I'm pretty sure this is actually the problem. Looking at that code, it seems to me that there is only need to use a work object for single use items, so that code for multi-use items could just be removed - do you agree?
              For the current item set, I think that's fine. If you want to allow the possibility of things like rods or staffs of deep descent or teleport level (something where the item's effect would leave the original object inaccessible after use from the floor), then using a temporary object for the bookkeeping after the effect seems necessary.

              Comment

              • DavidMedley
                Veteran
                • Oct 2019
                • 1004

                #67
                Like a rod of recall?
                Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                Comment

                • Nick
                  Vanilla maintainer
                  • Apr 2007
                  • 9634

                  #68
                  Originally posted by backwardsEric
                  For the current item set, I think that's fine. If you want to allow the possibility of things like rods or staffs of deep descent or teleport level (something where the item's effect would leave the original object inaccessible after use from the floor), then using a temporary object for the bookkeeping after the effect seems necessary.
                  OK, good thinking.
                  One for the Dark Lord on his dark throne
                  In the Land of Mordor where the Shadows lie.

                  Comment

                  • luneya
                    Swordsman
                    • Aug 2015
                    • 279

                    #69
                    Originally posted by DavidMedley
                    Like a rod of recall?
                    Recall or deep descent wouldn't actually trigger this problem because they trigger a status effect immediately, and the effect removes the player from the level after several turns. The identity is learned as soon as the status effect is gained, at which point the rod/staff/wand is still present.

                    An object of teleport level would be a problem if such existed. We probably should also test if there is a problem using unknown staves of teleport from the floor, as the staff would no longer be visible to the player after teleporting.

                    Comment

                    • DavidMedley
                      Veteran
                      • Oct 2019
                      • 1004

                      #70
                      I don't know if it's just the power of suggestion, but now I do seem to remember something weird like that happening to me... used a scroll of teleport from the floor and it didn't ID. I guess that's not a very helpful report...
                      Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                      Comment

                      • PowerWyrm
                        Prophet
                        • Apr 2008
                        • 2986

                        #71
                        In critical_melee():

                        Code:
                        int chance = weight + (p->state.to_h + plus + debuff_to_hit) * 5 + (p->state.skills[SKILL_TO_HIT_MELEE] - 60);
                        In calculate_melee_crits():

                        Code:
                        int k, to_crit = weight + 5 * (state->to_h + plus) + [B][COLOR="Red"]3[/COLOR][/B] * state->skills[SKILL_TO_HIT_MELEE] - 60;
                        Second line kept the factor of 3 that was removed from the first line.
                        PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

                        Comment

                        • DavidMedley
                          Veteran
                          • Oct 2019
                          • 1004

                          #72
                          Originally posted by PowerWyrm
                          In critical_melee():
                          In calculate_melee_crits():
                          Second line kept the factor of 3 that was removed from the first line.
                          This was my dumb fault. Thanks for finding it.
                          Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                          Comment

                          • Nick
                            Vanilla maintainer
                            • Apr 2007
                            • 9634

                            #73
                            Originally posted by DavidMedley
                            This was my dumb fault. Thanks for finding it.
                            That's what he does
                            One for the Dark Lord on his dark throne
                            In the Land of Mordor where the Shadows lie.

                            Comment

                            • chem
                              Adept
                              • Sep 2007
                              • 150

                              #74
                              I haven't played Angband in many years and haven't played vanilla since perhaps 3.1.x.

                              I'm trying 4.2.1 as a high-elf blackguard.

                              I notice that I can't seem to search to hidden doors or traps. How does that work now or what was that replaced with?

                              Any other super big but not immediately explained changes I should be aware of?

                              Comment

                              • Nick
                                Vanilla maintainer
                                • Apr 2007
                                • 9634

                                #75
                                Originally posted by chem
                                I notice that I can't seem to search to hidden doors or traps. How does that work now or what was that replaced with?
                                Traps you have one chance to notice, dependent on your searching skill, when you first see the grid that they are on. Hidden doors are always seen when you step next to them.

                                Originally posted by chem
                                Any other super big but not immediately explained changes I should be aware of?
                                Probably ID is the big one. Magical ID of scrolls, rods, etc is gone (along with potions of Death ); you have to use these or sell/give them to the shops to ID them. There is a scroll (and spell for mages) called Identify Rune which will identify an unknown property ("rune") on a wearable item, and once you know a rune you will always recognise it on new gear. Runes can be learned by experience too.
                                One for the Dark Lord on his dark throne
                                In the Land of Mordor where the Shadows lie.

                                Comment

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