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

TFS 0.X TFS 0.4 REV3777 (Fir3element) skills, and vocation problem.

rexgandi

Member
Joined
Oct 22, 2011
Messages
189
Reaction score
9
Hello!

I would really need some help with my problem.
I just removed globalsave and sometimes people getting vocation changes and bugged skills?
Like a paladin becomes a master sorcerer and getting 10010401 in distance fighting.

Who's have FIX for this problem? I found this, but I don't know how I can add this scripts , and where?
(This script is to store vocations in the mass memory and check and correct it every time you log into the server).
I found only this topic, but idk how i can add this script : Bug skills (https://otland.net/threads/bug-skills.116834/)

if getPlayerStorageValue(cid,12081) == 1 and promo == 0 then
doPlayerSetVocation(cid, 1)
elseif getPlayerStorageValue(cid,12081) == 1 and promo == 1 then
doPlayerSetVocation(cid, 5)
elseif getPlayerStorageValue(cid,12081) == 1 and promo == 2 then
doPlayerSetVocation(cid, 9)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 0 then
doPlayerSetVocation(cid, 2)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 1 then
doPlayerSetVocation(cid, 6)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 2 then
doPlayerSetVocation(cid, 10)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 0 then
doPlayerSetVocation(cid, 3)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 1 then
doPlayerSetVocation(cid, 7)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 2 then
doPlayerSetVocation(cid, 11)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 0 then
doPlayerSetVocation(cid, 4)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 1 then
doPlayerSetVocation(cid, 8)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 2 then
doPlayerSetVocation(cid, 12)
end

Please help me :( !!!
 
Last edited:
Back
Top