amarhat Posted January 12, 2023 Posted January 12, 2023 Hi, I have a Error in my server, i cant put max lvl 99 or more. I try to edit ------> experience.xml | experience.xsd | basestats of all Race | This is the error... PlayerTemplatedata not parce the individual basestats of all Race, but i edit all archives, experience.xsd Spoiler <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="table"> <xs:complexType> <xs:sequence minOccurs="1" maxOccurs="1"> <xs:element name="experience" minOccurs="1" maxOccurs="99"> <xs:complexType> <xs:attribute name="level" use="required"> <xs:simpleType> <xs:restriction base="xs:positiveInteger"> <xs:minInclusive value="1" /> <xs:maxInclusive value="99" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="tolevel" type="xs:nonNegativeInteger" use="required" /> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="maxLevel" use="required"> <xs:simpleType> <xs:restriction base="xs:positiveInteger"> <xs:minInclusive value="1" /> <xs:maxInclusive value="99" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="maxPetLevel" use="required"> <xs:simpleType> <xs:restriction base="xs:positiveInteger"> <xs:minInclusive value="1" /> <xs:maxInclusive value="99" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> </xs:schema> experience.xml Spoiler <?xml version="1.0" encoding="UTF-8"?> <table maxLevel="99" maxPetLevel="99" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/experience.xsd"> <experience level="1" tolevel="0" /> <experience level="2" tolevel="68" /> <experience level="3" tolevel="363" /> <experience level="4" tolevel="1168" /> <experience level="5" tolevel="2884" /> <experience level="6" tolevel="6038" /> <experience level="7" tolevel="11287" /> <experience level="8" tolevel="19423" /> <experience level="9" tolevel="31378" /> <experience level="10" tolevel="48229" /> <experience level="11" tolevel="71202" /> <experience level="12" tolevel="101677" /> <experience level="13" tolevel="141193" /> <experience level="14" tolevel="191454" /> <experience level="15" tolevel="254330" /> <experience level="16" tolevel="331867" /> <experience level="17" tolevel="426288" /> <experience level="18" tolevel="540000" /> <experience level="19" tolevel="675596" /> <experience level="20" tolevel="835862" /> <experience level="21" tolevel="1023784" /> <experience level="22" tolevel="1242546" /> <experience level="23" tolevel="1495543" /> <experience level="24" tolevel="1786379" /> <experience level="25" tolevel="2118876" /> <experience level="26" tolevel="2497077" /> <experience level="27" tolevel="2925250" /> <experience level="28" tolevel="3407897" /> <experience level="29" tolevel="3949754" /> <experience level="30" tolevel="4555796" /> <experience level="31" tolevel="5231246" /> <experience level="32" tolevel="5981576" /> <experience level="33" tolevel="6812513" /> <experience level="34" tolevel="7730044" /> <experience level="35" tolevel="8740422" /> <experience level="36" tolevel="9850166" /> <experience level="37" tolevel="11066072" /> <experience level="38" tolevel="12395215" /> <experience level="39" tolevel="13844951" /> <experience level="40" tolevel="15422929" /> <experience level="41" tolevel="17137087" /> <experience level="42" tolevel="18995665" /> <experience level="43" tolevel="21007203" /> <experience level="44" tolevel="23180550" /> <experience level="45" tolevel="25524868" /> <experience level="46" tolevel="28049635" /> <experience level="47" tolevel="30764654" /> <experience level="48" tolevel="33680052" /> <experience level="49" tolevel="36806289" /> <experience level="50" tolevel="40154162" /> <experience level="51" tolevel="45525133" /> <experience level="52" tolevel="51262490" /> <experience level="53" tolevel="57383988" /> <experience level="54" tolevel="63907911" /> <experience level="55" tolevel="70853089" /> <experience level="56" tolevel="80700831" /> <experience level="57" tolevel="91162654" /> <experience level="58" tolevel="102265881" /> <experience level="59" tolevel="114038596" /> <experience level="60" tolevel="126509653" /> <experience level="61" tolevel="146308200" /> <experience level="62" tolevel="167244337" /> <experience level="63" tolevel="189364894" /> <experience level="64" tolevel="212717908" /> <experience level="65" tolevel="237352644" /> <experience level="66" tolevel="271975263" /> <experience level="67" tolevel="308443198" /> <experience level="68" tolevel="346827154" /> <experience level="69" tolevel="387199547" /> <experience level="70" tolevel="429634523" /> <experience level="71" tolevel="474207979" /> <experience level="72" tolevel="532694979" /> <experience level="73" tolevel="606322775" /> <experience level="74" tolevel="696381369" /> <experience level="75" tolevel="804225364" /> <experience level="76" tolevel="931275828" /> <experience level="77" tolevel="1151275834" /> <experience level="78" tolevel="1511275834" /> <experience level="79" tolevel="2044287599" /> <experience level="80" tolevel="3075966164" /> <experience level="81" tolevel="4295351949" /> <experience level="82" tolevel="5766985062" /> <experience level="83" tolevel="7793077345" /> <experience level="84" tolevel="10235368963" /> <experience level="85" tolevel="13180481103" /> <experience level="86" tolevel="16890558728" /> <experience level="87" tolevel="21138534249" /> <experience level="88" tolevel="31138534249" /> <experience level="89" tolevel="41138534249" /> <experience level="90" tolevel="51138534249" /> <experience level="91" tolevel="61138534249" /> <experience level="92" tolevel="71138534249" /> <experience level="93" tolevel="81138534249" /> <experience level="94" tolevel="91138534249" /> <experience level="95" tolevel="101138534249" /> <experience level="96" tolevel="111138534249" /> <experience level="97" tolevel="121138534249" /> <experience level="98" tolevel="131138534249" /> <experience level="99" tolevel="141138534249" /> </table> EJEM OF 1 RACE IN BASESTATS ----> \game\data\xml\stats\chars\baseStats !!! Spoiler <?xml version="1.0" encoding="UTF-8"?> <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../xsd/charTemplate.xsd"> <classId>36</classId> <staticData> <baseINT>25</baseINT> <baseSTR>41</baseSTR> <baseCON>32</baseCON> <baseMEN>26</baseMEN> <baseDEX>34</baseDEX> <baseWIT>12</baseWIT> <creationPoints> <node x="28295" y="11063" z="-4224" /> <node x="28302" y="11008" z="-4224" /> <node x="28377" y="10916" z="-4224" /> <node x="28456" y="10997" z="-4224" /> <node x="28461" y="11044" z="-4224" /> <node x="28395" y="11127" z="-4224" /> </creationPoints> <basePAtk>4</basePAtk> <baseCritRate>4</baseCritRate> <baseAtkType>FIST</baseAtkType> <basePAtkSpd>300</basePAtkSpd> <basePDef> <chest>31</chest> <legs>18</legs> <head>12</head> <feet>7</feet> <gloves>8</gloves> <underwear>3</underwear> <cloak>1</cloak> </basePDef> <baseMAtk>6</baseMAtk> <baseMDef> <rear>9</rear> <lear>9</lear> <rfinger>5</rfinger> <lfinger>5</lfinger> <neck>13</neck> </baseMDef> <baseCanPenetrate>0</baseCanPenetrate> <baseAtkRange>20</baseAtkRange> <baseDamRange> <verticalDirection>0</verticalDirection> <horizontalDirection>0</horizontalDirection> <distance>26</distance> <width>120</width> </baseDamRange> <baseRndDam>10</baseRndDam> <baseMoveSpd> <walk>85</walk> <run>122</run> <slowSwim>50</slowSwim> <fastSwim>50</fastSwim> </baseMoveSpd> <baseBreath>150</baseBreath> <baseSafeFall>350</baseSafeFall> <collisionMale> <radius>7.5</radius> <height>23.6</height> </collisionMale> <collisionFemale> <radius>7.0</radius> <height>23</height> </collisionFemale> </staticData> <lvlUpgainData> <level val="1"> <hp>94.0</hp> <mp>30.0</mp> <cp>51.7</cp> <hpRegen>2.0</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="2"> <hp>107.65</hp> <mp>35.46</mp> <cp>59.2075</cp> <hpRegen>2.05</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="3"> <hp>121.45</hp> <mp>40.98</mp> <cp>66.7975</cp> <hpRegen>2.1</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="4"> <hp>135.4</hp> <mp>46.56</mp> <cp>74.47</cp> <hpRegen>2.15</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="5"> <hp>149.5</hp> <mp>52.2</mp> <cp>82.225</cp> <hpRegen>2.2</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="6"> <hp>163.75</hp> <mp>57.9</mp> <cp>90.0625</cp> <hpRegen>2.25</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="7"> <hp>178.15</hp> <mp>63.66</mp> <cp>97.9825</cp> <hpRegen>2.3</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="8"> <hp>192.7</hp> <mp>69.48</mp> <cp>105.985</cp> <hpRegen>2.35</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="9"> <hp>207.4</hp> <mp>75.36</mp> <cp>114.07</cp> <hpRegen>2.4</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="10"> <hp>222.25</hp> <mp>81.3</mp> <cp>122.2375</cp> <hpRegen>2.45</hpRegen> <mpRegen>0.9</mpRegen> <cpRegen>2.0</cpRegen> </level> <level val="11"> <hp>237.25</hp> <mp>87.3</mp> <cp>130.4875</cp> <hpRegen>2.5</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="12"> <hp>252.4</hp> <mp>93.36</mp> <cp>138.82</cp> <hpRegen>2.6</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="13"> <hp>267.7</hp> <mp>99.48</mp> <cp>147.235</cp> <hpRegen>2.7</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="14"> <hp>283.15</hp> <mp>105.66</mp> <cp>155.7325</cp> <hpRegen>2.8</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="15"> <hp>298.75</hp> <mp>111.9</mp> <cp>164.3125</cp> <hpRegen>2.9</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="16"> <hp>314.5</hp> <mp>118.2</mp> <cp>172.975</cp> <hpRegen>3.0</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="17"> <hp>330.4</hp> <mp>124.56</mp> <cp>181.72</cp> <hpRegen>3.1</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="18"> <hp>346.45</hp> <mp>130.98</mp> <cp>190.5475</cp> <hpRegen>3.2</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="19"> <hp>362.65</hp> <mp>137.46</mp> <cp>199.4575</cp> <hpRegen>3.3</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="20"> <hp>379.0</hp> <mp>144.0</mp> <cp>208.45</cp> <hpRegen>3.4</hpRegen> <mpRegen>1.2</mpRegen> <cpRegen>2.5</cpRegen> </level> <level val="21"> <hp>412.0</hp> <mp>153.9</mp> <cp>226.6</cp> <hpRegen>3.5</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="22"> <hp>445.3</hp> <mp>163.89</mp> <cp>244.915</cp> <hpRegen>3.6</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="23"> <hp>478.9</hp> <mp>173.97</mp> <cp>263.395</cp> <hpRegen>3.7</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="24"> <hp>512.8</hp> <mp>184.14</mp> <cp>282.04</cp> <hpRegen>3.8</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="25"> <hp>547.0</hp> <mp>194.4</mp> <cp>300.85</cp> <hpRegen>3.9</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="26"> <hp>581.5</hp> <mp>204.75</mp> <cp>319.825</cp> <hpRegen>4.0</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="27"> <hp>616.3</hp> <mp>215.19</mp> <cp>338.965</cp> <hpRegen>4.1</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="28"> <hp>651.4</hp> <mp>225.72</mp> <cp>358.27</cp> <hpRegen>4.2</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="29"> <hp>686.8</hp> <mp>236.34</mp> <cp>377.74</cp> <hpRegen>4.3</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="30"> <hp>722.5</hp> <mp>247.05</mp> <cp>397.375</cp> <hpRegen>4.4</hpRegen> <mpRegen>1.5</mpRegen> <cpRegen>3.5</cpRegen> </level> <level val="31"> <hp>758.5</hp> <mp>257.85</mp> <cp>417.175</cp> <hpRegen>4.5</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="32"> <hp>794.8</hp> <mp>268.74</mp> <cp>437.14</cp> <hpRegen>4.6</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="33"> <hp>831.4</hp> <mp>279.72</mp> <cp>457.27</cp> <hpRegen>4.7</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="34"> <hp>868.3</hp> <mp>290.79</mp> <cp>477.565</cp> <hpRegen>4.8</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="35"> <hp>905.5</hp> <mp>301.95</mp> <cp>498.025</cp> <hpRegen>4.9</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="36"> <hp>943.0</hp> <mp>313.2</mp> <cp>518.65</cp> <hpRegen>5.0</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="37"> <hp>980.8</hp> <mp>324.54</mp> <cp>539.44</cp> <hpRegen>5.1</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="38"> <hp>1018.9</hp> <mp>335.97</mp> <cp>560.395</cp> <hpRegen>5.2</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="39"> <hp>1057.3</hp> <mp>347.49</mp> <cp>581.515</cp> <hpRegen>5.3</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="40"> <hp>1096.0</hp> <mp>359.1</mp> <cp>602.8</cp> <hpRegen>5.4</hpRegen> <mpRegen>1.8</mpRegen> <cpRegen>4.5</cpRegen> </level> <level val="41"> <hp>1145.4</hp> <mp>378.6</mp> <cp>629.97</cp> <hpRegen>5.5</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="42"> <hp>1195.18</hp> <mp>398.25</mp> <cp>657.349</cp> <hpRegen>5.6</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="43"> <hp>1245.34</hp> <mp>418.05</mp> <cp>684.937</cp> <hpRegen>5.7</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="44"> <hp>1295.88</hp> <mp>438.0</mp> <cp>712.734</cp> <hpRegen>5.8</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="45"> <hp>1346.8</hp> <mp>458.1</mp> <cp>740.74</cp> <hpRegen>5.9</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="46"> <hp>1398.1</hp> <mp>478.35</mp> <cp>768.955</cp> <hpRegen>6.0</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="47"> <hp>1449.78</hp> <mp>498.75</mp> <cp>797.379</cp> <hpRegen>6.1</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="48"> <hp>1501.84</hp> <mp>519.3</mp> <cp>826.012</cp> <hpRegen>6.2</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="49"> <hp>1554.28</hp> <mp>540.0</mp> <cp>854.854</cp> <hpRegen>6.3</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="50"> <hp>1607.1</hp> <mp>560.85</mp> <cp>883.905</cp> <hpRegen>6.4</hpRegen> <mpRegen>2.1</mpRegen> <cpRegen>5.5</cpRegen> </level> <level val="51"> <hp>1660.3</hp> <mp>581.85</mp> <cp>913.165</cp> <hpRegen>6.5</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="52"> <hp>1713.88</hp> <mp>603.0</mp> <cp>942.634</cp> <hpRegen>6.6</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="53"> <hp>1767.84</hp> <mp>624.3</mp> <cp>972.312</cp> <hpRegen>6.7</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="54"> <hp>1822.18</hp> <mp>645.75</mp> <cp>1002.199</cp> <hpRegen>6.8</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="55"> <hp>1876.9</hp> <mp>667.35</mp> <cp>1032.295</cp> <hpRegen>6.9</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="56"> <hp>1932.0</hp> <mp>689.1</mp> <cp>1062.6</cp> <hpRegen>7.0</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="57"> <hp>1987.48</hp> <mp>711.0</mp> <cp>1093.114</cp> <hpRegen>7.1</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="58"> <hp>2043.34</hp> <mp>733.05</mp> <cp>1123.837</cp> <hpRegen>7.2</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="59"> <hp>2099.58</hp> <mp>755.25</mp> <cp>1154.769</cp> <hpRegen>7.3</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="60"> <hp>2156.2</hp> <mp>777.6</mp> <cp>1185.91</cp> <hpRegen>7.4</hpRegen> <mpRegen>2.4</mpRegen> <cpRegen>6.5</cpRegen> </level> <level val="61"> <hp>2213.2</hp> <mp>800.1</mp> <cp>1217.26</cp> <hpRegen>7.5</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="62"> <hp>2270.58</hp> <mp>822.75</mp> <cp>1248.819</cp> <hpRegen>7.6</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="63"> <hp>2328.34</hp> <mp>845.55</mp> <cp>1280.587</cp> <hpRegen>7.7</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="64"> <hp>2386.48</hp> <mp>868.5</mp> <cp>1312.564</cp> <hpRegen>7.8</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="65"> <hp>2445.0</hp> <mp>891.6</mp> <cp>1344.75</cp> <hpRegen>7.9</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="66"> <hp>2503.9</hp> <mp>914.85</mp> <cp>1377.145</cp> <hpRegen>8.0</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="67"> <hp>2563.18</hp> <mp>938.25</mp> <cp>1409.749</cp> <hpRegen>8.1</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="68"> <hp>2622.84</hp> <mp>961.8</mp> <cp>1442.562</cp> <hpRegen>8.2</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="69"> <hp>2682.88</hp> <mp>985.5</mp> <cp>1475.584</cp> <hpRegen>8.3</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="70"> <hp>2743.3</hp> <mp>1009.35</mp> <cp>1508.815</cp> <hpRegen>8.4</hpRegen> <mpRegen>2.7</mpRegen> <cpRegen>7.5</cpRegen> </level> <level val="71"> <hp>2804.1</hp> <mp>1033.35</mp> <cp>1542.255</cp> <hpRegen>8.5</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="72"> <hp>2865.28</hp> <mp>1057.5</mp> <cp>1575.904</cp> <hpRegen>8.6</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="73"> <hp>2926.84</hp> <mp>1081.8</mp> <cp>1609.762</cp> <hpRegen>8.7</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="74"> <hp>2988.78</hp> <mp>1106.25</mp> <cp>1643.829</cp> <hpRegen>8.8</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="75"> <hp>3051.1</hp> <mp>1130.85</mp> <cp>1678.105</cp> <hpRegen>8.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="76"> <hp>3113.8</hp> <mp>1155.6</mp> <cp>1712.59</cp> <hpRegen>9.0</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="77"> <hp>3176.88</hp> <mp>1180.5</mp> <cp>1747.284</cp> <hpRegen>9.1</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="78"> <hp>3240.34</hp> <mp>1205.55</mp> <cp>1782.187</cp> <hpRegen>9.2</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="79"> <hp>3304.18</hp> <mp>1230.75</mp> <cp>1817.299</cp> <hpRegen>9.3</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="80"> <hp>3368.4</hp> <mp>1256.1</mp> <cp>1852.62</cp> <hpRegen>9.4</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="81"> <hp>3433.0</hp> <mp>1281.6</mp> <cp>1888.15</cp> <hpRegen>9.5</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="82"> <hp>3497.98</hp> <mp>1307.25</mp> <cp>1923.889</cp> <hpRegen>9.6</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="83"> <hp>3563.34</hp> <mp>1333.05</mp> <cp>1959.837</cp> <hpRegen>9.7</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="84"> <hp>3629.08</hp> <mp>1359.0</mp> <cp>1995.994</cp> <hpRegen>9.8</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="85"> <hp>3695.2</hp> <mp>1385.1</mp> <cp>2032.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="86"> <hp>3795.2</hp> <mp>1485.1</mp> <cp>2132.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="87"> <hp>3895.2</hp> <mp>1585.1</mp> <cp>2232.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="88"> <hp>3995.2</hp> <mp>1685.1</mp> <cp>2332.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="89"> <hp>4000.2</hp> <mp>1785.1</mp> <cp>2432.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="90"> <hp>4100.2</hp> <mp>1885.1</mp> <cp>2532.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="91"> <hp>4200.2</hp> <mp>1985.1</mp> <cp>2632.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="92"> <hp>4300.2</hp> <mp>2000.1</mp> <cp>2732.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="93"> <hp>4400.2</hp> <mp>2100.1</mp> <cp>2832.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="94"> <hp>4500.2</hp> <mp>2200.1</mp> <cp>2932.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="95"> <hp>4600.2</hp> <mp>2300.1</mp> <cp>3032.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="96"> <hp>4700.2</hp> <mp>2400.1</mp> <cp>3132.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="97"> <hp>4800.2</hp> <mp>2500.1</mp> <cp>3232.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="98"> <hp>4900.2</hp> <mp>2600.1</mp> <cp>3332.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> <level val="99"> <hp>5000.2</hp> <mp>2700.1</mp> <cp>3432.36</cp> <hpRegen>9.9</hpRegen> <mpRegen>3.0</mpRegen> <cpRegen>8.5</cpRegen> </level> </lvlUpgainData> </list> Error on Console -----> INFO OF PACK : [09:29:17] INFO: Chronicle: ..............: High Five Part 5 (CT2.6) [09:29:17] INFO: Protocols: ..............: 267, 268, 271, 273 [09:29:17] INFO: Core Revision: ..........: ver. 963 [09:29:17] INFO: Data Revision: ..........: ver. 852 [09:29:17] INFO: Engine Revision: ........: ver. 47.19.365 [09:29:17] INFO: Sunrise Revision: .......: ver. 6.78.763 [09:29:17] INFO: Protocol Revision: ......: ver. 1.02.256 Also i have two files from CORE -----> EXPERIENCE_JAVA Spoiler /* * Copyright (C) 2004-2015 L2J Server * * This file is part of L2J Server. * * L2J Server 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 3 of the License, or * (at your option) any later version. * * L2J Server is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2jserver.gameserver.data.xml.impl; import java.util.HashMap; import java.util.Map; import org.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import com.l2jserver.gameserver.data.xml.IXmlReader; /** * This class holds the Experience points for each level for players and pets. * @author mrTJO */ public final class ExperienceData implements IXmlReader { private final Map<Integer, Long> _expTable = new HashMap<>(); private byte MAX_LEVEL; private byte MAX_PET_LEVEL; /** * Instantiates a new experience table. */ protected ExperienceData() { load(); } @Override public void load() { _expTable.clear(); parseDatapackFile("data/stats/experience.xml"); LOGGER.info(getClass().getSimpleName() + ": Loaded " + _expTable.size() + " levels."); LOGGER.info(getClass().getSimpleName() + ": Max Player Level is: " + (MAX_LEVEL - 1)); LOGGER.info(getClass().getSimpleName() + ": Max Pet Level is: " + (MAX_PET_LEVEL - 1)); } @Override public void parseDocument(Document doc) { final Node table = doc.getFirstChild(); final NamedNodeMap tableAttr = table.getAttributes(); MAX_LEVEL = (byte) (Byte.parseByte(tableAttr.getNamedItem("maxLevel").getNodeValue()) + 1); MAX_PET_LEVEL = (byte) (Byte.parseByte(tableAttr.getNamedItem("maxPetLevel").getNodeValue()) + 1); for (Node n = table.getFirstChild(); n != null; n = n.getNextSibling()) { if ("experience".equals(n.getNodeName())) { NamedNodeMap attrs = n.getAttributes(); _expTable.put(parseInteger(attrs, "level"), parseLong(attrs, "tolevel")); } } } /** * Gets the exp for level. * @param level the level required. * @return the experience points required to reach the given level. */ public long getExpForLevel(int level) { return _expTable.get(level); } /** * Gets the max level. * @return the maximum level acquirable by a player. */ public byte getMaxLevel() { return MAX_LEVEL; } /** * Gets the max pet level. * @return the maximum level acquirable by a pet. */ public byte getMaxPetLevel() { return MAX_PET_LEVEL; } /** * Gets the single instance of ExperienceTable. * @return single instance of ExperienceTable */ public static ExperienceData getInstance() { return SingletonHolder._instance; } private static class SingletonHolder { protected static final ExperienceData _instance = new ExperienceData(); } } AND PLAYER TEMPLATE DATA -----> Spoiler /* * Copyright (C) 2004-2015 L2J Server * * This file is part of L2J Server. * * L2J Server 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 3 of the License, or * (at your option) any later version. * * L2J Server is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2jserver.gameserver.data.xml.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.logging.Logger; import org.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import com.l2jserver.gameserver.data.xml.IXmlReader; import com.l2jserver.gameserver.model.Location; import com.l2jserver.gameserver.model.StatsSet; import com.l2jserver.gameserver.model.actor.templates.L2PcTemplate; import com.l2jserver.gameserver.model.base.ClassId; /** * Loads player's base stats. * @author Forsaiken, Zoey76, GKR */ public final class PlayerTemplateData implements IXmlReader { private static final Logger LOGGER = Logger.getLogger(PlayerTemplateData.class.getName()); private final Map<ClassId, L2PcTemplate> _playerTemplates = new HashMap<>(); private int _dataCount = 0; protected PlayerTemplateData() { load(); } @Override public void load() { _playerTemplates.clear(); parseDatapackDirectory("data/stats/chars/baseStats", false); LOGGER.info(getClass().getSimpleName() + ": Loaded " + _playerTemplates.size() + " character templates."); LOGGER.info(getClass().getSimpleName() + ": Loaded " + _dataCount + " level up gain records."); } @Override public void parseDocument(Document doc) { NamedNodeMap attrs; int classId = 0; for (Node n = doc.getFirstChild(); n != null; n = n.getNextSibling()) { if ("list".equalsIgnoreCase(n.getNodeName())) { for (Node d = n.getFirstChild(); d != null; d = d.getNextSibling()) { if ("classId".equalsIgnoreCase(d.getNodeName())) { classId = Integer.parseInt(d.getTextContent()); } else if ("staticData".equalsIgnoreCase(d.getNodeName())) { StatsSet set = new StatsSet(); set.set("classId", classId); List<Location> creationPoints = new ArrayList<>(); for (Node nd = d.getFirstChild(); nd != null; nd = nd.getNextSibling()) { // Skip odd nodes if (nd.getNodeName().equals("#text")) { continue; } if (nd.getChildNodes().getLength() > 1) { for (Node cnd = nd.getFirstChild(); cnd != null; cnd = cnd.getNextSibling()) { // use L2CharTemplate(superclass) fields for male collision height and collision radius if (nd.getNodeName().equalsIgnoreCase("collisionMale")) { if (cnd.getNodeName().equalsIgnoreCase("radius")) { set.set("collision_radius", cnd.getTextContent()); } else if (cnd.getNodeName().equalsIgnoreCase("height")) { set.set("collision_height", cnd.getTextContent()); } } if ("node".equalsIgnoreCase(cnd.getNodeName())) { attrs = cnd.getAttributes(); creationPoints.add(new Location(parseInteger(attrs, "x"), parseInteger(attrs, "y"), parseInteger(attrs, "z"))); } else if ("walk".equalsIgnoreCase(cnd.getNodeName())) { set.set("baseWalkSpd", cnd.getTextContent()); } else if ("run".equalsIgnoreCase(cnd.getNodeName())) { set.set("baseRunSpd", cnd.getTextContent()); } else if ("slowSwim".equals(cnd.getNodeName())) { set.set("baseSwimWalkSpd", cnd.getTextContent()); } else if ("fastSwim".equals(cnd.getNodeName())) { set.set("baseSwimRunSpd", cnd.getTextContent()); } else if (!cnd.getNodeName().equals("#text")) { set.set((nd.getNodeName() + cnd.getNodeName()), cnd.getTextContent()); } } } else { set.set(nd.getNodeName(), nd.getTextContent()); } } // calculate total pdef and mdef from parts set.set("basePDef", (set.getInt("basePDefchest", 0) + set.getInt("basePDeflegs", 0) + set.getInt("basePDefhead", 0) + set.getInt("basePDeffeet", 0) + set.getInt("basePDefgloves", 0) + set.getInt("basePDefunderwear", 0) + set.getInt("basePDefcloak", 0))); set.set("baseMDef", (set.getInt("baseMDefrear", 0) + set.getInt("baseMDeflear", 0) + set.getInt("baseMDefrfinger", 0) + set.getInt("baseMDefrfinger", 0) + set.getInt("baseMDefneck", 0))); _playerTemplates.put(ClassId.getClassId(classId), new L2PcTemplate(set, creationPoints)); } else if ("lvlUpgainData".equalsIgnoreCase(d.getNodeName())) { for (Node lvlNode = d.getFirstChild(); lvlNode != null; lvlNode = lvlNode.getNextSibling()) { if ("level".equalsIgnoreCase(lvlNode.getNodeName())) { attrs = lvlNode.getAttributes(); int level = parseInteger(attrs, "val"); for (Node valNode = lvlNode.getFirstChild(); valNode != null; valNode = valNode.getNextSibling()) { String nodeName = valNode.getNodeName(); if ((nodeName.startsWith("hp") || nodeName.startsWith("mp") || nodeName.startsWith("cp")) && _playerTemplates.containsKey(ClassId.getClassId(classId))) { _playerTemplates.get(ClassId.getClassId(classId)).setUpgainValue(nodeName, level, Double.parseDouble(valNode.getTextContent())); _dataCount++; } } } } } } } } } public L2PcTemplate getTemplate(ClassId classId) { return _playerTemplates.get(classId); } public L2PcTemplate getTemplate(int classId) { return _playerTemplates.get(ClassId.getClassId(classId)); } public static final PlayerTemplateData getInstance() { return SingletonHolder._instance; } private static class SingletonHolder { protected static final PlayerTemplateData _instance = new PlayerTemplateData(); } } Whats is the problem here ? Help me ! THX !!!!
Recommended Posts