Weight Limit on Services NPC

GoldGames

Vagabond
Hello everyone, I'm new to configuring XML files, and as far as server administration is concerned. Let's get straight to the point.
1- I added a Button on NPC Services: the purpose is that the player can buy a certain number of WEIGHT, for example, 10000 more weight per level, so I created the following Skill below. ...everything worked fine until the player restarts the game and the skill disappears.
How can I configure it to stay on the player forever?

<skill id="33485" levels="100" name="Weight Limit">
<table name="#Weight">
10000 20000 30000 40000 50000 60000 70000 80000 90000 100000
110000 120000 130000 140000 150000 160000 170000 180000 190000 200000
210000 220000 230000 240000 250000 260000 270000 280000 290000 300000
310000 320000 330000 340000 350000 360000 370000 380000 390000 400000
410000 420000 430000 440000 450000 460000 470000 480000 490000 500000
510000 520000 530000 540000 550000 560000 570000 580000 590000 600000
610000 620000 630000 640000 650000 660000 670000 680000 690000 700000
710000 720000 730000 740000 750000 760000 770000 780000 790000 800000
810000 820000 830000 840000 850000 860000 870000 880000 890000 900000
910000 920000 930000 940000 950000 960000 970000 980000 990000 1000000
</table>
<set name="icon" val="icon.skill0000"/>
<set name="magicLevel" val="80"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<add order="0x40" stat="maxLoad" val="#Weight"/>
</for>
</skill>
 

Attachments

  • w1.jpg
    w1.jpg
    57.9 KB · Views: 37
  • w2.jpg
    w2.jpg
    28.5 KB · Views: 38
Hello everyone, I'm new to configuring XML files, and as far as server administration is concerned. Let's get straight to the point.
1- I added a Button on NPC Services: the purpose is that the player can buy a certain number of WEIGHT, for example, 10000 more weight per level, so I created the following Skill below. ...everything worked fine until the player restarts the game and the skill disappears.
How can I configure it to stay on the player forever?

<skill id="33485" levels="100" name="Weight Limit">
<table name="#Weight">
10000 20000 30000 40000 50000 60000 70000 80000 90000 100000
110000 120000 130000 140000 150000 160000 170000 180000 190000 200000
210000 220000 230000 240000 250000 260000 270000 280000 290000 300000
310000 320000 330000 340000 350000 360000 370000 380000 390000 400000
410000 420000 430000 440000 450000 460000 470000 480000 490000 500000
510000 520000 530000 540000 550000 560000 570000 580000 590000 600000
610000 620000 630000 640000 650000 660000 670000 680000 690000 700000
710000 720000 730000 740000 750000 760000 770000 780000 790000 800000
810000 820000 830000 840000 850000 860000 870000 880000 890000 900000
910000 920000 930000 940000 950000 960000 970000 980000 990000 1000000
</table>
<set name="icon" val="icon.skill0000"/>
<set name="magicLevel" val="80"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<add order="0x40" stat="maxLoad" val="#Weight"/>
</for>
</skill>
such large values are generally unacceptable
 
such large values are generally unacceptable

Well, it is working for the Beta Test...
and I have set the following configuration to 'true', so the players are not losing the skill anymore, and in the Server window, I am not getting any 'WARNING' messages!
# Weaker checks for skills using for Multi Prof and AltTransferSubSkillsToMain
AltWeakSkillLearn = True

"I'm afraid that when I open the server and there are hundreds or maybe thousands of players, it might start encountering errors. Perhaps if I lower the values from 10k to 1k, it could help!"
 
Well, it is working for the Beta Test...
and I have set the following configuration to 'true', so the players are not losing the skill anymore, and in the Server window, I am not getting any 'WARNING' messages!
# Weaker checks for skills using for Multi Prof and AltTransferSubSkillsToMain
AltWeakSkillLearn = True

"I'm afraid that when I open the server and there are hundreds or maybe thousands of players, it might start encountering errors. Perhaps if I lower the values from 10k to 1k, it could help!"
ahhhhhh, you need to add to skill_tree and disable auto_learn="false"
after buying this skill - he will appear permanently
 
Back
Top