debian server saves
Moderator: Board moderators
debian server saves
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?
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:
And enable write access to the drictory which contains those two.
For example on my systems the fires are in:
Try:
Code: Select all
locate players
locate unique-items
For example on my systems the fires are in:
Code: Select all
/usr/games/crossfire/var/crossfire
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]
-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]
It is a file. On my system it is together with this bunch:
in
Hope that helps 
Code: Select all
banish_file clockdata crossfiremail highscore players/ unique-items/
bookarch crossfireboard datafiles/ maps/ temp.maps
Code: Select all
/usr/games/crossfire/var/crossfire

Got it working!
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
/var/games/crossfire
mapfiles go in
/usr/share/games/crossfire/maps