From no-reply_wiki at metalforge.org Thu Dec 1 18:11:51 2005 From: no-reply_wiki at metalforge.org (no-reply_wiki@metalforge.org) Date: Thu Dec 1 18:13:28 2005 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: cfequip.cpp Message-ID: <1133482311.470695.27593.nullmailer@wiki.metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2005/12/02 00:11 User : Edit Summary: minor changes @@ -1,7 +1,7 @@ /* cfequip.cpp - * $Id: cfequip.cpp,v 1.2 2005/11/30 22:00:32 tbrown Exp $ + * $Id: cfequip.cpp,v 1.3 2005/12/01 23:11:02 tbrown Exp $ * Author: Terry Brown * Created: Tue Nov 29 2005 */ @@ -36,8 +36,11 @@ equip the equipment set scripttell 1 cfe list list known equipment sets + + scripttell 1 cfe quit + quit the script - not really necessary Equipment needs unique names, e.g. "shoes +1" might be confused with "red shoes +1" - just rename the items as needed. @@ -137,9 +140,9 @@ ofstream out(fn.c_str(), ios::out); if (!out) { cout << red << "ERROR - couldn't write to '" - << fn << "'\n"; + << fn << "'\n"; return; } for (eSets::const_iterator i = m_dat.begin(); @@ -206,8 +209,15 @@ } void EquipmentSets::use(const string &s) { + + if (m_dat.find(s) == m_dat.end()) + { + cout << red << "Can't find set '" << s << "'\n"; + list(); + return; + } cout << blue << "use " << s << " (" << m_dat[s].size() << " items)\n"; cout << "request items inv\n"; string l; @@ -287,8 +297,9 @@ cout << blue << "Supply equipment set file name with:\n"; cout << blue << " scripttell 1 cfe file \n"; cout << blue << "Other commands:\n"; cout << blue << " scripttell 1 cfe list - list known equipment sets\n"; + cout << blue << " scripttell 1 cfe quit - end script\n"; cout << blue << " scripttell 1 cfe store - store current equipment as \n"; cout << blue << " scripttell 1 cfe use - equip equipment set \n"; EquipmentSets es; @@ -303,8 +314,14 @@ { if (r.size() == 5 && r[3] == "file") { es.setfile(r[4]); + } + else if (r.size() == 4 && r[3] == "quit") + { + cout << blue << "cfequip quitting\n"; + cout.flush(); + return 0; } else if (r.size() == 4 && r[3] == "list") { es.list(); @@ -322,11 +339,13 @@ cout << red << "invalid cfe command\n"; } } + cout.flush(); } return 0; } + IP-Address : 216.161.132.197 Old Revision: http://wiki.metalforge.net/doku.php/cfequip.cpp?rev=1133390206 New Revision: http://wiki.metalforge.net/doku.php/cfequip.cpp -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Sat Dec 3 02:26:34 2005 From: no-reply_wiki at metalforge.org (no-reply_wiki@metalforge.org) Date: Sat Dec 3 02:27:32 2005 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page added: downloading Message-ID: <1133598394.245929.29172.nullmailer@wiki.metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2005/12/03 08:26 User : Edit Summary: created ====== Downloading Crossfire ====== The current version of the Crossfire server is 1.8.0 as of August-11-2005, however there have been numerous updates available via CVS since then. ===== SourceForge Releases ===== * http://sourceforge.net/project/showfiles.php?group_id=13833 ==== CVS via SourceForge ==== Use the following CVS Checkout command(s): (Careful of line wrap, command should be all on one line..) * cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crossfire co crossfire * cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crossfire co maps-bigworld * cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crossfire co client IP-Address : 65.165.40.73 Old Revision: none New Revision: http://wiki.metalforge.net/doku.php/downloading -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Sat Dec 3 02:30:47 2005 From: no-reply_wiki at metalforge.org (no-reply_wiki@metalforge.org) Date: Sat Dec 3 02:31:29 2005 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page added: history_of_crossfire Message-ID: <1133598647.875112.29176.nullmailer@wiki.metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2005/12/03 08:30 User : Edit Summary: created ====== History of Crossfire ====== ===== Technical History ===== Crossfire started with just one indoor-map (first a simple test-map, then the first real map, which got extended a few times), then it got increased to 4 indoor-maps with one-way portals from lvl 1 to 4. When you had cleared the last level, there was nothing more to do. Spells were limited to magic bullet, fireball, magic missile, burning hands lightning bolt (magic bullet was the first one). Later, when two-way portals was implemented, and lots of local players (at University of Oslo, Norway) started making maps, it exploded in all direction, including the first town and the first world (the one we have now is the third town and third world). In the years of development that have followed, Crossfire has grown to encompass over 150 monsters, ~3000 maps to explore, an elaborate magic system, over 15 character types, a system of skills, and many, many artifacts and treasures. IP-Address : 65.165.40.73 Old Revision: none New Revision: http://wiki.metalforge.net/doku.php/history_of_crossfire -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Sat Dec 3 02:31:55 2005 From: no-reply_wiki at metalforge.org (no-reply_wiki@metalforge.org) Date: Sat Dec 3 02:33:29 2005 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: history_of_crossfire Message-ID: <1133598715.460614.29179.nullmailer@wiki.metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2005/12/03 08:31 User : Edit Summary: @@ -8,5 +8,9 @@ Later, when two-way portals was implemented, and lots of local players (at University of Oslo, Norway) started making maps, it exploded in all direction, including the first town and the first world (the one we have now is the third town and third world). In the years of development that have followed, Crossfire has grown to encompass over 150 monsters, ~3000 maps to explore, an elaborate magic system, over 15 character types, a system of skills, and many, many artifacts and treasures. + + ===== Crossfire Lore ===== + + * http://wiki.metalforge.net/doku.php/lore IP-Address : 65.165.40.73 Old Revision: http://wiki.metalforge.net/doku.php/history_of_crossfire?rev=1133598647 New Revision: http://wiki.metalforge.net/doku.php/history_of_crossfire -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Fri Dec 9 16:51:21 2005 From: no-reply_wiki at metalforge.org (no-reply_wiki@metalforge.org) Date: Fri Dec 9 16:51:38 2005 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page added: join Message-ID: <1134168681.502931.1623.nullmailer@wiki.metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2005/12/09 22:51 User : leaf Edit Summary: created page, some content added - needs improvement ====== Help Out With The Crossfire Gaming Project ====== There are many areas of Crossfire that can virtually anyone can contribute to. ===== Development ===== * Coding * New code, contributions and features * Testing or auditing existing code * Project documentation * Bug testing * Graphic development * Creating Maps ===== Project Related ===== * Bug reporting * Map testing * Game guides (hints, spoilers, documentation, etc.) * IRC channel * Mailing lists * Web forum IP-Address : 65.193.16.100 Old Revision: none New Revision: http://wiki.metalforge.net/doku.php/join -- This mail was generated by DokuWiki at http://wiki.metalforge.net/ From no-reply_wiki at metalforge.org Sat Dec 17 12:20:01 2005 From: no-reply_wiki at metalforge.org (no-reply_wiki@metalforge.org) Date: Sat Dec 17 12:21:48 2005 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython Message-ID: <1134843601.618377.8011.nullmailer@wiki.metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2005/12/17 18:20 User : ryo Edit Summary: update @@ -228,10 +228,12 @@ * Check ==== Crossfire.Player methods and attributes ==== - This class inherits from Crossfire.Object, and introduces the new properties: + This class inherits from Crossfire.Object, and introduces the new properties (bold = read-write): * IP + * **MarkedItem** + * **Party** and methods: * Message * Write IP-Address : 82.236.87.204 Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1131912639 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 Sat Dec 17 12:28:59 2005 From: no-reply_wiki at metalforge.org (no-reply_wiki@metalforge.org) Date: Sat Dec 17 12:29:47 2005 Subject: [Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython Message-ID: <1134844139.142602.8014.nullmailer@wiki.metalforge.net> A page in your DokuWiki was added or changed. Here are the details: Date : 2005/12/17 18:28 User : ryo Edit Summary: update @@ -53,8 +53,11 @@ * CreateObject * CreateObjectByName * GetPrivateDictionary * GetSharedDictionary + * GetArchetypes + * GetMaps + * GetParties * RegisterCommand * RegisterGlobalEvent * UnregisterGlobalEvent @@ -235,8 +238,17 @@ * **Party** and methods: * Message * Write + + ==== Crossfire.Party methods and attributes ==== + + This class merely encapsulates a party. Everything is read-only. Attributes: + * Name + * Password + Methods: + * Next + * GetPlayers ====== CFPython version 1.0 ====== This documentation is about the old plugin system. IP-Address : 82.236.87.204 Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1134843600 New Revision: http://wiki.metalforge.net/doku.php/cfpython -- This mail was generated by DokuWiki at http://wiki.metalforge.net/