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

Offline training problem

Andreselos

Member
Joined
Feb 9, 2015
Messages
36
Reaction score
7
Well guys, the players were complaining from my server offline training, that this leveling very fast and without limit the skills, for example I put my char to train offline and the other day I went to see, the magic level 65 went to 81, this is absurd and damaging this balancing of server, what can I do to solve this problem?
do not know if this is the right place, but I believe you have to change something in the sources is not it?

Remembering that I use tfs 1.0 10.76, awaiting answers.
 
i have only this script in actions
local statue = {
[18488] = SKILL_SWORD,
[18489] = SKILL_AXE,
[18490] = SKILL_CLUB,
[18491] = SKILL_DISTANCE,
[18492] = SKILL_MAGLEVEL
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
local premiumDays = getPlayerPremiumDays(cid)

if (isPlayerPzLocked(cid)) then
return false
end

if (isPremium(cid)) then
doPlayerSetOfflineTrainingSkill(cid, statue[item.itemid])
doRemoveCreature(cid)
else
doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUNEEDPREMIUMACCOUNT)
end
return true
end

I really think it's something to the sources
 
Back
Top