Page 1 of 1
debian server saves
Posted: Sat Nov 06, 2004 4:47 pm
by Guest
I use Debian unstable which is currently up to version 1.6.0-3 for the server. I just did an install, an the server won't save games. I assume this is a permission thing, but I'm not sure which directories to change where. (I'm used to letting apt-get fix things and keep them secure). Any suggestions?
Posted: Sun Nov 07, 2004 1:24 am
by Salathar
You want your server to have write permissions to players directory in order to save them. Also the server wants to be able to write hiscores and be able to save unique maps.
Try:
Code: Select all
locate players
locate unique-items
And enable write access to the drictory which contains those two.
For example on my systems the fires are in:
Code: Select all
/usr/games/crossfire/var/crossfire
Posted: Sun Nov 07, 2004 4:11 am
by Casper
Also you can try directly emailing the package maintainer. Debian developers are a friendly bunch and should happily answer/fix things.
Posted: Sun Nov 14, 2004 2:25 am
by Guest
Thanks for all the feedback. I'm halfway there. I found the following
-rw-rw---- 1 nobody games 14270 Dec 19 2003 bookarch
-rw-rw-r-- 1 nobody games 8 Nov 13 18:18 clockdata
drwxr-xr-x 2 nobody games 4096 Nov 9 21:34 highscore
drwxr-x--- 8 root root 4096 Nov 13 17:50 players
-rw-rw-r-- 1 nobody games 847 Dec 19 2003 temp.maps
drwxr-xr-x 2 root root 4096 Nov 13 17:50 tmp
drwxr-x--- 2 nobody games 4096 Nov 13 17:48 unique-items
I changed the owners to nobody and group to games, and now it is saving things, but I'm getting error messages about the highscore. Is it supposed to be a file or a directory?? I seem to recall it was a file in the 1.5 server...
[/code]
Posted: Sun Nov 14, 2004 8:25 am
by Salathar
It is a file. On my system it is together with this bunch:
Code: Select all
banish_file clockdata crossfiremail highscore players/ unique-items/
bookarch crossfireboard datafiles/ maps/ temp.maps
in
Code: Select all
/usr/games/crossfire/var/crossfire
Hope that helps

Got it working!
Posted: Mon Nov 15, 2004 1:22 am
by Guest
Thanks for the help. It's working now. For anyone trying this in the future, on Debian the var files (including the highscore file and the players directory) are in
/var/games/crossfire
mapfiles go in
/usr/share/games/crossfire/maps