wpdev-commits Mailing List for Wolfpack Emu (Page 86)
Brought to you by:
rip,
thiagocorrea
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(14) |
Aug
(121) |
Sep
(256) |
Oct
(59) |
Nov
(73) |
Dec
(120) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(259) |
Feb
(381) |
Mar
(501) |
Apr
(355) |
May
(427) |
Jun
(270) |
Jul
(394) |
Aug
(412) |
Sep
(724) |
Oct
(578) |
Nov
(65) |
Dec
|
From: Richard M. <dr...@us...> - 2004-07-04 20:26:32
|
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17862/webroot Modified Files: ChangeLog.wolfpack Log Message: Updated the changelog. Index: ChangeLog.wolfpack =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/webroot/ChangeLog.wolfpack,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog.wolfpack 1 Jul 2004 23:01:35 -0000 1.2 --- ChangeLog.wolfpack 4 Jul 2004 19:29:21 -0000 1.3 *************** *** 1,5 **** Wolfpack 13.0.0 ChangeLog ! Wolfpack 12.9.7 Beta (CVS) * Core Changes: * Region/Spawn Region Updates: --- 1,19 ---- Wolfpack 13.0.0 ChangeLog ! Wolfpack 12.9.8 Beta (CVS) ! * Core Changes: ! * Definition Changes: ! * Python Script Changes: ! * Misc. Changes: ! * Known Issues, Bugs, and Missing Features: ! - Some skills are still incomplete. ! - Spawn regions are incomplete. ! - Town/World regions are incomplete. ! - Teleport Scripts are incomplete. ! - Possible that a few monsters are missing. ! - Reloading python too many times crashes the server. ! - There are still some memory leaks. ! ! Wolfpack 12.9.7 Beta * Core Changes: * Region/Spawn Region Updates: *************** *** 46,49 **** --- 60,65 ---- - Updated summoned monsters, balance fix. - Spell casting delay adjustments. + * Skill Changes: + - Inscription Skill Updated * System: - SQLite database optimization added. *************** *** 54,58 **** - ChangeLog.wolfpack included in the documentaiton. - Massive Documentation Update ! * Known Issues, Bugs, and Missing Features. - Spawn regions are incomplete. - Town/World regions are incomplete. --- 70,75 ---- - ChangeLog.wolfpack included in the documentaiton. - Massive Documentation Update ! * Known Issues, Bugs, and Missing Features: ! - Some skills are still incomplete. - Spawn regions are incomplete. - Town/World regions are incomplete. |
From: Richard M. <dr...@us...> - 2004-07-04 19:27:24
|
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17037/webroot Modified Files: FAQ.html Log Message: Connecting HowTo stuff. Index: FAQ.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/webroot/FAQ.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FAQ.html 29 Jun 2004 15:09:37 -0000 1.2 --- FAQ.html 4 Jul 2004 19:23:30 -0000 1.3 *************** *** 1,3 **** ! <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> --- 1,3 ---- ! <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> *************** *** 172,175 **** --- 172,179 ---- <li><a href="#12">I wrote some scripts that were missing! What can I do with it?</a></li> <li><a href="#13">Where can I find the latest CVS Snapshots?</a></li> + <li><a href="#14">How do I connect to Wolfpack?</a></li> + <li><a href="#15">Help! I can't login?!</a></li> + <li><a href="#16">What ports should I have open?</a></li> + <li><a href="#17">How can I route to my server behind a router?</a></li> </ul> </div> *************** *** 431,434 **** --- 435,522 ---- <a href="http://wpdev.sourceforge.net/snapshots/">http://wpdev.sourceforge.net/snapshots/</a> </div> + <a href="#top" style="font-size:9pt;">Return To Questions</a><br /><br /> + </li> + <!-- Answer 14 --> + <li><a name="14" class="question">How do I connect to Wolfpack?</a><br /> + <div class="answer"> + The easiest way is to make sure your server settings and client settings are correctly configured.<br /> + Please check your login.cfg in your Ultima Online installation directory so that it resembles this.<br /> + <div class="bash"> + ;Loginservers for Ultima Online<br /> + ;Do not edit this file or patching will fail! Always save a backup.<br /> + ;LoginServer=login.owo.com,7775<br /> + ;LoginServer=login.owo.com,7775<br /> + ;LoginServer=login.owo.com,7776<br /> + ;LoginServer=login.owo.com,7776<br /> + ;PLEASE NOTE THAT 192.168.1.100 IS AN EXAMPLE OF YOUR IP!<br /> + LoginServer=192.168.1.100,2593 + </div> + Now, after you've checked your Client's login configuration, please check your + wolfpack.xml file in your Wolfpack director so that it resembles this.<br /> + <div class="bash"> +   <group name="LoginServer" ><br /> +     <option key="Shard 1" value="My World=192.168.1.100,2592" /><br /> +   </group><br /> +   <group name="Network" ><br /> +     <option key="Allow Stat Request" value="true" /><br /> +     <option key="Allow Unencrypted Clients" value="true" /><br /> +     <option key="Enable Gameserver" value="true" /><br /> +     <option key="Enable Loginserver" value="true" /><br /> +     <option key="Gameserver Port" value="2592" /><br /> +     <option key="Loginserver Port" value="2593" /><br /> +   </group> + </div> + We support the encryption for the latest clients, so using programs like UOGateway, Ignition, UORice, etc. + is completely optional and not required. + </div> + <a href="#top" style="font-size:9pt;">Return To Questions</a><br /><br /> + </li> + <!-- Answer 15 --> + <li><a name="15" class="question">Help! I can't login?!</a><br /> + <div class="answer"> + First of all, please check out "<a href="#14">How do I connect to Wolfpack?</a>" to see if that + resolves your problem.<br /><br /> + If not, then this problem usually occurs when players try to connect to Wolfpack using an + outdated client. Due to many packet changes over the years, it has become hard to continue + supporting clients below the 4.0.0 value. The Age of Shadows Client is the one we continue + to support, and the UO:R client may also work as well. So, if you have this problem, please + try running uopatch.exe that is in your Ultima Online Installation to upgrade.<br /> + If this fails, you can try finding the free <a href="http://www.google.com/search?q=Download+%22Ultima+Online%22+%22Age+of+Shadows%22+Trial&btnG=Search&hl=en&lr=&ie=UTF-8&safe=off">Age of Shadows Demo Using Google</a>. + </div> + <a href="#top" style="font-size:9pt;">Return To Questions</a><br /><br /> + </li> + <!-- Answer 16 --> + <li><a name="16" class="question">What ports should I have open?</a><br /> + <div class="answer"> + By default, Wolfpack uses TCP ports 2592 and 2593.<br /> + Optionally you can enable TCP port 2594 which is for the remote admin page.<br /> + </div> + <a href="#top" style="font-size:9pt;">Return To Questions</a><br /><br /> + </li> + <!-- Answer 17 --> + <li><a name="17" class="question">How can I route to my server behind a router?</a><br /> + <div class="answer"> + Please Note the following: + <div class="bash"> + 2592 == Default Game Server Port<br /> + 2593 == Default Login Server Port<br /> + 192.168.1.101 == Your Server's Internal Network IP + </div> + <br /> + To route to a server that's on an internal network, you need to have TCP ports 2592 and 2593 + forwarded to the machines internal IP address.<br /> + For example, say your server has the Internal address of 192.168.1.101.<br /> + Login to your router (most home bought routers can be logged into) and find your forwarding/NAT + configuration. Once you do that, you want to configure so that:<br /> + <div class="bash"> + TCP PORT 2592 TO 192.168.1.101<br /> + TCP PORT 2593 TO 192.168.1.101 + </div> + <br /> + For a *nix router using IPTables, you can use something like this:<br /> + <div class="bash"> + iptables -t nat -I PREROUTING -p tcp --dport 2592:2593 -j DNAT --to 192.168.1.101 + </div> + </div> <a href="#top" style="font-size:9pt;">Return To Questions</a><br /> <a href="index.html" style="font-size:9pt;">Return To Overview</a><br /><br /> |
From: Sebastian H. <dar...@us...> - 2004-07-04 16:55:30
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24310 Modified Files: res.rc verinfo.h Log Message: Increased version number. Index: verinfo.h =================================================================== RCS file: /cvsroot/wpdev/wolfpack/verinfo.h,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** verinfo.h 2 Jun 2004 15:04:07 -0000 1.36 --- verinfo.h 4 Jul 2004 16:45:43 -0000 1.37 *************** *** 36,40 **** inline const char* productVersion() { ! return "12.9.7"; } --- 36,40 ---- inline const char* productVersion() { ! return "12.9.8"; } Index: res.rc =================================================================== RCS file: /cvsroot/wpdev/wolfpack/res.rc,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** res.rc 24 May 2004 14:45:32 -0000 1.30 --- res.rc 4 Jul 2004 16:45:43 -0000 1.31 *************** *** 36,40 **** 1 VERSIONINFO ! FILEVERSION 12,9,7,0 PRODUCTVERSION 13,0,0,0 FILEFLAGSMASK 0x3fL --- 36,40 ---- 1 VERSIONINFO ! FILEVERSION 12,9,8,0 PRODUCTVERSION 13,0,0,0 FILEFLAGSMASK 0x3fL *************** *** 55,59 **** VALUE "CompanyName", "Wolfpack Development Team" VALUE "FileDescription", "Ultima Online Server Emulator" ! VALUE "FileVersion", "12.9.7 Beta" VALUE "LegalCopyright", "© 2001-2004 Wolfpack Dev. Team" VALUE "OriginalFilename", "wolfpack.exe" --- 55,59 ---- VALUE "CompanyName", "Wolfpack Development Team" VALUE "FileDescription", "Ultima Online Server Emulator" ! VALUE "FileVersion", "12.9.8 Beta" VALUE "LegalCopyright", "© 2001-2004 Wolfpack Dev. Team" VALUE "OriginalFilename", "wolfpack.exe" |
From: Ki H. P. <kh...@us...> - 2004-07-04 12:44:27
|
Update of /cvsroot/wpdev/xmlscripts/definitions/menus/crafting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21117/definitions/menus/crafting Modified Files: inscription.xml Log Message: starting localized craft menus. primitive inscription menu Index: inscription.xml =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/definitions/menus/crafting/inscription.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** inscription.xml 26 May 2004 13:45:35 -0000 1.3 --- inscription.xml 4 Jul 2004 12:44:05 -0000 1.4 *************** *** 9,23 **** <definitions> ! <menu id="CRAFTMENU_INSCRIPTION"> ! <name>Inscription</name> ! <menu inherit="INSCRIPTION_1st" /> ! <menu inherit="INSCRIPTION_2nd" /> ! <menu inherit="INSCRIPTION_3rd" /> ! <menu inherit="INSCRIPTION_4th" /> ! <menu inherit="INSCRIPTION_5th" /> ! <menu inherit="INSCRIPTION_6th" /> ! <menu inherit="INSCRIPTION_7th" /> ! <menu inherit="INSCRIPTION_8th" /> ! <menu inherit="INSCRIPTION_other" /> </menu> --- 9,22 ---- <definitions> ! <menu id="INSCRIPTION" clilocid="1015162"> ! <menu id="INSCRIPTION_1st" /> ! <menu id="INSCRIPTION_2nd" /> ! <!--menu id="INSCRIPTION_3rd" /> ! <menu id="INSCRIPTION_4th" /> ! <menu id="INSCRIPTION_5th" /> ! <menu id="INSCRIPTION_6th" /> ! <menu id="INSCRIPTION_7th" /> ! <menu id="INSCRIPTION_8th" /> ! <menu id="INSCRIPTION_other" /--> </menu> *************** *** 27,535 **** : we will go to python script --> ! <menu id="INSCRIPTION_1st"> ! <name>1st Circle</name> ! ! <action type="script"> ! <name>Clumsy</name> ! <model>0x1f2e</model> ! <description>a clumsy scroll</description> ! <make script="skills.inscription.clumsy" /> ! <fail>You failed</fail> ! <success>You succeeded</success> ! </action> ! ! <action type="script"> ! <name>Create Food</name> ! <model>0x1f2f</model> ! <description>a create food scroll</description> ! <make script="skills.inscription.createfood" /> ! </action> ! ! <action type="script"> ! <name>Feeble Mind</name> ! <model>0x1f30</model> ! <description>a feeble mind scroll</description> ! <make script="skills.inscription.feeblemind" /> ! </action> ! ! <action type="script"> ! <name>Heal</name> ! <model>0x1f31</model> ! <description>a heal scroll</description> ! <make script="skills.inscription.heal" /> ! </action> ! ! <action type="script"> ! <name>Magic Arrow</name> ! <model>0x1f32</model> ! <description>a magic arrow scroll</description> ! <make script="skills.inscription.magicarrow" /> ! </action> ! ! <action type="script"> ! <name>Nightsight</name> ! <model>0x1f33</model> ! <description>a nightsight scroll</description> ! <make script="skills.inscription.nightsight" /> ! </action> ! ! <action type="script"> ! <name>Reactive Armor</name> ! <model>0x1f2d</model> ! <description>a reactive armor scroll</description> ! <make script="skills.inscription.reactivearmor" /> ! </action> ! ! <action type="script"> ! <name>Weaken</name> ! <model>0x1f34</model> ! <description>a weaken scroll</description> ! <make script="skills.inscription.weaken" /> ! </action> ! </menu> ! ! <menu id="INSCRIPTION_2nd"> ! <name>2nd Circle</name> ! ! <action type="script"> ! <name>Agility</name> ! <model>0x1f35</model> ! <description>a agility scroll</description> ! <make script="skills.inscription.agility" /> ! </action> ! ! <action type="script"> ! <name>Cunning</name> ! <model>0x1f36</model> ! <description>a cunning scroll</description> ! <make script="skills.inscription.cunning" /> ! </action> ! ! <action type="script"> ! <name>Cure</name> ! <model>0x1f37</model> ! <description>a cure scroll</description> ! <make script="skills.inscription.cure" /> ! </action> ! ! <action type="script"> ! <name>Harm</name> ! <model>0x1f38</model> ! <description>a harm scroll</description> ! <make script="skills.inscription.harm" /> ! </action> ! ! <action type="script"> ! <name>Magic Trap</name> ! <model>0x1f39</model> ! <description>a magic trap scroll</description> ! <make script="skills.inscription.magictrap" /> ! </action> ! ! <action type="script"> ! <name>Magic Untrap</name> ! <model>0x1f3a</model> ! <description>a magic untrap scroll</description> ! <make script="skills.inscription.magicuntrap" /> ! </action> ! ! <action type="script"> ! <name>Protection</name> ! <model>0x1f3b</model> ! <description>a protection scroll</description> ! <make script="skills.inscription.protection" /> ! </action> ! ! <action type="script"> ! <name>Strength</name> ! <model>0x1f3c</model> ! <description>a strength scroll</description> ! <make script="skills.inscription.strength" /> ! </action> ! </menu> ! ! <menu id="INSCRIPTION_3rd"> ! <name>3rd Circle</name> ! ! <action type="script"> ! <name>Bless</name> ! <model>0x1f3d</model> ! <description>a bless scroll</description> ! <make script="skills.inscription.bless" /> ! </action> ! ! <action type="script"> ! <name>Fireball</name> ! <model>0x1f3e</model> ! <description>a fireball scroll</description> ! <make script="skills.inscription.fireball" /> ! </action> ! ! <action type="script"> ! <name>Magic Lock</name> ! <model>0x1f3f</model> ! <description>a magic lock scroll</description> ! <make script="skills.inscription.magiclock" /> ! </action> ! ! <action type="script"> ! <name>Poison</name> ! <model>0x1f40</model> ! <description>a poison scroll</description> ! <make script="skills.inscription.poison" /> ! </action> ! ! <action type="script"> ! <name>Telekinesis</name> ! <model>0x1f41</model> ! <description>a telekinesis scroll</description> ! <make script="skills.inscription.telekinesis" /> ! </action> ! ! <action type="script"> ! <name>Teleport</name> ! <model>0x1f42</model> ! <description>a teleport scroll</description> ! <make script="skills.inscription.teleport" /> ! </action> ! ! <action type="script"> ! <name>Unlock</name> ! <model>0x1f43</model> ! <description>an unlock scroll</description> ! <make script="skills.inscription.unlock" /> ! </action> ! ! <action type="script"> ! <name>Wall of Stone</name> ! <model>0x1f44</model> ! <description>a wall of stone scroll</description> ! <make script="skills.inscription.wallofstone" /> ! </action> ! </menu> ! ! <menu id="INSCRIPTION_4th"> ! <name>4th Circle</name> ! ! <action type="script"> ! <name>Arch Cure</name> ! <model>0x1f45</model> ! <description>an arch cure scroll</description> ! <make script="skills.inscription.archcure" /> ! </action> ! ! <action type="script"> ! <name>Arch Protection</name> ! <model>0x1f46</model> ! <description>an arch protection scroll</description> ! <make script="skills.inscription.archprotection" /> ! </action> ! ! <action type="script"> ! <name>Curse</name> ! <model>0x1f47</model> ! <description>a curse scroll</description> ! <make script="skills.inscription.curse" /> ! </action> ! ! <action type="script"> ! <name>Fire Field</name> ! <model>0x1f48</model> ! <description>a fire field scroll</description> ! <make script="skills.inscription.firefield" /> ! </action> ! ! <action type="script"> ! <name>Greater Heal</name> ! <model>0x1f49</model> ! <description>a greater heal scroll</description> ! <make script="skills.inscription.greaterheal" /> ! </action> ! ! <action type="script"> ! <name>Lightning</name> ! <model>0x1f4a</model> ! <description>a lightning scroll</description> ! <make script="skills.inscription.lightning" /> ! </action> ! ! <action type="script"> ! <name>Mana Drain</name> ! <model>0x1f4b</model> ! <description>a mana drain scroll</description> ! <make script="skills.inscription.manadrain" /> ! </action> ! ! <action type="script"> ! <name>Recall</name> ! <model>0x1f4c</model> ! <description>a recall scroll</description> ! <make script="skills.inscription.recall" /> ! </action> ! </menu> ! ! <menu id="INSCRIPTION_5th"> ! <name>5th Circle</name> ! ! <action type="script"> ! <name>Blade Spirits</name> ! <model>0x1f4d</model> ! <description>a blade spirits scroll</description> ! <make script="skills.inscription.bladespirits" /> ! </action> ! ! <action type="script"> ! <name>Dispel Field</name> ! <model>0x1f4e</model> ! <description>a dispel field scroll</description> ! <make script="skills.inscription.dispelfield" /> ! </action> ! ! <action type="script"> ! <name>Incognito</name> ! <model>0x1f4f</model> ! <description>an incognito scroll</description> ! <make script="skills.inscription.incognito" /> ! </action> ! ! <action type="script"> ! <name>Magic Reflection</name> ! <model>0x1f50</model> ! <description>a magic reflection scroll</description> ! <make script="skills.inscription.magicreflection" /> ! </action> ! ! <action type="script"> ! <name>Mind Blast</name> ! <model>0x1f51</model> ! <description>a mind blast scroll</description> ! <make script="skills.inscription.mindblast" /> ! </action> ! ! <action type="script"> ! <name>Paralyze</name> ! <model>0x1f52</model> ! <description>a paralyze scroll</description> ! <make script="skills.inscription.paralyze" /> ! </action> ! ! <action type="script"> ! <name>Poison Field</name> ! <model>0x1f53</model> ! <description>a poison field scroll</description> ! <make script="skills.inscription.poisonfield" /> ! </action> ! ! <action type="script"> ! <name>Summon Creature</name> ! <model>0x1f54</model> ! <description>a summon creature scroll</description> ! <make script="skills.inscription.summoncreature" /> ! </action> ! </menu> ! ! <menu id="INSCRIPTION_6th"> ! <name>6th Circle</name> ! ! <action type="script"> ! <name>Dispel</name> ! <model>0x1f55</model> ! <description>a dispel scroll</description> ! <make script="skills.inscription.dispel" /> ! </action> ! ! <action type="script"> ! <name>Energy Bolt</name> ! <model>0x1f56</model> ! <description>an energy bolt scroll</description> ! <make script="skills.inscription.energybolt" /> ! </action> ! ! <action type="script"> ! <name>Explosion</name> ! <model>0x1f57</model> ! <description>an explosion scroll</description> ! <make script="skills.inscription.explosion" /> ! </action> ! ! <action type="script"> ! <name>Invisibility</name> ! <model>0x1f58</model> ! <description>an invisibility scroll</description> ! <make script="skills.inscription.invisibility" /> ! </action> ! ! <action type="script"> ! <name>Mark</name> ! <model>0x1f59</model> ! <description>a mark scroll</description> ! <make script="skills.inscription.mark" /> ! </action> ! ! <action type="script"> ! <name>Mass Curse</name> ! <model>0x1f5a</model> ! <description>a mass curse scroll</description> ! <make script="skills.inscription.masscurse" /> ! </action> ! ! <action type="script"> ! <name>Paralyze Field</name> ! <model>0x1f5b</model> ! <description>a paralyze field scroll</description> ! <make script="skills.inscription.paralyzefield" /> ! </action> ! ! <action type="script"> ! <name>Reveal</name> ! <model>0x1f5c</model> ! <description>a reveal scroll</description> ! <make script="skills.inscription.reveal" /> ! </action> ! </menu> ! ! <menu id="INSCRIPTION_7th"> ! <name>7th Circle</name> ! ! <action type="script"> ! <name>Chain Lightning</name> ! <model>0x1f5d</model> ! <description>a chain lightning scroll</description> ! <make script="skills.inscription.chainlightning" /> ! </action> ! ! <action type="script"> ! <name>Energy Field</name> ! <model>0x1f5e</model> ! <description>an energy field scroll</description> ! <make script="skills.inscription.energyfield" /> ! </action> ! ! <action type="script"> ! <name>Flamestrike</name> ! <model>0x1f5f</model> ! <description>a flamestrike scroll</description> ! <make script="skills.inscription.flamestrike" /> ! </action> ! ! <action type="script"> ! <name>Gate Travel</name> ! <model>0x1f60</model> ! <description>a gate travel scroll</description> ! <make script="skills.inscription.gatetravel" /> ! </action> ! ! <action type="script"> ! <name>Mana Vampire</name> ! <model>0x1f61</model> ! <description>a mana vampire scroll</description> ! <make script="skills.inscription.manavampire" /> ! </action> ! ! <action type="script"> ! <name>Mass Dispel</name> ! <model>0x1f62</model> ! <description>a mass dispel scroll</description> ! <make script="skills.inscription.massdispel" /> ! </action> ! ! <action type="script"> ! <name>Meteor Swarm</name> ! <model>0x1f63</model> ! <description>a meteor swarm scroll</description> ! <make script="skills.inscription.meteorswarm" /> ! </action> ! ! <action type="script"> ! <name>Polymorph</name> ! <model>0x1f64</model> ! <description>a polymorph scroll</description> ! <make script="skills.inscription.polymorph" /> ! </action> ! </menu> ! ! <menu id="INSCRIPTION_8th"> ! <name>8th Circle</name> ! ! <action type="script"> ! <name>Earthquake</name> ! <model>0x1f65</model> ! <description>an earthquake scroll</description> ! <make script="skills.inscription.earthquake" /> ! </action> ! ! <action type="script"> ! <name>Energy Vortex</name> ! <model>0x1f66</model> ! <description>an energy vortex scroll</description> ! <make script="skills.inscription.energyvortex" /> ! </action> ! ! <action type="script"> ! <name>Resurrection</name> ! <model>0x1f67</model> ! <description>a resurrection scroll</description> ! <make script="skills.inscription.resurrection" /> ! </action> ! ! <action type="script"> ! <name>Summon Air Elemental</name> ! <model>0x1f68</model> ! <description>a summon air elemental scroll</description> ! <make script="skills.inscription.airelemental" /> ! </action> ! ! <action type="script"> ! <name>Summon Daemon</name> ! <model>0x1f69</model> ! <description>a summon daemon scroll</description> ! <make script="skills.inscription.summondaemon" /> ! </action> ! ! <action type="script"> ! <name>Summon Earth Elemental</name> ! <model>0x1f6a</model> ! <description>a summon earth elemental scroll</description> ! <make script="skills.inscription.earthelemental" /> ! </action> ! <action type="script"> ! <name>Summon Fire Elemental</name> ! <model>0x1f6b</model> ! <description>a summon fire elemental scroll</description> ! <make script="skills.inscription.fireelemental" /> </action> ! ! <action type="script"> ! <name>Summon Water Elemental</name> ! <model>0x1f6c</model> ! <description>a summon water elemental scroll</description> ! <make script="skills.inscription.waterelemental" /> </action> </menu> ! ! <menu id="INSCRIPTION_other"> ! <name>Others</name> ! <!-- ! the 'charge' is not calculated at python script : going to python script ! --> ! <action type="script"> ! <name>Runebook</name> ! <model>0x22c5</model> ! <description>a runebook</description> ! <make script="skills.inscription.runebook" /> ! <!-- ! <useitem itemid="0xe34,0xef3" name="empty scroll" amount="8" /> ! <useitem itemid="0x1f14-0x1f17" name="recall rune" amount="1" /> ! <useitem itemid="0x1f4c" name="recall scroll" amount="1" /> ! <useitem itemid="0x1f60" name="gate travel scroll" amount="1" /> ! <makeitem section="22c5" amount="1" /> ! <skillcheck skillid="25" min="450" max="451" /> ! </make> ! <fail>You failed</fail> ! <success>You succeeded</success> ! --> ! </action> </menu> - </definitions> --- 26,59 ---- : we will go to python script --> ! <menu id="INSCRIPTION_1st" clilocid="1015163"> ! <!-- Clumsy --> ! <action clilocid="1027982" itemid="1f2e"> ! <inscription min="0" max="100" /> ! <mana amount="4" /> ! <scroll id="ef3;e34" amount="1" name="Empty Scroll" /> ! <reagents id="f7b" amount="1" name="Blood Moss" /> ! <reagents id="f88" amount="1" name="Nightshade" /> </action> ! <!-- Create Food --> ! <action clilocid="1027983" itemid="1f2f"> ! <inscription min="0" max="100" /> ! <mana amount="4" /> ! <scroll id="ef3;e34" amount="1" name="Empty Scroll" /> ! <reagents id="f84" amount="1" name="Garlic" /> ! <reagents id="f85" amount="1" name="Ginseng" /> ! <reagents id="f86" amount="1" name="Mandrake Root" /> </action> </menu> ! <menu id="INSCRIPTION_2nd" clilocid="1015171"> ! <!-- Agility --> ! <action clilocid="1027989" itemid="1f35"> ! <inscription min="0" max="100" /> ! <mana amount="6" /> ! <scroll id="ef3;e34" amount="1" name="Empty Scroll" /> ! <reagents id="f7b" amount="1" name="Blood Moss" /> ! <reagents id="f86" amount="1" name="Mandrake Root" /> ! </action> </menu> </definitions> + |
From: Ki H. P. <kh...@us...> - 2004-07-04 12:44:26
|
Update of /cvsroot/wpdev/xmlscripts/scripts/skills In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21117/scripts/skills Modified Files: inscription.py Log Message: starting localized craft menus. primitive inscription menu Index: inscription.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/inscription.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** inscription.py 26 May 2004 13:07:25 -0000 1.4 --- inscription.py 4 Jul 2004 12:44:05 -0000 1.5 *************** *** 9,396 **** from wolfpack.utilities import * import wolfpack import skills ! # mana used when we create a scroll ! mana_coast = [ 4, 6, 9, 11, 14, 20, 40, 50 ] ! # inscription skill needed to create a scroll ! ins_skill = [ 0, 0, 35, 178, 321, 464, 607, 750 ] ! # reagents name:id ! reagents = { 'ginseng':0xf85, 'bloodmoss':0xf7b, 'mandrake':0xf86, 'blackperl':0xff7a, 'spidersilk':0xf8d, 'sulfurash':0xf8c, 'garlic':0xf84, 'nightshade':0xf88 } ! # inscription skill needed to create a runebook ! INS_RUNEBOOK = 450 ! INS_EXCEPTIONAL = 750 ! # skill is used via the blue button on skill gump ! # this will copy a book ! def inscription( char, skill ): ! if skill != INSCRIPTION: return 0 - char.socket.sysmessage( "copying a book is not implemented yet" ) - return 1 - - # skill is used via a scribe's pen - def onUse( char, item ): if item.getoutmostchar() != char: ! return 1 ! # send makemenu ! char.sendmakemenu( "CRAFTMENU_INSCRIPTION" ) ! return 1 ! ! def clumsy( char ): ! return make_scroll( char, 0 ) ! ! def createfood( char ): ! return make_scroll( char, 1 ) ! ! def feeblemind( char ): ! return make_scroll( char, 2 ) ! ! def heal( char ): ! return make_scroll( char, 3 ) ! ! def magicarrow( char ): ! return make_scroll( char, 4 ) ! ! def nightsight( char ): ! return make_scroll( char, 5 ) ! ! def reactivearmor( char ): ! return make_scroll( char, 6 ) ! ! def weaken( char ): ! return make_scroll( char, 7 ) ! ! def agility( char ): ! return make_scroll( char, 8 ) ! ! def cunning( char ): ! return make_scroll( char, 9 ) ! ! def cure( char ): ! return make_scroll( char, 10 ) ! ! def harm( char ): ! return make_scroll( char, 11 ) ! ! def magictrap( char ): ! return make_scroll( char, 12 ) ! ! def magicuntrap( char ): ! return make_scroll( char, 13 ) ! ! def prortection( char ): ! return make_scroll( char, 14 ) ! ! def strength( char ): ! return make_scroll( char, 15 ) ! ! def bless( char ): ! return make_scroll( char, 16 ) ! ! def fireball( char ): ! return make_scroll( char, 17 ) ! ! def magiclock( char ): ! return make_scroll( char, 18 ) ! ! def poison( char ): ! return make_scroll( char, 19 ) ! ! def telekinesis( char ): ! return make_scroll( char, 20 ) ! ! def teleport( char ): ! return make_scroll( char, 21 ) ! ! def unlock( char ): ! return make_scroll( char, 22 ) ! ! def wallofstone( char ): ! return make_scroll( char, 23 ) ! ! def archcure( char ): ! return make_scroll( char, 24 ) ! ! def archprotection( char ): ! return make_scroll( char, 25 ) ! ! def curse( char ): ! return make_scroll( char, 26 ) ! ! def firefield( char ): ! return make_scroll( char, 27 ) ! ! def greaterheal( char ): ! return make_scroll( char, 28 ) ! ! def lightning( char ): ! return make_scroll( char, 29 ) ! ! def manadrain( char ): ! return make_scroll( char, 30 ) ! ! def recall( char ): ! return make_scroll( char, 31 ) ! ! def bladespirits( char ): ! return make_scroll( char, 32 ) ! ! def dispelfield( char ): ! return make_scroll( char, 33 ) ! ! def incognito( char ): ! return make_scroll( char, 34 ) ! ! def magicreflection( char ): ! return make_scroll( char, 35 ) ! ! def mindblast( char ): ! return make_scroll( char, 36 ) ! ! def paralyze( char ): ! return make_scroll( char, 37 ) ! ! def poisonfield( char ): ! return make_scroll( char, 38 ) ! ! def summoncreature( char ): ! return make_scroll( char, 39 ) ! ! def dispel( char ): ! return make_scroll( char, 40 ) ! ! def energybolt( char ): ! return make_scroll( char, 41 ) ! ! def explosion( char ): ! return make_scroll( char, 42 ) ! ! def invisibility( char ): ! return make_scroll( char, 43 ) ! ! def mark( char ): ! return make_scroll( char, 44 ) ! ! def masscurse( char ): ! return make_scroll( char, 45 ) ! ! def paralyzefield( char ): ! return make_scroll( char, 46 ) ! ! def reveal( char ): ! return make_scroll( char, 47 ) ! ! def chainlightning( char ): ! return make_scroll( char, 48 ) ! ! def energyfield( char ): ! return make_scroll( char, 49 ) ! ! def flamestrike( char ): ! return make_scroll( char, 50 ) ! ! def gatetravel( char ): ! return make_scroll( char, 51 ) ! ! def manavampire( char ): ! return make_scroll( char, 52 ) ! ! def massdispel( char ): ! return make_scroll( char, 53 ) ! ! def meteoswarm( char ): ! return make_scroll( char, 54 ) ! ! def polymorph( char ): ! return make_scroll( char, 55 ) ! ! def earthquake( char ): ! return make_scroll( char, 56 ) ! ! def energyvortex( char ): ! return make_scroll( char, 57 ) ! ! def resurrection( char ): ! return make_scroll( char, 58 ) ! ! def airelemental( char ): ! return make_scroll( char, 59 ) ! ! def summondaemon( char ): ! return make_scroll( char, 60 ) ! ! def earthelemental( char ): ! return make_scroll( char, 61 ) ! ! def fireelemental( char ): ! return make_scroll( char, 62 ) ! ! def waterelemental( char ): ! return make_scroll( char, 63 ) ! ! def make_scroll( char, num ): ! if not char: ! return 0 ! if not 0 <= num < 64: ! return 0 ! ! # check if we have a spellbook which containing the spell ! backpack = char.getbackpack() ! if not backpack: ! return 0 ! contents = backpack.content ! found = 0 ! for item in contents: ! if item.id == 0xefa: ! book = item ! found = 1 ! break ! if not found: ! return 0 ! if not book.hasspell( num ): ! return 0 ! ! # check if we have a empty scroll ! snum1 = char.countresource( 0xe34 ) ! snum2 = char.countresource( 0xef3 ) ! if snum1 and snum2: ! return 0 ! ! # skill info : for name and reagents ! spell_info = wolfpack.spell( num ) ! if not spell_info: ! return 0 ! ! # check if we have enough reagents ! regs = 1 ! for reg in reagents.keys(): ! if spell_info[ reg ] > char.countresource( reagents[ reg ] ): ! regs = 0 ! break ! if not regs: ! return 0 ! ! circle = num / 8 ! mana = mana_coast[ circle ] ! skill = ins_skill[ circle ] ! # not enough mana or skill ! if char.mana < mana or char.skill[ INSCRIPTION ] < skill: ! return 0 ! ! # effects : will be added ! ! # useup regs and scroll ! for reg in reagents.keys(): ! if spell_info[ reg ]: ! char.useresource( spell_info[ reg ], reagents[ reg ] ) ! if snum1: ! char.useresource( 1, 0xe34 ) ! else: ! char.useresource( 1, 0xef3 ) ! ! # checkskill ! success = char.checkskill( INSCRIPTION, ins_skill[ circle ], ins_skill[ circle + 1 ] ) ! if not success: ! return 0 ! ! # useup mana and make a scroll ! char.mana -= mana ! scroll = wolfpack.additem( spell_info[ "scroll" ] ) ! if not scroll: return 0 ! scroll.name = "%s scroll" % spell_info[ "name" ] ! backpack.additem( scroll ) ! scroll.update() return 1 ! def runebook( char ): ! if not char: ! return 0 ! ! # check if we have enough skill ( 45.0 ) ! if char.skill[ MAGERY ] < INS_RUNEBOOK: return 0 ! # check if we have enough empty scrolls ( 8 ) ! snum1 = char.countresource( 0xe34 ) ! snum2 = char.countresource( 0xef3 ) ! if snum1 + snum2 < 8: ! return 0 ! # check if we have enough rune ( 1 ) ! rnum = [ 0 ] * 4 ! rnum[ 0 ] = char.countresource( 0x1f14 ) ! rnum[ 1 ] = char.countresource( 0x1f15 ) ! rnum[ 2 ] = char.countresource( 0x1f16 ) ! rnum[ 3 ] = char.countresource( 0x1f17 ) ! rune_num = rnum[ 0 ] + rnum[ 1 ] + rnum[ 2 ] + rnum[ 3 ] ! if not rune_num: ! return 0 ! # check if we have enough recall scroll ( 1 ) ! if not char.countresource( 0x1f4c ): ! return 0 ! # check if we have enough gate travel scroll ( 1 ) ! if not char.countresource( 0x1f60 ): ! return 0 ! # checkskill ! sucess = char.checkskill( INSCRIPTION, INS_RUNEBOOK, 1000 ) ! if not success: return 0 ! # now, we create runebook ! book = wolfpack.additem( "22c5" ) ! if not book: return 0 ! # useup 8 scrolls ! if snum1 >= 8: ! char.useresource( 8, 0xe34 ) ! elif snum1 and snum1 < 8: ! char.useresource( snum1, 0xe34 ) ! char.useresource( 8 - snum1, 0xef3 ) ! else: ! char.useresource( 8, 0xef3 ) ! ! # useup 1 recall rune ! for i in range( 0, 4 ): ! if rnum[ i ]: ! char.useresource( 1, 0x1f14 + i ) ! break ! ! # useup 1 recall scroll and 1 gate travel scroll ! char.useresource( 1, 0x1f4c ) ! char.useresource( 1, 0x1f60 ) ! ! # max charge ! chance = char.skill[ INSCRIPTION ] - INS_RUNEBOOK ! max = 5 + chance / 100 ! chance2 = whrandom.randint( 0, 100 ) ! max_charge = 5 ! # 10% max ! if chance2 < 10: ! max_charge = max ! # 60% max - 1 ! elif chance2 < 70: ! max_charge = max - 1 ! # 30% max - 2 ! else: ! max_charge = max - 2 ! if max_charge < 5: ! max_charge = 5 ! book.settag( 'maxcharges', max_charge ) ! ! # exceptional : 15% at 75.0 - 65% at 100.0 ! if char.skill[ INSCRIPTION ] >= INS_EXCEPTIONAL: ! ex_chance = 15 + ( char.skill[ INSCRIPTION ] - INS_EXCEPTIONAL ) / 5 ! if whrandom.randint( 0, 100 ) < ex_chance: ! book.settag( 'exceptional', 1 ) ! backpack.additem( book ) ! book.update() ! return 1 def onLoad(): skills.register( INSCRIPTION, inscription ) --- 9,212 ---- from wolfpack.utilities import * import wolfpack + from system.craftmenu import * import skills + from wolfpack import console + from math import floor,ceil ! # reagents itemdef:cliloc_id ! reagents = { 'f7a':0, 'f7b':1, 'f84':2, 'f85':3, 'f86':4, 'f88':5, 'f8c':6, 'f8d':7 } ! def checktool(char, item, wearout=0): ! if not item: return 0 if item.getoutmostchar() != char: ! char.socket.clilocmessage(500364) return 0 ! # use this for a Siege-style shard ! #if not item.hastag('remaining_uses'): ! # char.socket.clilocmessage(1044038) ! # item.delete() ! # return 0 ! #if wearout: ! # uses = int(item.gettag('remaining_uses')) ! # if uses < 1: ! # char.socket.clilocmessage(1044038) ! # item.delete() ! # return 0 ! # else: ! # item.settag('remaining_uses', uses - 1) return 1 ! # skill is used via the blue button on skill gump - copy a book ! def inscription(char, skill): ! if skill != INSCRIPTION: return 0 + char.socket.sysmessage("copying a book is not implemented yet") + return 1 ! # skill is used via a scribe's pen ! def onUse(char, item): ! #if not checktool(char, item): ! # return 1 ! # send makemenu ! menu = findmenu('INSCRIPTION') ! if menu: ! menu.send(char, [item.serial]) ! return 1 ! class InscriptionMenu(CraftMenu): ! def __init__(self, id, parent, titleid=0, title=''): ! CraftMenu.__init__(self, id, parent, titleid, title) ! self.allowmark = 1 ! self.allowrepair = 0 ! self.gumptype = 0xce123456 ! ! def loadMenu( id, parent = None ): ! definition = wolfpack.getdefinition(WPDT_MENU, id) ! if not definition: ! if parent: ! console.log(LOG_ERROR, "Unknown submenu %s in menu %s.\n" % (id, parent.id)) ! else: ! console.log(LOG_ERROR, "Unknown menu: %s.\n" % id) ! return ! # use 'clilocid' title for OSI style ! # or use 'title' for custom craft menu ! title = '' ! titleid = 0 ! if definition.hasattribute('title'): ! title = definition.getattribute('title') ! elif definition.hasattribute('clilocid'): ! titleid = int(definition.getattribute('clilocid', '0')) ! menu = InscriptionMenu(id, parent, titleid, title) ! for i in range(0, definition.childcount): ! child = definition.getchild(i) ! if child.name == 'menu': ! loadMenu(child.getattribute('id'), menu) ! elif child.name == 'action': ! actionclilocid = 0 ! actionname = '' ! if child.hasattribute('clilocid'): ! actionclilocid = int(child.getattribute('clilocid')) ! elif child.hasattribute('title'): ! actionname = child.getattribute('title') ! else: ! console.log(LOG_ERROR, "Action without title or cliloc id in menu %s.\n" % id) ! pass ! itemdef = child.getattribute('itemid') ! item2 = wolfpack.getdefinition(WPDT_ITEM, itemdef) ! if item2: ! itemchild = item2.findchild('id') ! if itemchild: ! itemid = int(itemchild.value) ! action = InsItemAction(menu, itemid, itemdef, actionclilocid, actionname) ! for j in range(0, child.childcount): ! subchild = child.getchild(j) ! if subchild.name == 'mana': ! action.mana = int(subchild.getattribute('amount', '0')) ! elif subchild.name == 'spell': ! action.spell = int(subchild.getattribute('id', '0')) ! elif subchild.name == 'scroll': ! ids = subchild.getattribute('id').split(';') ! amount = int(subchild.getattribute('amount', '1')) ! action.materials.append([ids, amount, 'scroll']) ! elif subchild.name == 'reagents': ! ids = subchild.getattribute('id').split(';') ! amount = int(subchild.getattribute('amount', '1')) ! name = subchild.getattribute('name') ! action.materials.append([ids, amount, name]) ! elif subchild.name in skillnamesids: ! skill = skillnamesids[subchild.name] ! minimum = int(subchild.getattribute('min', '0')) ! maximum = int(subchild.getattribute('max', '1200')) ! action.skills[skill] = [minimum, maximum] ! # menu.sort() ! class InsItemAction(CraftItemAction): ! def __init__(self, parent, itemid, definition, titleid=0, title=''): ! CraftItemAction.__init__(self, parent, itemid, definition, titleid, title) ! self.markable = 1 ! self.mana = 0 ! self.spell = 0 ! # FIXME : exceptional / success chance ! def getexceptionalchance(self, player, args): return 0 ! def getsuccesschance(self, player, args): return 0 ! def checkmaterial(self, player, args, silent=0): ! backpack = player.getbackpack() ! for material in self.materials: ! (baseids, amount) = material[:2] ! count = backpack.countitems(baseids) ! if count < amount: ! # empty scroll ! if 'ef3' in baseids or 'e34' in baseids: ! msg_id = 1044378 - 1044361 ! elif reagents.haskey(baseids[0]): ! msg_id = reagents[baseids[0]] ! player.socket.clilocmessage(1044361 + msg_id) ! # recall rune ! #elif '1f14' in baseids or '1f15' in baseids or '1f16' in baseids or '1f17' in baseids: ! return 0 ! return 1 ! def make(self, player, args, nodelay=0): ! if not checktool(player, wolfpack.finditem(args[0]), 0): ! return 0 ! # spell scrolls ! # FIXME : spell no. is not correct ! if self.titleid > 1027980 and self.titleid < 1028045: ! if self.titleid == 1027981: ! self.spell = 6 ! elif self.titleid > 1027988: ! self.spell = self.titleid - 1027981 ! else: ! self.spell = self.titleid - 1027982 ! if not hasSpell(player, self.spell): ! self.noticeid = 0 ! self.noticestr = "You don't have that spell in your spellbook." ! self.parent.send(player, args) ! player.socket.sysmessage(self.noticestr) ! return 0 ! if player.mana < self.mana: ! player.socket.clilocmessage(1044380) ! self.noticeid = 1044380 ! self.noticestr = '' ! self.parent.send(player, args) ! return 0 ! if player.socket.hastag('craftmenu_crafting'): ! player.socket.clilocmessage(500119) ! self.noticeid = 500119 ! self.noticestr = '' ! self.parent.send(player, args) ! return 0 ! if not self.checkmaterial(player, args): ! self.parent.send(player, args) ! return 0 ! player.mana = player.mana - self.mana ! self.consumematerial(player, args, 0) ! success = self.checkskills( player, args, 1) ! if success: ! item = wolfpack.additem(self.definition) ! if not item: ! console.log(LOG_ERROR, "Unknown item definition used in action %u of menu %s.\n" % (self.parent.subactions.index(self), self.parent.id)) ! else: ! item.decay = 1 ! item.magic = 1 ! if not tobackpack(item, player): ! item.update() ! self.parent.send(player, args) ! return success ! # runebook / bulk order deed ! else: ! self.noticeid = 0 ! self.noticestr = 'Not implemented yet' ! self.parent.send(player, args) ! return 0 def onLoad(): + loadMenu( 'INSCRIPTION' ) skills.register( INSCRIPTION, inscription ) |
From: Ki H. P. <kh...@us...> - 2004-07-04 12:44:23
|
Update of /cvsroot/wpdev/xmlscripts/scripts/system In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21117/scripts/system Added Files: craftmenu.py Log Message: starting localized craft menus. primitive inscription menu --- NEW FILE: craftmenu.py --- # # WARNING : Do NOT use this script for CUSTOM make menus # import wolfpack from wolfpack.utilities import tobackpack, ObjectWrapper from wolfpack.gumps import cGump import math from wolfpack import console from wolfpack.consts import * import random from magic.utilities import * # Known menus menus = {} # Return a menu def findmenu(id): global menus [...1081 lines suppressed...] gump.addText(255, yoffset + 3, self.subactions[menus + j].title, 0x480) else: if self.subactions[menus + j].titleid > 0: gump.addXmfHtmlGump(255, yoffset+3, 150, 18, self.subactions[menus + j].titleid, color=0x7FFF) else: gump.addText(255, yoffset + 3, self.subactions[menus + j].title, 0x480) menus += 9 # Add a back button if i > 0: gump.addPageButton(15, 290, 0xFAE, 0xFB0, i) gump.addXmfHtmlGump(50, 293, 100, 25, 1044044, color=0x7FFF) # Add a next button if i+1 < pages: gump.addPageButton(350, 290, 4005, 4007, i + 2) gump.addXmfHtmlGump(385, 293, 100, 25, 1044045, color=0x7FFF) gump.setArgs([self.id] + args) gump.send(player) |
From: Richard M. <dr...@us...> - 2004-07-03 21:53:22
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25101 Added Files: account.py Log Message: This works for the most part... it still needs tweaks/adjustments though. --- NEW FILE: account.py --- import wolfpack import wolfpack.accounts import string from wolfpack.consts import * usage1 = "Usage: account [save,reload]" usage2 = "Usage: account [create,remove,set,show] username [(key,pass), value]" # Loads the command def onLoad(): wolfpack.registercommand( 'account', commandAccount ) # Handles the account command def commandAccount( socket, cmd, args ): args = args.strip() if len(args) == 0: socket.sysmessage( usage1 ) socket.sysmessage( usage2 ) return True elif len( args ) > 0: try: args = args.split( ' ' ) if len( args ) == 1: ( action ) = args if action.lower() == 'reload': wolfpack.accounts.reload() return True elif action.lower() == 'save': wolfpack.accounts.save() return True elif len( args ) == 2: ( action, username ) = args if action.lower() == 'remove': accountRemove( socket, username ) return True elif len( args ) == 3: ( action, username, key ) = args if action.lower() == 'create': if len( key ) == 0: socket.sysmessage( "Error: Empty password!" ) return True else: accountCreate( socket, username.lower(), key ) return True elif action.lower() == 'show': accountShow( socket, username.lower(), key ) return True elif len( args ) == 4: ( action, username, key, value ) = args if action.lower() == 'set': accountSet( socket, username.lower(), key.lower(), value ) return True else: socket.sysmessage( usage1 ) socket.sysmessage( usage2 ) return True except: socket.sysmessage( usage1 ) socket.sysmessage( usage2 ) return True # Removes an account def accountRemove( socket, username ): # Make sure username stays lowercased username = username.lower() # Usernames are limited to 16 characters in length if len( username ) > 16: socket.sysmessage( "The given username exceeds the 16 character limit!" ) return True # Check if the account exists/Delete else: account = wolfpack.accounts.find( username ) if account: account.delete() socket.sysmessage( "Removed account: %s" % username ) return True # Failure else: socket.sysmessage( "The given account name could not be found for removal!" ) return True # Creates a new account def accountCreate( socket, username, password ): username = username.lower() # Usernames and passwords are limited to 16 characters in length if len( username ) > 16 or len( password ) > 16: if len( username ) > 16: socket.sysmessage( "The given username exceeds the 16 character limit!" ) if len( password ) > 16: socket.sysmessage( "The given password exceeds the 16 character limit!" ) return True # Check if the account exists else: account = wolfpack.accounts.find( username ) if account: socket.sysmessage( "An account with this name already exists!" ) return True # Create the Account elif not account: wolfpack.accounts.add( username, password ) socket.sysmessage( "You created the account successfully!" ) return True # Failure else: socket.sysmessage( "Account creation failed!" ) return True # Shows account properties def accountShow( socket, username, key ): username = username.lower() key = key.lower() # Usernames are limited to 16 characters in length if len( username ) > 16: socket.sysmessage( "The given username exceeds the 16 character limit!" ) return True # Find the account else: account = wolfpack.accounts.find( username ) if account: if key == 'acl': socket.sysmessage( "%s.acl = %s" % ( account.name, account.acl ) ) return True elif key == 'characters': socket.sysmessage( "%s.characters = %s" % ( account.name, account.characters ) ) return True elif key == 'flags': socket.sysmessage( "%s.flags = %s" % ( account.name, account.flags ) ) return True elif key == 'inuse': socket.sysmessage( "%s.inuse = %s" % ( account.name, account.inuse ) ) return True elif key == 'lastlogin': socket.sysmessage( "%s.lastlogin = %s" % ( account.name, account.lastlogin ) ) return True elif key == 'multigems': socket.sysmessage( "%s.multigems = %s" % ( account.name, account.multigems ) ) return True elif key == 'name': socket.sysmessage( "%s.name = %s" % ( account.name, account.name ) ) return True elif key == 'password': socket.sysmessage( "%s.password = %s" % ( account.name, account.password ) ) return True elif key == 'rank': socket.sysmessage( "%s.rank = %i" % ( account.name, account.rank ) ) return True else: socket.sysmessage( "Unknown account key!" ) return True # Failure to find the account else: socket.sysmessage( "Failed to locate the given account!" ) return True # Sets account properties def accountSet( socket, username, key, value ): username = username.lower() # Usernames are limited to 16 characters in length if len( username ) > 16: socket.sysmessage( "The given username exceeds the 16 character limit!" ) return True # Find the account else: account = wolfpack.accounts.find( username ) if account: return True # Failure to find the account else: socket.sysmessage( "Failed to locate the given account!" ) return True |
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot/formats In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21023/webroot/formats Modified Files: animations.html animdata.html art.html colors.html fonts.html gumps.html index.html lights.html maps.html multimap.html multis.html palette.html radarcol.html sjis2uni.html skillgroups.html skills.html sounds.html speech.html statics.html textures.html tiledata.html unifont.html verdata.html Added Files: spacer.gif style.css top_logo.jpg Removed Files: default.html Log Message: new design for file formats Index: multis.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/webroot/formats/multis.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** multis.html 2 Jul 2004 18:26:00 -0000 1.1 --- multis.html 3 Jul 2004 11:05:46 -0000 1.2 *************** *** 1,12 **** ! <html> ! <head> ! <title> ! Ultima Online File Format Document : C# (C Sharp) ! </title> ! </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> ! <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><a href="lights.html" title="Lights"><img border="0" name="linkToFileFormatsFilelights" onMouseOver="document.linkToFileFormatsFilelights.src='images/lights_over.png'" onMouseOut="document.linkToFileFormatsFilelights.src='images/lights_regular.png'" src="images/lights_regular.png" width="80" height="20"></a><br><a href="maps.html" title="Maps"><img border="0" name="linkToFileFormatsFilemaps" onMouseOver="document.linkToFileFormatsFilemaps.src='images/maps_over.png'" onMouseOut="document.linkToFileFormatsFilemaps.src='images/maps_regular.png'" src="images/maps_regular.png" width="80" height="20"></a><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><img border="0" src="images/multis_header.png" width="80" height="20"><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><a href="skillgroups.html" title="Skillgroups"><img border="0" name="linkToFileFormatsFileskillgroups" onMouseOver="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_over.png'" onMouseOut="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_regular.png'" src="images/skillgroups_regular.png" width="80" height="20"></a><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="Multi.mul, Multi.idx">Multis</a></h2><p><b>Data File: </b>Multi.mul<br><b>Index File: </b>Multi.idx<br></p><font face="Courier New"><p><h4>Data:</h4> ! <p>List Items[<a title="This value is determined by the index."><font color="MediumBlue">length</font></a> / 12]: ! <br> <font color="MediumBlue">short</font> ItemID;<br> <font color="MediumBlue">short</font> X;<br> <font color="MediumBlue">short</font> Y;<br> <font color="MediumBlue">short</font> Z;<br> <font color="MediumBlue">int</font> isVisible; <font color="DarkGreen">// 0=no, 1=yes</font><br></p></p></font>The center is at XYZ (0,0,0). The list needs to be sorted.<br><br><b>See Also:</b><br> ! - <a href="index.html" title="Index">Index Files</a><br></span><br><br> ! </body> ! </html> \ No newline at end of file --- 1,160 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml"> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <title>Krrios File Formats</title> ! <style type="text/css"> ! <!-- ! body { ! background-color: #FFFFFF; ! margin-left: 0px; ! margin-top: 0px; ! margin-right: 0px; ! margin-bottom: 0px; ! } ! --> ! </style> ! <link href="style.css" rel="stylesheet" type="text/css" /> ! </head> ! ! <body> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td bgcolor="#004B2C"><a href="index.html"><img src="top_logo.jpg" width="586" height="87" border="0"/></a></td> ! </tr> ! <tr> ! <td height="3" bgcolor="#999999"><img src="spacer.gif" width="1" height="3" /></td> ! </tr> ! </table> ! <div align="center"> ! <p> <span class="maintitle">Krrios File Format Reference </span></p> ! </div> ! <table width="740" border="0" align="center" cellpadding="2" cellspacing="0" class="text"> ! <tr> ! <td width="125" valign="top"><table width="125" border="0" cellspacing="0"> ! <tr> ! <td><a href="colors.html" title="Colors">Colors</a></td> ! </tr> ! <tr> ! <td><a href="index.html" title="Index">Index Files</a></td> ! </tr> ! <tr> ! <td><a href="animations.html" title="Animations">Anim.mul</a></td> ! </tr> ! <tr> ! <td><a href="animations.html" title="Animations">Anim.idx</a></td> ! </tr> ! <tr> ! <td><a href="animdata.html" title="Animdata">AnimData.mul</a></td> ! </tr> ! <tr> ! <td><a href="art.html" title="Art">Art.mul</a></td> ! </tr> ! <tr> ! <td><a href="art.html" title="Art">ArtIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="fonts.html" title="Fonts">Fonts.mul</a></td> ! </tr> ! <tr> ! <td><a href="gumps.html" title="Gumps">GumpArt.mul</a></td> ! </tr> ! <tr> ! <td><a href="gumps.html" title="Gumps">GumpIdx.mul</a></td> ! </tr> ! <tr> ! <td>Hues.mul</td> ! </tr> ! <tr> ! <td><a href="lights.html" title="Lights">Light.mul</a></td> ! </tr> ! <tr> ! <td><a href="lights.html" title="Lights">LightIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="maps.html" title="Maps">Map<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="multimap.html" title="Multimap">MultiMap.rle</a></td> ! </tr> ! <tr> ! <td><a href="multis.html" title="Multis">Multi.mul</a></td> ! </tr> ! <tr> ! <td><a href="multis.html" title="Multis">Multi.idx</a></td> ! </tr> ! <tr> ! <td><a href="palette.html" title="Palette">Palette.mul</a></td> ! </tr> ! <tr> ! <td><a href="radarcol.html" title="Radarcol">RadarCol.mul</a></td> ! </tr> ! <tr> ! <td><a href="sjis2uni.html" title="Sjis2uni">SJIS2Uni.mul</a></td> ! </tr> ! <tr> ! <td><a href="skillgroups.html" title="Skillgroups">SkillGrp.mul</a></td> ! </tr> ! <tr> ! <td><a href="skills.html" title="Skills">Skills.mul</a></td> ! </tr> ! <tr> ! <td><a href="skills.html" title="Skills">Skills.idx</a></td> ! </tr> ! <tr> ! <td><a href="sounds.html" title="Sounds">Sound.mul</a></td> ! </tr> ! <tr> ! <td><a href="sounds.html" title="Sounds">SoundIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="speech.html" title="Speech">Speech.mul</a></td> ! </tr> ! <tr> ! <td><a href="statics.html" title="Statics">StaIdx<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="statics.html" title="Statics">Statics<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="textures.html" title="Textures">TexIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="textures.html" title="Textures">TexMaps.mul</a></td> ! </tr> ! <tr> ! <td><a href="tiledata.html" title="Tiledata">TileData.mul</a></td> ! </tr> ! <tr> ! <td><a href="unifont.html" title="Unifont">UniFont[n].mul</a></td> ! </tr> ! <tr> ! <td><a href="verdata.html" title="Verdata">VerData.mul</a></td> ! </tr> ! <tr> ! <td><a href="../index.html"> <br /> ! Back to Reference</a> </td> ! </tr> ! </table> </td> ! <td width="607" valign="top"><h2><a title="Multi.mul, Multi.idx" class="sectiontitle">Multis</a></h2> ! <p><b>Data File: </b>Multi.mul<br /> ! <b>Index File: </b>Multi.idx<br /> ! </p> ! <h4><font face="Courier New">Data:</font></h4> ! <p><font face="Courier New">List Items[<a title="This value is determined by the index."><font color="MediumBlue">length</font></a> / 12]: <br /> ! <font color="MediumBlue">short</font> ItemID;<br /> ! <font color="MediumBlue">short</font> X;<br /> ! <font color="MediumBlue">short</font> Y;<br /> ! <font color="MediumBlue">short</font> Z;<br /> ! <font color="MediumBlue">int</font> isVisible; <font color="DarkGreen">// 0=no, 1=yes</font><br /> ! </font></p> ! <p></p> ! The center is at XYZ (0,0,0). The list needs to be sorted.<br /> ! <br /> ! <b>See Also:</b><br /> ! - <a href="index.html" title="Index">Index Files</a><br /></td> ! </tr> ! </table> ! <br /> ! </body> ! </html> Index: maps.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/webroot/formats/maps.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** maps.html 2 Jul 2004 18:26:00 -0000 1.1 --- maps.html 3 Jul 2004 11:05:46 -0000 1.2 *************** *** 1,12 **** ! <html> ! <head> ! <title> ! Ultima Online File Format Document : C# (C Sharp) ! </title> ! </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> ! <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><a href="lights.html" title="Lights"><img border="0" name="linkToFileFormatsFilelights" onMouseOver="document.linkToFileFormatsFilelights.src='images/lights_over.png'" onMouseOut="document.linkToFileFormatsFilelights.src='images/lights_regular.png'" src="images/lights_regular.png" width="80" height="20"></a><br><img border="0" src="images/maps_header.png" width="80" height="20"><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><a href="multis.html" title="Multis"><img border="0" name="linkToFileFormatsFilemultis" onMouseOver="document.linkToFileFormatsFilemultis.src='images/multis_over.png'" onMouseOut="document.linkToFileFormatsFilemultis.src='images/multis_regular.png'" src="images/multis_regular.png" width="80" height="20"></a><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><a href="skillgroups.html" title="Skillgroups"><img border="0" name="linkToFileFormatsFileskillgroups" onMouseOver="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_over.png'" onMouseOut="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_regular.png'" src="images/skillgroups_regular.png" width="80" height="20"></a><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="Map<n>.mul">Maps</a></h2><p><b>Data File: </b>Map<n>.mul<br></p>This file has no indexer. Directly after one block ends, another begins.<br><font face="Courier New"><p><h4>Block:</h4> ! <font color="MediumBlue">int</font> header; <font color="DarkGreen">// Unknown</font><br><i>Cells...</i></p></font>Each block contains 64 cells, treated as an 8x8 matrix loaded left to right, top to bottom.<br><font face="Courier New"><p><h4>Cell:</h4> ! <font color="MediumBlue">short</font> TileID;<br><font color="MediumBlue">sbyte</font> Z;<br></p></font>You can seek to a certain block, by knowing the map height.<br>- For Map0.mul, the block width and height is 768x512.<br>- For Map2.mul, it's 288x200.<br><br>The algorithm used to find the block lookup is:<br><font face="Courier New">((XBlock * BlockHeight) + YBlock) * 196</font><br>From there, the offset to a certain cell is:<br><font face="Courier New">((CellY * 8) + CellX) * 3</font><br><br><b>See Also:</b><br> ! - <a href="statics.html" title="Statics">Statics</a><br> - <a href="radarcol.html" title="Radarcol">Radar Colors</a><br></span><br><br> ! </body> ! </html> \ No newline at end of file --- 1,170 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml"> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <title>Krrios File Formats</title> ! <style type="text/css"> ! <!-- ! body { ! background-color: #FFFFFF; ! margin-left: 0px; ! margin-top: 0px; ! margin-right: 0px; ! margin-bottom: 0px; ! } ! --> ! </style> ! <link href="style.css" rel="stylesheet" type="text/css" /> ! </head> ! ! <body> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td bgcolor="#004B2C"><a href="index.html"><img src="top_logo.jpg" width="586" height="87" border="0"/></a></td> ! </tr> ! <tr> ! <td height="3" bgcolor="#999999"><img src="spacer.gif" width="1" height="3" /></td> ! </tr> ! </table> ! <div align="center"> ! <p> <span class="maintitle">Krrios File Format Reference </span></p> ! </div> ! <table width="740" border="0" align="center" cellpadding="2" cellspacing="0" class="text"> ! <tr> ! <td width="125" valign="top"><table width="125" border="0" cellspacing="0"> ! <tr> ! <td><a href="colors.html" title="Colors">Colors</a></td> ! </tr> ! <tr> ! <td><a href="index.html" title="Index">Index Files</a></td> ! </tr> ! <tr> ! <td><a href="animations.html" title="Animations">Anim.mul</a></td> ! </tr> ! <tr> ! <td><a href="animations.html" title="Animations">Anim.idx</a></td> ! </tr> ! <tr> ! <td><a href="animdata.html" title="Animdata">AnimData.mul</a></td> ! </tr> ! <tr> ! <td><a href="art.html" title="Art">Art.mul</a></td> ! </tr> ! <tr> ! <td><a href="art.html" title="Art">ArtIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="fonts.html" title="Fonts">Fonts.mul</a></td> ! </tr> ! <tr> ! <td><a href="gumps.html" title="Gumps">GumpArt.mul</a></td> ! </tr> ! <tr> ! <td><a href="gumps.html" title="Gumps">GumpIdx.mul</a></td> ! </tr> ! <tr> ! <td>Hues.mul</td> ! </tr> ! <tr> ! <td><a href="lights.html" title="Lights">Light.mul</a></td> ! </tr> ! <tr> ! <td><a href="lights.html" title="Lights">LightIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="maps.html" title="Maps">Map<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="multimap.html" title="Multimap">MultiMap.rle</a></td> ! </tr> ! <tr> ! <td><a href="multis.html" title="Multis">Multi.mul</a></td> ! </tr> ! <tr> ! <td><a href="multis.html" title="Multis">Multi.idx</a></td> ! </tr> ! <tr> ! <td><a href="palette.html" title="Palette">Palette.mul</a></td> ! </tr> ! <tr> ! <td><a href="radarcol.html" title="Radarcol">RadarCol.mul</a></td> ! </tr> ! <tr> ! <td><a href="sjis2uni.html" title="Sjis2uni">SJIS2Uni.mul</a></td> ! </tr> ! <tr> ! <td><a href="skillgroups.html" title="Skillgroups">SkillGrp.mul</a></td> ! </tr> ! <tr> ! <td><a href="skills.html" title="Skills">Skills.mul</a></td> ! </tr> ! <tr> ! <td><a href="skills.html" title="Skills">Skills.idx</a></td> ! </tr> ! <tr> ! <td><a href="sounds.html" title="Sounds">Sound.mul</a></td> ! </tr> ! <tr> ! <td><a href="sounds.html" title="Sounds">SoundIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="speech.html" title="Speech">Speech.mul</a></td> ! </tr> ! <tr> ! <td><a href="statics.html" title="Statics">StaIdx<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="statics.html" title="Statics">Statics<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="textures.html" title="Textures">TexIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="textures.html" title="Textures">TexMaps.mul</a></td> ! </tr> ! <tr> ! <td><a href="tiledata.html" title="Tiledata">TileData.mul</a></td> ! </tr> ! <tr> ! <td><a href="unifont.html" title="Unifont">UniFont[n].mul</a></td> ! </tr> ! <tr> ! <td><a href="verdata.html" title="Verdata">VerData.mul</a></td> ! </tr> ! <tr> ! <td><a href="../index.html"> <br /> ! Back to Reference</a> </td> ! </tr> ! </table> </td> ! <td width="607" valign="top"><h2><a title="Map<n>.mul" class="sectiontitle">Maps</a></h2> ! <p><b>Data File: </b>Map<n>.mul<br /> ! </p> ! This file has no indexer. Directly after one block ends, another begins.<br /> ! <h4><font face="Courier New">Block:</font></h4> ! <font color="MediumBlue" face="Courier New">int</font> header; <font color="DarkGreen" face="Courier New">// Unknown</font><br /> ! <i><font face="Courier New">Cells...</font></i> ! <p></p> ! Each block contains 64 cells, treated as an 8x8 matrix loaded left to right, top to bottom.<br /> ! <h4><font face="Courier New">Cell:</font></h4> ! <font color="MediumBlue" face="Courier New">short</font> TileID;<br /> ! <font color="MediumBlue" face="Courier New">sbyte</font> Z;<br /> ! <p></p> ! You can seek to a certain block, by knowing the map height.<br /> ! - For Map0.mul, the block width and height is 768x512.<br /> ! - For Map2.mul, it's 288x200.<br /> ! <br /> ! The algorithm used to find the block lookup is:<br /> ! <font face="Courier New">((XBlock * BlockHeight) + YBlock) * 196</font><br /> ! From there, the offset to a certain cell is:<br /> ! <font face="Courier New">((CellY * 8) + CellX) * 3</font><br /> ! <br /> ! <b>See Also:</b><br /> ! - <a href="statics.html" title="Statics">Statics</a><br /> ! - <a href="radarcol.html" title="Radarcol">Radar Colors</a> ! <h2><br /> ! </h2></td> ! </tr> ! </table> ! <br /> ! </body> ! </html> Index: lights.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/webroot/formats/lights.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lights.html 2 Jul 2004 18:26:00 -0000 1.1 --- lights.html 3 Jul 2004 11:05:46 -0000 1.2 *************** *** 1,12 **** ! <html> ! <head> ! <title> ! Ultima Online File Format Document : C# (C Sharp) ! </title> ! </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> ! <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><img border="0" src="images/lights_header.png" width="80" height="20"><br><a href="maps.html" title="Maps"><img border="0" name="linkToFileFormatsFilemaps" onMouseOver="document.linkToFileFormatsFilemaps.src='images/maps_over.png'" onMouseOut="document.linkToFileFormatsFilemaps.src='images/maps_regular.png'" src="images/maps_regular.png" width="80" height="20"></a><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><a href="multis.html" title="Multis"><img border="0" name="linkToFileFormatsFilemultis" onMouseOver="document.linkToFileFormatsFilemultis.src='images/multis_over.png'" onMouseOut="document.linkToFileFormatsFilemultis.src='images/multis_regular.png'" src="images/multis_regular.png" width="80" height="20"></a><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><a href="skillgroups.html" title="Skillgroups"><img border="0" name="linkToFileFormatsFileskillgroups" onMouseOver="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_over.png'" onMouseOut="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_regular.png'" src="images/skillgroups_regular.png" width="80" height="20"></a><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="Light.mul, LightIdx.mul">Lights</a></h2><p><b>Data File: </b>Light.mul<br><b>Index File: </b>LightIdx.mul<br></p>You can compute the following values from the Extra field in the index file.<br><font face="Courier New"><p><h4>Sizes:</h4> ! <font color="MediumBlue">short</font> width = (<a title="This value is determined by the index."><font color="MediumBlue">extra</font></a> & 0xFFFF);<br><font color="MediumBlue">short</font> height = ((<a title="This value is determined by the index."><font color="MediumBlue">extra</font></a> >> 16) & 0xFFFF);<br></p></font><font face="Courier New"><p><h4>Data:</h4> ! <font color="MediumBlue">sbyte</font>[width * height] additiveLightmap;<br></p></font>For each pixel (loaded top to bottom, left to right), add the lightmap value for each R, G, and B.<br>As the value ranges from -31 to 31, you could easily apply a hue by using the color entry at Math.Abs( value ).<br><br><b>See Also:</b><br> ! - <a href="index.html" title="Index">Index Files</a><br></span><br><br> ! </body> ! </html> \ No newline at end of file --- 1,162 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml"> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <title>Krrios File Formats</title> ! <style type="text/css"> ! <!-- ! body { ! background-color: #FFFFFF; ! margin-left: 0px; ! margin-top: 0px; ! margin-right: 0px; ! margin-bottom: 0px; ! } ! --> ! </style> ! <link href="style.css" rel="stylesheet" type="text/css" /> ! </head> ! ! <body> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td bgcolor="#004B2C"><a href="index.html"><img src="top_logo.jpg" width="586" height="87" border="0"/></a></td> ! </tr> ! <tr> ! <td height="3" bgcolor="#999999"><img src="spacer.gif" width="1" height="3" /></td> ! </tr> ! </table> ! <div align="center"> ! <p> <span class="maintitle">Krrios File Format Reference </span></p> ! </div> ! <table width="740" border="0" align="center" cellpadding="2" cellspacing="0" class="text"> ! <tr> ! <td width="125" valign="top"><table width="125" border="0" cellspacing="0"> ! <tr> ! <td><a href="colors.html" title="Colors">Colors</a></td> ! </tr> ! <tr> ! <td><a href="index.html" title="Index">Index Files</a></td> ! </tr> ! <tr> ! <td><a href="animations.html" title="Animations">Anim.mul</a></td> ! </tr> ! <tr> ! <td><a href="animations.html" title="Animations">Anim.idx</a></td> ! </tr> ! <tr> ! <td><a href="animdata.html" title="Animdata">AnimData.mul</a></td> ! </tr> ! <tr> ! <td><a href="art.html" title="Art">Art.mul</a></td> ! </tr> ! <tr> ! <td><a href="art.html" title="Art">ArtIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="fonts.html" title="Fonts">Fonts.mul</a></td> ! </tr> ! <tr> ! <td><a href="gumps.html" title="Gumps">GumpArt.mul</a></td> ! </tr> ! <tr> ! <td><a href="gumps.html" title="Gumps">GumpIdx.mul</a></td> ! </tr> ! <tr> ! <td>Hues.mul</td> ! </tr> ! <tr> ! <td><a href="lights.html" title="Lights">Light.mul</a></td> ! </tr> ! <tr> ! <td><a href="lights.html" title="Lights">LightIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="maps.html" title="Maps">Map<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="multimap.html" title="Multimap">MultiMap.rle</a></td> ! </tr> ! <tr> ! <td><a href="multis.html" title="Multis">Multi.mul</a></td> ! </tr> ! <tr> ! <td><a href="multis.html" title="Multis">Multi.idx</a></td> ! </tr> ! <tr> ! <td><a href="palette.html" title="Palette">Palette.mul</a></td> ! </tr> ! <tr> ! <td><a href="radarcol.html" title="Radarcol">RadarCol.mul</a></td> ! </tr> ! <tr> ! <td><a href="sjis2uni.html" title="Sjis2uni">SJIS2Uni.mul</a></td> ! </tr> ! <tr> ! <td><a href="skillgroups.html" title="Skillgroups">SkillGrp.mul</a></td> ! </tr> ! <tr> ! <td><a href="skills.html" title="Skills">Skills.mul</a></td> ! </tr> ! <tr> ! <td><a href="skills.html" title="Skills">Skills.idx</a></td> ! </tr> ! <tr> ! <td><a href="sounds.html" title="Sounds">Sound.mul</a></td> ! </tr> ! <tr> ! <td><a href="sounds.html" title="Sounds">SoundIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="speech.html" title="Speech">Speech.mul</a></td> ! </tr> ! <tr> ! <td><a href="statics.html" title="Statics">StaIdx<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="statics.html" title="Statics">Statics<n>.mul</a></td> ! </tr> ! <tr> ! <td><a href="textures.html" title="Textures">TexIdx.mul</a></td> ! </tr> ! <tr> ! <td><a href="textures.html" title="Textures">TexMaps.mul</a></td> ! </tr> ! <tr> ! <td><a href="tiledata.html" title="Tiledata">TileData.mul</a></td> ! </tr> ! <tr> ! <td><a href="unifont.html" title="Unifont">UniFont[n].mul</a></td> ! </tr> ! <tr> ! <td><a href="verdata.html" title="Verdata">VerData.mul</a></td> ! </tr> ! <tr> ! <td><a href="../index.html"> <br /> ! Back to Reference</a> </td> ! </tr> ! </table> </td> ! <td width="607" valign="top"><h2><a title="Light.mul, LightIdx.mul" class="sectiontitle">Lights</a></h2> ! <p><b>Data File: </b>Light.mul<br /> ! <b>Index File: </b>LightIdx.mul<br /> ! </p> ! You can compute the following values from the Extra field in the index file.<br /> ! <h4><font face="Courier New">Sizes:</font></h4> ! <font color="MediumBlue" face="Courier New">short</font> width = (<a title="This value is determined by the index."><font color="MediumBlue" face="Courier New">extra</font></a> & 0xFFFF);<br /> ! <font color="MediumBlue" face="Courier New">short</font> height = ((<a title="This value is determined by the index."><font color="MediumBlue" face="Courier New">extra</font></a> >> 16) & 0xFFFF);<br /> ! <p></p> ! <h4>Data:</h4> ! <font color="MediumBlue">sbyte</font>[width * height] additiveLightmap;<br /> ! <p></p> ! For each pixel (loaded top to bottom, left to right), add the lightmap value for each R, G, and B.<br /> ! As the value ranges from -31 to 31, you could easily apply a hue by using the color entry at Math.Abs( value ).<br /> ! <br /> ! <b>See Also:</b><br /> ! - <a href="index.html" title="Index">Index Files</a> ! <h2><br /> ! </h2></td> ! </tr> ! </table> ! <br /> ! </body> ! </html> Index: skillgroups.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/webroot/formats/skillgroups.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** skillgroups.html 2 Jul 2004 18:26:00 -0000 1.1 --- skillgroups.html 3 Jul 2004 11:05:46 -0000 1.2 *************** *** 1,12 **** ! <html> ! <head> ! <title> ! Ultima Online File Format Document : C# (C Sharp) ! </title> ! </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> ! <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><a href="lights.html" title="Lights"><img border="0" name="linkToFileFormatsFilelights" onMouseOver="document.linkToFileFormatsFilelights.src='images/lights_over.png'" onMouseOut="document.linkToFileFormatsFilelights.src='images/lights_regular.png'" src="images/lights_regular.png" width="80" height="20"></a><br><a href="maps.html" title="Maps"><img border="0" name="linkToFileFormatsFilemaps" onMouseOver="document.linkToFileFormatsFilemaps.src='images/maps_over.png'" onMouseOut="document.linkToFileFormatsFilemaps.src='images/maps_regular.png'" src="images/maps_regular.png" width="80" height="20"></a><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><a href="multis.html" title="Multis"><img border="0" name="linkToFileFormatsFilemultis" onMouseOver="document.linkToFileFormatsFilemultis.src='images/multis_over.png'" onMouseOut="document.linkToFileFormatsFilemultis.src='images/multis_regular.png'" src="images/multis_regular.png" width="80" height="20"></a><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="documen... [truncated message content] |
From: Richard M. <dr...@us...> - 2004-07-03 00:40:13
|
Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4953/wolfpack Modified Files: __init__.py Log Message: Error fix for getoption/setoption. Given Error: AttributeError: 'module' object has no attribute 'getoption' File 'Wolfpack/scripts/archery_butte.py',8 in '?' File 'Wolfpack/scripts/wolfpack/__init__.py',65 in '?' Index: __init__.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/__init__.py,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** __init__.py 2 Jul 2004 13:40:47 -0000 1.56 --- __init__.py 3 Jul 2004 00:39:59 -0000 1.57 *************** *** 63,66 **** tickcount = _wolfpack.tickcount packet = _wolfpack.packet ! getoption = _wolfpack.getoption ! setoption = _wolfpack.setoption --- 63,66 ---- tickcount = _wolfpack.tickcount packet = _wolfpack.packet ! #getoption = _wolfpack.getoption ! #setoption = _wolfpack.setoption |
From: Thiago A C. <thi...@us...> - 2004-07-02 21:01:29
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30951 Modified Files: global.cpp Log Message: Compile fix Index: global.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/global.cpp,v retrieving revision 1.137 retrieving revision 1.138 diff -C2 -d -r1.137 -r1.138 *** global.cpp 2 Jul 2004 13:35:36 -0000 1.137 --- global.cpp 2 Jul 2004 21:01:19 -0000 1.138 *************** *** 1822,1826 **** \description This function generates a list of all account names and returns it. */ ! satic PyObject* wpAccountsList( PyObject* self, PyObject* args ) { Q_UNUSED( self ); --- 1822,1826 ---- \description This function generates a list of all account names and returns it. */ ! static PyObject* wpAccountsList( PyObject* self, PyObject* args ) { Q_UNUSED( self ); *************** *** 2354,2360 **** PyObject_SetAttrString( wpNamespace, "settings", mSettings ); - PyObject* mOptions = Py_InitModule( "_wolfpack.options", wpOptions ); - PyObject_SetAttrString( wpNamespace, "options", mOptions ); - PyObject* mDatabase = Py_InitModule( "_wolfpack.database", wpDatabase ); PyObject_SetAttrString( wpNamespace, "database", mDatabase ); --- 2354,2357 ---- |
From: Sebastian H. <dar...@us...> - 2004-07-02 18:30:58
|
Update of /cvsroot/wpdev/xmlscripts/documentation/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3444/templates Modified Files: index.html Log Message: Added download link. Index: index.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/templates/index.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.html 2 Jul 2004 18:26:22 -0000 1.5 --- index.html 2 Jul 2004 18:30:47 -0000 1.6 *************** *** 67,72 **** <span class="sectiontitle">MISCELLANEOUS</span><br /> <a href="FAQ.html">FAQ</a><br> ! <a href="http://doc.wpdev.org/ChangeLog.wolfpack">Changelog</a> <img src="../webroot/external_link.gif" alt="External Link" width="11" height="12" border="0" align="bottom"><br> ! <a href="http://doc.wpdev.org/formats/csharp/">File Formats</a> <img src="../webroot/external_link.gif" alt="External Link" width="11" height="12" border="0" align="bottom"></td> </tr> </table> --- 67,73 ---- <span class="sectiontitle">MISCELLANEOUS</span><br /> <a href="FAQ.html">FAQ</a><br> ! <a href="http://doc.wpdev.org/ChangeLog.wolfpack">Changelog</a> <img src="external_link.gif" alt="External Link" width="11" height="12" border="0" align="bottom"><br> ! <a href="http://doc.wpdev.org/formats/">File Formats</a> <img src="external_link.gif" alt="External Link" width="11" height="12" border="0" align="bottom"><br> ! <a href="http://doc.wpdev.org/wolfpack-{SHORTVERSION}-doc.zip">Download Documentation</a> <img src="external_link.gif" alt="External Link" width="11" height="12" border="0" align="bottom"></td> </tr> </table> |
From: Sebastian H. <dar...@us...> - 2004-07-02 18:30:58
|
Update of /cvsroot/wpdev/xmlscripts/documentation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3444 Modified Files: generate_html.py Log Message: Added download link. Index: generate_html.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/generate_html.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** generate_html.py 2 Jul 2004 13:29:00 -0000 1.8 --- generate_html.py 2 Jul 2004 18:30:47 -0000 1.9 *************** *** 632,635 **** --- 632,636 ---- text = text.replace('{GENERATED}', generated) text = text.replace('{VERSION}', version) + text = text.replace('{SHORTVERSION}', str(getVersionNumber())) text = text.replace('{COMMANDS}', str(len(commands))) text = text.replace('{OBJECTS}', str(len(objects))) |
From: Sebastian H. <dar...@us...> - 2004-07-02 18:26:32
|
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2474/webroot Modified Files: style.css Added Files: external_link.gif Log Message: template changes --- NEW FILE: external_link.gif --- (This appears to be a binary file; contents omitted.) Index: style.css =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/webroot/style.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** style.css 29 Jun 2004 14:46:17 -0000 1.1 --- style.css 2 Jul 2004 18:26:23 -0000 1.2 *************** *** 37,55 **** } ! a:link { color: #0000FF; text-decoration: none; } - a:visited { - text-decoration: none; - color: #0000FF; - } - a:hover { ! text-decoration: underline; ! } ! ! a:active { ! text-decoration: none; } --- 37,46 ---- } ! a { color: #0000FF; text-decoration: none; } a:hover { ! color: #FF0000; } |
From: Sebastian H. <dar...@us...> - 2004-07-02 18:26:32
|
Update of /cvsroot/wpdev/xmlscripts/documentation/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2474/templates Modified Files: index.html Log Message: template changes Index: index.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/documentation/templates/index.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.html 29 Jun 2004 15:19:49 -0000 1.4 --- index.html 2 Jul 2004 18:26:22 -0000 1.5 *************** *** 17,39 **** </style> <link href="style.css" rel="stylesheet" type="text/css"> ! <style type="text/css"> ! <!-- ! a:link { ! color: #0000FF; ! text-decoration: none; ! } ! a:visited { ! text-decoration: none; ! color: #0000FF; ! } ! a:hover { ! text-decoration: underline; ! } ! a:active { ! text-decoration: none; ! } ! --> ! </style></head> ! <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> --- 17,21 ---- </style> <link href="style.css" rel="stylesheet" type="text/css"> ! </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 82,90 **** <a href="#">Read more...</a> </td> ! <td width="33%" class="text"> ! <span class="sectiontitle">FAQ</span><br /> ! A list of frequently asked questions can be found in this section.<br /> ! <a href="FAQ.html">Read more...</a> ! </td> </tr> </table> --- 64,72 ---- <a href="#">Read more...</a> </td> ! <td width="33%" class="text"> ! <span class="sectiontitle">MISCELLANEOUS</span><br /> ! <a href="FAQ.html">FAQ</a><br> ! <a href="http://doc.wpdev.org/ChangeLog.wolfpack">Changelog</a> <img src="../webroot/external_link.gif" alt="External Link" width="11" height="12" border="0" align="bottom"><br> ! <a href="http://doc.wpdev.org/formats/csharp/">File Formats</a> <img src="../webroot/external_link.gif" alt="External Link" width="11" height="12" border="0" align="bottom"></td> </tr> </table> |
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot/formats/vbasic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2352/webroot/formats/vbasic Removed Files: animations.html animdata.html art.html colors.html default.html fonts.html gumps.html index.html lights.html maps.html multimap.html multis.html palette.html radarcol.html sjis2uni.html skillgroups.html skills.html sounds.html speech.html statics.html textures.html tiledata.html unifont.html verdata.html Log Message: New documentation and a long overdue wolfpack.consts cleanup --- multis.html DELETED --- --- maps.html DELETED --- --- lights.html DELETED --- --- skillgroups.html DELETED --- --- gumps.html DELETED --- --- colors.html DELETED --- --- art.html DELETED --- --- statics.html DELETED --- --- sjis2uni.html DELETED --- --- textures.html DELETED --- --- radarcol.html DELETED --- --- index.html DELETED --- --- unifont.html DELETED --- --- animdata.html DELETED --- --- skills.html DELETED --- --- fonts.html DELETED --- --- animations.html DELETED --- --- verdata.html DELETED --- --- speech.html DELETED --- --- multimap.html DELETED --- --- palette.html DELETED --- --- default.html DELETED --- --- tiledata.html DELETED --- --- sounds.html DELETED --- |
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot/formats In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2352/webroot/formats Added Files: animations.html animdata.html art.html colors.html default.html fonts.html gumps.html index.html lights.html maps.html multimap.html multis.html palette.html radarcol.html sjis2uni.html skillgroups.html skills.html sounds.html speech.html statics.html textures.html tiledata.html unifont.html verdata.html Log Message: New documentation and a long overdue wolfpack.consts cleanup --- NEW FILE: multis.html --- <html> <head> <title> Ultima Online File Format Document : C# (C Sharp) </title> </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><a href="lights.html" title="Lights"><img border="0" name="linkToFileFormatsFilelights" onMouseOver="document.linkToFileFormatsFilelights.src='images/lights_over.png'" onMouseOut="document.linkToFileFormatsFilelights.src='images/lights_regular.png'" src="images/lights_regular.png" width="80" height="20"></a><br><a href="maps.html" title="Maps"><img border="0" name="linkToFileFormatsFilemaps" onMouseOver="document.linkToFileFormatsFilemaps.src='images/maps_over.png'" onMouseOut="document.linkToFileFormatsFilemaps.src='images/maps_regular.png'" src="images/maps_regular.png" width="80" height="20"></a><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><img border="0" src="images/multis_header.png" width="80" height="20"><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><a href="skillgroups.html" title="Skillgroups"><img border="0" name="linkToFileFormatsFileskillgroups" onMouseOver="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_over.png'" onMouseOut="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_regular.png'" src="images/skillgroups_regular.png" width="80" height="20"></a><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="Multi.mul, Multi.idx">Multis</a></h2><p><b>Data File: </b>Multi.mul<br><b>Index File: </b>Multi.idx<br></p><font face="Courier New"><p><h4>Data:</h4> <p>List Items[<a title="This value is determined by the index."><font color="MediumBlue">length</font></a> / 12]: <br> <font color="MediumBlue">short</font> ItemID;<br> <font color="MediumBlue">short</font> X;<br> <font color="MediumBlue">short</font> Y;<br> <font color="MediumBlue">short</font> Z;<br> <font color="MediumBlue">int</font> isVisible; <font color="DarkGreen">// 0=no, 1=yes</font><br></p></p></font>The center is at XYZ (0,0,0). The list needs to be sorted.<br><br><b>See Also:</b><br> - <a href="index.html" title="Index">Index Files</a><br></span><br><br> </body> </html> --- NEW FILE: maps.html --- <html> <head> <title> Ultima Online File Format Document : C# (C Sharp) </title> </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><a href="lights.html" title="Lights"><img border="0" name="linkToFileFormatsFilelights" onMouseOver="document.linkToFileFormatsFilelights.src='images/lights_over.png'" onMouseOut="document.linkToFileFormatsFilelights.src='images/lights_regular.png'" src="images/lights_regular.png" width="80" height="20"></a><br><img border="0" src="images/maps_header.png" width="80" height="20"><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><a href="multis.html" title="Multis"><img border="0" name="linkToFileFormatsFilemultis" onMouseOver="document.linkToFileFormatsFilemultis.src='images/multis_over.png'" onMouseOut="document.linkToFileFormatsFilemultis.src='images/multis_regular.png'" src="images/multis_regular.png" width="80" height="20"></a><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><a href="skillgroups.html" title="Skillgroups"><img border="0" name="linkToFileFormatsFileskillgroups" onMouseOver="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_over.png'" onMouseOut="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_regular.png'" src="images/skillgroups_regular.png" width="80" height="20"></a><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="Map<n>.mul">Maps</a></h2><p><b>Data File: </b>Map<n>.mul<br></p>This file has no indexer. Directly after one block ends, another begins.<br><font face="Courier New"><p><h4>Block:</h4> <font color="MediumBlue">int</font> header; <font color="DarkGreen">// Unknown</font><br><i>Cells...</i></p></font>Each block contains 64 cells, treated as an 8x8 matrix loaded left to right, top to bottom.<br><font face="Courier New"><p><h4>Cell:</h4> <font color="MediumBlue">short</font> TileID;<br><font color="MediumBlue">sbyte</font> Z;<br></p></font>You can seek to a certain block, by knowing the map height.<br>- For Map0.mul, the block width and height is 768x512.<br>- For Map2.mul, it's 288x200.<br><br>The algorithm used to find the block lookup is:<br><font face="Courier New">((XBlock * BlockHeight) + YBlock) * 196</font><br>From there, the offset to a certain cell is:<br><font face="Courier New">((CellY * 8) + CellX) * 3</font><br><br><b>See Also:</b><br> - <a href="statics.html" title="Statics">Statics</a><br> - <a href="radarcol.html" title="Radarcol">Radar Colors</a><br></span><br><br> </body> </html> --- NEW FILE: lights.html --- <html> <head> <title> Ultima Online File Format Document : C# (C Sharp) </title> </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><img border="0" src="images/lights_header.png" width="80" height="20"><br><a href="maps.html" title="Maps"><img border="0" name="linkToFileFormatsFilemaps" onMouseOver="document.linkToFileFormatsFilemaps.src='images/maps_over.png'" onMouseOut="document.linkToFileFormatsFilemaps.src='images/maps_regular.png'" src="images/maps_regular.png" width="80" height="20"></a><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><a href="multis.html" title="Multis"><img border="0" name="linkToFileFormatsFilemultis" onMouseOver="document.linkToFileFormatsFilemultis.src='images/multis_over.png'" onMouseOut="document.linkToFileFormatsFilemultis.src='images/multis_regular.png'" src="images/multis_regular.png" width="80" height="20"></a><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><a href="skillgroups.html" title="Skillgroups"><img border="0" name="linkToFileFormatsFileskillgroups" onMouseOver="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_over.png'" onMouseOut="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_regular.png'" src="images/skillgroups_regular.png" width="80" height="20"></a><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="Light.mul, LightIdx.mul">Lights</a></h2><p><b>Data File: </b>Light.mul<br><b>Index File: </b>LightIdx.mul<br></p>You can compute the following values from the Extra field in the index file.<br><font face="Courier New"><p><h4>Sizes:</h4> <font color="MediumBlue">short</font> width = (<a title="This value is determined by the index."><font color="MediumBlue">extra</font></a> & 0xFFFF);<br><font color="MediumBlue">short</font> height = ((<a title="This value is determined by the index."><font color="MediumBlue">extra</font></a> >> 16) & 0xFFFF);<br></p></font><font face="Courier New"><p><h4>Data:</h4> <font color="MediumBlue">sbyte</font>[width * height] additiveLightmap;<br></p></font>For each pixel (loaded top to bottom, left to right), add the lightmap value for each R, G, and B.<br>As the value ranges from -31 to 31, you could easily apply a hue by using the color entry at Math.Abs( value ).<br><br><b>See Also:</b><br> - <a href="index.html" title="Index">Index Files</a><br></span><br><br> </body> </html> --- NEW FILE: skillgroups.html --- <html> <head> <title> Ultima Online File Format Document : C# (C Sharp) </title> </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><a href="gumps.html" title="Gumps"><img border="0" name="linkToFileFormatsFilegumps" onMouseOver="document.linkToFileFormatsFilegumps.src='images/gumps_over.png'" onMouseOut="document.linkToFileFormatsFilegumps.src='images/gumps_regular.png'" src="images/gumps_regular.png" width="80" height="20"></a><br><a href="lights.html" title="Lights"><img border="0" name="linkToFileFormatsFilelights" onMouseOver="document.linkToFileFormatsFilelights.src='images/lights_over.png'" onMouseOut="document.linkToFileFormatsFilelights.src='images/lights_regular.png'" src="images/lights_regular.png" width="80" height="20"></a><br><a href="maps.html" title="Maps"><img border="0" name="linkToFileFormatsFilemaps" onMouseOver="document.linkToFileFormatsFilemaps.src='images/maps_over.png'" onMouseOut="document.linkToFileFormatsFilemaps.src='images/maps_regular.png'" src="images/maps_regular.png" width="80" height="20"></a><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><a href="multis.html" title="Multis"><img border="0" name="linkToFileFormatsFilemultis" onMouseOver="document.linkToFileFormatsFilemultis.src='images/multis_over.png'" onMouseOut="document.linkToFileFormatsFilemultis.src='images/multis_regular.png'" src="images/multis_regular.png" width="80" height="20"></a><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><img border="0" src="images/skillgroups_header.png" width="80" height="20"><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="SkillGrp.mul">Skill Groups</a></h2><p><b>Data File: </b>SkillGrp.mul<br></p><font face="Courier New"><p><h4>Data:</h4> <font color="MediumBlue">int</font> groupCount;<br><p>List Groups[groupCount]: <br> <font color="MediumBlue">char</font>[17] groupName;<br></p><font color="MediumBlue">int</font>[?] table; <font color="DarkGreen">// Contains which group a skill is in.</font><br></p></font>The table array extends to the end of the file.<br>To determine which group a skill is in, simply use table[SkillID].<br><br><b>See Also:</b><br> - <a href="skills.html" title="Skills">Skills</a><br></span><br><br> </body> </html> --- NEW FILE: gumps.html --- <html> <head> <title> Ultima Online File Format Document : C# (C Sharp) </title> </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_over.png'" onMouseOut="document.linkToFileFormatsLangcsharpMain.src='images/main_x80_regular.png'" src="images/main_x80_regular.png" width="80" height="20"></a><br><a href="index.html" title="Index"><img border="0" name="linkToFileFormatsFileindex" onMouseOver="document.linkToFileFormatsFileindex.src='images/index_over.png'" onMouseOut="document.linkToFileFormatsFileindex.src='images/index_regular.png'" src="images/index_regular.png" width="80" height="20"></a><br><a href="colors.html" title="Colors"><img border="0" name="linkToFileFormatsFilecolors" onMouseOver="document.linkToFileFormatsFilecolors.src='images/colors_over.png'" onMouseOut="document.linkToFileFormatsFilecolors.src='images/colors_regular.png'" src="images/colors_regular.png" width="80" height="20"></a><br><a href="animations.html" title="Animations"><img border="0" name="linkToFileFormatsFileanimations" onMouseOver="document.linkToFileFormatsFileanimations.src='images/animations_over.png'" onMouseOut="document.linkToFileFormatsFileanimations.src='images/animations_regular.png'" src="images/animations_regular.png" width="80" height="20"></a><br><a href="animdata.html" title="Animdata"><img border="0" name="linkToFileFormatsFileanimdata" onMouseOver="document.linkToFileFormatsFileanimdata.src='images/animdata_over.png'" onMouseOut="document.linkToFileFormatsFileanimdata.src='images/animdata_regular.png'" src="images/animdata_regular.png" width="80" height="20"></a><br><a href="art.html" title="Art"><img border="0" name="linkToFileFormatsFileart" onMouseOver="document.linkToFileFormatsFileart.src='images/art_over.png'" onMouseOut="document.linkToFileFormatsFileart.src='images/art_regular.png'" src="images/art_regular.png" width="80" height="20"></a><br><a href="fonts.html" title="Fonts"><img border="0" name="linkToFileFormatsFilefonts" onMouseOver="document.linkToFileFormatsFilefonts.src='images/fonts_over.png'" onMouseOut="document.linkToFileFormatsFilefonts.src='images/fonts_regular.png'" src="images/fonts_regular.png" width="80" height="20"></a><br><img border="0" src="images/gumps_header.png" width="80" height="20"><br><a href="lights.html" title="Lights"><img border="0" name="linkToFileFormatsFilelights" onMouseOver="document.linkToFileFormatsFilelights.src='images/lights_over.png'" onMouseOut="document.linkToFileFormatsFilelights.src='images/lights_regular.png'" src="images/lights_regular.png" width="80" height="20"></a><br><a href="maps.html" title="Maps"><img border="0" name="linkToFileFormatsFilemaps" onMouseOver="document.linkToFileFormatsFilemaps.src='images/maps_over.png'" onMouseOut="document.linkToFileFormatsFilemaps.src='images/maps_regular.png'" src="images/maps_regular.png" width="80" height="20"></a><br><a href="multimap.html" title="Multimap"><img border="0" name="linkToFileFormatsFilemultimap" onMouseOver="document.linkToFileFormatsFilemultimap.src='images/multimap_over.png'" onMouseOut="document.linkToFileFormatsFilemultimap.src='images/multimap_regular.png'" src="images/multimap_regular.png" width="80" height="20"></a><br><a href="multis.html" title="Multis"><img border="0" name="linkToFileFormatsFilemultis" onMouseOver="document.linkToFileFormatsFilemultis.src='images/multis_over.png'" onMouseOut="document.linkToFileFormatsFilemultis.src='images/multis_regular.png'" src="images/multis_regular.png" width="80" height="20"></a><br><a href="palette.html" title="Palette"><img border="0" name="linkToFileFormatsFilepalette" onMouseOver="document.linkToFileFormatsFilepalette.src='images/palette_over.png'" onMouseOut="document.linkToFileFormatsFilepalette.src='images/palette_regular.png'" src="images/palette_regular.png" width="80" height="20"></a><br><a href="radarcol.html" title="Radarcol"><img border="0" name="linkToFileFormatsFileradarcol" onMouseOver="document.linkToFileFormatsFileradarcol.src='images/radarcol_over.png'" onMouseOut="document.linkToFileFormatsFileradarcol.src='images/radarcol_regular.png'" src="images/radarcol_regular.png" width="80" height="20"></a><br><a href="sjis2uni.html" title="Sjis2uni"><img border="0" name="linkToFileFormatsFilesjis2uni" onMouseOver="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_over.png'" onMouseOut="document.linkToFileFormatsFilesjis2uni.src='images/sjis2uni_regular.png'" src="images/sjis2uni_regular.png" width="80" height="20"></a><br><a href="skillgroups.html" title="Skillgroups"><img border="0" name="linkToFileFormatsFileskillgroups" onMouseOver="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_over.png'" onMouseOut="document.linkToFileFormatsFileskillgroups.src='images/skillgroups_regular.png'" src="images/skillgroups_regular.png" width="80" height="20"></a><br><a href="skills.html" title="Skills"><img border="0" name="linkToFileFormatsFileskills" onMouseOver="document.linkToFileFormatsFileskills.src='images/skills_over.png'" onMouseOut="document.linkToFileFormatsFileskills.src='images/skills_regular.png'" src="images/skills_regular.png" width="80" height="20"></a><br><a href="sounds.html" title="Sounds"><img border="0" name="linkToFileFormatsFilesounds" onMouseOver="document.linkToFileFormatsFilesounds.src='images/sounds_over.png'" onMouseOut="document.linkToFileFormatsFilesounds.src='images/sounds_regular.png'" src="images/sounds_regular.png" width="80" height="20"></a><br><a href="speech.html" title="Speech"><img border="0" name="linkToFileFormatsFilespeech" onMouseOver="document.linkToFileFormatsFilespeech.src='images/speech_over.png'" onMouseOut="document.linkToFileFormatsFilespeech.src='images/speech_regular.png'" src="images/speech_regular.png" width="80" height="20"></a><br><a href="statics.html" title="Statics"><img border="0" name="linkToFileFormatsFilestatics" onMouseOver="document.linkToFileFormatsFilestatics.src='images/statics_over.png'" onMouseOut="document.linkToFileFormatsFilestatics.src='images/statics_regular.png'" src="images/statics_regular.png" width="80" height="20"></a><br><a href="textures.html" title="Textures"><img border="0" name="linkToFileFormatsFiletextures" onMouseOver="document.linkToFileFormatsFiletextures.src='images/textures_over.png'" onMouseOut="document.linkToFileFormatsFiletextures.src='images/textures_regular.png'" src="images/textures_regular.png" width="80" height="20"></a><br><a href="tiledata.html" title="Tiledata"><img border="0" name="linkToFileFormatsFiletiledata" onMouseOver="document.linkToFileFormatsFiletiledata.src='images/tiledata_over.png'" onMouseOut="document.linkToFileFormatsFiletiledata.src='images/tiledata_regular.png'" src="images/tiledata_regular.png" width="80" height="20"></a><br><a href="unifont.html" title="Unifont"><img border="0" name="linkToFileFormatsFileunifont" onMouseOver="document.linkToFileFormatsFileunifont.src='images/unifont_over.png'" onMouseOut="document.linkToFileFormatsFileunifont.src='images/unifont_regular.png'" src="images/unifont_regular.png" width="80" height="20"></a><br><a href="verdata.html" title="Verdata"><img border="0" name="linkToFileFormatsFileverdata" onMouseOver="document.linkToFileFormatsFileverdata.src='images/verdata_over.png'" onMouseOut="document.linkToFileFormatsFileverdata.src='images/verdata_regular.png'" src="images/verdata_regular.png" width="80" height="20"></a><br></span><span style="position:absolute;left:16;top:586;"><a href="../vbasic/default.html" title="Visual Basic .NET"><img border="0" name="linkTovbasic" onMouseOver="document.linkTovbasic.src='images/vbasic_over.png'" onMouseOut="document.linkTovbasic.src='images/vbasic_regular.png'" src="images/vbasic_regular.png" width="90" height="20"></a><br><a href="../vbasic6/default.html" title="Visual Basic 6"><img border="0" name="linkTovbasic6" onMouseOver="document.linkTovbasic6.src='images/vbasic6_over.png'" onMouseOut="document.linkTovbasic6.src='images/vbasic6_regular.png'" src="images/vbasic6_regular.png" width="90" height="20"></a><br></span><span style="position:absolute;left:6;top:626;"><a href="http://www.uoxdev.com/phpBB/viewforum.php?forum=11" title="Discuss ModifyUO"><img border="0" name="linkToForums" onMouseOver="document.linkToForums.src='images/forums_over.png'" onMouseOut="document.linkToForums.src='images/forums_regular.png'" src="images/forums_regular.png" width="100" height="20"></a><br><a href="mailto:kr...@uo..." title="E-Mail Krrios"><img border="0" name="linkToContact" onMouseOver="document.linkToContact.src='images/contact_over.png'" onMouseOut="document.linkToContact.src='images/contact_regular.png'" src="images/contact_regular.png" width="100" height="20"></a></span><span style="position:absolute;left:112;top:5;"><h2><a title="GumpArt.mul, GumpIdx.mul">Gumps</a></h2><p><b>Data File: </b>GumpArt.mul<br><b>Index File: </b>GumpIdx.mul<br></p>You can compute the following values from the Extra field in the index file.<br><font face="Courier New"><p><h4>Sizes:</h4> <font color="MediumBlue">short</font> width = ((<a title="This value is determined by the index."><font color="MediumBlue">extra</font></a> >> 16) & 0xFFFF);<br><font color="MediumBlue">short</font> height = (<a title="This value is determined by the index."><font color="MediumBlue">extra</font></a> & 0xFFFF);<br></p></font><font face="Courier New"><p><h4>Data:</h4> <font color="MediumBlue">int</font>[height] lookupTable;<br><i>RLE Data...</i></p></font>RLE stands for "run-length encoding", it is a simple form of image compression.<br>This implementation of the RLE compression is treated as 32-bit values, broken up into two 16-bit values<br><font face="Courier New"><p><h4><a title="32-bits">RLE Packet</a>:</h4> <table border="1"> <tr> <td>1F</td><td>1E</td><td>1D</td><td>1C</td><td>1B</td><td>1A</td><td>19</td><td>18</td><td>17</td><td>16</td><td>15</td><td>14</td><td>13</td><td>12</td><td>11</td><td>10</td><td>0F</td><td>0E</td><td>0D</td><td>0C</td><td>0B</td><td>0A</td><td>09</td><td>08</td><td>07</td><td>06</td><td>05</td><td>04</td><td>03</td><td>02</td><td>01</td><td>00</td> </tr><tr> <td colspan="16"><a title="Bitmask: 0xFFFF0000">Run</a></td><td colspan="16"><a title="Bitmask: 0xFFFF">Color</a></td> </tr> </table></p></font>The Color field indicates which color should be repeated. The Run field represents the length of pixels:<br><br><font face="Courier New">for ( int i = 0; i < Run; i++ )</font><br><font face="Courier New">{</font><br><font face="Courier New"> SetPixel( x + i, y, Color );</font><br><font face="Courier New">}</font><br><font face="Courier New">x += Run;</font><br><br><b>See Also:</b><br> - <a href="colors.html" title="Colors">UO Color Format</a><br> - <a href="index.html" title="Index">Index Files</a><br></span><br><br> </body> </html> --- NEW FILE: colors.html --- <html> <head> <title> Ultima Online File Format Document : C# (C Sharp) </title> </head><body bgcolor="#C8C8C8" text="black" link="black" vlink="black" alink="#404040"> <span style="position:absolute;left:5;top:5;"><img border="0" src="images/background_x33.gif" width="102" height="662"></span><span style="position:absolute;left:6;top:6;"><a href="../../index.html" title="ModifyUO"><img border="0" name="linkToModifyUO" onMouseOver="document.linkToModifyUO.src='images/modifyuo_over.png'" onMouseOut="document.linkToModifyUO.src='images/modifyuo_regular.png'" src="images/modifyuo_regular.png" width="100" height="20"></a><br><a href="../../mapeditor.html" title="ModifyUO's Map Editor"><img border="0" name="linkToMapEditor" onMouseOver="document.linkToMapEditor.src='images/mapeditor_over.png'" onMouseOut="document.linkToMapEditor.src='images/mapeditor_regular.png'" src="images/mapeditor_regular.png" width="100" height="20"></a><br><img border="0" src="images/fileformats_header.png" width="100" height="20"><br><img border="0" src="images/indent_x28.gif" width="10" height="560"><br></span><span style="position:absolute;left:16;top:66;"><a href="../index.html" title="File Format Documentation"><img border="0" name="linkToFileFormatsMain" onMouseOver="document.linkToFileFormatsMain.src='images/main_over.png'" onMouseOut="document.linkToFileFormatsMain.src='images/main_regular.png'" src="images/main_regular.png" width="90" height="20"><br></a><img border="0" src="images/csharp_header.png" width="90" height="20"><br><img border="0" src="images/indent_x24.gif" width="10" height="480"></span><span style="position:absolute;left:26;top:106;"><a href="default.html" title="C# (C Sharp)"><img border="0" name="linkToFileFormatsLangcsharpMain" onMouseOver="document.linkToFileFormatsLangcsharpMain.src='images/main_x8... [truncated message content] |
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot/formats/vbasic6 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2352/webroot/formats/vbasic6 Removed Files: animations.html animdata.html art.html colors.html default.html fonts.html gumps.html index.html lights.html maps.html multimap.html multis.html palette.html radarcol.html sjis2uni.html skillgroups.html skills.html sounds.html speech.html statics.html textures.html tiledata.html unifont.html verdata.html Log Message: New documentation and a long overdue wolfpack.consts cleanup --- multis.html DELETED --- --- maps.html DELETED --- --- lights.html DELETED --- --- skillgroups.html DELETED --- --- gumps.html DELETED --- --- colors.html DELETED --- --- art.html DELETED --- --- statics.html DELETED --- --- sjis2uni.html DELETED --- --- textures.html DELETED --- --- radarcol.html DELETED --- --- index.html DELETED --- --- unifont.html DELETED --- --- animdata.html DELETED --- --- skills.html DELETED --- --- fonts.html DELETED --- --- animations.html DELETED --- --- verdata.html DELETED --- --- speech.html DELETED --- --- multimap.html DELETED --- --- palette.html DELETED --- --- default.html DELETED --- --- tiledata.html DELETED --- --- sounds.html DELETED --- |
Update of /cvsroot/wpdev/xmlscripts/documentation/webroot/formats/csharp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2352/webroot/formats/csharp Removed Files: animations.html animdata.html art.html colors.html default.html fonts.html gumps.html index.html lights.html maps.html multimap.html multis.html palette.html radarcol.html sjis2uni.html skillgroups.html skills.html sounds.html speech.html statics.html textures.html tiledata.html unifont.html verdata.html Log Message: New documentation and a long overdue wolfpack.consts cleanup --- multis.html DELETED --- --- maps.html DELETED --- --- lights.html DELETED --- --- skillgroups.html DELETED --- --- gumps.html DELETED --- --- colors.html DELETED --- --- art.html DELETED --- --- statics.html DELETED --- --- sjis2uni.html DELETED --- --- textures.html DELETED --- --- radarcol.html DELETED --- --- index.html DELETED --- --- unifont.html DELETED --- --- animdata.html DELETED --- --- skills.html DELETED --- --- fonts.html DELETED --- --- animations.html DELETED --- --- verdata.html DELETED --- --- speech.html DELETED --- --- multimap.html DELETED --- --- palette.html DELETED --- --- default.html DELETED --- --- tiledata.html DELETED --- --- sounds.html DELETED --- |
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:57
|
Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477/wolfpack Modified Files: __init__.py accounts.py consts.py database.py settings.py sockets.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: sockets.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/sockets.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sockets.py 26 May 2004 13:07:27 -0000 1.3 --- sockets.py 2 Jul 2004 13:40:47 -0000 1.4 *************** *** 13,22 **** import _wolfpack.sockets ! def first(): ! return _wolfpack.sockets.first() ! ! def next(): ! return _wolfpack.sockets.next() ! ! def count(): ! return _wolfpack.sockets.count() --- 13,17 ---- import _wolfpack.sockets ! first = _wolfpack.sockets.first ! next = _wolfpack.sockets.next ! count = _wolfpack.sockets.count Index: consts.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/consts.py,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** consts.py 29 Jun 2004 11:36:12 -0000 1.70 --- consts.py 2 Jul 2004 13:40:47 -0000 1.71 *************** *** 120,124 **** MINING_ORE = [10, 34] ! # Skill Constants ALCHEMY = 0 ANATOMY = 1 --- 120,127 ---- MINING_ORE = [10, 34] ! """ ! \constants wolfpack.consts Skill Constants ! These constants are shortcuts for the ids of every skill. ! """ ALCHEMY = 0 ANATOMY = 1 *************** *** 173,180 **** FOCUS = 50 CHIVALRY = 51 - ALLSKILLS = 52 # skills + 1 ! skillnames = [ 'alchemy', 'anatomy', 'animallore', 'itemid', 'armslore', 'parrying', 'begging', 'blacksmithing', 'bowcraft', 'peacemaking', 'camping', 'carpentry', 'cartography', 'cooking', 'detectinghidden', 'enticement', 'evaluatingintel', --- 176,185 ---- FOCUS = 50 CHIVALRY = 51 ALLSKILLS = 52 # skills + 1 + """ + \end + """ ! SKILLNAMES = [ 'alchemy', 'anatomy', 'animallore', 'itemid', 'armslore', 'parrying', 'begging', 'blacksmithing', 'bowcraft', 'peacemaking', 'camping', 'carpentry', 'cartography', 'cooking', 'detectinghidden', 'enticement', 'evaluatingintel', *************** *** 186,191 **** 'stealth', 'removetraps', 'necromancy', 'focus', 'chivalry' ] ! skillnamesids = \ ! { 'alchemy' : ALCHEMY, 'anatomy' : ANATOMY, --- 191,195 ---- 'stealth', 'removetraps', 'necromancy', 'focus', 'chivalry' ] ! skillnamesids = { 'alchemy' : ALCHEMY, 'anatomy' : ANATOMY, *************** *** 242,291 **** } ! statnames = [ 'str', 'int', 'dex' ] ! ! #Stats ! MANA = 0 ! STAMINA = 1 ! HEALTH = 2 ! DEXTERITY = 3 ! INTELLIGENCE = 4 ! STRENGTH = 5 ! ! #Requirements ! MANACOST = 0 ! REAGENTCONST = 1 ! GLB_REQUIREMENT = 2 ! ! #Damage by ! SPELL = 0 ! COLD = 1 ! DISPEL = 2 ! ENERGY = 3 ! FIRE = 4 ! HITCHANCE = 5 ! LOWERATTACK = 6 ! LOWERDEFENCE = 7 ! #... here we need to add every spell also ! ! #Enhancements ! GOLD = 0 #Gold increase ! SWINGSPEED = 1 #Swing speed increase ! POTIONS = 2 #Enhance potions ! SELFREPAIR = 3 #Self repair ! DEFENCECHANCE = 4 #Defence chance ! CASTSPEED = 5 #Faster casting ! CASTRECOVERY = 6 #Faster cast recovery ! ! #Advanced properties ID's ! REGEN = 1 ! BONUS = 2 ! DAMAGE = 3 ! ENH = 4 ! HIT = 5 ! REQ = 6 ! RESIST = 7 ! REFLECT = 8 ! # Constants for char.sound SND_STARTATTACK = 0 SND_IDLE = 1 --- 246,257 ---- } ! STATNAMES = [ 'str', 'int', 'dex' ] ! """ ! \constants wolfpack.consts Character Sound Constants ! These constants can be used to let a character make ! a body dependant sound. See the sound method for the ! <object id="char">char</object> object. ! """ SND_STARTATTACK = 0 SND_IDLE = 1 *************** *** 293,298 **** SND_DEFEND = 3 SND_DIE = 4 ! # Layer LAYER_RIGHTHAND = 1 LAYER_LEFTHAND = 2 --- 259,271 ---- SND_DEFEND = 3 SND_DIE = 4 + """ + \end + """ ! """ ! \constants wolfpack.consts Layer Constants ! These constants provide fast access to equipment on certain ! layers of a character. See the itemonlayer method for <object id="char">char</object> objects. ! """ LAYER_RIGHTHAND = 1 LAYER_LEFTHAND = 2 *************** *** 326,329 **** --- 299,305 ---- LAYER_DRAGGING = 30 LAYER_TRADING = 31 + """ + \end + """ # Layer Names *************** *** 362,371 **** } ! # Several Hook Constants ! HOOK_OBJECT = 1 ! HOOK_ITEM = 2 ! HOOK_CHAR = 3 ! ! # Id's for Hooks (not all are hookable though) EVENT_USE = 0 EVENT_SINGLECLICK = 1 --- 338,347 ---- } ! """ ! \constants wolfpack.consts Event Constants ! These constants represent an event in a python script. These ! are used in the callevent, hasevent and registerglobal functions of the ! <module id="wolfpack">wolfpack</module> module. ! """ EVENT_USE = 0 EVENT_SINGLECLICK = 1 *************** *** 412,422 **** EVENT_CONTEXTCHECKENABLED = 42 EVENT_COUNT = 43 ! HOUSE = 0 ! BOAT = 1 ! CUSTOMHOUSE = 2 ! FALSE = 0 TRUE = 1 # Definitions for Magic (Casting Source) --- 388,404 ---- EVENT_CONTEXTCHECKENABLED = 42 EVENT_COUNT = 43 + """ + \end + """ ! """ ! \constants wolfpack.consts Boolean Constants ! Only two constants for true and false. ! """ FALSE = 0 TRUE = 1 + """ + \end + """ # Definitions for Magic (Casting Source) *************** *** 428,438 **** CAST_TARGET_GROUND = 0x04 # Other ! # Different Type of Damages DAMAGE_PHYSICAL = 0 DAMAGE_MAGICAL = 1 DAMAGE_GODLY = 2 DAMAGE_HUNGER = 3 # Some nice animation definitions ANIM_WALKUNARMED = 0x0 ANIM_WALKARMED = 0x1 --- 410,434 ---- CAST_TARGET_GROUND = 0x04 # Other ! """ ! \constants wolfpack.consts Damage Constants ! These constants specify a damage type for the ! damage method in the <object id="char">char</object> ! object. ! """ DAMAGE_PHYSICAL = 0 DAMAGE_MAGICAL = 1 DAMAGE_GODLY = 2 DAMAGE_HUNGER = 3 + """ + \end + """ # Some nice animation definitions + """ + \constants wolfpack.consts Animation Constants + These constants are animation ids for the + action method in the <object id="char">char</object> + object. + """ ANIM_WALKUNARMED = 0x0 ANIM_WALKARMED = 0x1 *************** *** 444,466 **** ANIM_ATTACKREADY1 = 0x7 ANIM_ATTACKREADY2 = 0x8 ! ANIM_ATTACK1=0x9 ! ANIM_ATTACK2=0xa ! ANIM_ATTACK3=0xb ! ANIM_ATTACK4=0xc ! ANIM_ATTACK5=0xd ! ANIM_ATTACK6=0xe ! ANIM_ATTACKWALK=0xf ! ANIM_CASTDIRECTED=0x10 ! ANIM_CASTAREA=0x11 ! ANIM_ATTACKBOW=0x12 ! ANIM_ATTACKXBOX=0x13 ! ANIM_TAKEHIT=0x14 ! ANIM_DIE1=0x15 ! ANIM_DIE2=0x16 ! ANIM_TURN=0x1e ! ANIM_ATTACK7=0x1f ! ANIM_BOW=0x20 ! ANIM_SALUTE=0x21 ! ANIM_FIDGET3=0x22 # Definitions for the Sextant --- 440,465 ---- ANIM_ATTACKREADY1 = 0x7 ANIM_ATTACKREADY2 = 0x8 ! ANIM_ATTACK1 = 0x9 ! ANIM_ATTACK2 = 0xa ! ANIM_ATTACK3 = 0xb ! ANIM_ATTACK4 = 0xc ! ANIM_ATTACK5 = 0xd ! ANIM_ATTACK6 = 0xe ! ANIM_ATTACKWALK = 0xf ! ANIM_CASTDIRECTED = 0x10 ! ANIM_CASTAREA = 0x11 ! ANIM_ATTACKBOW = 0x12 ! ANIM_ATTACKXBOX = 0x13 ! ANIM_TAKEHIT = 0x14 ! ANIM_DIE1 = 0x15 ! ANIM_DIE2 = 0x16 ! ANIM_TURN = 0x1e ! ANIM_ATTACK7 = 0x1f ! ANIM_BOW = 0x20 ! ANIM_SALUTE = 0x21 ! ANIM_FIDGET3 = 0x22 ! """ ! \end ! """ # Definitions for the Sextant *************** *** 470,474 **** SEXTANT_MAP_WIDTH = 4096 ! # LogLevels LOG_MESSAGE = 0 LOG_ERROR = 1 --- 469,477 ---- SEXTANT_MAP_WIDTH = 4096 ! """ ! \constants wolfpack.consts Log Constants ! These constants represent a loglevel for the console ! and the logfile. ! """ LOG_MESSAGE = 0 LOG_ERROR = 1 *************** *** 478,481 **** --- 481,487 ---- LOG_TRACE = 5 LOG_DEBUG = 6 + """ + \end + """ # Colors *************** *** 494,516 **** NORMAL = 3 - # Results - OK = 1 - OOPS = 0 - - #SKILLS GROW LOCKS - GROWUP = 0 - GROWDOWN = 1 - GROWLOCK = 2 - #Stat gain delay = 15 minutes ( 900 seconds ) STATGAINDELAY = 900 ! # Constants for wolfpack.queueaction ! RELOAD_SCRIPTS = 0 ! RELOAD_PYTHON = 1 ! RELOAD_ACCOUNTS = 2 ! RELOAD_CONFIGURATION = 3 ! SAVE_WORLD = 4 ! SAVE_ACCOUNTS = 5 #5 minutes --- 500,520 ---- NORMAL = 3 #Stat gain delay = 15 minutes ( 900 seconds ) STATGAINDELAY = 900 ! """ ! \constants wolfpack.consts Action Constants ! These constants can be used to queue an action to be executed in the next mainloop iteration. ! See the queueaction function in the <module id="wolfpack">wolfpack</module> module. ! """ ! RELOAD_SCRIPTS = 0 # Reload definitions and python scripts. ! RELOAD_PYTHON = 1 # Reload python scripts. ! RELOAD_ACCOUNTS = 2 # Reload accounts. ! RELOAD_CONFIGURATION = 3 # Reload all of the above. ! SAVE_WORLD = 4 # Save the world. ! SAVE_ACCOUNTS = 5 # Save the accounts. ! """ ! \end ! """ #5 minutes *************** *** 522,526 **** # # Notes: 0x4d4 appears to be the final sound ID ! SOUND_JUNGLE_BIRDS_1 = 0x0 SOUND_JUNGLE_BIRDS_2 = 0x1 --- 526,533 ---- # # Notes: 0x4d4 appears to be the final sound ID ! """ ! \constants wolfpack.consts Sound Constants ! This list of constants describes some commonly used sounds. ! """ SOUND_JUNGLE_BIRDS_1 = 0x0 SOUND_JUNGLE_BIRDS_2 = 0x1 *************** *** 620,624 **** --- 627,639 ---- SOUND_TAMBER_01 = 0x4b6 # Short tune SOUND_TAMBER_02 = 0x4b7 # Longer Tune, Battle? + """ + \end + """ + """ + \constants wolfpack.consts Human Male Sounds + Some handy male sound constants. + Use the sound method of the <object id="char">char</object> object to play them. + """ SOUND_MALE_01 = 0x419 # Ah! SOUND_MALE_02 = 0x41a # Aha! *************** *** 671,675 **** --- 686,698 ---- SOUND_MALE_49 = 0x449 # Yeah! SOUND_MALE_50 = 0x44a # Hoaghhh! + """ + \end + """ + """ + \constants wolfpack.consts Human Female Sounds + Some handy female sound constants. + Use the sound method of the <object id="char">char</object> object to play them. + """ SOUND_FEMALE_01 = 0x30a # Ooooh! SOUND_FEMALE_02 = 0x30b # Aha! *************** *** 718,723 **** SOUND_FEMALE_45 = 0x337 # Yeah! SOUND_FEMALE_46 = 0x338 # Really frustrated ! # Definiton Types WPDT_ITEM = 0 WPDT_SCRIPT = 1 --- 741,753 ---- SOUND_FEMALE_45 = 0x337 # Yeah! SOUND_FEMALE_46 = 0x338 # Really frustrated + """ + \end + """ ! """ ! \constants wolfpack.consts Definition Constants ! These constants represent the definition section types as used in ! getdefinition in the <module id="wolfpack">wolfpack</module> module. ! """ WPDT_ITEM = 0 WPDT_SCRIPT = 1 *************** *** 743,744 **** --- 773,777 ---- WPDT_CONTEXTMENU = 21 WPDT_AI = 22 + """ + \end + """ Index: database.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/database.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** database.py 14 Jun 2004 17:59:17 -0000 1.3 --- database.py 2 Jul 2004 13:40:47 -0000 1.4 *************** *** 7,12 **** --- 7,19 ---- import _wolfpack.database + """ + \constants wolfpack.database Database Constants + These constants identify one of the databases. + """ ACCOUNTS = 1 WORLD = 2 + """ + \end + """ # Let's make sure these tables are in sync with the current database Index: accounts.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/accounts.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** accounts.py 12 Apr 2004 10:27:57 -0000 1.6 --- accounts.py 2 Jul 2004 13:40:47 -0000 1.7 *************** *** 7,65 **** import _wolfpack.accounts ! """ ! \function wolfpack.accounts.find ! \param name ! \return Account ! \description Finds an account by its account name. ! """ ! def find( name ): ! return _wolfpack.accounts.find( name ) ! ! """ ! \function wolfpack.accounts.list ! \return List of Accounts ! \description Returns a list of all accounts. ! """ ! def list(): ! return _wolfpack.accounts.list() ! ! """ ! \function wolfpack.accounts.acls ! \return List of ACLs ! \description Returns a list of all account access levels. ! """ ! def acls(): ! return _wolfpack.accounts.acls() ! ! """ ! \function wolfpack.accounts.acl ! \param name ! \return Boolean ! \description Returns true or false if the given ACL name exists. ! """ ! def acl( name ): ! return _wolfpack.accounts.acl( name ) ! ! """ ! \function wolfpack.accounts.add ! \param username ! \param password ! \return Boolean ! \description Creates an account with the given username and password. ! """ ! def add( username, password ): ! return _wolfpack.accounts.add( username, password ) ! ! """ ! \function wolfpack.accounts.save ! \description Saves the accounts. ! """ ! def save(): ! return _wolfpack.accounts.save() ! ! """ ! \function wolfpack.accounts.reload ! \description Reloads the accounts. ! """ ! def reload(): ! return _wolfpack.accounts.reload() --- 7,15 ---- import _wolfpack.accounts ! find = _wolfpack.accounts.find ! list = _wolfpack.accounts.list ! acls = _wolfpack.accounts.acls ! acl = _wolfpack.accounts.acl ! add = _wolfpack.accounts.add ! save = _wolfpack.accounts.save ! reload = _wolfpack.accounts.reload Index: settings.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/settings.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** settings.py 12 Apr 2004 10:27:57 -0000 1.6 --- settings.py 2 Jul 2004 13:40:47 -0000 1.7 *************** *** 14,93 **** import _wolfpack.settings - import _wolfpack - - """ - \function wolfpack.settings.getBool - \param section - \param key - \param default - \return Boolean - \description Returns the boolean value for the key in a given section. - """ - def getBool( section, key, default ): - return _wolfpack.settings.getBool() - - """ - \function wolfpack.settings.setBool - \param section - \param key - \param default - \description Sets a boolean value for the key in a given section. - """ - def setBool( section, key, value ): - return _wolfpack.settings.setBool( section, key, value ) - - """ - \function wolfpack.settings.getNumber - \param section - \param key - \param default - \return Number - \description Returns the number value for the key in a given section. - """ - def getNumber( section, key, default ): - return _wolfpack.settings.getNumber( section, key, default ) - - """ - \function wolfpack.settings.setNumber - \param section - \param key - \param default - \description Sets a number value for the key in a given section. - """ - def setNumber( section, key, value ): - return _wolfpack.settings.setNumber( section, key, value ) ! """ ! \function wolfpack.settings.getString ! \param section ! \param key ! \param default ! \return String ! \description Returns the string value for the key in a given section. ! """ ! def getString( section, key, default ): ! return _wolfpack.settings.getString( section, key, default ) ! ! """ ! \function wolfpack.settings.setString ! \param section ! \param key ! \param default ! \description Sets a string value for the key in a given section. ! """ ! def setString( section, key, value ): ! return _wolfpack.settings.setString( section, key, value ) ! ! """ ! \function wolfpack.settings.reload ! \description Reload the settings. ! """ ! def reload(): ! return _wolfpack.settings.reload() ! ! """ ! \function wolfpack.settings.save ! \description Saves the settings. ! """ ! def save(): ! return _wolfpack.settings.save() --- 14,24 ---- import _wolfpack.settings ! getbool = _wolfpack.settings.getbool ! setbool = _wolfpack.settings.setbool ! getnumber = _wolfpack.settings.getnumber ! setnumber = _wolfpack.settings.setnumber ! getstring = _wolfpack.settings.getstring ! setstring = _wolfpack.settings.setstring ! reload = _wolfpack.settings.reload ! save = _wolfpack.settings.save Index: __init__.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/__init__.py,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** __init__.py 29 Jun 2004 11:36:12 -0000 1.55 --- __init__.py 2 Jul 2004 13:40:47 -0000 1.56 *************** *** 63,64 **** --- 63,66 ---- tickcount = _wolfpack.tickcount packet = _wolfpack.packet + getoption = _wolfpack.getoption + setoption = _wolfpack.setoption |
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:56
|
Update of /cvsroot/wpdev/xmlscripts/scripts/system In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477/system Modified Files: makemenus.py trading.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: makemenus.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/makemenus.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** makemenus.py 18 May 2004 03:58:17 -0000 1.23 --- makemenus.py 2 Jul 2004 13:40:46 -0000 1.24 *************** *** 354,358 **** skillshtml = '' for (skill, values) in self.skills.items(): ! skillshtml += '%s: %.1f%%<br>' % (skillnames[skill].capitalize(), max(0, values[0] / 10.0)) return skillshtml --- 354,358 ---- skillshtml = '' for (skill, values) in self.skills.items(): ! skillshtml += '%s: %.1f%%<br>' % (SKILLNAMES[skill].capitalize(), max(0, values[0] / 10.0)) return skillshtml Index: trading.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/trading.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** trading.py 26 May 2004 13:07:26 -0000 1.3 --- trading.py 2 Jul 2004 13:40:46 -0000 1.4 *************** *** 21,25 **** closetrade( player, partner, box1, box2 ) ! return OK def onTradeAdd( player, item ): --- 21,25 ---- closetrade( player, partner, box1, box2 ) ! return True def onTradeAdd( player, item ): *************** *** 34,43 **** #Refuse trading with someone who dragging something ( tag ) ! return OK def onTradeRemove( player, item ): #not implemented yet in code ! return OK def onTradeStart( player1, player2, firstitem ): --- 34,43 ---- #Refuse trading with someone who dragging something ( tag ) ! return True def onTradeRemove( player, item ): #not implemented yet in code ! return True def onTradeStart( player1, player2, firstitem ): *************** *** 63,67 **** if not box1 or not box2: ! return OOPS #onLogout event should be executed for tradewindow disposing --- 63,67 ---- if not box1 or not box2: ! return False #onLogout event should be executed for tradewindow disposing *************** *** 94,98 **** firstitem.update() ! return OK def onTrade( player, type, buttonstate, itemserial ): --- 94,98 ---- firstitem.update() ! return True def onTrade( player, type, buttonstate, itemserial ): *************** *** 109,115 **** partner = wolfpack.findchar( player.gettag( 'partner' ) ) if not partner: ! return OOPS else: ! return OOPS #Get tradecontainers --- 109,115 ---- partner = wolfpack.findchar( player.gettag( 'partner' ) ) if not partner: ! return False else: ! return False #Get tradecontainers *************** *** 129,133 **** ! return OK def closetrade( player, partner, box1, box2 ): --- 129,133 ---- ! return True def closetrade( player, partner, box1, box2 ): *************** *** 150,154 **** box2.delete() ! return OK def pressbutton( player, partner, box1, box2 ): --- 150,154 ---- box2.delete() ! return True def pressbutton( player, partner, box1, box2 ): *************** *** 162,166 **** if player.distanceto( partner ) > 2: closetrade( player, partner, box1, box2 ) ! return OK if button1 == 1 and button2 == 1: --- 162,166 ---- if player.distanceto( partner ) > 2: closetrade( player, partner, box1, box2 ) ! return True if button1 == 1 and button2 == 1: *************** *** 171,175 **** closetrade( player, partner, box1, box2 ) ! return OK def sendtradepacket( socket, action, partnerserial, box1serial, box2serial, playername ): --- 171,175 ---- closetrade( player, partner, box1, box2 ) ! return True def sendtradepacket( socket, action, partnerserial, box1serial, box2serial, playername ): *************** *** 191,195 **** trade.send( socket ) ! return OK def sendclosetrade( socket, boxserial ): --- 191,195 ---- trade.send( socket ) ! return True def sendclosetrade( socket, boxserial ): *************** *** 202,204 **** trade.setint( 4, boxserial ) trade.send( socket ) ! return OK --- 202,204 ---- trade.setint( 4, boxserial ) trade.send( socket ) ! return True |
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:56
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477/commands Modified Files: cast.py skill.py skillinfo.py stat.py travel.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: skill.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/skill.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** skill.py 26 May 2004 13:07:21 -0000 1.2 --- skill.py 2 Jul 2004 13:40:45 -0000 1.3 *************** *** 34,58 **** socket.sysmessage( usage ) socket.sysmessage( example ) ! return OK else: socket.sysmessage( usage ) socket.sysmessage( example ) ! return OK # Uknown skill name ? if not skill in skillnamesids: socket.clilocmessage( 500156, "", YELLOW, NORMAL ) # Invalid skill ! return OK # Accept 0 >= value <= 1000 skill value only. 1200 maximum - with power scrolls only elif value < 0 or value > 1000: socket.clilocmessage( 1005632, "", YELLOW, NORMAL ) # Skill values range from 0 - 1000. ! return OK socket.clilocmessage( 503403, "", YELLOW, NORMAL ) # Select the body. socket.attachtarget( "commands.skill.callback", [ skill, value ] ) ! return OK def callback( char, args, target ): --- 34,58 ---- socket.sysmessage( usage ) socket.sysmessage( example ) ! return True else: socket.sysmessage( usage ) socket.sysmessage( example ) ! return True # Uknown skill name ? if not skill in skillnamesids: socket.clilocmessage( 500156, "", YELLOW, NORMAL ) # Invalid skill ! return True # Accept 0 >= value <= 1000 skill value only. 1200 maximum - with power scrolls only elif value < 0 or value > 1000: socket.clilocmessage( 1005632, "", YELLOW, NORMAL ) # Skill values range from 0 - 1000. ! return True socket.clilocmessage( 503403, "", YELLOW, NORMAL ) # Select the body. socket.attachtarget( "commands.skill.callback", [ skill, value ] ) ! return True def callback( char, args, target ): *************** *** 62,66 **** if not target.char: socket.clilocmessage( 500931, "", YELLOW, NORMAL ) # Invalid mobile ! return OK # Is target not your own char ? --- 62,66 ---- if not target.char: socket.clilocmessage( 500931, "", YELLOW, NORMAL ) # Invalid mobile ! return True # Is target not your own char ? *************** *** 68,77 **** if target.char.rank >= char.rank: socket.clilocmessage( 1005213, "", YELLOW, NORMAL ) # You can't do that ! return OK # check for rank #if target.char.rank >= char.rank and not char == target.char: # socket.sysmessage( "You are not very skilled, are you?" ) ! # return OK --- 68,77 ---- if target.char.rank >= char.rank: socket.clilocmessage( 1005213, "", YELLOW, NORMAL ) # You can't do that ! return True # check for rank #if target.char.rank >= char.rank and not char == target.char: # socket.sysmessage( "You are not very skilled, are you?" ) ! # return True *************** *** 80,84 **** target.char.skill[ skillnamesids[ skill.lower() ] ] = value ! return OK def onLoad(): --- 80,84 ---- target.char.skill[ skillnamesids[ skill.lower() ] ] = value ! return True def onLoad(): Index: travel.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/travel.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** travel.py 8 Apr 2004 19:04:50 -0000 1.1 --- travel.py 2 Jul 2004 13:40:45 -0000 1.2 *************** *** 21,25 **** char = socket.player sendGump( char, 0 ) ! return OK def onLoad(): --- 21,25 ---- char = socket.player sendGump( char, 0 ) ! return True def onLoad(): Index: stat.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/stat.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** stat.py 26 May 2004 13:07:21 -0000 1.2 --- stat.py 2 Jul 2004 13:40:45 -0000 1.3 *************** *** 35,60 **** socket.sysmessage( usage ) socket.sysmessage( example ) ! return OK else: socket.sysmessage( usage ) socket.sysmessage( example ) ! return OK # Uknown stat name ? ! if not stat in statnames: socket.clilocmessage( 3000380, "", YELLOW, NORMAL ) # I Accept ! socket.sysmessage( str( statnames ) ) ! return OK # Accept 10 >= value <= 125 only. elif value < 0 or value > 125: socket.clilocmessage( 1005628, "", YELLOW, NORMAL ) # Stats range between 10 and 125 ! return OK socket.clilocmessage( 503403, "", YELLOW, NORMAL ) # Select the body. socket.attachtarget( "commands.stat.callback", [ stat, value ] ) ! return OK def callback( char, args, target ): --- 35,60 ---- socket.sysmessage( usage ) socket.sysmessage( example ) ! return True else: socket.sysmessage( usage ) socket.sysmessage( example ) ! return True # Uknown stat name ? ! if not stat in STATNAMES: socket.clilocmessage( 3000380, "", YELLOW, NORMAL ) # I Accept ! socket.sysmessage( str( STATNAMES ) ) ! return True # Accept 10 >= value <= 125 only. elif value < 0 or value > 125: socket.clilocmessage( 1005628, "", YELLOW, NORMAL ) # Stats range between 10 and 125 ! return True socket.clilocmessage( 503403, "", YELLOW, NORMAL ) # Select the body. socket.attachtarget( "commands.stat.callback", [ stat, value ] ) ! return True def callback( char, args, target ): *************** *** 64,73 **** if not target.char: socket.clilocmessage( 500931, "", YELLOW, NORMAL ) # Invalid mobile ! return OK # Is target not your own char ? if not char == target.char: socket.clilocmessage( 1005213, "", YELLOW, NORMAL ) # You can't do that ! return OK ( stat, value ) = args --- 64,73 ---- if not target.char: socket.clilocmessage( 500931, "", YELLOW, NORMAL ) # Invalid mobile ! return True # Is target not your own char ? if not char == target.char: socket.clilocmessage( 1005213, "", YELLOW, NORMAL ) # You can't do that ! return True ( stat, value ) = args *************** *** 81,86 **** else: socket.clilocmessage( 3000380, "", YELLOW, NORMAL ) # I Accept ! socket.sysmessage( str( statnames ) ) ! return OK socket.clilocmessage( 1005630, "", YELLOW, NORMAL ) # Your stats have been adjusted. --- 81,86 ---- else: socket.clilocmessage( 3000380, "", YELLOW, NORMAL ) # I Accept ! socket.sysmessage( str( STATNAMES ) ) ! return True socket.clilocmessage( 1005630, "", YELLOW, NORMAL ) # Your stats have been adjusted. *************** *** 88,92 **** char.updatestats() ! return OK def onLoad(): --- 88,92 ---- char.updatestats() ! return True def onLoad(): Index: skillinfo.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/skillinfo.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** skillinfo.py 26 May 2004 13:07:21 -0000 1.2 --- skillinfo.py 2 Jul 2004 13:40:45 -0000 1.3 *************** *** 30,34 **** newcap = int(floor(float(response.text[0x2000 | skill]) * 10)) except: ! player.socket.sysmessage('You have entered invalid values for %s.' % skillnames[skill]) return --- 30,34 ---- newcap = int(floor(float(response.text[0x2000 | skill]) * 10)) except: ! player.socket.sysmessage('You have entered invalid values for %s.' % SKILLNAMES[skill]) return *************** *** 38,42 **** if oldvalue != newvalue or oldcap != newcap: message = "Changed %s for character 0x%x to value %u [%d] and cap %u [%d].\n" ! message = message % (skillnames[skill], target.serial, newvalue, newvalue - oldvalue, newcap, newcap - oldcap) player.log(LOG_MESSAGE, message) player.socket.sysmessage(message) --- 38,42 ---- if oldvalue != newvalue or oldcap != newcap: message = "Changed %s for character 0x%x to value %u [%d] and cap %u [%d].\n" ! message = message % (SKILLNAMES[skill], target.serial, newvalue, newvalue - oldvalue, newcap, newcap - oldcap) player.log(LOG_MESSAGE, message) player.socket.sysmessage(message) *************** *** 98,102 **** break ! skillname = skillnames[skill] skillname = skillname[0].upper() + skillname[1:] --- 98,102 ---- break ! skillname = SKILLNAMES[skill] skillname = skillname[0].upper() + skillname[1:] Index: cast.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/cast.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** cast.py 26 May 2004 13:07:21 -0000 1.2 --- cast.py 2 Jul 2004 13:40:45 -0000 1.3 *************** *** 19,23 **** castSpell( socket.player, args, 1 ) ! return OK def onLoad(): --- 19,23 ---- castSpell( socket.player, args, 1 ) ! return True def onLoad(): |
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:56
|
Update of /cvsroot/wpdev/xmlscripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477 Modified Files: blades.py ore.py pickaxe.py potions.py wool.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: potions.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/potions.py,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** potions.py 1 Jun 2004 22:10:39 -0000 1.37 --- potions.py 2 Jul 2004 13:40:45 -0000 1.38 *************** *** 53,66 **** if item.getoutmostchar() != char: char.message( "This potion is out of your reach..." ) ! return OOPS # Lets make sure the tag exists. if not item.hastag( 'potiontype' ): ! return OOPS else: potiontype = item.gettag( 'potiontype' ) # Make sure it's in the index if not potiontype in potions: ! return OOPS # Do we throw this thing? --- 53,66 ---- if item.getoutmostchar() != char: char.message( "This potion is out of your reach..." ) ! return False # Lets make sure the tag exists. if not item.hastag( 'potiontype' ): ! return False else: potiontype = item.gettag( 'potiontype' ) # Make sure it's in the index if not potiontype in potions: ! return False # Do we throw this thing? *************** *** 79,83 **** # If it's a drinkable potion we check if there is a free hand. if not canUsePotion( char, item ): ! return OK # Nightsight Potions --- 79,83 ---- # If it's a drinkable potion we check if there is a free hand. if not canUsePotion( char, item ): ! return True # Nightsight Potions *************** *** 103,107 **** refreshPotion( char, item, potiontype ) ! return OK --- 103,107 ---- refreshPotion( char, item, potiontype ) ! return True *************** *** 330,343 **** if not firsthand and not secondhand: ! return OK if firsthand and not secondhand and not firsthand.twohanded: ! return OK if not firsthand and secondhand and not secondhand.twohanded: ! return OK char.socket.clilocmessage( 0x7A99C ) # You must have a free hand to drink a potion. ! return OOPS # Consume the potion --- 330,343 ---- if not firsthand and not secondhand: ! return True if firsthand and not secondhand and not firsthand.twohanded: ! return True if not firsthand and secondhand and not secondhand.twohanded: ! return True char.socket.clilocmessage( 0x7A99C ) # You must have a free hand to drink a potion. ! return False # Consume the potion *************** *** 383,387 **** char.effect(0x376a, 9, 32) consumePotion( char, potion, potions[ potion.gettag('potiontype') ][ POT_RETURN_BOTTLE ] ) ! return OK # Heal Potions --- 383,387 ---- char.effect(0x376a, 9, 32) consumePotion( char, potion, potions[ potion.gettag('potiontype') ][ POT_RETURN_BOTTLE ] ) ! return True # Heal Potions *************** *** 389,398 **** socket = char.socket if not canUsePotion( char, potion ): ! return OOPS if char.poison > -1: # You can not heal yourself in your current state. socket.clilocmessage(1005000) ! return OOPS if char.hitpoints >= char.maxhitpoints: socket.clilocmessage(1049547) --- 389,398 ---- socket = char.socket if not canUsePotion( char, potion ): ! return False if char.poison > -1: # You can not heal yourself in your current state. socket.clilocmessage(1005000) ! return False if char.hitpoints >= char.maxhitpoints: socket.clilocmessage(1049547) *************** *** 400,404 **** char.hitpoints = char.maxhitpoints char.updatehealth() ! return OOPS if not char.hastag( "heal_pot_timer" ): --- 400,404 ---- char.hitpoints = char.maxhitpoints char.updatehealth() ! return False if not char.hastag( "heal_pot_timer" ): *************** *** 409,413 **** if elapsed > time.servertime(): socket.clilocmessage( 500235, '', GRAY ) # You must wait 10 seconds before using another healing potion. ! return OOPS else: char.settag( "heal_pot_timer", (time.servertime() + HEAL_POT_DELAY) ) --- 409,413 ---- if elapsed > time.servertime(): socket.clilocmessage( 500235, '', GRAY ) # You must wait 10 seconds before using another healing potion. ! return False else: char.settag( "heal_pot_timer", (time.servertime() + HEAL_POT_DELAY) ) *************** *** 436,440 **** consumePotion( char, potion, potions[ healtype ][ POT_RETURN_BOTTLE ] ) ! return OK # Cure Potions --- 436,440 ---- consumePotion( char, potion, potions[ healtype ][ POT_RETURN_BOTTLE ] ) ! return True # Cure Potions *************** *** 443,447 **** if char.poison == -1: socket.clilocmessage(1042000) # You are not poisoned. ! return OOPS if curetype == 4: --- 443,447 ---- if char.poison == -1: socket.clilocmessage(1042000) # You are not poisoned. ! return False if curetype == 4: *************** *** 481,485 **** else: socket.clilocmessage(500232) # That potion was not strong enough to cure your ailment! ! return OK # Agility Potion --- 481,485 ---- else: socket.clilocmessage(500232) # That potion was not strong enough to cure your ailment! ! return True # Agility Potion *************** *** 496,500 **** # Oops! else: ! return OOPS if not char.hastag( "dex_pot_timer" ): --- 496,500 ---- # Oops! else: ! return False if not char.hastag( "dex_pot_timer" ): *************** *** 505,509 **** if elapsed > time.servertime(): socket.clilocmessage(502173) # You are already under a similar effect. ! return OOPS else: char.settag( 'dex_pot_timer', (time.servertime() + AGILITY_TIME) ) --- 505,509 ---- if elapsed > time.servertime(): socket.clilocmessage(502173) # You are already under a similar effect. ! return False else: char.settag( 'dex_pot_timer', (time.servertime() + AGILITY_TIME) ) *************** *** 525,529 **** consumePotion( char, potion, potions[ agilitytype ][ POT_RETURN_BOTTLE ] ) ! return OK # Strength Potion --- 525,529 ---- consumePotion( char, potion, potions[ agilitytype ][ POT_RETURN_BOTTLE ] ) ! return True # Strength Potion *************** *** 531,535 **** socket = char.socket if not canUsePotion( char, potion ): ! return OOPS bonus = 0 --- 531,535 ---- socket = char.socket if not canUsePotion( char, potion ): ! return False bonus = 0 *************** *** 543,547 **** # Oops! else: ! return OOPS if not char.hastag( "str_pot_timer" ): --- 543,547 ---- # Oops! else: ! return False if not char.hastag( "str_pot_timer" ): *************** *** 552,556 **** if elapsed > time.servertime(): socket.clilocmessage(502173) # You are already under a similar effect ! return OOPS else: char.settag( 'str_pot_timer', (time.servertime() + STRENGTH_TIME) ) --- 552,556 ---- if elapsed > time.servertime(): socket.clilocmessage(502173) # You are already under a similar effect ! return False else: char.settag( 'str_pot_timer', (time.servertime() + STRENGTH_TIME) ) *************** *** 572,576 **** consumePotion( char, potion, potions[ strengthtype ][ POT_RETURN_BOTTLE ] ) ! return OK # Poison Potions --- 572,576 ---- consumePotion( char, potion, potions[ strengthtype ][ POT_RETURN_BOTTLE ] ) ! return True # Poison Potions *************** *** 587,596 **** poison.poison(char, 3) else: ! return OOPS char.action( ANIM_FIDGET3 ) char.soundeffect( SOUND_DRINK1 ) consumePotion( char, potion, potions[ poisontype ][ POT_RETURN_BOTTLE ] ) ! return OK def refreshPotion( char, potion, refreshtype ): --- 587,596 ---- poison.poison(char, 3) else: ! return False char.action( ANIM_FIDGET3 ) char.soundeffect( SOUND_DRINK1 ) consumePotion( char, potion, potions[ poisontype ][ POT_RETURN_BOTTLE ] ) ! return True def refreshPotion( char, potion, refreshtype ): *************** *** 605,619 **** char.updatestamina() else: ! return OOPS if char.stamina > char.maxstamina: char.stamina = char.maxstamina char.updatestamina() ! return OOPS char.action( ANIM_FIDGET3 ) char.soundeffect( SOUND_DRINK1 ) consumePotion( char, potion, potions[ refreshtype ][ POT_RETURN_BOTTLE ] ) ! return OK # INVIS POTION --- 605,619 ---- char.updatestamina() else: ! return False if char.stamina > char.maxstamina: char.stamina = char.maxstamina char.updatestamina() ! return False char.action( ANIM_FIDGET3 ) char.soundeffect( SOUND_DRINK1 ) consumePotion( char, potion, potions[ refreshtype ][ POT_RETURN_BOTTLE ] ) ! return True # INVIS POTION Index: pickaxe.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/pickaxe.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pickaxe.py 26 May 2004 13:07:20 -0000 1.2 --- pickaxe.py 2 Jul 2004 13:40:45 -0000 1.3 *************** *** 19,23 **** # You are already digging. char.socket.clilocmessage( 503029, "", GRAY ) ! return OK # Can't mine on horses --- 19,23 ---- # You are already digging. char.socket.clilocmessage( 503029, "", GRAY ) ! return True # Can't mine on horses *************** *** 25,29 **** # You can't mine while riding. char.socket.clilocmessage( 501864, "", GRAY ) ! return OK # Who is tool owner ? --- 25,29 ---- # You can't mine while riding. char.socket.clilocmessage( 501864, "", GRAY ) ! return True # Who is tool owner ? *************** *** 31,35 **** # You can't use that, it belongs to someone else char.socket.clilocmessage( 500364, "", GRAY ) ! return OK # Is that mining tool ? --- 31,35 ---- # You can't use that, it belongs to someone else char.socket.clilocmessage( 500364, "", GRAY ) ! return True # Is that mining tool ? *************** *** 40,44 **** else: char.socket.clilocmessage( 500735, "", GRAY) # Don't play with things you don't know about. :) ! return OK ! return OK --- 40,44 ---- else: char.socket.clilocmessage( 500735, "", GRAY) # Don't play with things you don't know about. :) ! return True ! return True Index: wool.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wool.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wool.py 26 May 2004 13:07:20 -0000 1.7 --- wool.py 2 Jul 2004 13:40:45 -0000 1.8 *************** *** 18,26 **** if item.getoutmostchar() != char: char.socket.clilocmessage( 500312, '', GRAY ) # You cannot reach that. ! return OK char.socket.clilocmessage( 502655 ) # What spinning wheel do you wish to spin this on? char.socket.attachtarget( "wool.response", [ item.serial ] ) ! return OK --- 18,26 ---- if item.getoutmostchar() != char: char.socket.clilocmessage( 500312, '', GRAY ) # You cannot reach that. ! return True char.socket.clilocmessage( 502655 ) # What spinning wheel do you wish to spin this on? char.socket.attachtarget( "wool.response", [ item.serial ] ) ! return True *************** *** 35,48 **** if ( ( char.pos.x-target.pos.x )**2 + ( char.pos.y-target.pos.y )**2 > 4): char.socket.clilocmessage( 502648, '', GRAY) # You are too far away to do that. ! return OK if abs( char.pos.z - target.pos.z ) > 5: char.socket.clilocmessage( 502648, '', GRAY) # You are too far away to do that. ! return OK # Check target (only item targets valid) if not target.item: char.socket.clilocmessage( 502658, '', GRAY ) # Use that on a spinning wheel. ! return OK if target.item.id in ids: --- 35,48 ---- if ( ( char.pos.x-target.pos.x )**2 + ( char.pos.y-target.pos.y )**2 > 4): char.socket.clilocmessage( 502648, '', GRAY) # You are too far away to do that. ! return True if abs( char.pos.z - target.pos.z ) > 5: char.socket.clilocmessage( 502648, '', GRAY) # You are too far away to do that. ! return True # Check target (only item targets valid) if not target.item: char.socket.clilocmessage( 502658, '', GRAY ) # Use that on a spinning wheel. ! return True if target.item.id in ids: *************** *** 75,84 **** # That spinning wheel is being used. char.socket.clilocmessage( 502656, '', GRAY ) ! return OK else: # Use that on a spinning wheel. char.socket.clilocmessage( 502658, '', GRAY ) ! return OK def ProcessTimer( time, args ): --- 75,84 ---- # That spinning wheel is being used. char.socket.clilocmessage( 502656, '', GRAY ) ! return True else: # Use that on a spinning wheel. char.socket.clilocmessage( 502658, '', GRAY ) ! return True def ProcessTimer( time, args ): *************** *** 87,91 **** color = args[2] GetYarn( char, wheel, color ) ! return OK def GetYarn( char, wheel, color ): --- 87,91 ---- color = args[2] GetYarn( char, wheel, color ) ! return True def GetYarn( char, wheel, color ): *************** *** 116,118 **** # You put a ball of yarn in your backpack. char.socket.clilocmessage( 1010574, '', GRAY ) ! return OK --- 116,118 ---- # You put a ball of yarn in your backpack. char.socket.clilocmessage( 1010574, '', GRAY ) ! return True Index: blades.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/blades.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** blades.py 10 May 2004 08:03:43 -0000 1.3 --- blades.py 2 Jul 2004 13:40:44 -0000 1.4 *************** *** 104,108 **** # You can't use a bladed item on that. char.socket.clilocmessage( 500494, "", GRAY ) ! return OOPS # CARVE CORPSE --- 104,108 ---- # You can't use a bladed item on that. char.socket.clilocmessage( 500494, "", GRAY ) ! return False # CARVE CORPSE Index: ore.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/ore.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** ore.py 29 May 2004 01:45:31 -0000 1.18 --- ore.py 2 Jul 2004 13:40:45 -0000 1.19 *************** *** 37,59 **** if char.pos.distance( ore.pos ) > 2: char.socket.clilocmessage( 501976, '', GRAY ) # You can't reach... ! return OK else: if not ore.hastag( 'resname' ): char.socket.clilocmessage( 501986, '', GRAY ) # Strange ore. ! return OK else: # Where do you want to smelt the ore? char.socket.clilocmessage( 501971, '', GRAY ) char.socket.attachtarget( "ore.response", [ ore.serial ] ) ! return OK else: if not ore.hastag( 'resname' ): char.socket.clilocmessage( 501986, '', GRAY ) ! return OK else: # Where do you want to smelt the ore? char.socket.clilocmessage( 501971, '', GRAY ) char.socket.attachtarget( "ore.response", [ ore.serial ] ) ! return OK def response( char, args, target ): --- 37,59 ---- if char.pos.distance( ore.pos ) > 2: char.socket.clilocmessage( 501976, '', GRAY ) # You can't reach... ! return True else: if not ore.hastag( 'resname' ): char.socket.clilocmessage( 501986, '', GRAY ) # Strange ore. ! return True else: # Where do you want to smelt the ore? char.socket.clilocmessage( 501971, '', GRAY ) char.socket.attachtarget( "ore.response", [ ore.serial ] ) ! return True else: if not ore.hastag( 'resname' ): char.socket.clilocmessage( 501986, '', GRAY ) ! return True else: # Where do you want to smelt the ore? char.socket.clilocmessage( 501971, '', GRAY ) char.socket.attachtarget( "ore.response", [ ore.serial ] ) ! return True def response( char, args, target ): *************** *** 74,78 **** if not item.hastag( 'resname' ): ! return OOPS else: resname = item.gettag( 'resname' ) --- 74,78 ---- if not item.hastag( 'resname' ): ! return False else: resname = item.gettag( 'resname' ) *************** *** 85,100 **** if char.pos.distance( target.pos ) > 3: char.socket.clilocmessage( 0x7A258 ) # You can't reach... ! return OK else: dosmelt( char, [ item, targetitem, resname ] ) ! return OK # This is for merging the ore piles elif target.item.baseid in DEF_ORES: if targetitem.serial == item.serial: ! return OOPS if not targetitem.hastag('resname'): char.socket.clilocmessage( 501986, '', GRAY ) ! return OOPS # Largest Ore Pile if item.baseid == DEF_ORES[3] and item.color == targetitem.color and item.gettag( 'resname' ) == targetitem.gettag( 'resname' ): --- 85,100 ---- if char.pos.distance( target.pos ) > 3: char.socket.clilocmessage( 0x7A258 ) # You can't reach... ! return True else: dosmelt( char, [ item, targetitem, resname ] ) ! return True # This is for merging the ore piles elif target.item.baseid in DEF_ORES: if targetitem.serial == item.serial: ! return False if not targetitem.hastag('resname'): char.socket.clilocmessage( 501986, '', GRAY ) ! return False # Largest Ore Pile if item.baseid == DEF_ORES[3] and item.color == targetitem.color and item.gettag( 'resname' ) == targetitem.gettag( 'resname' ): *************** *** 103,107 **** # The ore is too far away. char.socket.clilocmessage( 501976, '', GRAY) ! return OK else: # Merge the ore piles --- 103,107 ---- # The ore is too far away. char.socket.clilocmessage( 501976, '', GRAY) ! return True else: # Merge the ore piles *************** *** 124,128 **** # Select the forge on which to smelt the ore, or another pile of ore with which to combine it. char.socket.clilocmessage( 501971, '', GRAY ) ! return OK else: # Merge the ore piles --- 124,128 ---- # Select the forge on which to smelt the ore, or another pile of ore with which to combine it. char.socket.clilocmessage( 501971, '', GRAY ) ! return True else: # Merge the ore piles *************** *** 145,149 **** # Select the forge on which to smelt the ore, or another pile of ore with which to combine it. char.socket.clilocmessage( 501971, '', GRAY ) ! return OK # Second Largest Ore --- 145,149 ---- # Select the forge on which to smelt the ore, or another pile of ore with which to combine it. char.socket.clilocmessage( 501971, '', GRAY ) ! return True # Second Largest Ore *************** *** 153,157 **** # The ore is too far away. char.socket.clilocmessage( 501976, '', GRAY) ! return OK else: # Merge the ore piles --- 153,157 ---- # The ore is too far away. char.socket.clilocmessage( 501976, '', GRAY) ! return True else: # Merge the ore piles *************** *** 160,172 **** targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[3]: ! return OOPS ! return OK else: # Merge the ore piles --- 160,172 ---- targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[3]: ! return False ! return True else: # Merge the ore piles *************** *** 175,187 **** targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[3]: ! return OOPS ! return OK # Second Smallest --- 175,187 ---- targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[3]: ! return False ! return True # Second Smallest *************** *** 190,194 **** if char.pos.distance( target.pos ) > 2: char.socket.clilocmessage( 0x7A258 ) # You can't reach... ! return OK else: if targetitem.baseid == DEF_ORES[1]: --- 190,194 ---- if char.pos.distance( target.pos ) > 2: char.socket.clilocmessage( 0x7A258 ) # You can't reach... ! return True else: if targetitem.baseid == DEF_ORES[1]: *************** *** 196,208 **** targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[2] or targetitem.baseid == DEF_ORES[3]: ! return OOPS ! return OK else: # Merge the ore piles --- 196,208 ---- targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[2] or targetitem.baseid == DEF_ORES[3]: ! return False ! return True else: # Merge the ore piles *************** *** 211,223 **** targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return OK elif targetitem.baseid == DEF_ORES[2] or targetitem.baseid == DEF_ORES[3]: ! return OOPS ! return OK # Smallest --- 211,223 ---- targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[0]: targetitem.amount += ( item.amount * 2 ) targetitem.update() item.delete() ! return True elif targetitem.baseid == DEF_ORES[2] or targetitem.baseid == DEF_ORES[3]: ! return False ! return True # Smallest *************** *** 227,231 **** # The ore is too far away. char.socket.clilocmessage( 501976 ) ! return OK else: # Merge the ore piles --- 227,231 ---- # The ore is too far away. char.socket.clilocmessage( 501976 ) ! return True else: # Merge the ore piles *************** *** 237,241 **** item.delete() char.socket.sysmessage( "You combine the two ore piles to create a single pile of ore.", GRAY ) ! return OK else: # Merge the ore piles --- 237,241 ---- item.delete() char.socket.sysmessage( "You combine the two ore piles to create a single pile of ore.", GRAY ) ! return True else: # Merge the ore piles *************** *** 247,251 **** item.delete() char.socket.sysmessage( "You combine the two ore piles to create a single pile of ore.", GRAY ) ! return OK def dosmelt(char, args): --- 247,251 ---- item.delete() char.socket.sysmessage( "You combine the two ore piles to create a single pile of ore.", GRAY ) ! return True def dosmelt(char, args): *************** *** 264,268 **** if not char.skill[MINING] >= reqskill: char.socket.clilocmessage(501986, '', GRAY) # You have no idea how to smelt this strange ore! ! return OOPS if ore.amount >= 1 and char.skill[ MINING ] >= reqskill: --- 264,268 ---- if not char.skill[MINING] >= reqskill: char.socket.clilocmessage(501986, '', GRAY) # You have no idea how to smelt this strange ore! ! return False if ore.amount >= 1 and char.skill[ MINING ] >= reqskill: *************** *** 291,295 **** # There is not enough metal-bearing ore in this pile to make an ingot. char.socket.clilocmessage( 501987, '', GRAY ) ! return OOPS success = 1 --- 291,295 ---- # There is not enough metal-bearing ore in this pile to make an ingot. char.socket.clilocmessage( 501987, '', GRAY ) ! return False success = 1 *************** *** 305,309 **** ore.delete() ! return OK def successsmelt(char, resname, amount): --- 305,309 ---- ore.delete() ! return True def successsmelt(char, resname, amount): *************** *** 323,325 **** char.socket.clilocmessage(501988, '', GRAY) char.soundeffect(SOUND_HAMMER_1) ! return OK --- 323,325 ---- char.socket.clilocmessage(501988, '', GRAY) char.soundeffect(SOUND_HAMMER_1) ! return True |
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:56
|
Update of /cvsroot/wpdev/xmlscripts/scripts/skills In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477/skills Modified Files: __init__.py lumberjacking.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: __init__.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/__init__.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** __init__.py 27 Jun 2004 11:48:29 -0000 1.14 --- __init__.py 2 Jul 2004 13:40:46 -0000 1.15 *************** *** 106,110 **** tagname = args[1] self.deltag( tagname ) ! return OK def antimacrocheck( char, skillid, object ): --- 106,110 ---- tagname = args[1] self.deltag( tagname ) ! return True def antimacrocheck( char, skillid, object ): *************** *** 115,127 **** object.settag( tagname, str( int( count + 1 ) ) ) if count <= ANTIMACROALLOWANCE: ! return OK elif count > ANTIMACROALLOWANCE + 1: ! return OOPS else: object.addtimer( ANTIMACRODELAY, "skills.cleartag", [char, tagname] ) ! return OOPS else: object.settag( tagname, "1" ) ! return OK --- 115,127 ---- object.settag( tagname, str( int( count + 1 ) ) ) if count <= ANTIMACROALLOWANCE: ! return True elif count > ANTIMACROALLOWANCE + 1: ! return False else: object.addtimer( ANTIMACRODELAY, "skills.cleartag", [char, tagname] ) ! return False else: object.settag( tagname, "1" ) ! return True Index: lumberjacking.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/lumberjacking.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** lumberjacking.py 18 May 2004 02:47:31 -0000 1.12 --- lumberjacking.py 2 Jul 2004 13:40:46 -0000 1.13 *************** *** 34,42 **** if not socket: ! return OOPS if socket.hastag('is_lumberjacking') and ( socket.gettag( 'is_lumberjacking' ) > servertime() ): socket.clilocmessage( 500119, "", GRAY ) ! return OOPS else: socket.deltag('is_lumberjacking') --- 34,42 ---- if not socket: ! return False if socket.hastag('is_lumberjacking') and ( socket.gettag( 'is_lumberjacking' ) > servertime() ): socket.clilocmessage( 500119, "", GRAY ) ! return False else: socket.deltag('is_lumberjacking') *************** *** 46,50 **** # That is too far away socket.clilocmessage( 500446, "", GRAY ) ! return OK #Player also can't lumberjack when riding, polymorphed and dead. --- 46,50 ---- # That is too far away socket.clilocmessage( 500446, "", GRAY ) ! return True #Player also can't lumberjack when riding, polymorphed and dead. *************** *** 52,56 **** # You can't use this while on a mount! char.socket.clilocmessage( 1049627, "", GRAY ) ! return OOPS ########## --- 52,56 ---- # You can't use this while on a mount! char.socket.clilocmessage( 1049627, "", GRAY ) ! return False ########## *************** *** 75,79 **** if not veingem.hastag( 'resname' ) or not veingem.hastag( 'resourcecount' ): ! return OOPS elif veingem.hastag( 'resname' ): --- 75,79 ---- if not veingem.hastag( 'resname' ) or not veingem.hastag( 'resourcecount' ): ! return False elif veingem.hastag( 'resname' ): *************** *** 83,87 **** hack_logs( char, target, tool, veingem ) ! return OK def createwoodgem( target, pos ): --- 83,87 ---- hack_logs( char, target, tool, veingem ) ! return True def createwoodgem( target, pos ): *************** *** 118,122 **** if char.pos.map != pos.map or char.pos.distance( pos ) > chopdistance: socket.deltag( 'is_lumberjacking' ) ! return OOPS # Turn to our lumberjacking position --- 118,122 ---- if char.pos.map != pos.map or char.pos.distance( pos ) > chopdistance: socket.deltag( 'is_lumberjacking' ) ! return False # Turn to our lumberjacking position *************** *** 129,133 **** char.action( 0xd ) char.soundeffect( 0x13e ) ! return OK # HACK LOGS --- 129,133 ---- char.action( 0xd ) char.soundeffect( 0x13e ) ! return True # HACK LOGS *************** *** 144,148 **** if resourcecount <= 0: socket.clilocmessage( 500488, '', GRAY ) ! return OOPS # Turn to our lumberjacking position --- 144,148 ---- if resourcecount <= 0: socket.clilocmessage( 500488, '', GRAY ) ! return False # Turn to our lumberjacking position *************** *** 198,209 **** socket.sysmessage("You have moved too far away to gather any wood.") socket.deltag( 'is_lumberjacking' ) ! return OOPS if not resource.hastag( 'resourcecount' ): ! return OOPS if int( resource.gettag( 'resourcecount' ) ) <= 0: char.socket.clilocmessage( 500488, '', GRAY ) ! return OOPS reqskill = woodtable[ resname ][ REQSKILL ] --- 198,209 ---- socket.sysmessage("You have moved too far away to gather any wood.") socket.deltag( 'is_lumberjacking' ) ! return False if not resource.hastag( 'resourcecount' ): ! return False if int( resource.gettag( 'resourcecount' ) ) <= 0: char.socket.clilocmessage( 500488, '', GRAY ) ! return False reqskill = woodtable[ resname ][ REQSKILL ] *************** *** 212,216 **** if char.skill[ LUMBERJACKING ] < reqskill: char.socket.clilocmessage( 500298 ) # You are not skilled enough... ! return OOPS else: # Skill Check against LUMBERJACKING --- 212,216 ---- if char.skill[ LUMBERJACKING ] < reqskill: char.socket.clilocmessage( 500298 ) # You are not skilled enough... ! return False else: # Skill Check against LUMBERJACKING *************** *** 218,222 **** char.socket.clilocmessage( 500495 ) # You hack at the tree for a while but fail to produce... success = 0 ! return OOPS elif chance >= randint(1, 100): char.socket.clilocmessage( 500498 ) # You put some logs into your backpack --- 218,222 ---- char.socket.clilocmessage( 500495 ) # You hack at the tree for a while but fail to produce... success = 0 ! return False elif chance >= randint(1, 100): char.socket.clilocmessage( 500498 ) # You put some logs into your backpack *************** *** 234,238 **** char.socket.clilocmessage( 500495 ) # You hack at the tree for a while but fail to produce... success = 0 ! return OOPS if success == 1: --- 234,238 ---- char.socket.clilocmessage( 500495 ) # You hack at the tree for a while but fail to produce... success = 0 ! return False if success == 1: *************** *** 240,244 **** backpack = char.getbackpack() if not backpack: ! return OOPS # Create an item in my pack (logs to be specific) resourceitem = wolfpack.additem( "1bdd" ) --- 240,244 ---- backpack = char.getbackpack() if not backpack: ! return False # Create an item in my pack (logs to be specific) resourceitem = wolfpack.additem( "1bdd" ) *************** *** 257,261 **** resource.settag( 'resource_empty', 'true' ) wolfpack.addtimer( woodrespawndelay, "skills.lumberjacking.respawnvein", [ resource ], 1 ) ! return OK def respawnvein( time, args ): --- 257,261 ---- resource.settag( 'resource_empty', 'true' ) wolfpack.addtimer( woodrespawndelay, "skills.lumberjacking.respawnvein", [ resource ], 1 ) ! return True def respawnvein( time, args ): *************** *** 264,269 **** vein.settag( 'resourcecount', int( woodspawnamount ) ) vein.deltag( 'resource_empty' ) ! return OK else: ! return OOPS --- 264,269 ---- vein.settag( 'resourcecount', int( woodspawnamount ) ) vein.deltag( 'resource_empty' ) ! return True else: ! return False |
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:54
|
Update of /cvsroot/wpdev/xmlscripts/scripts/npc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477/npc Modified Files: healer.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: healer.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/npc/healer.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** healer.py 26 May 2004 13:07:24 -0000 1.4 --- healer.py 2 Jul 2004 13:40:46 -0000 1.5 *************** *** 12,20 **** if( tag == 1 ): if not char or not healer: ! return OOPS if healer.dead: char.socket.clilocmessage( 501040, "", YELLOW, NORMAL ) # The resurrecter must be alive ! return OOPS if char.dead: --- 12,20 ---- if( tag == 1 ): if not char or not healer: ! return False if healer.dead: char.socket.clilocmessage( 501040, "", YELLOW, NORMAL ) # The resurrecter must be alive ! return False if char.dead: *************** *** 22,29 **** char.soundeffect( 0x215 ) char.resurrect() ! return OK else: char.socket.clilocmessage( 1060197, "", YELLOW, NORMAL ) # You are not dead, and thus cannot be resurrected! ! return OOPS ! return OK --- 22,29 ---- char.soundeffect( 0x215 ) char.resurrect() ! return True else: char.socket.clilocmessage( 1060197, "", YELLOW, NORMAL ) # You are not dead, and thus cannot be resurrected! ! return False ! return True |
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:54
|
Update of /cvsroot/wpdev/xmlscripts/scripts/contextmenus In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477/contextmenus Modified Files: trainmenu.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: trainmenu.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/contextmenus/trainmenu.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** trainmenu.py 2 Jun 2004 15:03:04 -0000 1.7 --- trainmenu.py 2 Jul 2004 13:40:46 -0000 1.8 *************** *** 69,73 **** # check for skill cap ! cap = wolfpack.settings.getNumber("General", "SkillCap", 700) * 10 sum = skills.totalskills( dropper ) --- 69,73 ---- # check for skill cap ! cap = wolfpack.settings.getnumber("General", "SkillCap", 700) * 10 sum = skills.totalskills( dropper ) |