• 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!

Warning - Weapons::registerEvent] Duplicate registered item with id: 1781

Lucas Rodriguez

New Member
Joined
Sep 2, 2020
Messages
37
Reaction score
1
Warning - Weapons::registerEvent] Duplicate registered item with id: 1781


tfs .12 id is small stones :S
 
Solution
Delete this one, The other one is TFS default.
XML:
<distance action="move" id="1781" breakchance="19"/>
and use code tags next time.
It tells you the error in your data/weapons/weapons.xml you have added weapon with id 1781 2 times.
 
<?xml version="1.0" encoding="UTF-8"?>

-<weapons>

<!-- Weapons -->


<melee action="removecharge" id="3284"/>

<!-- Throwables -->


<distance action="move" id="1781" breakchance="19"/>

<distance action="removecount" id="2992"/>

<distance action="move" id="3277" breakchance="0"/>

<distance action="move" id="3287" breakchance="19"/>

<distance action="removecount" id="3298"/>

<!-- Ammunition -->


<distance action="removecount" id="3450"/>

<!-- Power Bolt -->


<distance action="removecount" id="3446"/>

<!-- bolt -->


<distance action="removecount" id="3447"/>

<!-- arrow -->


<distance id="1781" breakchance="3"/>

<!-- small stone -->


<distance action="removecount" id="3448" script="poison_arrow.lua"/>

<distance action="removecount" id="3449" script="explosive_arrow.lua"/>

</weapons>
Post automatically merged:

i have 2, but what deleted? thanks
 
Delete this one, The other one is TFS default.
XML:
<distance action="move" id="1781" breakchance="19"/>
and use code tags next time.
 
Solution
Just increase the breakchance and get sure you have this option in config.lua as true.
Lua:
removeWeaponAmmunition = true
 
Back
Top