• 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 vocation dont works

ricardoo

New Member
Joined
Apr 12, 2009
Messages
17
Reaction score
0
Hello i create a new vocation for VIPs

but i have a big problem when the player try attack with your wand or rod its dont work, or it he try put the armor on you body its dont work too or if he try use potion for druid or sorc lvl 50 and 80, gmp,

If i back it to elder druid its work perfecly please look the photos


whata.jpg


and



http://img150.imageshack.us/img150/3852/what1.jpg




Please HELP ME
 
Add your new ids vocations in lib/function.lua
Ex:
function isSorcerer(cid)
if(isPlayer(cid) == FALSE) then
debugPrint("isSorcerer: Player not found.")
return false
end

return (isInArray({1,5,9}, getPlayerVocation(cid)) == TRUE)
end
 
Add your new ids vocations in lib/function.lua
Ex:

You're wrong

---

You'll need to change it in your movements.xml, spells.xml and aswell your weapons.xml

change the vocation of each item (I'd suggest you to do in this way, ctrl + H

and this in the first box:
Code:
<vocation name="Master Sorcerer" showInDescription="0"/>

And this in the second:
Code:
		<vocation name="Master Sorcerer" showInDescription="0"/>
		<vocation name="VIP Sorcerer" showInDescription="0"/>

Depending on what name your new vocation have.

Then you just do this in all files and on every vocation, then reload or restart your ot and the vocation will work.
 
Back
Top