5lave Ots
Active Member
hello on using account manager, suddenly I got this idont know how
using windows 10 new laptop tibia 860 TFS 0.4
after choosing the gender ex male
acc managers ask me What do you want to be... a knight.
if I try to type druid, he respond
I don't understand what vocation you would like to be... could you please repeat it?
can someone helps???
also second problem is when loading a script I got
[3:5:44.996] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/skillstagesadvance.lua)
[3:5:45.001] data/creaturescripts/scripts/skillstagesadvance.lua:13: unexpected symbol near '┬'
this is the script I use from gesior.pl
using windows 10 new laptop tibia 860 TFS 0.4
after choosing the gender ex male
acc managers ask me What do you want to be... a knight.
if I try to type druid, he respond
I don't understand what vocation you would like to be... could you please repeat it?
can someone helps???
also second problem is when loading a script I got
[3:5:44.996] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/skillstagesadvance.lua)
[3:5:45.001] data/creaturescripts/scripts/skillstagesadvance.lua:13: unexpected symbol near '┬'
this is the script I use from gesior.pl
Code:
skillConfig = {skill = getConfigValue('rateSkill'), magiclevel = getConfigValue('rateMagic')}
skillStages = {}
skillStages[SKILL_FIST] = {{0,8},{60,5},{80,3},{100,2}}
skillStages[SKILL_CLUB] = {{0,8},{60,5},{80,2},{100,1}}
skillStages[SKILL_SWORD] = {{0,8},{60,5},{80,2},{100,1}}
skillStages[SKILL_AXE] = {{0,8},{60,5},{80,2},{100,1}}
skillStages[SKILL_DISTANCE] = {{0,8},{60,5},{80,2},{100,1}}
skillStages[SKILL_SHIELD] = {{0,9},{60,8},{80,7},{100,6},{110,3}}
--skillStages[SKILL_FISHING] = {{0,5},{60,4},{80,3},{100,2},{110,1}} -- uncomment it to make it work, you can remove other skill config if you dont need it
skillStages[SKILL__MAGLEVEL] = {{0,10},{6,5},{15,7},{80,5},{90,2},{99,1}}
showInfoOnAdvance = true -- send player message about skill rate change
showInfoOnLogin = true -- send player message about skill rates when he login
function onAdvance(cid, skill, oldLevel, newLevel)
if(skillStages[skill] ~= nil) then
local skillRate = 1
local oldRates = getPlayerRates(cid)
for i, skillRateInfo in pairs(skillStages[skill]) do
if(newLevel >= skillRateInfo[1]) then
skillRate = skillRateInfo[2]
else
break
end
end
doPlayerSetRate(cid, skill, skillRate)
if(showInfoOnAdvance and skillRate ~= oldRates[skill]) then
if(skill >= 0 and skill <= 6) then
configRate = skillConfig.skill
else
configRate = skillConfig.magiclevel
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, SKILL_NAMES[skill] .. " rate changed from " .. oldRates[skill] * configRate .. "x to " .. skillRate * configRate .. "x. " .. getPlayerSkillRatesText(cid))
end
end
return true
end