[CF-Devel] server problems

Mark Wedel mwedel at scruznet.com
Fri Jul 20 17:47:13 CDT 2001


On Fri, 20 Jul 2001, Michael Toennies wrote:

>
     
      I notice 2 server problems
     
     >
     
     
     >
     
      A minor one is, that the server sometimes send the client the face #0 as
     
     >
     
      used face.
     
     >
     
      This face is a dummy on server side (bug.111.png) which is not used from
     
     >
     
      client.
     
     
 Are you saying that the server is sending face 0 in terms of png data,
or that the server is sending face 0 as the face to use for something?

 If the later case, what something?  If the map, that is perfectly valid
(read the protocol doc) - that means to clear the face from being used
on that layer of the map.

>
     
     
     >
     
      The other point is, that i had removed the face cmd from the sdl client,
     
     >
     
      because
     
     >
     
      i always  send PNG|CACHE to him. Well sometimes, when i start the server
     
     >
     
      (different archfiles/pngfiles) he send the face cmd instead of face1 cmd.
     
     >
     
     
     >
     
      It seems the server skips the checksum part as a side effect.
     
     
 the facemd does not include a checksum.

 The server will alway use the face1 cmd if the client is new enough.
This also presumes the server is new enough (at least 0.96.0).  The
code snippet is:

       if (ns->sc_version >= 1026)
            strcpy((char*)sl.buf, "face1 ");
        else
            strcpy((char*)sl.buf, "face ");

 So it seems that the likely case is that either the client is not
not providing right sc_version to the server, or you are playing
on an old server (from the metaserver list, only voldsboks.pvv.org
is that old)



    
    


More information about the crossfire mailing list