• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

HELP, i rlly need help

11997733

New Member
Joined
Feb 10, 2009
Messages
25
Reaction score
1
Can someone help me please, Thanks

Ok well all my items say player of #level can use this item, it isnt defining a vocation.
I Tryed these <vocation name="Knight"/>and this<vocation id="4"/>
And the weapon is still saying this

01:27 You see a [Brute]CrudeSword (Atk:45, Def:2).
It can only be wielded properly by players of level 5 or higher.
It weighs 52.50 oz.

Everything in my server says player now =/ even any vocation can use the wands look!..

01:28 You see a wand of vortex.
It can only be wielded properly by players of level 7 or higher.
It weighs 19.00 oz.
Surges of energy rush through the tip of this wand.



Im Guessing it is a function i prolly messed up if someone could give me the function ill put it in and that would be great and please help i need it asap so i can release my rpg server Thanks =D
 
1: <melee id="2413" level="5" unproperly="1" function="default">
<vocation name="Brute" showInDescription="0"/>
</melee>


2: <melee id="2413" level="5" unproperly="1" function="default">
<vocation id="9" showInDescription="0"/>
</melee>



INGAME!.. 01:56 You see a [Brute]CrudeSword (Atk:45, Def:2).
It can only be wielded properly by players of level 5 or higher.
ItemID: [2413].
Position: [X: 999] [Y: 1032] [Z: 7].
 
Change showInDescription="0" to showInDescription="1"

or just remove the show in description thing altogether.
 
items.xml
XML:
	<item id="2190" article="a" name="wand of vortex">
		<attribute key="description" value="Surges of energy rush through the tip of this wand." />
		<attribute key="weight" value="1900" />
		<attribute key="weaponType" value="wand" />
		<attribute key="shootType" value="energy" />
		<attribute key="range" value="3" />
	</item>
\data\weapons\weapons.xml
XML:
	<wand id="2190" level="7" mana="2" min="8" max="18" type="energy" event="function" value="default">
		<vocation id="1"/>
	</wand>
 
I fix it 10 minuts after i posted this thanks for the help anyways guys but yeah =D just had to change vocs in my functions to my custome vocs
 
Back
Top