Vanilla Code Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DavidMedley
    Veteran
    • Oct 2019
    • 1004

    #31
    It's not a crucial issue
    Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

    Comment

    • Nick
      Vanilla maintainer
      • Apr 2007
      • 9634

      #32
      It's your .angband directory, not your angband directory
      One for the Dark Lord on his dark throne
      In the Land of Mordor where the Shadows lie.

      Comment

      • DavidMedley
        Veteran
        • Oct 2019
        • 1004

        #33
        Aha! I missed the tilde in your earlier post. Got it now. Thanks!
        Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

        Comment

        • DavidMedley
          Veteran
          • Oct 2019
          • 1004

          #34
          How do I get "player-flags:RAGE_FUEL" to not throw a parse error on startup?
          Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9634

            #35
            Originally posted by DavidMedley
            How do I get "player-flags:RAGE_FUEL" to not throw a parse error on startup?
            It will need an entry in player_property.txt, and an entry in list-player-flags.h
            One for the Dark Lord on his dark throne
            In the Land of Mordor where the Shadows lie.

            Comment

            • DavidMedley
              Veteran
              • Oct 2019
              • 1004

              #36
              I swear to God list-player-flags.h sprang into existence the moment you made this post through some vanilla maintainer sorcery
              Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

              Comment

              • wobbly
                Prophet
                • May 2012
                • 2629

                #37
                When I'm adding flags I use a search all files on a flag thats already there. So you can search know_zapper and all the relevent files will pop up. At least almost, it'll miss a couple like is_zapper for instance, but at least it'll find the list flags file you missed.

                Comment

                • DavidMedley
                  Veteran
                  • Oct 2019
                  • 1004

                  #38
                  Yeah. I think I must have searched for an object flag -- probably IMPAIR_HP -- and that's why I wasn't finding what I needed.
                  Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                  Comment

                  • DavidMedley
                    Veteran
                    • Oct 2019
                    • 1004

                    #39
                    Why is it so hard to keep my fork up to date? I've barely changed anything in github, and I could throw those few changes away. But when I try
                    Code:
                    damedley wants to merge 202 commits into damedley:master from angband:master
                    it's saying I have like a dozen files I have to manually merge. What gives? More to the point, how can I make it easy as possible to merge changes into my version, and request a pull into the real version?
                    Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                    Comment

                    • DavidMedley
                      Veteran
                      • Oct 2019
                      • 1004

                      #40
                      Originally posted by DavidMedley
                      it's saying I have like a dozen files I have to manually merge.
                      To clarify, these are changes that I have nothing to do with. Maybe they haven't been merged in the mainline version yet? And once they are it won't be an issue for me anymore?
                      Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                      Comment

                      • wobbly
                        Prophet
                        • May 2012
                        • 2629

                        #41
                        You've done something funky. Some of the changes you're trying to pull in have been in master since September 2019

                        Comment

                        • DavidMedley
                          Veteran
                          • Oct 2019
                          • 1004

                          #42
                          Originally posted by wobbly
                          You've done something funky. Some of the changes you're trying to pull in have been in master since September 2019
                          Hmm ok thanks for the tip.
                          Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                          Comment

                          • DavidMedley
                            Veteran
                            • Oct 2019
                            • 1004

                            #43
                            I guess I'll have to delete this and fork anew.
                            Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                            Comment

                            • DavidMedley
                              Veteran
                              • Oct 2019
                              • 1004

                              #44
                              I think I'm on the right track with github now. Question: is there a git setting to avoid updating a bunch of lines where the only change is my editor auto-trimmed some trailing whitespace?
                              Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                              Comment

                              • moosferatu
                                Apprentice
                                • Feb 2020
                                • 99

                                #45
                                If it's actually trimming spaces, you'll need to configure that in your editor.

                                What OS are you using? Windows? Most likely, it's converting line endings -- a highly irritating problem.

                                Comment

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