[CF List] Game not saving

Andreas Vogl andi.vogl at gmx.net
Fri Feb 23 20:19:28 CST 2001


>
     
      > This looks very much like a write-protection problem to me.
     
     >
     
      > Are you sure that you have read/write access to all crossfire
     
     directories?
>
     
      >
     
     >
     
      > Let's assume you installed the game to "/usr/games/crossfire/",
     
     >
     
      > then the player files are stored in
     
     >
     
      > "/usr/games/crossfire/var/crossfire/players". Make sure to have
     
     >
     
      > write premission there.
     
     >
     
     
     >
     
      It appears that I have access to all the directories needed.
     
     >
     
      I found the player directory under "/var/lib/games/crossfire/players"
     
     >
     
      it even seems to have made a file for my character.  When I go to save
     
     >
     
      (either autosave, or at a bed of reality) I get "Can't open file for
     
     >
     
      save SAVE FAILED!"  I have the following deb packages installed
     
     >
     
      "crossfire-server", "crossfire-edit" (both version 0.95.4-2),
     
     >
     
      "crossfire-client", "crossfire-maps", "crossfire-client-gtk", and
     
     >
     
      "crossfire-client-x11" (those 4 are version 0.95.4-1).  The save
     
     >
     
      failure occurs in either client (gtk or x11).  Attached is a file
     
     >
     
      that list all the files/directories that were installed for the
     
     >
     
      server, client, and client-gtk.  Any ideas.
     
     
Looking at the code, there clearly is only one case in that the message
"Can't open file for save SAVE FAILED!" gets displayed.
That is: the fopen command to open a new player file fails. This
again, can mean two things: Either you don't have the write permission,
or the path is wrong and certain directories don't exist.

So, please try and run crossfire as super-user (su), and/or do
a recursive chmod 777 through your whole crossfire directory tree.
And eventually try installing crossfire in "/usr/games/" (the default
path) instead of "var/lib/games/" just in case, if all else fails.
(Though I'm not sure about the paths in version 0.95.4 at all).

Besides, I strongly recommend that you don't use those far
outdated packages from debian but get the latest version 0.96.0 from
<
     
     http://crossfire.real-time.com/Website_Index/Download/download.html
     
     >.
I don't know about eventual bugs in old server versions, and I
don't want to learn about them, if already fixed in todays version. :-]
(If you have difficulties with the installation process, join IRC
irc.openprojects.net, channel #crossfire - most likely you'll get
helped there.)

Your player directory should appear in
"/[...]/crossfire/var/crossfire/player/" with version 0.96.0.


Andreas V.


    
    


More information about the crossfire mailing list