New to forum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deadguy
    Scout
    • Apr 2014
    • 36

    New to forum

    Hey Angbanders, first time on forums but been playin for a couple of years off and on.
    Have my best character/game ever going atm, and I get a lot of good advice lurking here.
    Anyway, Ive begun to want to edit some of the lib/edit files, but must be doing something wromg as every time I do it corrupts my install. I play Vanilla 3.4 mainly, and on a tablet. Any help appreciated!
    One does not simply stop playing Angband.
  • fizzix
    Prophet
    • Aug 2009
    • 3025

    #2
    What specifically are you trying to edit?

    Comment

    • Deadguy
      Scout
      • Apr 2014
      • 36

      #3
      Tne object.txt file, im sorta doing an experiment with statgain potions, trying to change the deptn theyre found...thanks!
      One does not simply stop playing Angband.

      Comment

      • fizzix
        Prophet
        • Aug 2009
        • 3025

        #4
        The relevant entry for, say, Dexterity is

        Code:
        N:313:Dexterity
        G:!:d
        I:75:4
        W:30:0:4:8000
        A:40:30 to 100
        M:10:2
        F:EASY_KNOW
        E:GAIN_DEX
        You should be able to change the A line to read other values.

        A:40:10 to 100 will make it drop at level 10
        A:100:30 to 100 will make it drop at level 30 but be (roughly) 2.5 times more likely to drop.

        If it crashes when you do this, I'm not sure. If you want to attach your modified object.txt file I can take a look at it.

        Do you get any specific error?

        Comment

        • Deadguy
          Scout
          • Apr 2014
          • 36

          #5
          Tyvm, im busy atm but will try to post the exact error Im getting. Im wondering if its the editor im using......changing the A line is all I should have to do, then?
          One does not simply stop playing Angband.

          Comment

          • fizzix
            Prophet
            • Aug 2009
            • 3025

            #6
            Originally posted by Deadguy
            Tyvm, im busy atm but will try to post the exact error Im getting. Im wondering if its the editor im using......changing the A line is all I should have to do, then?
            Yeah. One thing that sometimes happens is that your editor could be using a different newline character, which could be messing up the parser. I don't know if that's still an issue though.

            Comment

            • Nick
              Vanilla maintainer
              • Apr 2007
              • 9637

              #7
              Originally posted by fizzix
              Yeah. One thing that sometimes happens is that your editor could be using a different newline character, which could be messing up the parser. I don't know if that's still an issue though.
              It might well be if the editor is not UTF-8-friendly.
              One for the Dark Lord on his dark throne
              In the Land of Mordor where the Shadows lie.

              Comment

              • Deadguy
                Scout
                • Apr 2014
                • 36

                #8
                Yes the errors im getting are parse-related of various sorts,will post asap....ty banders. Whats a reliable way to check this?
                One does not simply stop playing Angband.

                Comment

                • Philip
                  Knight
                  • Jul 2009
                  • 909

                  #9
                  This happened to me with one of the windows XP base editors. Try opening your modified file in something that has a tendency to display everything in the file, or redownloading and modifying the file in an editor commonly used for coding. Notepad++ is what I use, but if you're working on a tablet, you may have to port the file over onto a computer. Actually you might be best off making all your changes on a computer, tablet OSs have a lot of arbitrary rules and are hard to manipulate.

                  Comment

                  • Deadguy
                    Scout
                    • Apr 2014
                    • 36

                    #10
                    Ah, tyvm.It was just an experiment I was wanting to try involving stats, no biggie.
                    One does not simply stop playing Angband.

                    Comment

                    • Deadguy
                      Scout
                      • Apr 2014
                      • 36

                      #11
                      Guys, you hit the nail on the head. I used a code editor and worked like a charm. Thanks!
                      One does not simply stop playing Angband.

                      Comment

                      • Derakon
                        Prophet
                        • Dec 2009
                        • 9022

                        #12
                        If you just want to play around with different stat scores, you can do that very easily in debug mode without having to change the edit files. In-game, hit ^ae (that is, shift-6, a, e) and (after confirming you want to use debug mode) you'll be allowed to input any value you want for your scores, within the limits of what your race/class allows. You can also set your level and amount of gold this way.

                        Comment

                        • Deadguy
                          Scout
                          • Apr 2014
                          • 36

                          #13
                          Oh thanks , good to know.
                          One does not simply stop playing Angband.

                          Comment

                          • Timo Pietilä
                            Prophet
                            • Apr 2007
                            • 4096

                            #14
                            Originally posted by Derakon
                            In-game, hit ^ae (that is, shift-6, a, e)
                            This depends of the keyboard you are using. To me that key combo would produce &ae. CTRL-a, e is ^ae in standard windows keyboard.

                            Comment

                            • Timo Pietilä
                              Prophet
                              • Apr 2007
                              • 4096

                              #15
                              Originally posted by Deadguy
                              Guys, you hit the nail on the head. I used a code editor and worked like a charm. Thanks!
                              Notepad++ is my editor of choice. Allows you to do all kinds of text editing. With plugins has more features than needed.

                              Comment

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