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

What do you want to be... a knight

5lave Ots

Active Member
Joined
Oct 2, 2017
Messages
246
Solutions
1
Reaction score
40
Location
Ankrahmun
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

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
 
Can you post your account manager script please? Also, are you sure the manager isn't case sensitive? Like, did you try "Druid" instead of "druid"?

Edit: There also seems to be no problem with your skillstageadvance.lua I ran it with no errors at all. Try deleting the space at line 13 maybe? It could be interpreted as an unknown symbol on your computer (You may try rewrite the code manually too if that's the case)
 
Last edited:
look there is no script for account manager, only 3 lines in login creaturescrript.. he don't send me 4 vocations
what do you want your vocation.. a knight?
then I cant choose anything else.... also I dontknow whats wrong with advance script
 
Back
Top