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

Custom vocations?

Jester753

New Member
Joined
Jun 15, 2012
Messages
30
Reaction score
0
I was wondering if it was possible to do new vocations, along with the old ones. I added in a rouge vocation to vocations.xml and put this code:

function isRouge(cid)
return isInArray {{13}, getPlayerVocation(cid))
end


in the 031-vocations.lua file.



It didn't work though, any ideas?
and most creature and spell scripts along with a few others wouldn't load due to this

- - - Updated - - -

I realized that array 13 was probably an item array, so i tried to modify the rookie array. No luck though. When i log in and look at myself it says i have no vocation, even though vocation 0 should now be the rouge vocation

- - - Updated - - -

Also running tfs 0.3.7 tibia version 8.6

- - - Updated - - -

Nevermind I fixed it all
 
Back
Top