Cloud Posted October 31, 2009 Posted October 31, 2009 hi guys,here is my problem:i added Silverstorm armors sets to my l2j gracia final server and i wanted to edit their stats so i used XMLpad Editor and here is what i did: <?xml version="1.0" encoding="UTF-8"?> <list> <item id="49013" name="Silverstorm Helmet - Heavy/Light/Robe"> <for> <add order="0x10" stat="pDef" val="83"/> <add order="0x40" stat="DEX" val="20"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49014" name="Silverstorm Armor - Heavy"> <for> <add order="0x10" stat="pDef" val="205"/> <add order="0x40" stat="STR" val="20"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49015" name="Silverstorm Gauntlets - Heavy"> <for> <add order="0x10" stat="pDef" val="55"/> <add order="0x40" stat="CON" val="20"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49016" name="Silverstorm Boots - Heavy"> <for> <add order="0x10" stat="pDef" val="55"/> <add order="0x40" stat="pDef" val="3000"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49017" name="Silverstorm Leather - Light"> <for> <add order="0x10" stat="pDef" val="249"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49018" name="Silverstorm Gloves - Light"> <for> <add order="0x10" stat="pDef" val="55"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49019" name="Silverstorm Boots - Light"> <for> <add order="0x10" stat="pDef" val="55"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49020" name="Silverstorm Tunic - Robe"> <for> <add order="0x10" stat="pDef" val="166"/> <add order="0x40" stat="maxMp" val="866"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49021" name="Silverstorm Gloves - Robe"> <for> <add order="0x10" stat="pDef" val="55"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> <item id="49022" name="Silverstorm Boots - Robe"> <for> <add order="0x10" stat="pDef" val="55"/> <enchant order="0x0C" stat="pDef" val="0"/> </for> </item> </list> as u can see i added DEX,CON STR stats..the problem is that when now i start my gameserver it cant load the xml file..he says that i have error with "add" and it must be followed by "/>"..i did it but i still get the problem..what is wrong?where i can find a full guide for editing l2 xml?thx u Cloud
Cloud Posted October 31, 2009 Author Posted October 31, 2009 oh..0x40 means 4x....str"20"? is this the problem? i'll try to check what u wrote ave..waiting for extremedwarf's answer edit:anyway i fixed the problem,i made 2 space instead of 1 between val and stat..thx u Ave:D..anyway i am waiting for answers about 0x40
takhs7 Posted October 31, 2009 Posted October 31, 2009 no 0x40 doesnt mean 4x str :/ im not sure myself what that is but for example <add val='2' order='0x40' stat='INT'/> this means +2 INT ... i dont know what happens if u make it 0x10 or w/e but i think its gonna be the same :/ i usualy just use <mul order="0x30" stat="pDef" val="2"/> if i want to mutliply the stat (in this example means 200% pdef.. 1 means 100% (nothing changes) 0.50 means 50% (half p def) and so on) and also <add val='200' order='0x40' stat='pDef'/> if u want to add .. (in this example means +200 pdef) and finaly <sub val='200' order='0x40' stat='pDef'/> if u want to subtract (in this example means -200 pdef) so generaly i use 0x40 for add and subtract and 0x30 for multipling.. but honestly i havent try making it 0x10 for example or 0x47434 .. ::) lol
Vkouk Posted November 1, 2009 Posted November 1, 2009 oki thx u taks...:D Locked.If you need more help about this topic pm me to unlock it.
Recommended Posts