Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.
Dungeon Dilettante
Posts: 4
Joined: Saturday, 5th April 2014, 00:36
Saturday, 5th April 2014, 00:45 by hoobastank
I am running crawl 0.13.1 on arch linux.
I have set the save_dir and morgue_dir variables in each user's .crawlrc to target shared folders.
The users all have permissions to these folders.
The folders each contain entries from the different users (so everything appears to be working fine).
BUT
When I review high scores (or I'm shown them after YASD) I see ONLY scores from characters I created. Same goes for other users; they see only their own socres.
I am hoping to have friendly crawl competition with others on this box.
It is less enjoyable without shared high scores.
How are high scores pulled? Can the way they are pulled be changed? I want the high scores to be shared between all user accounts on the machine.
I searched the documentation, but I couldn't figure this out. Any help or advice is thoroughly appreciated.
Dungeon Dilettante
Posts: 4
Joined: Saturday, 5th April 2014, 00:36
Saturday, 5th April 2014, 01:22 by hoobastank
[op update]
tried setting options for everyone globally in /usr/share/stone-soup/data/settings/init.txt
still saw only my own scores
decided to try a different route
deleted (cp to backup the rm -r) the ~/.crawl directory for one user and launched crawl
it ran fine and i died quickly (intentionally) to see the highs cores
no high scores were displayed. it just dumped me back to shell with the message
"failed to open score file for writing: No such file or directory"
the shared saves folder has a scores file in it. I am not sure what to do next.saw no noticeable change
[EDIT] flash of insight while typing this, tried deleting scores file in shared saves directory, no luck, same error after death
Shoals Surfer
Posts: 301
Joined: Friday, 8th November 2013, 16:19
Location: Tel'aran'rhiod
Saturday, 5th April 2014, 09:34 by Tedronai
I have not tested this, but you should be able to do this with symbolic links. Lets say you have a global morgue folder and a global score file (all users need rw permissions):
- Code:
drwxrwxrwx /CUSTOMPATH/morgue
-rw-rw-rw- /CUSTOMPATH/scores
Now every user has to use those in his local crawl folder (was it .strone-soup for arch? I'm not using the package, I'll go with .crawl):
- Code:
rm -fr ~/.crawl/morgue
rm -f ~/.crawl/saves/scores
ln -s /CUSTOMPATH/morgue ~/.crawl/morgue
ln -s /CUSTOMPATH/scores ~/.crawl/saves/scores
Dungeon Master
Posts: 4031
Joined: Thursday, 16th December 2010, 20:37
Location: France
Monday, 7th April 2014, 14:50 by galehar
Instead of messing with save_dir and morgue_dir, try running crawl with the -dir option. In my experience, it works fine for having saves, scores and morgues on a usb or dropbox drive.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...
- For this message the author galehar has received thanks:
- hoobastank
Dungeon Dilettante
Posts: 4
Joined: Saturday, 5th April 2014, 00:36
Saturday, 26th April 2014, 00:51 by hoobastank
Thank you both for replying!
Aliasing "crawl" to "crawl -dir /pathiwanted/" solved the problem easily.
Dungeon Dilettante
Posts: 4
Joined: Saturday, 5th April 2014, 00:36
Saturday, 26th April 2014, 01:00 by hoobastank
Read the 'really short forum rules' and I'm not sure if this is the right place for this question.
Do I re-title this with [solved] or some such to indicate that the issue has been resolved?
Return to Technical Support
Users browsing this forum: No registered users and 37 guests