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

Skills Limit

ykilian2006

New Member
Joined
Feb 2, 2009
Messages
9
Reaction score
0
Hi, good night,


I have one question, I searched for much forums and dont found.

How I can remove the limit that have in forgotten server 0.3.5pl1 for the skills.

example: one char don't advance skills more than 232.


Please help me i am in a fighting for this :X




Att,
Kilian.
 
Code:
local maxlvl = 1500
function onAdvance(cid)
if getPlayerVocation(cid) == 6 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 228 then
if getPlayerLevel(cid) >= maxlvl then
doPlayerAddExperience(cid, (getExperienceForLevel(maxlvl) - getPlayerExperience(cid)))
end
return true
end
end

Change in variable max level :) (rep+ if i help you)
 
Code:
local maxlvl = 1500
function onAdvance(cid)
if getPlayerVocation(cid) == 6 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 228 then
if getPlayerLevel(cid) >= maxlvl then
doPlayerAddExperience(cid, (getExperienceForLevel(maxlvl) - getPlayerExperience(cid)))
end
return true
end
end

Change in variable max level :) (rep+ if i help you)

Ill let you know shortly how it works :D and i will rep if does
 
local maxlvl = 1500 ----Max Level for player
function onAdvance(cid)
if getPlayerVocation(cid) == 0 or getPlayerVocation(cid) == 1 then ----Here it is checking player vocation (sorcerer etc. change it)
if getPlayerLevel(cid) >= maxlvl then ----If player Level is higher or equal to max level
doPlayerAddExperience(cid, (getExperienceForLevel(maxlvl) - getPlayerExperience(cid))) -----Do some Maths
end
return true
end
end

---GG EASY
 
local maxlvl = 1500 ----Max Level for player
function onAdvance(cid)
if getPlayerVocation(cid) == 0 or getPlayerVocation(cid) == 1 then ----Here it is checking player vocation (sorcerer etc. change it)
if getPlayerLevel(cid) >= maxlvl then ----If player Level is higher or equal to max level
doPlayerAddExperience(cid, (getExperienceForLevel(maxlvl) - getPlayerExperience(cid))) -----Do some Maths
end
return true
end
end
---GG EASY
I cant figure out where to add it though
 
Back
Top