• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Weapon no voc Bug

Ashbringer

Almighty Ashe
Joined
Dec 24, 2011
Messages
334
Reaction score
18
Location
Germany
hey i have a donator sword that everyone can use i want it so only knight and elite knights can use it

You see a donator sword (Atk:80, Def:45).
It can only be wielded properly by players of level 50 or higher.
It weighs 60.00 oz.
ItemID: [12649].

how do i fix that?

@Limos
 
Last edited by a moderator:
If you have probles with the weapons.xml file you can post it and I can show what's wrong, best is to try yourself so you can learn from it.
 
If you have probles with the weapons.xml file you can post it and I can show what's wrong, best is to try yourself so you can learn from it.
but when i do something in the weapons.xml file the server crash ..... or get errors

If you have probles with the weapons.xml file you can post it and I can show what's wrong, best is to try yourself so you can learn from it.
i added this in the weapons.xml
<distance id="5907" level="50" unproperly="1" event="function" value="default"/> <!-- slingshot -->
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>

but it does not work it just says players of lvl 50
 
Last edited by a moderator:
Add this under it
Code:
</distance>
And remove the / here

<distance id="5907" level="50" unproperly="1" event="function" value="default"/> <!-- slingshot -->
 
TFS 0.3.6 8.6 32 bit? Try different libmysql.dll if you use mysql.
http://www.speedy*****malware.localhost/9Ybdf/libmysql.dll
 
TFS 0.3.6 8.6 32 bit? Try different libmysql.dll if you use mysql.
http://www.speedy*****malware.localhost/9Ybdf/libmysql.dll
i use 64 bit i changed my dlls files and now it starts gonna check if i can change the weapons.xml files now

TFS 0.3.6 8.6 32 bit? Try different libmysql.dll if you use mysql.
http://www.speedy*****malware.localhost/9Ybdf/libmysql.dll
btw if it says "can be used by paladins" can royal paladin use it too?
 
Last edited by a moderator:
Yes, it just doesn't show it in the description because you have this: showInDescription="0"
i added this

<melee id="7384" level="60" unproperly="1" event="function" value="default"/>
<melee id="7382" level="60" unproperly="1" event="function" value="default">
<melee id="12649" level="60" unproperly="1" event="function" value="default">
<vocation id="4"/>
<vocation id="8" showInDescription="0"/>
</melee>

ID: 12649 is my donate sword
then i got this error

Code:
[01/12/2014 22:01:05] [Warning - BaseEvents::loadFromXml] Cannot open weapons.xml file.
[01/12/2014 22:01:05] Line: 413, Info: Premature end of data in tag weapons line 2


[01/12/2014 22:01:05] > ERROR: Unable to load Weapons!
 

Similar threads

Back
Top