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

Lua Items Desc.

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,812
Solutions
6
Reaction score
822
Hello guys,
I have this item and it didnt have a desc. so I added a desc and restarted the server but the desc. is not showing.

XML:
	<item id="8931" article="a" name="Donation Weapon">
	    <attribute key="description" value="Best weapon in game, you have 10% chance to double hit!" />
		<attribute key="weight" value="6700" />
		<attribute key="defense" value="80" />
		<attribute key="attack" value="800" />
		<attribute key="weaponType" value="sword" />
		<attribute key="extradef" value="50" />
	</item>
 
no errors

,

I'm not sure about TFS, but have you checked so there's no desc inside the weapons.xml file?
as there's level limit of the weapon, there should be another file determine the lvl you need to be and so on..

edit:
Are you sure you really closed the server first? and not by mistake just opened a new server and when you login, you arrive to the server that was online first, which doesn't have this change?
 
20:02 You see a Temple scroll.

XML:
	<item id="6119" article="a" name="Temple scroll">
		<attribute key="description" value="Only in PZ, teleports you to temple withing 3sec." />
		<attribute key="weight" value="120" />
	</item>

I restarted the pc and still same problem xD
 
ahh, Im trying from far and its not showing. works when im standing right next to it or in my bp!
well is there anyway so desc. shows from far?
 
but i mean, the whole server not only few items.
but this could work for some if i have to, thanks
 
it must be like that

Code:
<attribute key="description" value="Best weapon in game, you have 10% chance to double hit!"/>

i removed a space after the last "
 

Similar threads

Back
Top