Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old May 14, 2012, 01:53   #1
wuphonsreach
Rookie
 
Join Date: May 2012
Posts: 17
wuphonsreach is on a distinguished road
Angband 3.3.2 shared scores.raw not updating

See this post for the original:
http://angband.oook.cz/forum/showpos...2&postcount=51

(breaking this out into a new thread)

http://pastebin.com/dQStQtaU

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.
wuphonsreach is offline   Reply With Quote
Old May 14, 2012, 19:50   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,992
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
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.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old May 16, 2012, 19:40   #3
wuphonsreach
Rookie
 
Join Date: May 2012
Posts: 17
wuphonsreach is on a distinguished road
Thanks.

Will that also fix the save files being stored under the user's profile?
wuphonsreach is offline   Reply With Quote
Old May 16, 2012, 19:41   #4
wuphonsreach
Rookie
 
Join Date: May 2012
Posts: 17
wuphonsreach is on a distinguished road
Also, this used to work under 3.0.9, so it must have gotten broken sometime since then.
wuphonsreach is offline   Reply With Quote
Old May 16, 2012, 19:48   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,992
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by wuphonsreach View Post
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/
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating help files fizzix Vanilla 23 August 3, 2010 04:19
Z+Angband export(decode) .raw files? PaulBlay Variants 2 February 7, 2009 00:06
Nightlies updating even when nothing changed ekolis Vanilla 1 May 26, 2008 15:25
High Scores? d1sc0nnected Vanilla 2 February 29, 2008 08:57
Updating Vanilla for dummies Dragonboneman Vanilla 7 August 12, 2007 22:12


All times are GMT +1. The time now is 10:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.