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

Duplicate registered item id

Na Amigo

The crazy girl
Joined
Jun 5, 2017
Messages
254
Solutions
3
Reaction score
17
Location
Egypt
i got this at my console i am using tfs 0.3.7
Code:
[14:18:47.679] [Warning - Items::loadFromXml] Duplicate registered item with id 6542
I've searched for it for a long time and found nothing. I just found the number id just added at my items
Any thoughts? For this purpose! thanks
 
It might be grouped, like 'fromid=x toid=y'. So you gotta search about the id you're looking for and divide it.
 
I just think the same as you.
Someone correct me if I'm wrong but I think thats pointing to your items.xml, id 6542 is duplicated.
i only have this xP
Code:
<item id="6542" article="a" name="inferno spawn" plural="inferno spawn">
    <attribute key="description" value="it takes you to the land of hell immediately after use should be cautious." />
    <attribute key="weight" value="9999" />
  </item>
 
It's either a duplicate item in items.xml..
Or it's registered multiple times in actions.xml/movements.xml

If you have mods installed, it might registered in there as well.

As others have stated, if it's registered in actions/movements/mods, and they've used multiple items ranging from x to y, you may have a hard time finding it.

I'd start with using notepad++ to search your file directory for that number if a quick search manually isn't finding it.

But yeah, it's an easy fix once you find the extra registered item
 
It's either a duplicate item in items.xml..
Or it's registered multiple times in actions.xml/movements.xml

If you have mods installed, it might registered in there as well.

As others have stated, if it's registered in actions/movements/mods, and they've used multiple items ranging from x to y, you may have a hard time finding it.

I'd start with using notepad++ to search your file directory for that number if a quick search manually isn't finding it.

But yeah, it's an easy fix once you find the extra registered item

Id rather say a more advanced code editor. Sublime or Visual Studio Code migth be great
 
It's either a duplic
Code:
C:\Users\amr\Downloads\Files\OTMadness\data\actions\scripts\Femer.lua (2 hits)
    Line 3:         if item.itemid == 6542 and doPlayerRemoveItem(cid,6542,1) == 1 then
    Line 3:         if item.itemid == 6542 and doPlayerRemoveItem(cid,6542,1) == 1 then
  C:\Users\amr\Downloads\Files\OTMadness\data\items\items.xml (1 hit)
    Line 29:     <item id="6542" article="a" name="inferno spawn" plural="inferno spawn">
  C:\Users\amr\Downloads\Files\OTMadness\data\monster\Ice Golem.xml (1 hit)
    Line 65:            <item id="6542" chance="40" />  <!-- egg -->
  C:\Users\amr\Downloads\Files\OTMadness\data\monster\Ice King.xml (1 hit)
    Line 65:            <item id="6542" chance="40" />  <!-- egg -->
ate item in items.xml..
Or it's registered multiple times in actions.xml/movements.xml

If you have mods installed, it might registered in there as well.

As others have stated, if it's registered in actions/movements/mods, and they've used multiple items ranging from x to y, you may have a hard time finding it.

I'd start with using notepad++ to search your file directory for that number if a quick search manually isn't finding it.

But yeah, it's an easy fix once you find the extra registered item
edit
fixed
 
Last edited:
Back
Top