The forum is being replaced with new software. Please use the replacement hosted at https://forum.angband.live/ in the meantime. These forums will stay open until migrating old topics can be achieved, though posting will eventually be locked. Thankyou for your patience.

Angband 3.3.2 shared scores.raw not updating

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wuphonsreach
    Rookie
    • May 2012
    • 17

    Angband 3.3.2 shared scores.raw not updating

    See this post for the original:


    (breaking this out into a new thread)

    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


    The configure command was run with:

    ./configure --with-setgid=games

    The configure command used the directory as follows for the 'var' path:

    /usr/local/var/games/angband/

    Under that there are a pair of subdirectories named 'apex' and 'save', all of which are owned by the 'games' group and flagged as g+rwx.

    There is a scores.raw file there (under apex folder), but it is zero bytes, owned by the 'games' group with g+rw. Instead, Angband 3.3.2 seems determined to update the scores.raw file under ~/.angband/Angband/scores/. The save files are also ending up under ~/.angband/Angband/save/ instead of the 'save' directory in the 'var' path.

    There is no ANGBAND_HOME environment variable defined.
  • Magnate
    Angband Devteam member
    • May 2007
    • 4916

    #2
    Ok, I'm afraid this is a fairly tricky bug. The USE_PRIVATE_PATHS variable is being honoured when it shouldn't be. It's ticket #1280 and I've reassigned it as a priority bug for 3.4.0

    I'm afraid that shared score files aren't possible with 3.3.x. Amazing that nobody's stumbled upon this until now.
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • wuphonsreach
      Rookie
      • May 2012
      • 17

      #3
      Thanks.

      Will that also fix the save files being stored under the user's profile?

      Comment

      • wuphonsreach
        Rookie
        • May 2012
        • 17

        #4
        Also, this used to work under 3.0.9, so it must have gotten broken sometime since then.

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 4916

          #5
          Originally posted by wuphonsreach
          Also, this used to work under 3.0.9, so it must have gotten broken sometime since then.
          Oh yes. We've broken a TON of things since then ;-)

          Yes, if we fix #1280 then save files will all be stored in $PREFIX/var/games/angband/save instead of in personal dirs, as well as a system-wide score file going in apex/
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎
          MMOMBuy POE 2 Currency