From no-reply_wiki at metalforge.org Tue Jul 23 14:32:18 2013 From: no-reply_wiki at metalforge.org (no-reply_wiki at metalforge.org) Date: Tue, 23 Jul 2013 14:32:18 -0500 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin Message-ID: <1374607938.157263.5307.nullmailer@metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2013/07/23 14:32 User : ryo Edit Summary: Add plugin's internal title @@ -8,22 +8,23 @@ * message boards, on which players can leave messages * Imperial Post Office, that lets players exchange ingame mail * playing slot machines at casinos * [[:dev_todo:python_guilds|improved guild system]] - currently being tested + ===== Existing plugins ===== Currently existing plugins are : - ^ Name ^ Description ^ Status ^ - | [[cfanim]] | animate objects | experimental | - | [[cfpython]] | run Python scripts | working | - | [[cflogger]] | logs events to a SQLITE database | experimental | - | [[cfnewspaper]] | newspaper generation | experimental | - | [[citylife]] | adds/removes NPCs in maps, to make towns lively | apparently stable | - | [[cfrhg]] | random house generator, adds random maps to unlinked exits in specified maps | apparently stable | + ^ Name ^ Description ^ Status ^ Title for the event object ^ + | [[cfanim]] | animate objects | experimental | Animator | + | [[cfpython]] | run Python scripts | working | Python | + | [[cflogger]] | logs events to a SQLITE database | experimental | SqliteLogger | + | [[cfnewspaper]] | newspaper generation | experimental | Newspaper | + | [[citylife]] | adds/removes NPCs in maps, to make towns lively | apparently stable | citylife | + | [[cfrhg]] | random house generator, adds random maps to unlinked exits in specified maps | apparently stable | cfrhg | | [[cf_darcap]] | Darcap specific plugin, handling various things | needs testing replaced by quest/dialog mechanism | - | template | not a real plugin, but a skeleton to create new ones | up-to-date | + | template | not a real plugin, but a skeleton to create new ones | up-to-date | | ====== Hooks ====== IP-Address : 82.236.87.204 Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1334512132 New Revision: http://wiki.metalforge.net/doku.php/server_plugin -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Tue Jul 23 14:33:11 2013 From: no-reply_wiki at metalforge.org (no-reply_wiki at metalforge.org) Date: Tue, 23 Jul 2013 14:33:11 -0500 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin Message-ID: <1374607991.301050.5310.nullmailer@metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2013/07/23 14:33 User : ryo Edit Summary: Title. @@ -35,12 +35,13 @@ Events are either //global// or //object-specific//. Examples of global events include a player joining or exiting the game, a map being loaded. Examples of object-specific events include an item being applied, a player attacking a monster. FIXME check parameters and such :) + ===== Hooking to an object-specific event ===== - Just add an //event_xxx// object into your object's inventory, and fill the ''title'' field with the plugin name. See the specific plugin documentation for optional arguments that need to be set to that object. Note that the ''slaying'' field must be set too. + Just add an //event_xxx// object into your object's inventory, and fill the ''title'' field with the plugin's title as defined in the table above. See the specific plugin documentation for optional arguments that need to be set to that object. Note that the ''slaying'' field must be set too whatever the plugin. When an object-specific event is raised, affected object is sent to the plugin. For some events, returning a non-zero value will prevent the default server processing to take place, allowing to override things. FIXME be more specific :) IP-Address : 82.236.87.204 Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1374607933 New Revision: http://wiki.metalforge.net/doku.php/server_plugin -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Tue Jul 23 14:28:10 2013 From: no-reply_wiki at metalforge.org (no-reply_wiki at metalforge.org) Date: Tue, 23 Jul 2013 14:28:10 -0500 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython Message-ID: <1374607690.031707.5302.nullmailer@metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2013/07/23 14:28 User : ryo Edit Summary: AttackMovement @@ -125,8 +125,9 @@ The following functions and objects are available to all scripts using the Crossfire module through ''import Crossfire''. **Convention:** in the reference, ''xxx()'' specifies a method, ''xxx'' specifies a property. + ===== Constants ===== Constants are available to wrap values used in Crossfire code like object types, movements, ... They are available through ''Crossfire.xxx.VALUE'', where ''xxx'' is the constant type and ''VALUE'' the value as in the C source code, in uppercase, without specific prefix (ie F_TRUE becomes TRUE, AT_FIRE becomes FIRE, and so on). @@ -142,8 +143,9 @@ * ''MessageFlag'': NDI_xxx constants, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/newclient.h?view=markup|include/newclient.h]]'' * ''Move'': movement types, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h?view=markup|include/define.h]]'' * ''Type'': object type, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h?view=markup|include/define.h]]'' * ''ReplyType'': the rt_xxx constants, reply type, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h?view=markup|include/dialog.h]]'' + * ''AttackMovement'': the various DISTATT, PETMOVE and other constants in the "MONSTER_MOVEMENT" group as defined in [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h?view=markup|include/define.h]] ''MessageFlag'' and ''Move'' can be combined, using +, to build multiple values. IP-Address : 82.236.87.204 Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1363746839 New Revision: http://wiki.metalforge.net/doku.php/cfpython -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Mon Jul 29 13:47:24 2013 From: no-reply_wiki at metalforge.org (no-reply_wiki at metalforge.org) Date: Mon, 29 Jul 2013 13:47:24 -0500 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: crossfire_compile_guide Message-ID: <1375123644.994066.1055.nullmailer@metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2013/07/29 13:47 User : leaf Edit Summary: Fix typo in server trunk svn co command @@ -86,9 +86,9 @@ The follow steps will download the necessary files to your computer, which will be used to compile (or build) the server. === Trunk === - $ svn co https://svn.code.sf.net/p/crossfire/code/trunk server.svn + $ svn co https://svn.code.sf.net/p/crossfire/code/server/trunk server.svn $ svn co https://svn.code.sf.net/p/crossfire/code/maps/trunk maps.svn $ svn co https://svn.code.sf.net/p/crossfire/code/arch/trunk arch.svn === Tag === IP-Address : 65.193.16.100 Old Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide?rev=1366253011 New Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide -- This mail was generated by DokuWiki at http://wiki.metalforge.net/