For anyone interested in object pricing issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #46
    Originally posted by takkaria
    It's only combat gear, not magical items.
    But including rings and amulets (i.e. all wearables, plus ammo).
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #47
      Originally posted by Pete Mack
      From unix man section 2 open:

      $ man 2 open
      ....
      Flags:
      O_CREAT create file if it does not exist
      O_TRUNC truncate size to 0
      O_APPEND append on each write

      These are the flags you would use for open. For fopen, it's a little different.
      Thanks for the explanation. I'm not sure if or how O_TRUNC is implemented in V. The function I use (file_putf) takes READ, WRITE or APPEND as its mode - presumably WRITE does O_CREAT or O_TRUNC as appropriate. In the object pricing function I use APPEND because I don't want it to keep overwriting the file with every object. So I need to find somewhere in init2.c to truncate the file (presumably a single text_out with mode WRITE will do the job). Will sort this out.
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • PaulBlay
        Knight
        • Jan 2009
        • 657

        #48
        Here's an idea - have a special 'pricing evaluation' build available for download. In it allow people to 'cash in' abilities on items (artifacts, ego items, randarts) for 1/4 the 'power points' and spend those point to add abilities to items (artifacts, ego items and randarts).

        Have the game send back by internet data on what they've cashed in and how they spent it to use for analysis in determining what abilities may be under or over priced.

        OK, that would probably be more effort than it's worth, but it is one way of seeing where people would actually put their (figurative) money when the chips are down.
        Currently turning (Angband) Japanese.

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #49
          Originally posted by PaulBlay
          Here's an idea - have a special 'pricing evaluation' build available for download. In it allow people to 'cash in' abilities on items (artifacts, ego items, randarts) for 1/4 the 'power points' and spend those point to add abilities to items (artifacts, ego items and randarts).
          Isn't that exactly the variant Optimality is writing??
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • PaulBlay
            Knight
            • Jan 2009
            • 657

            #50
            Originally posted by Magnate
            Isn't that exactly the variant Optimality is writing??
            Close, but there's no provision for automatic feedback. Asking "What did you use your ores for?" in a forum isn't likely to provoke a great deal of responses.
            Currently turning (Angband) Japanese.

            Comment

            • Optimality
              Scout
              • Apr 2009
              • 36

              #51
              Originally posted by PaulBlay
              Close, but there's no provision for automatic feedback. Asking "What did you use your ores for?" in a forum isn't likely to provoke a great deal of responses.
              That is basically what I'm writing, and I hope the balancing information uncovered by Craftband will be useful for the V developers. As much of a data fiend as I am (I'm a machine learning researcher), I don't think I'd be cool with automatically collecting data .

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #52
                Originally posted by Optimality
                That is basically what I'm writing, and I hope the balancing information uncovered by Craftband will be useful for the V developers. As much of a data fiend as I am (I'm a machine learning researcher), I don't think I'd be cool with automatically collecting data .
                Do you mean because of privacy concerns, or technical challenge, or something else? If you did automatically collect data on what people crafted, that would be hugely useful for refining the power algorithm.
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

                • Nick
                  Vanilla maintainer
                  • Apr 2007
                  • 9637

                  #53
                  Originally posted by Optimality
                  As much of a data fiend as I am (I'm a machine learning researcher), I don't think I'd be cool with automatically collecting data .
                  You could always ask people to volunteer to be part of your botnet^H^H^H^H^H^H project.
                  One for the Dark Lord on his dark throne
                  In the Land of Mordor where the Shadows lie.

                  Comment

                  • Optimality
                    Scout
                    • Apr 2009
                    • 36

                    #54
                    Originally posted by Magnate
                    Do you mean because of privacy concerns, or technical challenge, or something else? If you did automatically collect data on what people crafted, that would be hugely useful for refining the power algorithm.
                    All of the above?

                    Out of privacy concerns, there's no way I'd even consider having it on by default. That would mean the user would have to turn it on manually (or when prompted). Users who are interested in providing feedback could do it (approximately) as easily in the forums (ie, "X is overpriced b/c Y"). It seems like a bad code/reward tradeoff (unless it were on by default).

                    The "something else" issue is the data quality. You might be overestimating how useful the data would be. It would be pretty hard to weed out the good choices from the bad ones; most Angband players (and presumably most Craftband players, eventually) probably don't play optimally (or even close to it). We'd have to collect a *lot* of information for it to be useful.

                    Basically, I don't see how it provides enough of an improvement over forum-based feedback to justify the code/possible privacy issues/data quality issues.

                    I'd be interested in talking about it further if anybody is interested; we should probably move that to a different thread though.

                    Comment

                    • Optimality
                      Scout
                      • Apr 2009
                      • 36

                      #55
                      Alternatively, if the crafting data is of special interest, it wouldn't be too hard to add a crafting history to character dumps. I'd still worry about how to interpret the data though.

                      On a related note, has anybody considered mining the character dumps to get some idea of relative object power?

                      Comment

                      • Magnate
                        Angband Devteam member
                        • May 2007
                        • 5110

                        #56
                        Originally posted by Optimality
                        Alternatively, if the crafting data is of special interest, it wouldn't be too hard to add a crafting history to character dumps. I'd still worry about how to interpret the data though.
                        I think you're right that it's easy to overestimate the usefulness of the data. Having crafting history in chardumps is a nice idea though - fits in with being optional and all that.
                        On a related note, has anybody considered mining the character dumps to get some idea of relative object power?
                        Yeah, it was discussed in the previous object pricing thread - again, quite a bit of work, and of doubtful value because you'd really want to compare chardumps *of the same version* - and dumps don't tell you what people found but didn't keep. You're right that forum feedback is probably the simplest way to go.
                        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                        Comment

                        • Pete Mack
                          Prophet
                          • Apr 2007
                          • 6883

                          #57
                          Some folks have a pretty weird notion of privacy concerns.... An anonymous ping with what your character crafted in a beta angband release will hardly affect privacy. It's a long way away from corporate snooping on browser clicks. A bigger issue in such case is making sure that any pings don't interfere much with process shutdown or gameplay.

                          Note: I am no fan of forging, but I am much less a fan an of tinfoil hats. Tinfoil wallets OTOH, is a genuine issue.

                          Comment

                          • PowerDiver
                            Prophet
                            • Mar 2008
                            • 2820

                            #58
                            Originally posted by Pete Mack
                            Tinfoil wallets OTOH, is a genuine issue.
                            That reminds me -- I have to buy some of those passport wallets with a built-in faraday cage.

                            Comment

                            • Pete Mack
                              Prophet
                              • Apr 2007
                              • 6883

                              #59
                              Yup, passports (sans microwave) are a real problem. Not to mention modern ATM cards and driver's licenses...

                              Comment

                              • PowerDiver
                                Prophet
                                • Mar 2008
                                • 2820

                                #60
                                I'm testing out 1375, and I was shocked when the half-elf [max 15000] at the mage shop only offered 1518 to my dwarf [ranger with chr 8] for a ring of resist poison, base value 16000 in object.txt.

                                Is this an artifact of the power pricing? If you drop the price much more, I might possibly consider them for their resistance rather than just money that takes up an inventory
                                slot.

                                P.S. lanterns of brightness are way underpriced
                                Last edited by PowerDiver; April 24, 2009, 23:48.

                                Comment

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