Blackguards: 4.2.0 to 4.2.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • backwardsEric
    Knight
    • Aug 2019
    • 527

    #46
    With the new changes for the blackguard, the clang compiler packaged with Xcode 11.3.1 complained about the local variable, target, in effect_handler_MOV_ATTACK() being uninitialized when the condition

    Code:
    (context->dir == DIR_TARGET) && target_okay()
    is false. Should target be initialized to loc(0, 0) so function will cleanly bail out if the target is not appropriately set?

    Comment

    • Nick
      Vanilla maintainer
      • Apr 2007
      • 9638

      #47
      Originally posted by backwardsEric
      With the new changes for the blackguard, the clang compiler packaged with Xcode 11.3.1 complained about the local variable, target, in effect_handler_MOV_ATTACK() being uninitialized when the condition

      Code:
      (context->dir == DIR_TARGET) && target_okay()
      is false. Should target be initialized to loc(0, 0) so function will cleanly bail out if the target is not appropriately set?
      Yes, that one's fixed in development.
      One for the Dark Lord on his dark throne
      In the Land of Mordor where the Shadows lie.

      Comment

      • wobbly
        Prophet
        • May 2012
        • 2631

        #48
        Breeder scumming seems a little generous, though I can't see a way to fix that without a cutoff for weak enemies.

        Comment

        • Diego Gonzalez
          Adept
          • May 2007
          • 170

          #49
          Wow! The new BG is great! I have one with clvl 25. It's pretty strong. I like the new mechanics and spells a lot. You did really a great job.

          Comment

          • DavidMedley
            Veteran
            • Oct 2019
            • 1004

            #50
            I'm glad you like it! It's not a complete work, so please continue to give feedback.
            Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

            Comment

            • Diego Gonzalez
              Adept
              • May 2007
              • 170

              #51
              Silly jokes:

              -Mushrooms of Terror should be avoided for true BGs?

              -Can a BG slap himself to get enough mana for maa?

              Comment

              • Diego Gonzalez
                Adept
                • May 2007
                • 170

                #52
                Got a crash when casting Leap Into Battle around a corner. The monster was running away.

                I wanted to ask... The attacks made by Maim Foe, cannot be avoided? Im trying to figure out uses for it.

                Comment

                • DavidMedley
                  Veteran
                  • Oct 2019
                  • 1004

                  #53
                  Around a corner, huh? Did you just cast detect?
                  Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                  Comment

                  • DavidMedley
                    Veteran
                    • Oct 2019
                    • 1004

                    #54
                    The stunning cannot be avoided, but the blow(s) can be.
                    Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                    Comment

                    • DavidMedley
                      Veteran
                      • Oct 2019
                      • 1004

                      #55
                      Originally posted by wobbly
                      Breeder scumming seems a little generous, though I can't see a way to fix that without a cutoff for weak enemies.
                      I thought about this for a while, both in development and after I read this comment. In the six months I've been here, wobbly is definitely among the people whose opinion I respect most.

                      But I don't see the above as an issue. Part of the idea of the Blackguard is that he's a bit of a bully. In fact that's one of his 10 titles, from before I returned to Angband. Thug and Tormentor are also notable on that list. On March 25 I listed it as one of the pros of the class
                      Instead of being bored by low level monsters, they look like small SP boosts to the player (bullying for fun and profit)
                      Of course, bullying low level monsters can be boring as well, but hopefully if you feel strongly about that then you've chosen a different class. And I don't find filling up to max SP a game breaking advantage for BGs. If it is, then I'll need to make adjustments since !Mana are easy enough to come by.
                      Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                      Comment

                      • Diego Gonzalez
                        Adept
                        • May 2007
                        • 170

                        #56
                        Originally posted by DavidMedley
                        Around a corner, huh? Did you just cast detect?
                        Code:
                        # #
                        #K##
                        #  @
                        ####
                        This situation

                        Perhaps I missed something of the code when I updated my android sources. I'll take a look.
                        Last edited by Diego Gonzalez; April 12, 2020, 21:48.

                        Comment

                        • DavidMedley
                          Veteran
                          • Oct 2019
                          • 1004

                          #57
                          OK, thanks for the report!
                          Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                          Comment

                          • Diego Gonzalez
                            Adept
                            • May 2007
                            • 170

                            #58
                            I could reproduce the bug

                            Is this expression:

                            Code:
                            if (i == 2) {
                               d -= 4;
                            }
                            It can generate negative indexes. In this case the starting value of d is 7, modified with every interation of the loop (0 to 2).
                            Last edited by Diego Gonzalez; April 14, 2020, 15:31.

                            Comment

                            • DavidMedley
                              Veteran
                              • Oct 2019
                              • 1004

                              #59
                              Oh geez. OK thanks. It's probably easiest for Nick to fix such an obvious error himself. Well, it's obvious now that you point it out, anyway.
                              Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                              Comment

                              • Diego Gonzalez
                                Adept
                                • May 2007
                                • 170

                                #60
                                I tried to fix it but it ended working in a bizarre way hehe. Its better that you or Nick make it work in the right way.
                                Last edited by Diego Gonzalez; April 13, 2020, 03:18.

                                Comment

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