[crossfire] [Crossfire-cvs] SF.net SVN: crossfire:[13885] server/trunk/doc/Developers/protocol

Nicolas Weeger nicolas.weeger at laposte.net
Sun Sep 26 03:38:57 CDT 2010


Extract from the Developers/protocol:


      Change background music. Server will send NONE as the string to stop any
      music from playing. This song data is set in a map property.  (Due to
      someone forgetting to update this file when he/she implemented the
      command, it is unknown what exactly should be done with the string
      parameter, is it a filename? If yes: relative what?)



That wasn't precisely defined during server implementation, because client-side 
wasn't yet implemented.

There were 2 global ideas:
- it's a song or file name, the client knows where to find it (either bundled or 
to be downladed from some site to be defined)
- it's a mood name (eg: "dangerous place", or "port area") that the client 
would pick up to arbitrarily decide what music to use from its pool


Arguments I remember are that it would be better to have music match on the 
clients, because if you were playing together it would be weird to have 
different musics at the same place.


So the best idea is probably to make that a filename.


Of course that means to wonder where the client should get that one, and how 
to handle custom background musics.



Nicolas
-- 
Mon p'tit coin du web - http://nicolas.weeger.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.metalforge.org/pipermail/crossfire/attachments/20100926/9d32cf60/attachment.pgp 


More information about the crossfire mailing list