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

Items warning in console

Maladnay

New Member
Joined
Jul 15, 2010
Messages
42
Reaction score
4
How to disable item warnings in console?

[Warning - Items::loadFromXML] Duplicate registered item - I wanna disable it.
 
in items.cpp, remove proper line

Anyway, why would you do that? You can use override="yes" to ignore it for specific items.
 
PHP:
	<item id="5960" article="a" name="dead troll">
		<attribute key="containerSize" value="10" />
		<attribute key="decayTo" value="3067" />
		<attribute key="duration" value="10" />
		<attribute key="corpseType" value="blood" />
		<attribute key="fluidSource" value="blood" />
		<attribute key="override" value="yes" />
	</item>
and
PHP:
<attribute override="yes" />
Tried to use it that way - but both don't work ;/
Can you post sample item for me?
 
Nah, it should be like this:
Lua:
    <item id="5960" article="a" name="dead troll" override="yes">
        <attribute key="containerSize" value="10" />
        <attribute key="decayTo" value="3067" />
        <attribute key="duration" value="10" />
        <attribute key="corpseType" value="blood" />
        <attribute key="fluidSource" value="blood" />
    </item>
 
Back
Top