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

Solved Npc error ( no money)

ragal

Member
Joined
Nov 29, 2007
Messages
735
Reaction score
19
Location
Germany - Berlin
My server all work fine

but when i want buy aol or something
i have 100cc in my backpack but the npc think i have 0 gps but in my backpack is 100cc :/

If u know the bug msg me i will reputate all for anyone who answer this THREAD ( RLY -.- )

I Changed never something i run the ot 3 Months never changed something ( no scriptz changed)
and this day its get all the errors!
sometimes:

Eror loading depot from playerid xxxx

AND NPC DONT CAN SEE MY MONEY I CANT BUY ANYTHING xd
 
Last edited:
You need to add the worth in items.xml:

It needs to look like this:

PHP:
	<item id="2160" article="a" name="crystal coin" plural="crystal coins">
		<attribute key="weight" value="10"/>
		<attribute key="worth" value="10000"/>
	</item>

PHP:
	<item id="2152" article="a" name="platinum coin" plural="platinum coins">
		<attribute key="weight" value="10"/>
		<attribute key="worth" value="100"/>
	</item>

PHP:
			<item id="2148" article="a" name="gold coin" plural="gold coins">
		<attribute key="weight" value="10"/>
		<attribute key="worth" value="1"/>
	</item>

Do only thing added is the worth key!
 
Back
Top