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

[Resolved] Trade Window Error (No name for item)

Coltain13

New Member
Joined
May 4, 2008
Messages
22
Reaction score
0
Problem: Had empty an empty shopModule


My code for the item:

Lua:
shopModule:addSellableItem({'hibiscus dress'}, 8873, 3000, 'hibiscus dress')

This is what it looks like:
tradeerror.png


Here it is with the item selected:
better.png



What causes this? From what I know the code is correct, I just copy and pasted it from the others and they work correctly.

Thanks,

_Coltain
 
Last edited:
Code:
<item id="8873" article="a" name="hibiscus dress">
	<attribute key="weight" value="1900"/>
	<attribute key="armor" value="0"/>
	<attribute key="slotType" value="body"/>
</item>

That's what the items.xml says it is.

Edit// Found out that it still turns white when I have the item on and I can still sell it. Just the name is the only problem, if it doesn't get figured out it's no big deal. :)
 
Last edited:
Alright so here is something interesting. This Dress fixed it's self but now it's doing it with the black pearl. They are also in different NPCs

items.xml
Code:
	<item id="2144" article="a" name="black pearl" plural="black pearls">
		<attribute key="weight" value="20"/>
	</item>

Black Pearl
Lua:
shopModule:addSellableItem({'Black Pearl'}, 2144, 280, 'Black Pearl')

blackpearl1.png


blackpearl2.png
 
so ur npc is fucked up :p i too got one time this problem when donwloaded roxor server no showing runes just changed npc to other... the lua one.
 
Back
Top