wpdev-commits Mailing List for Wolfpack Emu (Page 25)
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-10-02 03:38:53
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/weaponry In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6778 Added Files: index.xml Removed Files: weaponry_list.xml Log Message: I like index.xml better, easier to find what I'm looking for. --- NEW FILE: index.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Archery --> <include file="definitions/items/weaponry/archery/bow.xml"/> <include file="definitions/items/weaponry/archery/composite_bow.xml"/> <include file="definitions/items/weaponry/archery/crossbow.xml"/> <include file="definitions/items/weaponry/archery/heavy_crossbow.xml"/> <include file="definitions/items/weaponry/archery/repeating_crossbow.xml"/> <!-- Fencing --> <include file="definitions/items/weaponry/fencing/dagger.xml"/> <include file="definitions/items/weaponry/fencing/double_bladed_staff.xml"/> <include file="definitions/items/weaponry/fencing/kryss.xml"/> <include file="definitions/items/weaponry/fencing/lance.xml"/> <include file="definitions/items/weaponry/fencing/pike.xml"/> <include file="definitions/items/weaponry/fencing/pitchfork.xml"/> <include file="definitions/items/weaponry/fencing/short_spear.xml"/> <include file="definitions/items/weaponry/fencing/spear.xml"/> <include file="definitions/items/weaponry/fencing/war_fork.xml"/> <!-- Macefighting --> <include file="definitions/items/weaponry/macefighting/black_staff.xml"/> <include file="definitions/items/weaponry/macefighting/club.xml"/> <include file="definitions/items/weaponry/macefighting/gnarled_staff.xml"/> <include file="definitions/items/weaponry/macefighting/hammer_pick.xml"/> <include file="definitions/items/weaponry/macefighting/mace.xml"/> <include file="definitions/items/weaponry/macefighting/maul.xml"/> <include file="definitions/items/weaponry/macefighting/quarter_staff.xml"/> <include file="definitions/items/weaponry/macefighting/scepter.xml"/> <include file="definitions/items/weaponry/macefighting/shepherds_crook.xml"/> <include file="definitions/items/weaponry/macefighting/sledge_hammer.xml"/> <include file="definitions/items/weaponry/macefighting/smithing_hammer.xml"/> <include file="definitions/items/weaponry/macefighting/war_axe.xml"/> <include file="definitions/items/weaponry/macefighting/war_hammer.xml"/> <include file="definitions/items/weaponry/macefighting/war_mace.xml"/> <!-- Swordsmanship --> <include file="definitions/items/weaponry/swordsmanship/axe.xml"/> <include file="definitions/items/weaponry/swordsmanship/bardiche.xml"/> <include file="definitions/items/weaponry/swordsmanship/battle_axe.xml"/> <include file="definitions/items/weaponry/swordsmanship/bladed_staff.xml"/> <include file="definitions/items/weaponry/swordsmanship/bone_harvester.xml"/> <include file="definitions/items/weaponry/swordsmanship/broadsword.xml"/> <include file="definitions/items/weaponry/swordsmanship/butcher_knife.xml"/> <include file="definitions/items/weaponry/swordsmanship/cleaver.xml"/> <include file="definitions/items/weaponry/swordsmanship/crescent_blade.xml"/> <include file="definitions/items/weaponry/swordsmanship/cutlass.xml"/> <include file="definitions/items/weaponry/swordsmanship/double_axe.xml"/> <include file="definitions/items/weaponry/swordsmanship/executioners_axe.xml"/> <include file="definitions/items/weaponry/swordsmanship/halberd.xml"/> <include file="definitions/items/weaponry/swordsmanship/hatchet.xml"/> <include file="definitions/items/weaponry/swordsmanship/katana.xml"/> <include file="definitions/items/weaponry/swordsmanship/large_battle_axe.xml"/> <include file="definitions/items/weaponry/swordsmanship/long_sword.xml"/> <include file="definitions/items/weaponry/swordsmanship/longsword.xml"/> <include file="definitions/items/weaponry/swordsmanship/paladin_sword.xml"/> <include file="definitions/items/weaponry/swordsmanship/pickaxe.xml"/> <include file="definitions/items/weaponry/swordsmanship/scimitar.xml"/> <include file="definitions/items/weaponry/swordsmanship/scythe.xml"/> <include file="definitions/items/weaponry/swordsmanship/skinning_knife.xml"/> <include file="definitions/items/weaponry/swordsmanship/two_handed_axe.xml"/> <include file="definitions/items/weaponry/swordsmanship/viking_sword.xml"/> </definitions> --- weaponry_list.xml DELETED --- |
From: Richard M. <dr...@us...> - 2004-10-02 03:37:47
|
Update of /cvsroot/wpdev/xmlscripts/definitions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6651 Modified Files: index.xml Log Message: Changes Index: index.xml =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/definitions/index.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.xml 31 May 2004 01:25:53 -0000 1.5 --- index.xml 2 Oct 2004 03:37:35 -0000 1.6 *************** *** 44,50 **** <include file="definitions/items/vegetation/index.xml"/> <!-- Weapon Index --> ! <include file="definitions/items/weaponry/weaponry_list.xml"/> <!-- Armor Index --> ! <include file="definitions/items/armory/armory_list.xml" /> <!-- Shrinkable Items/Mounts --> --- 44,50 ---- <include file="definitions/items/vegetation/index.xml"/> <!-- Weapon Index --> ! <include file="definitions/items/weaponry/index.xml"/> <!-- Armor Index --> ! <include file="definitions/items/armory/index.xml" /> <!-- Shrinkable Items/Mounts --> |
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/samurai In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5211 Added Files: index.xml leather_do.xml leather_hiadate.xml leather_hiro_sode.xml leather_mempo.xml leather_nina_belt.xml leather_nina_mitts.xml leather_ninja_hood.xml leather_ninja_jacket.xml leather_ninja_pants.xml leather_suneate.xml plate_do.xml plate_hiadate.xml plate_hiro_sode.xml plate_mempo.xml plate_suneate.xml studded_leather_do.xml studded_leather_hiadate.xml studded_leather_hiro_sode.xml studded_leather_mempo.xml studded_leather_suneate.xml Log Message: This is NOT finished. --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> </definitions> --- NEW FILE: leather_nina_mitts.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Nina Mitts --> <item id="2792"> <id>0x2792</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Nina Mitts</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27dd" inherit="2792"> <id>0x27dd</id> <baseid>2792</baseid> <category>Armor\Base\Samurai\Leather\Nina Mitts 2</category> </item> </definitions> --- NEW FILE: plate_hiro_sode.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Plate Hiro Sode --> <item id="2780"> <id>0x2780</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Plate\Hiro Sode</category> <!-- Properties --> <tag name="resname" value="iron" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27cb" inherit="2780"> <id>0x27cb</id> <baseid>2780</baseid> <category>Armor\Base\Samurai\Plate\Hiro Sode 2</category> </item> </definitions> --- NEW FILE: plate_suneate.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Plate Suneate --> <item id="2788"> <id>0x2788</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Leather\Suneate</category> <!-- Properties --> <tag name="resname" value="iron" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27d3" inherit="2788"> <id>0x27d3</id> <baseid>2788</baseid> <category>Armor\Base\Leather\Suneate 2</category> </item> </definitions> --- NEW FILE: studded_leather_suneate.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Suneate --> <item id="2787"> <id>0x2787</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Studded Leather\Suneate</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27d2" inherit="2787"> <id>0x27d2</id> <baseid>2787</baseid> <category>Armor\Base\Samurai\Studded Leather\Suneate 2</category> </item> </definitions> --- NEW FILE: leather_mempo.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Mempo --> <item id="277a"> <id>0x277e</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Mempo</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27c5" inherit="277a"> <id>0x27c5</id> <baseid>277a</baseid> <category>Armor\Base\Samurai\Leather\Mempo 2</category> </item> </definitions> --- NEW FILE: leather_hiadate.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Hiadate --> <item id="278a"> <id>0x278a</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Hiadate</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27d5" inherit="278a"> <id>0x27d5</id> <baseid>278a</baseid> <category>Armor\Base\Samurai\Leather\Hiadate 2</category> </item> </definitions> --- NEW FILE: studded_leather_do.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Studded Leather Do --> <item id="277c"> <id>0x277c</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Studded Leather\Do</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27c7" inherit="277c"> <id>0x27c7</id> <baseid>277c</baseid> <category>Armor\Base\Samurai\Studded Leather\Do 2</category> </item> </definitions> --- NEW FILE: plate_mempo.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Plate Mempo --> <item id="2779"> <id>0x2779</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Plate\Mempo</category> <!-- Properties --> <tag name="resname" value="iron" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27c4" inherit="2779"> <id>0x27c4</id> <baseid>2779</baseid> <category>Armor\Base\Samurai\Plate\Mempo 2</category> </item> </definitions> --- NEW FILE: leather_hiro_sode.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Hiro Sode --> <item id="277e"> <id>0x277e</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Hiro Sode</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27c9" inherit="277e"> <id>0x27c9</id> <baseid>277e</baseid> <category>Armor\Base\Samurai\Leather\Hiro Sode 2</category> </item> </definitions> --- NEW FILE: plate_hiadate.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Plate Hiadate --> <item id="278d"> <id>0x278d</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Plate\Hiadate</category> <!-- Properties --> <tag name="resname" value="iron" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27d8" inherit="278d"> <id>0x27d8</id> <baseid>278d</baseid> <category>Armor\Base\Samurai\Plate\Hiadate 2</category> </item> </definitions> --- NEW FILE: leather_ninja_pants.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Nina Pants --> <item id="2791"> <id>0x2791</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Nina Pants</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27dc" inherit="2791"> <id>0x27dc</id> <baseid>2791</baseid> <category>Armor\Base\Samurai\Leather\Nina Pants 2</category> </item> </definitions> --- NEW FILE: leather_ninja_hood.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Nina Hood --> <item id="278e"> <id>0x278e</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Nina Hood</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27d9" inherit="278e"> <id>0x27d9</id> <baseid>278e</baseid> <category>Armor\Base\Samurai\Leather\Nina Hood 2</category> </item> </definitions> --- NEW FILE: leather_suneate.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Suneate --> <item id="2786"> <id>0x2786</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Suneate</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27d1" inherit="2786"> <id>0x27d1</id> <baseid>2786</baseid> <category>Armor\Base\Samurai\Leather\Suneate 2</category> </item> </definitions> --- NEW FILE: studded_leather_hiro_sode.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Studded Leather Hiro Sode --> <item id="277f"> <id>0x277f</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Studded Leather\Hiro Sode</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27ca" inherit="277f"> <id>0x27ca</id> <baseid>277f</baseid> <category>Armor\Base\Samurai\Studded Leather\Hiro Sode 2</category> </item> </definitions> --- NEW FILE: studded_leather_mempo.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Studded Leather Mempo --> <item id="279d"> <id>0x279d</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Studded Leather\Mempo</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27e8" inherit="279d"> <id>0x27e8</id> <baseid>279d</baseid> <category>Armor\Base\Samurai\Studded Leather\Mempo 2</category> </item> </definitions> --- NEW FILE: plate_do.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Plate Do --> <item id="277d"> <id>0x277d</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Plate\Do</category> <!-- Properties --> <tag name="resname" value="iron" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27c8" inherit="277d"> <id>0x27c8</id> <baseid>277d</baseid> <category>Armor\Base\Samruai\Plate\Do 2</category> </item> </definitions> --- NEW FILE: studded_leather_hiadate.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Studded Leather Hiadate --> <item id="278b"> <id>0x278b</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Studded Leather\Hiadate</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27d6" inherit="278b"> <id>0x27d6</id> <baseid>278b</baseid> <category>Armor\Base\Samurai\Studded Leather\Hiadate 2</category> </item> </definitions> --- NEW FILE: leather_do.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Do --> <item id="277b"> <id>0x277b</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Do</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27c6" inherit="277b"> <id>0x27c6</id> <baseid>277b</baseid> <category>Armor\Base\Samurai\Leather\Do 2</category> </item> </definitions> --- NEW FILE: leather_ninja_jacket.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Nina Jacket --> <item id="2793"> <id>0x2793</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Nina Jacket</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27de" inherit="2793"> <id>0x27de</id> <baseid>2793</baseid> <category>Armor\Base\Samurai\Leather\Nina Jacket 2</category> </item> </definitions> --- NEW FILE: leather_nina_belt.xml --- <!-- /*========================================================= * ) (\_ | WOLFPACK 13.0.0 Scripts * (( _/{ "-; | Created by: Dreoth * )).-' {{ ;'` | Revised by: * ( ( ;._ \\ | Last modification: *=======================================================*/ --> <definitions> <!-- Leather Nina Belt --> <item id="2790"> <id>0x2790</id> <decay /> <nodye /> <durability><random min="60" max="100" /></durability> <smelt>20</smelt> <weight>10.0</weight> <type>1009</type> <basescripts>equipment</basescripts> <category>Armor\Base\Samurai\Leather\Nina Belt</category> <!-- Properties --> <tag name="resname" value="leather" /> <intproperty name="req_strength" value="95" /> <intproperty name="res_physical" value="3" /> <intproperty name="res_fire" value="3" /> <intproperty name="res_cold" value="3" /> <intproperty name="res_poison" value="3" /> <intproperty name="res_energy" value="3" /> </item> <item id="27db" inherit="2790"> <id>0x27db</id> <baseid>2790</baseid> <category>Armor\Base\Samurai\Leather\Nina Belt 2</category> </item> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/helmets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/helmets Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Helmets --> <include file="definitions/items/armory/helmets/bascinet.xml"/> <include file="definitions/items/armory/helmets/close_helmet.xml"/> <include file="definitions/items/armory/helmets/helmet.xml"/> <include file="definitions/items/armory/helmets/kabuto.xml"/> <include file="definitions/items/armory/helmets/nose_helm.xml"/> <include file="definitions/items/armory/helmets/orc_helm.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/leather In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/leather Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Leather Armor --> <include file="definitions/items/armory/leather/leather_armor.xml"/> <include file="definitions/items/armory/leather/leather_bustier.xml"/> <include file="definitions/items/armory/leather/leather_cap.xml"/> <include file="definitions/items/armory/leather/leather_gloves.xml"/> <include file="definitions/items/armory/leather/leather_gorget.xml"/> <include file="definitions/items/armory/leather/leather_leggings.xml"/> <include file="definitions/items/armory/leather/leather_shorts.xml"/> <include file="definitions/items/armory/leather/leather_skirt.xml"/> <include file="definitions/items/armory/leather/leather_sleeves.xml"/> <include file="definitions/items/armory/leather/leather_tunic.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/hats In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/hats Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Hats --> <include file="definitions/items/armory/hats/bandana.xml"/> <include file="definitions/items/armory/hats/bear_mask.xml"/> <include file="definitions/items/armory/hats/bonnet.xml"/> <include file="definitions/items/armory/hats/cap.xml"/> <include file="definitions/items/armory/hats/deer_mask.xml"/> <include file="definitions/items/armory/hats/feathered_hat.xml"/> <include file="definitions/items/armory/hats/floppy_hat.xml"/> <include file="definitions/items/armory/hats/jester_hat.xml"/> <include file="definitions/items/armory/hats/jesters_cap.xml"/> <include file="definitions/items/armory/hats/orc_masks.xml"/> <include file="definitions/items/armory/hats/skull_cap.xml"/> <include file="definitions/items/armory/hats/straw_hat.xml"/> <include file="definitions/items/armory/hats/tall_straw_hat.xml"/> <include file="definitions/items/armory/hats/tribal_masks.xml"/> <include file="definitions/items/armory/hats/tricorne_hat.xml"/> <include file="definitions/items/armory/hats/wide-brim_hat.xml"/> <include file="definitions/items/armory/hats/wizards_hat.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/plate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/plate Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Platemail Armor --> <include file="definitions/items/armory/plate/female_plate_armor.xml"/> <include file="definitions/items/armory/plate/plate_helm.xml"/> <include file="definitions/items/armory/plate/platemail.xml"/> <include file="definitions/items/armory/plate/platemail_arms.xml"/> <include file="definitions/items/armory/plate/platemail_gloves.xml"/> <include file="definitions/items/armory/plate/platemail_gorget.xml"/> <include file="definitions/items/armory/plate/platemail_legs.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/shields In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/shields Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Shields --> <include file="definitions/items/armory/shields/bronze_shield.xml"/> <include file="definitions/items/armory/shields/buckler.xml"/> <include file="definitions/items/armory/shields/chaos_shield.xml"/> <include file="definitions/items/armory/shields/heater_shield.xml"/> <include file="definitions/items/armory/shields/metal_kite_shield.xml"/> <include file="definitions/items/armory/shields/metal_shield.xml"/> <include file="definitions/items/armory/shields/order_shield.xml"/> <include file="definitions/items/armory/shields/wooden_kite_shield.xml"/> <include file="definitions/items/armory/shields/wooden_shield.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/dragon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/dragon Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Dragon Amor --> <include file="definitions/items/armory/dragon/dragon_breastplate.xml"/> <include file="definitions/items/armory/dragon/dragon_gloves.xml"/> <include file="definitions/items/armory/dragon/dragon_helm.xml"/> <include file="definitions/items/armory/dragon/dragon_leggings.xml"/> <include file="definitions/items/armory/dragon/dragon_sleeves.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/studded In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/studded Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Studded Leather --> <include file="definitions/items/armory/studded/studded_armor.xml"/> <include file="definitions/items/armory/studded/studded_bustier.xml"/> <include file="definitions/items/armory/studded/studded_gloves.xml"/> <include file="definitions/items/armory/studded/studded_gorget.xml"/> <include file="definitions/items/armory/studded/studded_leggings.xml"/> <include file="definitions/items/armory/studded/studded_sleeves.xml"/> <include file="definitions/items/armory/studded/studded_tunic.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/ring In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/ring Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Ringmail Armor --> <include file="definitions/items/armory/ring/ringmail_gloves.xml"/> <include file="definitions/items/armory/ring/ringmail_leggings.xml"/> <include file="definitions/items/armory/ring/ringmail_sleeves.xml"/> <include file="definitions/items/armory/ring/ringmail_tunic.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:31
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/bone In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/bone Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Bone Armor --> <include file="definitions/items/armory/bone/bone_armor.xml"/> <include file="definitions/items/armory/bone/bone_arms.xml"/> <include file="definitions/items/armory/bone/bone_gloves.xml"/> <include file="definitions/items/armory/bone/bone_helm.xml"/> <include file="definitions/items/armory/bone/bone_leggings.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:31
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922 Added Files: index.xml Removed Files: armory_list.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Hats --> <include file="definitions/items/armory/hats/index.xml"/> <!-- Bone Armor --> <include file="definitions/items/armory/bone/index.xml"/> <!-- Chainmail Armor --> <include file="definitions/items/armory/chain/index.xml"/> <!-- Helmets --> <include file="definitions/items/armory/helmets/index.xml"/> <!-- Leather Armor --> <include file="definitions/items/armory/leather/index.xml"/> <!-- Platemail Armor --> <include file="definitions/items/armory/plate/index.xml"/> <!-- Ringmail Armor --> <include file="definitions/items/armory/ring/index.xml"/> <!-- Shields --> <include file="definitions/items/armory/shields/index.xml"/> <!-- Studded Leather --> <include file="definitions/items/armory/studded/index.xml"/> <!-- Dragon Amor --> <include file="definitions/items/armory/dragon/index.xml"/> <!-- Samurai Armor --> <include file="definitions/items/armory/samurai/index.xml" /> <!-- Colored Armor --> <include file="definitions/items/armory/colored/color_defines.xml"/> <include file="definitions/items/armory/colored/colored_list.xml"/> </definitions> --- armory_list.xml DELETED --- |
From: Richard M. <dr...@us...> - 2004-10-02 03:25:30
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/chain In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4922/chain Added Files: index.xml Log Message: Branched stuff --- NEW FILE: index.xml --- <!-- ================================================================= | ) (\_ | WOLFPACK 13.0.0 Scripts | (( _/{ "-; | Created by: Dreoth | )).-' {{ ;'` | Revised by: | ( ( ;._ \\ ctr | Last Modification: ================================================================= --> <definitions> <!-- Chainmail Armor --> <include file="definitions/items/armory/chain/chain_coif.xml"/> <include file="definitions/items/armory/chain/chain_leggings.xml"/> <include file="definitions/items/armory/chain/chain_tunic.xml"/> </definitions> |
From: Richard M. <dr...@us...> - 2004-10-02 03:24:51
|
Update of /cvsroot/wpdev/xmlscripts/definitions/items/armory/samurai In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4815/samurai Log Message: Directory /cvsroot/wpdev/xmlscripts/definitions/items/armory/samurai added to the repository |
From: Biehunko M. <as...@us...> - 2004-10-02 00:29:01
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9013 Modified Files: world.cpp Log Message: filename now prepends dirname on deletion, too ;) Index: world.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/world.cpp,v retrieving revision 1.131 retrieving revision 1.132 diff -C2 -d -r1.131 -r1.132 *** world.cpp 1 Oct 2004 16:32:53 -0000 1.131 --- world.cpp 2 Oct 2004 00:28:47 -0000 1.132 *************** *** 1341,1344 **** --- 1341,1346 ---- QMap<QDateTime, QString> backups = listBackups(filename); + QString backupName = QFileInfo(filename).dirPath(true) + QDir::separator(); + if (backups.count() >= count) { // Remove the oldest backup *************** *** 1354,1358 **** } ! if (!backup.isNull() && !QFile::remove(backup)) { Console::instance()->log(LOG_ERROR, QString("Unable to remove backup %1. No new backup has been created.\n").arg(backup)); return; --- 1356,1360 ---- } ! if (!backup.isNull() && !QFile::remove( backupName + backup )) { Console::instance()->log(LOG_ERROR, QString("Unable to remove backup %1. No new backup has been created.\n").arg(backup)); return; *************** *** 1361,1365 **** // Rename the old worldfile to the new backup name ! QString backupName = QFileInfo(filename).dirPath(true) + QDir::separator() + QFileInfo(filename).baseName(false); QDateTime current = QDateTime::currentDateTime(); backupName.append(current.toString("-yyyyMMdd-hhmm")); // Append Timestamp --- 1363,1367 ---- // Rename the old worldfile to the new backup name ! backupName.append( QFileInfo(filename).baseName(false) ); QDateTime current = QDateTime::currentDateTime(); backupName.append(current.toString("-yyyyMMdd-hhmm")); // Append Timestamp |
From: Sebastian H. <dar...@us...> - 2004-10-01 23:52:28
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3090/commands Modified Files: info.py Log Message: Completed logging for the character info page Index: info.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/info.py,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** info.py 1 Oct 2004 22:53:24 -0000 1.26 --- info.py 1 Oct 2004 23:52:04 -0000 1.27 *************** *** 358,363 **** # 38 gump.addText( 113, 380, "Account:", 0x834 ) ! gump.addResizeGump( 280, 380, 0xBB8, 215, 20 ) ! gump.addInputField( 284, 380, 200, 16, 0x834, 38, unicode( char.account.name ) ) # 39 gump.addText( 113, 400, "Visual Range:", 0x834 ) --- 358,362 ---- # 38 gump.addText( 113, 380, "Account:", 0x834 ) ! gump.addText( 284, 380, unicode( char.account.name ), 0x834 ) # 39 gump.addText( 113, 400, "Visual Range:", 0x834 ) *************** *** 559,816 **** if key == 1: if char.name != textentries[1]: ! player.log(LOG_MESSAGE, "Changing name of character 0x%x from '%s' to '%s'.\n" % ( char.serial, char.name, textentries[key] ) ) char.name = textentries[ key ] elif key == 2: value = textentries[2] if char.title != value: ! player.log(LOG_MESSAGE, "Changing title of character 0x%x from '%s' to '%s'.\n" % ( char.serial, char.title, textentries[key] ) ) char.title = textentries[ key ] elif key == 3: value = int(hex2dec(textentries[key])) if char.id != value: ! player.log(LOG_MESSAGE, "Changing id of character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.id, value ) ) char.id = int( hex2dec( textentries[ key ] ) ) elif key == 4: value = int(hex2dec(textentries[key])) if char.orgid != value: ! player.log(LOG_MESSAGE, "Changing orgid of character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.orgid, value ) ) char.orgid = int( hex2dec( textentries[ key ] ) ) elif key == 5: value = int(hex2dec(textentries[key])) if char.skin != value: ! player.log(LOG_MESSAGE, "Changing skin of character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.skin, value ) ) char.skin = int( hex2dec( textentries[ key ] ) ) elif key == 6: value = int(hex2dec(textentries[key])) if char.orgskin != value: ! player.log(LOG_MESSAGE, "Changing orgskin of character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.orgskin, value ) ) char.orgskin = int( hex2dec( textentries[ key ] ) ) elif key == 7: value = int(hex2dec(textentries[key])) if char.fame != value: ! player.log(LOG_MESSAGE, "Changing fame of character 0x%x from %u to %u.\n" % ( char.serial, char.fame, value ) ) char.fame = int( textentries[ key ] ) elif key == 8: value = int(hex2dec(textentries[key])) if char.karma != value: ! player.log(LOG_MESSAGE, "Changing karma of character 0x%x from %u to %u.\n" % ( char.serial, char.karma, value ) ) char.karma = int( textentries[ key ] ) elif key == 9: value = int(hex2dec(textentries[key])) if char.kills != value: ! player.log(LOG_MESSAGE, "Changing kills of character 0x%x from %u to %u.\n" % ( char.serial, char.kills, value ) ) char.kills = int( textentries[ key ] ) elif key == 10: value = int(hex2dec(textentries[key])) if char.deaths != value: ! player.log(LOG_MESSAGE, "Changing deaths of character 0x%x from %u to %u.\n" % ( char.serial, char.deaths, value ) ) char.deaths = int( textentries[ key ] ) elif key == 11: value = textentries[key] if str(char.pos) != value: ! player.log(LOG_MESSAGE, "Changing position of character 0x%x from %s to %s.\n" % ( char.serial, str(char.pos), value ) ) char.pos = value elif key == 12: value = int(hex2dec(textentries[key])) if char.direction != value: ! player.log(LOG_MESSAGE, "Changing direction of character 0x%x from %u to %u.\n" % ( char.serial, char.direction, value ) ) char.direction = int( textentries[ key ] ) elif key == 13: value = str2bool(textentries[key]) if char.invulnerable != value: ! player.log(LOG_MESSAGE, "Changing invulnerability of character 0x%x from %s to %s.\n" % ( char.serial, str(char.invulnerable), str(value) ) ) char.invulnerable = value elif key == 14: value = int(hex2dec(textentries[key])) if char.strength != value: ! player.log(LOG_MESSAGE, "Changing strength of character 0x%x from %u to %u.\n" % ( char.serial, char.strength, value ) ) char.strength = int( textentries[ key ] ) elif key == 15: value = int(hex2dec(textentries[key])) if char.dexterity != value: ! player.log(LOG_MESSAGE, "Changing dexterity of character 0x%x from %u to %u.\n" % ( char.serial, char.dexterity, value ) ) ! char.dexterity = value elif key == 16: value = int(hex2dec(textentries[key])) if char.intelligence != value: ! player.log(LOG_MESSAGE, "Changing intelligence of character 0x%x from %u to %u.\n" % ( char.serial, char.intelligence, value ) ) ! char.intelligence = value elif key == 17: value = int(hex2dec(textentries[key])) if char.maxhitpoints != value: ! player.log(LOG_MESSAGE, "Changing maxhitpoints of character 0x%x from %u to %u.\n" % ( char.serial, char.maxhitpoints, value ) ) ! char.maxhitpoints = value elif key == 18: value = int(hex2dec(textentries[key])) if char.hitpoints != value: ! player.log(LOG_MESSAGE, "Changing hitpoints of character 0x%x from %u to %u.\n" % ( char.serial, char.hitpoints, value ) ) ! char.hitpoints = value elif key == 19: value = int(hex2dec(textentries[key])) if char.maxstamina != value: ! player.log(LOG_MESSAGE, "Changing maxstamina of character 0x%x from %u to %u.\n" % ( char.serial, char.maxstamina, value ) ) ! char.maxstamina = value elif key == 20: value = int(hex2dec(textentries[key])) if char.stamina != value: ! player.log(LOG_MESSAGE, "Changing stamina of character 0x%x from %u to %u.\n" % ( char.serial, char.stamina, value ) ) ! char.stamina = value elif key == 21: value = int(hex2dec(textentries[key])) if char.maxmana != value: ! player.log(LOG_MESSAGE, "Changing maxmana of character 0x%x from %u to %u.\n" % ( char.serial, char.maxmana, value ) ) ! char.maxmana = value elif key == 22: value = int(hex2dec(textentries[key])) if char.mana != value: ! player.log(LOG_MESSAGE, "Changing mana of character 0x%x from %u to %u.\n" % ( char.serial, char.mana, value ) ) ! char.mana = value elif key == 23: ! char.hidden = str2bool( textentries[ key ] ) elif key == 24: ! char.dead = str2bool( textentries[ key ] ) elif key == 25: ! char.polymorph = str2bool( textentries[ key ] ) elif key == 26: ! char.incognito = str2bool( textentries[ key ] ) elif key == 27: ! char.hunger = int( textentries[ key ] ) elif key == 28: ! char.war = str2bool( textentries[ key ] ) elif key == 29: ! char.invisible = str2bool( textentries[ key ] ) elif key == 30: ! char.frozen = str2bool( textentries[ key ] ) elif key == 31: ! char.stealthedsteps = int( textentries[ key ] ) elif key == 32: ! char.strength2 = int( hex2dec( textentries[ key ] ) ) elif key == 33: ! char.dexterity2 = int( hex2dec( textentries[ key ] ) ) elif key == 34: ! char.intelligence2 = int( hex2dec( textentries[ key ] ) ) elif key == 35: ! char.saycolor = int( hex2dec( textentries[ key ] ) ) elif key == 36: ! char.emotecolor = int( hex2dec( textentries[ key ] ) ) elif key == 37: ! if ( textentries[key] ) == "female": ! char.gender = 1 elif ( textentries[key] ) == "male": ! char.gender = 0 elif ( textentries[key] ) == "none": ! char.gender = 0 elif len(textentries[key]) == 1: if ( int( textentries[ key ] ) < 0 ) or ( int( textentries[ key ] ) > 1 ): ! char.gender = 0 else: ! char.gender = int( textentries[ key ] ) elif key == 38: ! if not char.npc: ! #char.account.name = textentries[ key ] ! pass ! else: if ( textentries[ key ] ) == 'Null' or ( textentries[ key ] ) == 'None': ! char.owner = 'None' else: ! char.owner = int( textentries[ key ] ) elif key == 39: if not char.npc: ! char.visrange = int( textentries[ key ] ) #else: # char.spawnregion = ( textentries[ key ] ) elif key == 40: if not char.npc: ! char.lightbonus = int( textentries[ key ] ) #else: # char.carve = ( textentries[ key ] ) elif key == 41: if not char.npc: ! char.profile = textentries[ key ] elif key == 42: ! if not char.npc: ! if (textentries[ key ]) == '': ! if char.hastag( 'guild' ): ! char.deltag( 'guild' ) ! else: ! char.settag( 'guild', int( hex2dec( textentries[ key ] ) ) ) elif key == 43: pass ! #if not char.npc: ! # if (textentries[ key ]) == '': ! # if char.hastag( 'notoriety' ): ! # char.deltag( 'notoriety' ) ! # else: ! # char.settag( 'notoriety', int( textentries[ key ] ) ) ! #elif char.npc: ! # if not textentries[ key ] == '': ! # char.mindamage = int( textentries[ key ] ) elif key == 44: ! #char.poison = int( textentries[ key ] ) ! pass elif key == 46: if char.npc: ! if textentries[ key ] == '' or int(textentries[ key ]) <= 0: ! if char.hastag( 'dmg_fire' ): ! char.deltag( 'dmg_fire' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'dmg_fire', int( textentries[ key ] ) ) elif key == 47: if char.npc: ! if textentries[ key ] == '' or int(textentries[ key ]) <= 0: ! if char.hastag( 'dmg_cold' ): ! char.deltag( 'dmg_cold' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'dmg_cold', int( textentries[ key ] ) ) elif key == 48: if char.npc: ! if textentries[ key ] == '' or int(textentries[ key ]) <= 0: ! if char.hastag( 'dmg_poison' ): ! char.deltag( 'dmg_poison' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'dmg_poison', int( textentries[ key ] ) ) elif key == 49: if char.npc: ! if textentries[ key ] == '' or int(textentries[ key ]) <= 0: ! if char.hastag( 'dmg_energy' ): ! char.deltag( 'dmg_energy' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'dmg_energy', int( textentries[ key ] ) ) elif key == 50: if char.npc: ! if (textentries[ key ]) == '' or int(textentries[ key ]) == 0: ! if char.hastag( 'res_physical' ): ! char.deltag( 'res_physical' ) else: ! char.settag( 'res_physical', int( textentries[ key ] ) ) elif key == 51: if char.npc: ! if (textentries[ key ]) == '' or int(textentries[ key ]) == 0: ! if char.hastag( 'res_fire' ): ! char.deltag( 'res_fire' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'res_fire', int( textentries[ key ] ) ) elif key == 52: if char.npc: ! if (textentries[ key ]) == '' or int(textentries[ key ]) == 0: ! if char.hastag( 'res_cold' ): ! char.deltag( 'res_cold' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'res_cold', int( textentries[ key ] ) ) elif key == 53: if char.npc: ! if (textentries[ key ]) == '' or int(textentries[ key ]) == 0: ! if char.hastag( 'res_poison' ): ! char.deltag( 'res_poison' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'res_poison', int( textentries[ key ] ) ) elif key == 54: if char.npc: ! if (textentries[ key ]) == '' or int(textentries[ key ]) == 0: ! if char.hastag( 'res_energy' ): ! char.deltag( 'res_energy' ) ! elif int( textentries[ key ] ) <= 100: ! char.settag( 'res_energy', int( textentries[ key ] ) ) if choice.button == 1: --- 558,962 ---- if key == 1: if char.name != textentries[1]: ! player.log(LOG_MESSAGE, "Changing 'name' for character 0x%x from '%s' to '%s'.\n" % ( char.serial, char.name, textentries[key] ) ) char.name = textentries[ key ] elif key == 2: value = textentries[2] if char.title != value: ! player.log(LOG_MESSAGE, "Changing 'title' for character 0x%x from '%s' to '%s'.\n" % ( char.serial, char.title, textentries[key] ) ) char.title = textentries[ key ] elif key == 3: value = int(hex2dec(textentries[key])) if char.id != value: ! player.log(LOG_MESSAGE, "Changing 'id' for character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.id, value ) ) char.id = int( hex2dec( textentries[ key ] ) ) elif key == 4: value = int(hex2dec(textentries[key])) if char.orgid != value: ! player.log(LOG_MESSAGE, "Changing 'orgid' for character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.orgid, value ) ) char.orgid = int( hex2dec( textentries[ key ] ) ) elif key == 5: value = int(hex2dec(textentries[key])) if char.skin != value: ! player.log(LOG_MESSAGE, "Changing 'skin' for character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.skin, value ) ) char.skin = int( hex2dec( textentries[ key ] ) ) elif key == 6: value = int(hex2dec(textentries[key])) if char.orgskin != value: ! player.log(LOG_MESSAGE, "Changing 'orgskin' for character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.orgskin, value ) ) char.orgskin = int( hex2dec( textentries[ key ] ) ) elif key == 7: value = int(hex2dec(textentries[key])) if char.fame != value: ! player.log(LOG_MESSAGE, "Changing 'fame' for character 0x%x from %i to %i.\n" % ( char.serial, char.fame, value ) ) char.fame = int( textentries[ key ] ) elif key == 8: value = int(hex2dec(textentries[key])) if char.karma != value: ! player.log(LOG_MESSAGE, "Changing 'karma' for character 0x%x from %i to %i.\n" % ( char.serial, char.karma, value ) ) char.karma = int( textentries[ key ] ) elif key == 9: value = int(hex2dec(textentries[key])) if char.kills != value: ! player.log(LOG_MESSAGE, "Changing 'kills' for character 0x%x from %u to %u.\n" % ( char.serial, char.kills, value ) ) char.kills = int( textentries[ key ] ) elif key == 10: value = int(hex2dec(textentries[key])) if char.deaths != value: ! player.log(LOG_MESSAGE, "Changing 'deaths' for character 0x%x from %u to %u.\n" % ( char.serial, char.deaths, value ) ) char.deaths = int( textentries[ key ] ) elif key == 11: value = textentries[key] if str(char.pos) != value: ! player.log(LOG_MESSAGE, "Changing 'position' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.pos), value ) ) char.pos = value elif key == 12: value = int(hex2dec(textentries[key])) if char.direction != value: ! player.log(LOG_MESSAGE, "Changing 'direction' for character 0x%x from %u to %u.\n" % ( char.serial, char.direction, value ) ) char.direction = int( textentries[ key ] ) elif key == 13: value = str2bool(textentries[key]) if char.invulnerable != value: ! player.log(LOG_MESSAGE, "Changing 'invulnerability' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.invulnerable), str(value) ) ) char.invulnerable = value elif key == 14: value = int(hex2dec(textentries[key])) if char.strength != value: ! player.log(LOG_MESSAGE, "Changing 'strength' for character 0x%x from %u to %u.\n" % ( char.serial, char.strength, value ) ) char.strength = int( textentries[ key ] ) elif key == 15: value = int(hex2dec(textentries[key])) if char.dexterity != value: ! player.log(LOG_MESSAGE, "Changing 'dexterity' for character 0x%x from %u to %u.\n" % ( char.serial, char.dexterity, value ) ) ! char.dexterity = value elif key == 16: value = int(hex2dec(textentries[key])) if char.intelligence != value: ! player.log(LOG_MESSAGE, "Changing 'intelligence' for character 0x%x from %u to %u.\n" % ( char.serial, char.intelligence, value ) ) ! char.intelligence = value elif key == 17: value = int(hex2dec(textentries[key])) if char.maxhitpoints != value: ! player.log(LOG_MESSAGE, "Changing 'maxhitpoints' for character 0x%x from %u to %u.\n" % ( char.serial, char.maxhitpoints, value ) ) ! char.maxhitpoints = value elif key == 18: value = int(hex2dec(textentries[key])) if char.hitpoints != value: ! player.log(LOG_MESSAGE, "Changing 'hitpoints' for character 0x%x from %u to %u.\n" % ( char.serial, char.hitpoints, value ) ) ! char.hitpoints = value elif key == 19: value = int(hex2dec(textentries[key])) if char.maxstamina != value: ! player.log(LOG_MESSAGE, "Changing 'maxstamina' for character 0x%x from %u to %u.\n" % ( char.serial, char.maxstamina, value ) ) ! char.maxstamina = value elif key == 20: value = int(hex2dec(textentries[key])) if char.stamina != value: ! player.log(LOG_MESSAGE, "Changing 'stamina' for character 0x%x from %u to %u.\n" % ( char.serial, char.stamina, value ) ) ! char.stamina = value elif key == 21: value = int(hex2dec(textentries[key])) if char.maxmana != value: ! player.log(LOG_MESSAGE, "Changing 'maxmana' for character 0x%x from %u to %u.\n" % ( char.serial, char.maxmana, value ) ) ! char.maxmana = value elif key == 22: value = int(hex2dec(textentries[key])) if char.mana != value: ! player.log(LOG_MESSAGE, "Changing 'mana' for character 0x%x from %u to %u.\n" % ( char.serial, char.mana, value ) ) ! char.mana = value elif key == 23: ! value = str2bool( textentries[ key ] ) ! if char.hidden != value: ! player.log(LOG_MESSAGE, "Changing 'hidden' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.hidden), str(value) ) ) ! char.hidden = value elif key == 24: ! value = str2bool( textentries[ key ] ) ! if char.dead != value: ! player.log(LOG_MESSAGE, "Changing 'dead' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.dead), str(value) ) ) ! char.dead = value elif key == 25: ! value = str2bool( textentries[ key ] ) ! if char.polymorph != value: ! player.log(LOG_MESSAGE, "Changing 'polymorph' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.polymorph), str(value) ) ) ! char.polymorph = str2bool( textentries[ key ] ) elif key == 26: ! value = str2bool( textentries[ key ] ) ! if char.incognito != value: ! player.log(LOG_MESSAGE, "Changing 'incognito' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.incognito), str(value) ) ) ! char.incognito = str2bool( textentries[ key ] ) elif key == 27: ! value = int(hex2dec(textentries[key])) ! if char.hunger != value: ! player.log(LOG_MESSAGE, "Changing 'hunger' for character 0x%x from %i to %i.\n" % ( char.serial, char.hunger, value ) ) ! char.hunger = int( hex2dec( textentries[ key ] ) ) elif key == 28: ! value = str2bool( textentries[ key ] ) ! if char.war != value: ! player.log(LOG_MESSAGE, "Changing 'war' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.war), str(value) ) ) ! char.war = str2bool( textentries[ key ] ) elif key == 29: ! value = str2bool( textentries[ key ] ) ! if char.invisible != value: ! player.log(LOG_MESSAGE, "Changing 'invisible' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.invisible), str(value) ) ) ! char.invisible = str2bool( textentries[ key ] ) elif key == 30: ! value = str2bool( textentries[ key ] ) ! if char.frozen != value: ! player.log(LOG_MESSAGE, "Changing 'frozen' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.frozen), str(value) ) ) ! char.frozen = str2bool( textentries[ key ] ) elif key == 31: ! value = int(hex2dec(textentries[key])) ! if char.stealthedsteps != value: ! player.log(LOG_MESSAGE, "Changing 'stealthedsteps' for character 0x%x from %i to %i.\n" % ( char.serial, char.stealthedsteps, value ) ) ! char.stealthedsteps = int( hex2dec( textentries[ key ] ) ) elif key == 32: ! value = int(hex2dec(textentries[key])) ! if char.strength2 != value: ! player.log(LOG_MESSAGE, "Changing 'strength2' for character 0x%x from %i to %i.\n" % ( char.serial, char.strength2, value ) ) ! char.strength2 = int( hex2dec( textentries[ key ] ) ) elif key == 33: ! value = int(hex2dec(textentries[key])) ! if char.dexterity2 != value: ! player.log(LOG_MESSAGE, "Changing 'dexterity2' for character 0x%x from %i to %i.\n" % ( char.serial, char.dexterity2, value ) ) ! char.dexterity2 = int( hex2dec( textentries[ key ] ) ) elif key == 34: ! value = int(hex2dec(textentries[key])) ! if char.intelligence2 != value: ! player.log(LOG_MESSAGE, "Changing 'intelligence2' for character 0x%x from %i to %i.\n" % ( char.serial, char.intelligence2, value ) ) ! char.intelligence2 = int( hex2dec( textentries[ key ] ) ) elif key == 35: ! value = int(hex2dec(textentries[key])) ! if char.saycolor != value: ! player.log(LOG_MESSAGE, "Changing 'saycolor' for character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.saycolor, value ) ) ! char.saycolor = int( hex2dec( textentries[ key ] ) ) elif key == 36: ! value = int(hex2dec(textentries[key])) ! if char.emotecolor != value: ! player.log(LOG_MESSAGE, "Changing 'emotecolor' for character 0x%x from 0x%x to 0x%x.\n" % ( char.serial, char.emotecolor, value ) ) ! char.emotecolor = int( hex2dec( textentries[ key ] ) ) elif key == 37: ! if ( textentries[key] ) == "female": ! value = 1 elif ( textentries[key] ) == "male": ! value = 0 elif ( textentries[key] ) == "none": ! value = 0 elif len(textentries[key]) == 1: if ( int( textentries[ key ] ) < 0 ) or ( int( textentries[ key ] ) > 1 ): ! value = 0 else: ! value = int( textentries[ key ] ) ! ! if char.gender != value: ! player.log(LOG_MESSAGE, "Changing 'gender' for character 0x%x from %i to %i.\n" % ( char.serial, char.gender, value ) ) ! char.gender = value elif key == 38: ! if char.npc: if ( textentries[ key ] ) == 'Null' or ( textentries[ key ] ) == 'None': ! value = None else: ! value = wolfpack.findchar( int( hex2dec( textentries[ key ] ) ) ) ! ! if value != char.owner: ! player.log(LOG_MESSAGE, "Changing 'owner' for character 0x%x from %s to %s.\n" % ( char.serial, str(char.owner), str(value) ) ) ! char.owner = value ! elif key == 39: if not char.npc: ! value = int(hex2dec(textentries[key])) ! if char.visrange != value: ! player.log(LOG_MESSAGE, "Changing 'visrange' for character 0x%x from %i to %i.\n" % ( char.serial, char.visrange, value ) ) ! char.visrange = int( hex2dec( textentries[ key ] ) ) #else: # char.spawnregion = ( textentries[ key ] ) elif key == 40: if not char.npc: ! value = int(hex2dec(textentries[key])) ! if char.lightbonus != value: ! player.log(LOG_MESSAGE, "Changing 'lightbonus' for character 0x%x from %i to %i.\n" % ( char.serial, char.lightbonus, value ) ) ! char.lightbonus = int( hex2dec( textentries[ key ] ) ) #else: # char.carve = ( textentries[ key ] ) elif key == 41: if not char.npc: ! value = textentries[ key ] ! if char.profile != value: ! char.profile = textentries[ key ] ! elif key == 42: ! pass ! elif key == 43: pass ! elif key == 44: ! value = int(hex2dec(textentries[key])) ! if char.poison != value: ! player.log(LOG_MESSAGE, "Changing 'poison' for character 0x%x from %i to %i.\n" % ( char.serial, char.poison, value ) ) ! char.poison = value elif key == 46: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('dmg_fire'): ! current = int(char.gettag('dmg_fire')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'dmg_fire' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('dmg_fire') ! else: ! char.settag('dmg_fire', value) elif key == 47: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('dmg_cold'): ! current = int(char.gettag('dmg_cold')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'dmg_cold' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('dmg_cold') ! else: ! char.settag('dmg_cold', value) elif key == 48: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('dmg_poison'): ! current = int(char.gettag('dmg_poison')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'dmg_poison' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('dmg_poison') ! else: ! char.settag('dmg_poison', value) elif key == 49: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('dmg_energy'): ! current = int(char.gettag('dmg_energy')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'dmg_energy' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('dmg_energy') ! else: ! char.settag('dmg_energy', value) elif key == 50: if char.npc: ! if textentries[ key ] == '': ! value = 0 else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('res_physical'): ! current = int(char.gettag('res_physical')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'res_physical' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('res_physical') ! else: ! char.settag('res_physical', value) elif key == 51: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('res_fire'): ! current = int(char.gettag('res_fire')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'res_fire' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('res_fire') ! else: ! char.settag('res_fire', value) elif key == 52: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('res_cold'): ! current = int(char.gettag('res_cold')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'res_cold' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('res_cold') ! else: ! char.settag('res_cold', value) ! elif key == 53: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('res_poison'): ! current = int(char.gettag('res_poison')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'res_poison' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('res_poison') ! else: ! char.settag('res_poison', value) elif key == 54: if char.npc: ! if textentries[ key ] == '': ! value = 0 ! else: ! value = min( 100, int( hex2dec( textentries[key] ) ) ) ! ! # Get current value ! current = 0 ! if char.hastag('res_energy'): ! current = int(char.gettag('res_energy')) ! ! if current != value: ! player.log(LOG_MESSAGE, "Changing tag 'res_energy' for character 0x%x from %i to %i.\n" % ( char.serial, current, value ) ) ! if value <= 0: ! char.deltag('res_energy') ! else: ! char.settag('res_energy', value) if choice.button == 1: |
From: Sebastian H. <dar...@us...> - 2004-10-01 23:27:37
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30370/python Modified Files: char.cpp item.cpp socket.cpp Log Message: Fixed UCS4 problems. Index: item.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/item.cpp,v retrieving revision 1.135 retrieving revision 1.136 diff -C2 -d -r1.135 -r1.136 *** item.cpp 30 Sep 2004 19:58:52 -0000 1.135 --- item.cpp 1 Oct 2004 23:26:38 -0000 1.136 *************** *** 1,1465 **** ! /* ! * Wolfpack Emu (WP) ! * UO Server Emulation Program ! * ! * Copyright 2001-2004 by holders identified in AUTHORS.txt ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * [...2890 lines suppressed...] ! if ( a->ob_type != &wpItemType || b->ob_type != &wpItemType ) ! return -1; ! ! P_ITEM pA = getWpItem( a ); ! P_ITEM pB = getWpItem( b ); ! ! return !( pA == pB ); ! } ! ! int PyConvertItem( PyObject* object, P_ITEM* item ) ! { ! if ( object->ob_type != &wpItemType ) ! { ! PyErr_BadArgument(); ! return 0; ! } ! ! *item = ( ( wpItem * ) object )->pItem; ! return 1; ! } Index: socket.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/socket.cpp,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** socket.cpp 30 Sep 2004 19:58:52 -0000 1.87 --- socket.cpp 1 Oct 2004 23:26:38 -0000 1.88 *************** *** 706,716 **** return 0; ! if ( PyString_Check( object ) ) ! { ! self->pSock->tags().set( key, cVariant( PyString_AsString( object ) ) ); ! } ! else if ( PyUnicode_Check( object ) ) { ! self->pSock->tags().set( key, cVariant( QString::fromUcs2( ( ushort * ) PyUnicode_AsUnicode( object ) ) ) ); } else if ( PyInt_Check( object ) ) --- 706,712 ---- return 0; ! if ( PyString_Check( object ) || PyUnicode_Check( object ) ) { ! self->pSock->tags().set( key, cVariant( Python2QString( object ) ) ); } else if ( PyInt_Check( object ) ) Index: char.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/char.cpp,v retrieving revision 1.202 retrieving revision 1.203 diff -C2 -d -r1.202 -r1.203 *** char.cpp 1 Oct 2004 16:32:54 -0000 1.202 --- char.cpp 1 Oct 2004 23:26:38 -0000 1.203 *************** *** 996,1006 **** return 0; ! if ( PyString_Check( object ) ) ! { ! self->pChar->setTag( key, cVariant( PyString_AsString( object ) ) ); ! } ! else if ( PyUnicode_Check( object ) ) { ! self->pChar->setTag( key, cVariant( QString::fromUcs2( ( ushort * ) PyUnicode_AsUnicode( object ) ) ) ); } else if ( PyLong_Check( object ) ) --- 996,1002 ---- return 0; ! if ( PyString_Check( object ) || PyUnicode_Check( object ) ) { ! self->pChar->setTag( key, cVariant( Python2QString( object ) ) ); } else if ( PyLong_Check( object ) ) |
From: Sebastian H. <dar...@us...> - 2004-10-01 23:27:36
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30370 Modified Files: ChangeLog commands.cpp Log Message: Fixed UCS4 problems. Index: ChangeLog =================================================================== RCS file: /cvsroot/wpdev/wolfpack/ChangeLog,v retrieving revision 1.90 retrieving revision 1.91 diff -C2 -d -r1.90 -r1.91 *** ChangeLog 1 Oct 2004 19:43:56 -0000 1.90 --- ChangeLog 1 Oct 2004 23:26:37 -0000 1.91 *************** *** 18,21 **** --- 18,23 ---- - Allowed global teleporter tags. - Static tile color can now be retrieved via wolfpack.statics() + - Only 100 spawnregions per cycle are respawned now. + - Fixed even more UCS4 problems. Wolfpack 12.9.11 Beta (26. September 2004) Index: commands.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/commands.cpp,v retrieving revision 1.263 retrieving revision 1.264 diff -C2 -d -r1.263 -r1.264 *** commands.cpp 25 Sep 2004 02:03:19 -0000 1.263 --- commands.cpp 1 Oct 2004 23:26:37 -0000 1.264 *************** *** 96,103 **** QString argString = arguments.join( " " ); ! if ( argString.isNull() ) ! argString = ""; ! ! PyObject* args = Py_BuildValue( "O&uu", PyGetSocketObject, socket, command.ucs2(), argString.ucs2() ); PyObject* result = PyObject_CallObject( function, args ); --- 96,100 ---- QString argString = arguments.join( " " ); ! PyObject* args = Py_BuildValue( "O&NN", PyGetSocketObject, socket, QString2Python(command), QString2Python(argString) ); PyObject* result = PyObject_CallObject( function, args ); |
From: Sebastian H. <dar...@us...> - 2004-10-01 22:54:15
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22709/commands Modified Files: decoration.py info.py Log Message: fixes Index: decoration.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/decoration.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** decoration.py 7 Aug 2004 04:02:53 -0000 1.9 --- decoration.py 1 Oct 2004 22:53:24 -0000 1.10 *************** *** 1,7 **** #===============================================================# ! # ) (\_ | WOLFPACK 13.0.0 Scripts # ! # (( _/{ "-; | Created by: Correa # ! # )).-' {{ ;'` | Revised by: # ! # ( ( ;._ \\ ctr | Last Modification: Created # #===============================================================# --- 1,7 ---- #===============================================================# ! # ) (\_ | WOLFPACK 13.0.0 Scripts # ! # (( _/{ "-; | Created by: Correa # ! # )).-' {{ ;'` | Revised by: # ! # ( ( ;._ \\ ctr | Last Modification: Created # #===============================================================# *************** *** 10,13 **** --- 10,18 ---- \description Places decoration read from a xml template found in wolfpack's data folder. + \usage - <code>decoration</code> + - <code>decoration save</code> + - <code>decoration <map></code> + + Where map is the map you want to decorate (0-3). \notes The decoration will be read from a XML files called 'data\decoration.?.xml, where ? is the map number'. *************** *** 21,153 **** class DecorationHandler( ContentHandler ): ! def __init__(self): ! self.itemid = 0 ! self.hue = 0 ! self.amount = 0 ! self.statements = [] ! def startElement( self, name, atts ): ! if name == "item": ! self.itemid = str(atts.getValue("id")); ! if atts.has_key("hue"): ! self.hue = int(hex2dec(str(atts.getValue("hue")))); ! else: ! self.hue = 0 ! if atts.has_key("amount"): ! self.amount = int(atts.getValue("amount")); ! else: ! self.amount = 0 ! self.statements = [] ! elif name == "attribute": ! type = "str" ! if atts.has_key("type"): ! type = str(atts.getValue("type")) ! if atts.has_key("value") and atts.has_key("key"): ! self.statements.append( str(atts.getValue("key")) + "," + type + ","+ str(atts.getValue("value")) ) ! elif name == "pos": ! item = wolfpack.additem( "%x" % hex2dec( self.itemid ) ) ! if not item or item == None: ! return ! if self.hue > 0: ! item.color = self.hue ! if self.amount > 0: ! item.amount = self.amount ! for p in self.statements: ! parts = p.split(",") ! if hasattr(item, parts[0]): ! if parts[1] == "str": ! value = parts[2] ! elif parts[1] == "int": ! value = int(parts[2]) ! setattr(item, parts[0], value) ! x = int( atts.getValue("x") ) ! y = int( atts.getValue("y") ) ! z = int( atts.getValue("z") ) ! map = int( atts.getValue("map") ) ! item.moveto( x, y, z, map ) ! item.movable = 3 # not movable ! item.decay = 0 # no decay ! item.update() class DecorationSaveHandler: ! def __init__(self, socket): ! self.socket = socket ! self.maps = {} ! ! def sort( self ): ! self.socket.sysmessage("In sort()") ! it = wolfpack.itemiterator() ! item = it.first ! while item: ! if not self.filter(item): ! self.socket.sysmessage("Adding item") ! if not self.maps.has_key(item.pos.map): ! self.maps[item.pos.map] = {} ! if not self.maps[item.pos.map].has_key(item.id): ! self.maps[item.pos.map][item.id] = [] ! self.maps[item.pos.map][item.id].append(item) ! item = it.next ! ! def filter( self, item ): ! if item.multi or item.newbie or item.free or item.spawnregion: ! return True ! ! return False ! ! def save( self ): ! for map in self.maps: ! file = open( "save_decoration.%i.xml" % map, "w" ) ! file.write("<decoration>\n") ! for id in self.maps[map]: ! itemsbyhue = {} ! for item in self.maps[map][id]: ! if not itemsbyhue.has_key(item.color): ! itemsbyhue[item.color] = [] ! itemsbyhue[item.color].append(item) ! tiledata = wolfpack.tiledata(id) ! for hue in itemsbyhue: ! file.write("""\t<!-- %s -->\n""" % tiledata["name"] ) ! if hue != 0: ! file.write("""\t<item id="0x%x" hue="0x%x">\n""" % (id, hue) ) ! else: ! file.write("""\t<item id="0x%x">\n""" % id ) ! for item in itemsbyhue[hue]: ! pos = item.pos ! file.write("""\t\t<pos x="%i" y="%i" z="%i" map="%i">\n""" % (pos.x, pos.y, pos.z, pos.map) ) ! file.write("\t</item>\n") ! file.write("</decoration>\n") ! file.close() def decoration( socket, command, arguments ): ! if len(arguments) > 0: ! args = str(arguments) ! if args == 'save': ! saveObject = DecorationSaveHandler(socket) ! socket.sysmessage("Sorting items, please wait...") ! saveObject.sort() ! socket.sysmessage("Writting file...") ! saveObject.save() ! ! else: ! parser = xml.sax.make_parser() ! handler = DecorationHandler() ! parser.setContentHandler(handler) ! if wolfpack.hasmap(0): ! socket.sysmessage("Decorating map 0, please wait...") ! parser.parse("data/decoration.0.xml") ! if wolfpack.hasmap(1): ! socket.sysmessage("Decorating map 1, please wait...") ! parser.parse("data/decoration.1.xml") ! if wolfpack.hasmap(2): ! socket.sysmessage("Decorating map 2, please wait...") ! parser.parse("data/decoration.2.xml") ! if wolfpack.hasmap(3): ! socket.sysmessage("Decorating map 2, please wait...") ! parser.parse("data/decoration.3.xml") def onLoad(): --- 26,175 ---- class DecorationHandler( ContentHandler ): ! def __init__(self): ! self.itemid = 0 ! self.hue = 0 ! self.amount = 0 ! self.statements = [] ! def startElement( self, name, atts ): ! if name == "item": ! self.itemid = str(atts.getValue("id")); ! if atts.has_key("hue"): ! self.hue = int(hex2dec(str(atts.getValue("hue")))); ! else: ! self.hue = 0 ! if atts.has_key("amount"): ! self.amount = int(atts.getValue("amount")); ! else: ! self.amount = 0 ! self.statements = [] ! elif name == "attribute": ! type = "str" ! if atts.has_key("type"): ! type = str(atts.getValue("type")) ! if atts.has_key("value") and atts.has_key("key"): ! self.statements.append( str(atts.getValue("key")) + "," + type + ","+ str(atts.getValue("value")) ) ! elif name == "pos": ! item = wolfpack.additem( "%x" % hex2dec( self.itemid ) ) ! if not item or item == None: ! return ! if self.hue > 0: ! item.color = self.hue ! if self.amount > 0: ! item.amount = self.amount ! for p in self.statements: ! parts = p.split(",") ! if hasattr(item, parts[0]): ! if parts[1] == "str": ! value = parts[2] ! elif parts[1] == "int": ! value = int(parts[2]) ! setattr(item, parts[0], value) ! x = int( atts.getValue("x") ) ! y = int( atts.getValue("y") ) ! z = int( atts.getValue("z") ) ! map = int( atts.getValue("map") ) ! item.moveto( x, y, z, map ) ! item.movable = 3 # not movable ! item.decay = 0 # no decay ! item.update() class DecorationSaveHandler: ! def __init__(self, socket): ! self.socket = socket ! self.maps = {} + def sort( self ): + self.socket.sysmessage("In sort()") + it = wolfpack.itemiterator() + item = it.first + while item: + if not self.filter(item): + self.socket.sysmessage("Adding item") + if not self.maps.has_key(item.pos.map): + self.maps[item.pos.map] = {} + if not self.maps[item.pos.map].has_key(item.id): + self.maps[item.pos.map][item.id] = [] + self.maps[item.pos.map][item.id].append(item) + item = it.next + def filter( self, item ): + if item.multi or item.newbie or item.free or item.spawnregion: + return True + return False + def save( self ): + for map in self.maps: + file = open( "save_decoration.%i.xml" % map, "w" ) + file.write("<decoration>\n") + for id in self.maps[map]: + itemsbyhue = {} + for item in self.maps[map][id]: + if not itemsbyhue.has_key(item.color): + itemsbyhue[item.color] = [] + itemsbyhue[item.color].append(item) + tiledata = wolfpack.tiledata(id) + for hue in itemsbyhue: + file.write("""\t<!-- %s -->\n""" % tiledata["name"] ) + if hue != 0: + file.write("""\t<item id="0x%x" hue="0x%x">\n""" % (id, hue) ) + else: + file.write("""\t<item id="0x%x">\n""" % id ) + for item in itemsbyhue[hue]: + pos = item.pos + file.write("""\t\t<pos x="%i" y="%i" z="%i" map="%i">\n""" % (pos.x, pos.y, pos.z, pos.map) ) + file.write("\t</item>\n") + file.write("</decoration>\n") + file.close() def decoration( socket, command, arguments ): ! if len(arguments) > 0: ! args = str(arguments) ! if args == 'save': ! saveObject = DecorationSaveHandler(socket) ! socket.sysmessage("Sorting items, please wait...") ! saveObject.sort() ! socket.sysmessage("Writting file...") ! saveObject.save() ! return ! ! parser = xml.sax.make_parser() ! handler = DecorationHandler() ! parser.setContentHandler(handler) ! ! try: ! maponly = int(arguments) ! ! if maponly == 0 and wolfpack.hasmap(0): ! socket.sysmessage("Decorating map 0, please wait...") ! parser.parse("data/decoration.0.xml") ! elif maponly == 1 and wolfpack.hasmap(1): ! socket.sysmessage("Decorating map 1, please wait...") ! parser.parse("data/decoration.1.xml") ! elif maponly == 2 and wolfpack.hasmap(2): ! socket.sysmessage("Decorating map 2, please wait...") ! parser.parse("data/decoration.2.xml") ! elif maponly == 3 and wolfpack.hasmap(3): ! socket.sysmessage("Decorating map 3, please wait...") ! parser.parse("data/decoration.3.xml") ! ! return ! except ValueError: ! pass ! ! if wolfpack.hasmap(0): ! socket.sysmessage("Decorating map 0, please wait...") ! parser.parse("data/decoration.0.xml") ! if wolfpack.hasmap(1): ! socket.sysmessage("Decorating map 1, please wait...") ! parser.parse("data/decoration.1.xml") ! if wolfpack.hasmap(2): ! socket.sysmessage("Decorating map 2, please wait...") ! parser.parse("data/decoration.2.xml") ! if wolfpack.hasmap(3): ! socket.sysmessage("Decorating map 2, please wait...") ! parser.parse("data/decoration.3.xml") def onLoad(): Index: info.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/info.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** info.py 1 Oct 2004 16:34:10 -0000 1.25 --- info.py 1 Oct 2004 22:53:24 -0000 1.26 *************** *** 100,103 **** --- 100,111 ---- def statictileinfo( socket, model, pos, tile ): + # Find the given static tile + statics = wolfpack.statics(pos.x, pos.y, pos.map, True) + color = 0 + + for stile in statics: + if stile['id'] == model and stile['z'] == pos.z: + color = stile['color'] + gump = cGump( 0, 0, 0, 0, 40 ) *************** *** 118,121 **** --- 126,131 ---- # Wet ? Impassable ? At least these are the most interesting gump.addCroppedText( 50, 220, 230, 40, "Properties: "+ tile['flagnames'], 0x834 ) + + gump.addText( 50, 240, "Color : 0x%x" % color, 0x834 ) # OK button |
From: Sebastian H. <dar...@us...> - 2004-10-01 22:39:41
|
Update of /cvsroot/wpdev/xmlscripts/definitions/npcs/animals In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19268/npcs/animals Modified Files: base.xml Log Message: fixes Index: base.xml =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/definitions/npcs/animals/base.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** base.xml 10 Sep 2004 17:56:49 -0000 1.15 --- base.xml 1 Oct 2004 22:38:27 -0000 1.16 *************** *** 20,23 **** --- 20,24 ---- <bindmenu>tame_menu,pet_menu</bindmenu> <basescripts>speech.pets</basescripts> + <ai>Animal_Wild</ai> </npc> |
From: Sebastian H. <dar...@us...> - 2004-10-01 22:31:46
|
Update of /cvsroot/wpdev/wolfpack/ai In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17506/ai Modified Files: ai_animals.cpp Log Message: fixes Index: ai_animals.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/ai/ai_animals.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ai_animals.cpp 19 Sep 2004 22:13:35 -0000 1.15 --- ai_animals.cpp 1 Oct 2004 22:30:43 -0000 1.16 *************** *** 46,49 **** --- 46,50 ---- { AIFactory::instance()->registerType( "Animal_Wild", productCreator_AW ); + AIFactory::instance()->registerType( "Animal_Aggressive", productCreator_AW ); } |
From: Sebastian H. <dar...@us...> - 2004-10-01 22:31:44
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17506 Modified Files: spawnregions.cpp spawnregions.h Log Message: fixes Index: spawnregions.h =================================================================== RCS file: /cvsroot/wpdev/wolfpack/spawnregions.h,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** spawnregions.h 24 Sep 2004 04:47:38 -0000 1.29 --- spawnregions.h 1 Oct 2004 22:30:44 -0000 1.30 *************** *** 121,124 **** --- 121,128 ---- } + inline unsigned int nextTime() { + return nextTime_; + } + private: virtual void processNode( const cElement* Tag ); Index: spawnregions.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/spawnregions.cpp,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** spawnregions.cpp 17 Sep 2004 22:52:17 -0000 1.69 --- spawnregions.cpp 1 Oct 2004 22:30:43 -0000 1.70 *************** *** 384,391 **** void cAllSpawnRegions::check( void ) { iterator it( this->begin() ); ! while ( it != this->end() ) { ! it->second->checkTimer(); ++it; } --- 384,395 ---- void cAllSpawnRegions::check( void ) { + int respawned = 0; iterator it( this->begin() ); ! while ( it != this->end() && respawned < 50 ) { ! if ( it->second->nextTime() <= Server::instance()->time() ) { ! it->second->reSpawn(); ! respawned++; ! } ++it; } |
From: Sebastian H. <dar...@us...> - 2004-10-01 20:59:04
|
Update of /cvsroot/wpdev/xmlscripts/data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16010 Modified Files: decoration.2.xml Log Message: fixes Index: decoration.2.xml =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/data/decoration.2.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** decoration.2.xml 8 Apr 2004 01:43:29 -0000 1.1 --- decoration.2.xml 1 Oct 2004 19:43:37 -0000 1.2 *************** *** 1,29 **** <decoration> - <!-- nodraw--> - <item id="0x1"> - <pos x="637" y="814" z="-52" map="2" /> - <pos x="636" y="814" z="-52" map="2" /> - <pos x="666" y="930" z="-80" map="2" /> - <pos x="666" y="929" z="-80" map="2" /> - <pos x="666" y="928" z="-80" map="2" /> - </item> - - <!-- nodraw--> - <item id="0x1" hue="0x44"> - <pos x="811" y="1152" z="-20" map="2" /> - <pos x="816" y="1152" z="-15" map="2" /> - <pos x="823" y="1152" z="-15" map="2" /> - <pos x="828" y="1152" z="-20" map="2" /> - <pos x="778" y="1086" z="1" map="2" /> - <pos x="778" y="1082" z="1" map="2" /> - <pos x="790" y="1082" z="1" map="2" /> - <pos x="784" y="1082" z="1" map="2" /> - </item> - - <!-- nodraw--> - <item id="0x1" hue="0x591"> - <pos x="771" y="1021" z="13" map="2" /> - </item> - <!-- ankh--> <item id="0x2"> --- 1,3 ---- *************** *** 2877,2884 **** <pos x="1270" y="762" z="0" map="2" /> </item> ! ! <!-- --> ! <item id="0x41f6"> ! <pos x="831" y="1211" z="-70" map="2" /> </item> </decoration> --- 2851,2916 ---- <pos x="1270" y="762" z="0" map="2" /> </item> ! ! <!-- These items are used to complete the teleporters --> ! <item id="0x754" hue="0"> ! <pos x="242" y="27" z="-18" map="2" /> ! <pos x="242" y="26" z="-18" map="2" /> ! <pos x="242" y="25" z="-18" map="2" /> ! <pos x="371" y="31" z="-38" map="2" /> ! <pos x="371" y="30" z="-38" map="2" /> ! <pos x="371" y="29" z="-38" map="2" /> ! <pos x="370" y="31" z="-43" map="2" /> ! <pos x="370" y="30" z="-43" map="2" /> ! <pos x="370" y="29" z="-43" map="2" /> ! </item> ! ! <item id="0x753" hue="0x849"> ! <pos x="272" y="141" z="-18" map="2" /> ! <pos x="273" y="141" z="-18" map="2" /> ! <pos x="274" y="141" z="-18" map="2" /> ! <pos x="555" y="426" z="-8" map="2" /> ! <pos x="556" y="426" z="-8" map="2" /> ! <pos x="556" y="426" z="-8" map="2" /> ! </item> ! ! <item id="0x753" hue="0x835"> ! <pos x="265" y="129" z="-38" map="2" /> ! <pos x="266" y="129" z="-38" map="2" /> ! <pos x="267" y="129" z="-38" map="2" /> ! <pos x="268" y="129" z="-38" map="2" /> ! <pos x="284" y="73" z="-18" map="2" /> ! <pos x="285" y="73" z="-18" map="2" /> ! <pos x="286" y="73" z="-18" map="2" /> ! <pos x="287" y="73" z="-18" map="2" /> ! <pos x="284" y="66" z="-37" map="2" /> ! <pos x="285" y="66" z="-37" map="2" /> ! <pos x="286" y="66" z="-37" map="2" /> ! <pos x="287" y="66" z="-37" map="2" /> ! <pos x="131" y="129" z="-18" map="2" /> ! <pos x="132" y="129" z="-18" map="2" /> ! <pos x="133" y="129" z="-18" map="2" /> ! <pos x="134" y="129" z="-18" map="2" /> ! </item> ! ! <item id="0x73a"> ! <pos x="359" y="40" z="-43" map="2" /> ! <pos x="359" y="41" z="-43" map="2" /> ! <pos x="359" y="42" z="-43" map="2" /> ! <pos x="155" y="88" z="-18" map="2" /> ! <pos x="155" y="89" z="-18" map="2" /> ! <pos x="155" y="90" z="-18" map="2" /> </item> + + <!-- <item id="0x753" hue="0x530"> + <pos x="" y="" z="" map="2" /> + </item> --> + <!-- + + + CreateTeleporter( 358, 40, -36, 156, 88, -18, map, false ); // stairs - 0x73A + CreateTeleporter( 358, 41, -36, 156, 89, -18, map, false ); // stairs - 0x73A + CreateTeleporter( 358, 42, -36, 156, 90, -18, map, false ); // stairs - 0x73A + CreateTeleporter( 155, 88, -16, 357, 40, -31, map, false ); // stairs - 0x73A + CreateTeleporter( 155, 88, -16, 357, 41, -31, map, false ); // stairs - 0x73A + CreateTeleporter( 155, 90, -16, 357, 42, -31, map, false ); // stairs - 0x73A --> </decoration> |
From: Sebastian H. <dar...@us...> - 2004-10-01 19:46:01
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15956/python Modified Files: global.cpp Log Message: teleporter fixes added color for static tiles Index: global.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/global.cpp,v retrieving revision 1.162 retrieving revision 1.163 diff -C2 -d -r1.162 -r1.163 *** global.cpp 25 Sep 2004 22:57:10 -0000 1.162 --- global.cpp 1 Oct 2004 19:43:57 -0000 1.163 *************** *** 590,593 **** --- 590,594 ---- following keys: - <code>id</code> The art tile id of the static item as an integer value. + - <code>color</code> The color of the tile. - <code>x</code> The absolute x component of the coordinate of the static tile. (Not relative to the upper left block corner). *************** *** 624,627 **** --- 625,629 ---- PyDict_SetItemString( dict, "y", PyInt_FromLong( ( yBlock * 8 ) + iter->yoff ) ); PyDict_SetItemString( dict, "z", PyInt_FromLong( iter->zoff ) ); + PyDict_SetItemString( dict, "color", PyInt_FromLong( iter->color ) ); PyList_Append( list, dict ); |