Equipment optimiser for frogcomposband characters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • schatz
    Scout
    • Jun 2014
    • 37

    #31
    Originally posted by ShadowTechnology
    Also, some of the Elemental Brands are not even being looked for:
    |E and |P
    (but |A, |F, and |Co are available for selection as attributes, and show up in the table)
    Fixed as well. |E and |P should now be looked for in items and available as selection as attributes.

    Comment

    • schatz
      Scout
      • Jun 2014
      • 37

      #32
      Originally posted by Bostock
      Every attempt I make to access character #41 gives a 500 error. I was using it fine for quite a while before this happened.
      Character 41 had an exclusion that has an empty value. This somehow matched everything so the solver barfed when it was given 0 items to solve for.

      When this happens, I have added a message in the Solution text box below about the possibility of item exclusions excluding everything.

      Have also made it such that one should not be able to create an empty valued exclusion entry.

      Hopefully this resolves similar issues in the future.

      Comment

      • schatz
        Scout
        • Jun 2014
        • 37

        #33
        Originally posted by Bostock
        Although the optimiser is correctly respecting my restraints for *Fi>=1 and *Co>=1 (and thus using Nenya and Narya), the attribute list at the bottom shows *Fi and *Co as 0.

        Character 48 (a Beholder).
        The optimiser counts *Fi, *Co, *El, *Ac, etc. as different attributes from their respective Fi, Co, El, Ac attributes. Hence if you wear one *Fi item and have no other items worn that gives Fi, the attributes table will simply show:

        Code:
        Fi:  *0
        Does that make sense? Or do you prefer if I present the attributes table as follows?

        Code:
         Fi:  0
        *Fi:  1

        Comment

        • schatz
          Scout
          • Jun 2014
          • 37

          #34
          Originally posted by Bostock
          Another oddity: the Optimiser is only counting Nenya as 1Wm (and is perhaps undercounting it in other ways too, since it never picks Nenya unless forced). See character 43.
          The app did not take into account the (+2) or (+3) values for Wm. This should be fixed now.

          Also, the first dump I uploaded that had the Dagger of Amun did not lead to that item being added to the item list. I tried putting it in my home and re-uploading, and then it was visible to the Optimiser.
          I'm unable to replicate this. If this happens again for some other character, please can you keep a copy of the offending HTML dump file and send it to me? Thanks!

          Comment

          • Susramanian
            Apprentice
            • Feb 2010
            • 58

            #35
            Parsing bug?

            In my character's pack, I have:

            a Ring of Combat (+16,+14) {Fe}
            The Ring of the Future King (+11,+8) (+2) {St;Di;Si(St}

            but the Optimizer recommends I use
            a Ring of Combat (+16,+14) {St;Di;Si(St}
            which appears to be some weird combination of the two that doesn't actually exist.

            I'm excited about this optimizer! Thanks for making it

            Comment

            • schatz
              Scout
              • Jun 2014
              • 37

              #36
              Originally posted by Susramanian
              In my character's pack, I have:

              a Ring of Combat (+16,+14) {Fe}
              The Ring of the Future King (+11,+8) (+2) {St;Di;Si(St}

              but the Optimizer recommends I use
              a Ring of Combat (+16,+14) {St;Di;Si(St}
              which appears to be some weird combination of the two that doesn't actually exist.
              This is what I'm seeing in the Solution box for your character:

              ring: a Ring of Combat (+16,+14) {Fe}
              ring: The Ring of the Future King (+11,+8) (+2) {St;Di;Si(St}
              I don't see this:

              a Ring of Combat (+16,+14) {St;Di;Si(St}
              Please can you confirm that you are still seeing the wrong entry?

              Comment

              • ShadowTechnology
                Apprentice
                • Jan 2009
                • 71

                #37
                Originally posted by ShadowTechnology
                Also, some of the Elemental Brands are not even being looked for:
                |E and |P
                (but |A, |F, and |Co are available for selection as attributes, and show up in the table)
                Thanks for fixing the issues I was having, especially missing the /* tag on some items. This is a handy tool and we are grateful for your effort and for sharing it with us.

                Comment

                • Susramanian
                  Apprentice
                  • Feb 2010
                  • 58

                  #38
                  Originally posted by schatz
                  This is what I'm seeing in the Solution box for your character:



                  I don't see this:



                  Please can you confirm that you are still seeing the wrong entry?
                  I kept a copy of the offending character dump, and it still results in the error. I can send it to you if that would help. What's the best way to do that?

                  Thanks for your hard work!

                  Comment

                  • schatz
                    Scout
                    • Jun 2014
                    • 37

                    #39
                    Originally posted by Susramanian
                    I kept a copy of the offending character dump, and it still results in the error. I can send it to you if that would help. What's the best way to do that?
                    Please send the HTML dump to optimiser@riverwaterhill.com and I will take a look. Thanks!

                    Comment

                    • schatz
                      Scout
                      • Jun 2014
                      • 37

                      #40
                      Originally posted by schatz
                      Please send the HTML dump to optimiser@riverwaterhill.com and I will take a look. Thanks!
                      Thanks for sending me the offending HTML dump.

                      The problem here is that within the Inventory section of the HTML dump, similar items of the same "coloring" is wrapped in a single <font> tag.

                      For instance,

                      Code:
                      <font color="#c00000">a Ring of Combat (+16,+14) {Fe}
                      The Ring of the Future King (+11,+8) (+2) {St;Di;Si(St}
                      </font>
                      and

                      Code:
                      <font color="#c08040">a Fur Cloak of Aman [3,+10] (+2) {SpSl;Sh}
                      a Large Leather Shield of Celestial Protection [6,+17] {DkSh}
                      </font>
                      This is different from the other sections where each item is wrapped within its own font tag.

                      The parser in Optimiser had assumed that the two rings are one item and hence the strange combined attribute item you see in your character earlier.

                      I have done a workaround by treating the Inventory section separately so it should work properly now for your character.

                      Hopefully this doesn't break something else.

                      By the way, this might explain the problem that Bostock had earlier:

                      Also, the first dump I uploaded that had the Dagger of Amun did not lead to that item being added to the item list. I tried putting it in my home and re-uploading, and then it was visible to the Optimiser.
                      I'm suspecting that the dagger was in the inventory when he did the HTML dump. If it is worn or placed in home, it then "shows up" in the Optimiser.

                      Comment

                      • Susramanian
                        Apprentice
                        • Feb 2010
                        • 58

                        #41
                        Thanks, schatz. I love your Optimizer.


                        Idea, in case you're looking for them: allow us to assign weights to various stats for use in the Optimizer's maximization calculations. For example, we might tell the optimizer to value +dam more than +AC by assigning a weight of 1.0 to +dam but a weight of 0.4 to +AC.

                        Keep up the good work!

                        Comment

                        • Susramanian
                          Apprentice
                          • Feb 2010
                          • 58

                          #42
                          I have a cloak with Aura of Shards and the Optimizer is counting it as both [Sh and Sh.

                          Sorry to pester; I love this Optimizer

                          Comment

                          • Susramanian
                            Apprentice
                            • Feb 2010
                            • 58

                            #43
                            Probably another case of the same error I reported last: gloves of slaying with the Slay Living flag get counted as having Levitation by the Optimizer (they both use Lv in their inscriptions). I think with the way the inscriptions are set up it should be possible to always determine the intention of an ambiguous string like Sh or Lv by detecting certain tag-like characters ([ and /)in the string before them.

                            Have a good one and thanks again!

                            Comment

                            • schatz
                              Scout
                              • Jun 2014
                              • 37

                              #44
                              Originally posted by Susramanian
                              I have a cloak with Aura of Shards and the Optimizer is counting it as both [Sh and Sh.
                              Fixed.

                              Sorry to pester; I love this Optimizer
                              I'm glad it's of some use.

                              Comment

                              • schatz
                                Scout
                                • Jun 2014
                                • 37

                                #45
                                Originally posted by Susramanian
                                Probably another case of the same error I reported last: gloves of slaying with the Slay Living flag get counted as having Levitation by the Optimizer (they both use Lv in their inscriptions). I think with the way the inscriptions are set up it should be possible to always determine the intention of an ambiguous string like Sh or Lv by detecting certain tag-like characters ([ and /)in the string before them.
                                Fixed.

                                Very much appreciate the bug reports. I should have written a parser for the attributes string rather than doing string comparisons. A bit too late now - something to keep in mind should I find more time on my hands.

                                Comment

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