[crossfire] Ability of inventory checker to check for specifics?

Nicolas Weeger nicolas.weeger at laposte.net
Mon Jun 11 11:39:37 CDT 2007


Agreed on the really long function part.

IMO, your check is so specific you should do a script - also easy to test, no 
recompile whatsoever.

>   I think python is the way to go.  Maybe this is a case where a sample
> plugin would be appreciated.

You mean a sample Python script? Or a plugin?

If script, well, the documentation at 
http://wiki.metalforge.net/doku.php/cfpython should give needed info, as well 
as scripts the game already has - of course asking on the list or IRC works 
too ;)

For a plugin, there should (in trunk) a .sh to make a plugin, see 
http://wiki.metalforge.net/doku.php/server_plugin#creating_a_plugin for more 
info.

Nicolas
-- 
http://nicolas.weeger.free.fr [Petit site d'images, de textes, de code, bref 
de l'aléatoire !]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.metalforge.org/pipermail/crossfire/attachments/20070611/68a6347e/attachment.pgp 


More information about the crossfire mailing list