Angband 3.2.0 Borg

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • APWhite
    Adept
    • Jul 2007
    • 244

    #16
    Originally posted by APWhite
    That's interesting. The ID assumes the equipment is the default group. The borg will need to hit '/' before selecting the 's'. I'll fix this in the morning and let you know.

    That was repaired and the fix was uploaded to the webpage.
    St George Chiropractor
    Angband Borg Homepage

    Comment

    • APWhite
      Adept
      • Jul 2007
      • 244

      #17
      Originally posted by thapper
      No endgame for EchoB, next time I looked into what the borg was doing it was dead, killed by a greater balrog after fighting Us (Gothmog etc) in the middle of a large room...

      This was not EchoB's fault; it was mine. I fixed the problem that lead to his death. Echo thought his RFire was engaged when it was expired. He missed the expiration message (since they are now different from what they were in 309).

      The fix is already uploaded to the webpage. But can you wait to run EchoB until I add a new routine. I will have the borg dig a better antisummon corridor. He is trying to fight the deep unique summoners in rooms instead of in the hallways and worse, he is not digging the corridors that we all dig. It will take a day or two for me to finish. In the end the borg will dig something like this:
      Code:
      /*
       * Dig an anti-summon corridor. Type I
       *
       *            ############## We want the borg to dig a tunnel which
       *            #............# limits the LOS of summoned monsters.
       *          ###............# It works better in hallways.
       *         ##@#............# 
       *         #p##............# 
       * ########## #######+###### 
       * #                  #
       * # ################ #
       *   #              # #
       * ###              # #
       *
       */
      St George Chiropractor
      Angband Borg Homepage

      Comment

      • Timo Pietilä
        Prophet
        • Apr 2007
        • 4096

        #18
        Originally posted by APWhite
        This was not EchoB's fault; it was mine. I fixed the problem that lead to his death. Echo thought his RFire was engaged when it was expired. He missed the expiration message (since they are now different from what they were in 309).
        Rule number one: Don't get yourself surrounded.

        If Borg is fighting multiple high level U:s in middle of the large room it is dead fire resistance or not. If that group contains even two Gelugons or any combination of Gelugons+Pit Fiends resistances do not help. Almost all major demons are summoners, you should never fight summoner in large open area.

        If you can teach that to borg it should survive deep much longer.

        Comment

        • thapper
          Adept
          • Aug 2008
          • 168

          #19
          Couldn't wait so I'm running a new borg now. Three things, first, it's running much faster, is it just some delay that got changed or is it a huge improvement in efficiency?

          Good thing that the temporary resistances got fixed but could you check if the same problems exist for "heroism" and "berserk" as temporary buffs? These indicators never go off in the borg status window after the borg has buffed once. "Shielded" seems to work, "prot. from evil" I don't know.
          EDIT: "prot. evil" and "blessed" also works, only "heroism" and "berserk" never goes away.

          Last, and this one is divided in two issues, my new borg seems to get a lot deeper than he "should". Currently he's clvl 29 and on dlvl 36. If I do ctrl+Z->2 it tells me that I'm ready for dlvl 22 (dlvl+7 >= clvl). The borg status window tell the reason for not diving is clvl < dlvl. So, the message for not diving is different in the borg status window and when I check "Borg power". And, he's not caring about those at all, usually he has rather been hanging out at dlvl 20 at this point. I'm not complaining, it speeds up the borg quite a bit, but I guess it might not be intentional.
          EDIT: I guess the different messages were due to that he got so deep (below clvl=dlvl). The problem is that he seems unable to reset his recall point and he is too scared to stay that deep for long. At some point he gave up and started go down from dlvl 1 instead.
          Attached Files
          Last edited by thapper; September 19, 2011, 20:13.

          Comment

          • Jungle_Boy
            Swordsman
            • Nov 2008
            • 434

            #20
            I just downloaded this the other day and started playing with it. I'm not sure if I have a setting wrong or what. My last three characters have died of starvation, two on level one and one in town. I have connected stairs on so finding a way up should not be a problem. This thing is fun to play with but sometimes it seems to get stuck in a loop quite often, it does eventually get out I think. One time in town the door for home was on a corner and it got stuck looping on the opposite corner like it couldn't decide which way to get there.
            Last edited by Jungle_Boy; September 20, 2011, 05:22.
            My first winner: http://angband.oook.cz/ladder-show.php?id=10138

            Comment

            • APWhite
              Adept
              • Jul 2007
              • 244

              #21
              Originally posted by Timo Pietilä
              Rule number one: Don't get yourself surrounded.

              If Borg is fighting multiple high level U:s in middle of the large room it is dead fire resistance or not. If that group contains even two Gelugons or any combination of Gelugons+Pit Fiends resistances do not help. Almost all major demons are summoners, you should never fight summoner in large open area.

              If you can teach that to borg it should survive deep much longer.

              The Anti-Summoning Corridor is finished. I am testing it now. So far it is really nice. EchoB, a level 50 Ranger is knocking down summoner uniques left and right. In just a few minutes, he took out Ungoliant, Kronos, Mouth of Sauron, and the Cat Lord. It was no problem for him. He dug the tunnel, sat there and waited for the summoner to show up. I will continue to test it for a day before I upload the code. On the front end, I am not seeing any bad behavior, or buggy moves.
              St George Chiropractor
              Angband Borg Homepage

              Comment

              • Jungle_Boy
                Swordsman
                • Nov 2008
                • 434

                #22
                Originally posted by APWhite
                the borg will keep count of his steps. He will break loops if he gets to about 350 steps. Did you let it run at least 350 steps? If it is still freaking out, send me the savefile.

                Also, I trust it was a typo when you say the borg.txt file is in the \usr directory, it should be the existing \user directory.

                Andrew
                I had a guy get stuck in a two-step north-south loop for over 5000 turns so this doesn't seem to always work. I finally broke him out myself when it was obvious he wasn't going to.

                Also I noticed he refuels his torches at 2500 turns, is there a reason for this choice since radius does not decrease until 1500 turns.

                *edit* Got stuck again a couple levels later, I watched it for 2500 turns then decided to upload the savefile for you. Just as a question, am I expected to edit the Borg.txt file or does it work fairly well with the options that are already in there?
                Attached Files
                Last edited by Jungle_Boy; September 20, 2011, 05:41.
                My first winner: http://angband.oook.cz/ladder-show.php?id=10138

                Comment

                • thapper
                  Adept
                  • Aug 2008
                  • 168

                  #23
                  Originally posted by APWhite
                  Echo thought his RFire was engaged when it was expired. He missed the expiration message (since they are now different from what they were in 309).
                  There still seem to be something not quite right with this. My current Borg is wearing Firestar (with immFire) and from time to time (but not always) he seem to miss that his rCold is expiring (after casting "resist Cold and Heat"). I've only seen it since he found Firestar so I suspect it has something to do with that.

                  EDIT: No, it still appeared after he had ditched Firestar. Perhaps it has something to do with if the resist Cold/Heat expires in town? (Wild guess)
                  Last edited by thapper; September 21, 2011, 17:02.

                  Comment

                  • APWhite
                    Adept
                    • Jul 2007
                    • 244

                    #24
                    Originally posted by Jungle_Boy
                    *edit* Got stuck again a couple levels later, I watched it for 2500 turns then decided to upload the savefile for you. Just as a question, am I expected to edit the Borg.txt file or does it work fairly well with the options that are already in there?
                    You can edit the top part of the borg.txt file with no bad repercussions. Editing the bottom half (after the warning) is not a good idea unless you really know what you are doing. But by default, the bottom stuff is turned off. You you would have to chance the borg_uses_dynamic_calcs to true in order for the borg to use the bottom half of the borg.txt.


                    the bounce is fixed. I recognized it right away. I saw this in the zborg about 2 weeks ago and thought I made the correction for vborg as well. Basically, it wanted to flow to the stairs that were stuck behind a wall.
                    Last edited by APWhite; September 21, 2011, 21:30.
                    St George Chiropractor
                    Angband Borg Homepage

                    Comment

                    • thapper
                      Adept
                      • Aug 2008
                      • 168

                      #25
                      Ha!

                      I made my first ever attempt to find something in the code (well, second, but never mind) and I found it!

                      The problem with the borg_hero flag never going off (in BORG9.C) is off course that the message for running out of heroism has changed from "The heroism wears off." to "You no longer feel heroic."

                      The same for Berserk: "You feel less Berserk." is now "You no longer feel berserk."

                      The next step for me would be to start compiling myself to test that it works...

                      Comment

                      • Magnate
                        Angband Devteam member
                        • May 2007
                        • 5110

                        #26
                        Originally posted by thapper
                        Ha!

                        I made my first ever attempt to find something in the code (well, second, but never mind) and I found it!

                        The problem with the borg_hero flag never going off (in BORG9.C) is off course that the message for running out of heroism has changed from "The heroism wears off." to "You no longer feel heroic."

                        The same for Berserk: "You feel less Berserk." is now "You no longer feel berserk."

                        The next step for me would be to start compiling myself to test that it works...
                        The borg shouldn't be trying to parse messages, but should instead be testing either p_ptr->timed[] or p_ptr->state.flags[] for this kind of thing (for temp and perm stuff respectively). There is a function called check_state() which will check whether the borg has a particular flag (e.g. RES_COLD) from either a timed or permanent source. You can pass it the known state rather than the actual state, so that it doesn't cheat.
                        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                        Comment

                        • thapper
                          Adept
                          • Aug 2008
                          • 168

                          #27
                          Originally posted by thapper
                          There still seem to be something not quite right with this. My current Borg is wearing Firestar (with immFire) and from time to time (but not always) he seem to miss that his rCold is expiring (after casting "resist Cold and Heat"). I've only seen it since he found Firestar so I suspect it has something to do with that.

                          EDIT: No, it still appeared after he had ditched Firestar. Perhaps it has something to do with if the resist Cold/Heat expires in town? (Wild guess)
                          I think I might have found it. When the borg visits his home and he has some equipment with an immunity stored there, he picks up a temporary resistance for that element. Since this is not true there will never be a message cancelling it.

                          I think this happens because he evaluates all equipment at home and when he hits something with immunity that tells him that he has both resistance and temp_resistance to that element so that he won't get any bonus to power from additional sources of this.

                          The same seems to happen it the borg has wielded a piece of equipment with an immunity but taken it off. He then keeps on believing that he has a temporary resistance for that element.
                          Last edited by thapper; September 22, 2011, 16:11. Reason: just a comma

                          Comment

                          • Jungle_Boy
                            Swordsman
                            • Nov 2008
                            • 434

                            #28
                            Originally posted by APWhite
                            You can edit the top part of the borg.txt file with no bad repercussions. Editing the bottom half (after the warning) is not a good idea unless you really know what you are doing. But by default, the bottom stuff is turned off. You you would have to chance the borg_uses_dynamic_calcs to true in order for the borg to use the bottom half of the borg.txt.


                            the bounce is fixed. I recognized it right away. I saw this in the zborg about 2 weeks ago and thought I made the correction for vborg as well. Basically, it wanted to flow to the stairs that were stuck behind a wall.
                            Thanks for the info and glad you were able to fix the issue. I also noticed something else that seems off this morning. The borg would empty his quiver shooting at a floating eye that was out of sight, then he'd recover his ammo, move back to the previous spot and empty his quiver shooting again. He did this several times before I broke him out of it.
                            My first winner: http://angband.oook.cz/ladder-show.php?id=10138

                            Comment

                            • APWhite
                              Adept
                              • Jul 2007
                              • 244

                              #29
                              Originally posted by thapper
                              I think I might have found it. When the borg visits his home and he has some equipment with an immunity stored there, he picks up a temporary resistance for that element. Since this is not true there will never be a message cancelling it.

                              I think this happens because he evaluates all equipment at home and when he hits something with immunity that tells him that he has both resistance and temp_resistance to that element so that he won't get any bonus to power from additional sources of this.

                              The same seems to happen it the borg has wielded a piece of equipment with an immunity but taken it off. He then keeps on believing that he has a temporary resistance for that element.
                              Your assessment is correct. The borg_oppose_fire (and other elements) was not being turned off. In addition, there are a few places where the borg_oppose_fire needs to be added with an "or" to fire immunity. I will make the appropriate fixes (and include a backup check) and get update posted tomorrow.

                              I also fixed the messages for the hero and the other things. There were about 5 other temp effects that had message changes. They are up to date now.
                              St George Chiropractor
                              Angband Borg Homepage

                              Comment

                              • Jungle_Boy
                                Swordsman
                                • Nov 2008
                                • 434

                                #30
                                I downloaded the most recent borg, 9/21 I think and it looks like he is still trying to flow toward stairs behind walls, or maybe he is wasting time for some other reason of his own. Also my paladin just died of starvation with two rations of food in his pack, not cool.
                                My first winner: http://angband.oook.cz/ladder-show.php?id=10138

                                Comment

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