Postado Novembro 12, 2022 2 anos Fala Galera, eu tenho um Ot 7.6, que no config.lua tem xp rate do ot editável somente. quero add no meu ot xp por estágios, ex: ate lvl 10 50x - ate lvl 20 30x e assim por diante. porém, em meu config.lua nao tem a linha de habilitar estágio, e o arquivo stages.xml também não existe nesse ot. já tentei add a linha no config.lua e ja add stages.xml porém sem resultados. irei postar o config.lua do ot, e o stages.xml que tenho config lua \/ Citar ---------------------------- OTServ configuration ------------------------------ -- datadir datadir = "data/" -- sets what map to load map = "data/world/mapa.otbm" -- OTBM for binary, SQL for SQL map, XML for OTX maps mapkind = "OTBM" -- SQL for acc/player info from SQL, XML for acc/player info from XML sourcedata = "OTBM" -- the message the player gets when he logs in loginmsg = "Bem Vindo!" -- the port otserv listens on port = "7171" -- name of our server servername = "Global Ceds" -- name of the owner of our server ownername = "Ceds" -- email of the owner of our server owneremail = "" -- the url for more server info url = "" -- the location of the server location = "Germany" -- the ip the server should redirect too (auto - set as first local ip) ip = "localhost" -- The messagebox you sometimes get before you choose characters motd = "Bem Vindo" motdnum="0" -- use md5 passwords for accounts, yes/no md5passwords = "no" -- world type. options: pvp, no-pvp, pvp-enforced worldtype = "pvp" -- max number of players allowed maxplayers = "100" -- exhausted time in ms (1000 = 1sec) exhausted = 1900 -- exhaustion time for healing spells (1000 = 1sec) exhaustedheal = 1000 -- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec) exhaustedadd = 0 -- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec) pzlocked = 10*1000 -- allow multiple logins of the same char allowclones = 0 -- vocation names vocations = {"a sorcerer", "a druid", "a paladin", "a knight"} promoted_vocations = {"a master sorcerer", "an elder druid", "a royal paladin", "an elite knight"} --- SQL part sql_host = "localhost" sql_user = "root" sql_pass = "" sql_db = "otserv" --- SQL MAP part sqlmap = "test_map" map_host = "localhost" map_user = "root" map_pass = "" map_db = "" ------------------------- YurOTS basic configuration --------------------------- -- name of your world (seen on the character list when logging in) worldname = "Global Ceds" -- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour) autosave = 0 -- builtin account maker (rook/main/none) accmaker = "none" -- do you want to enable cap system? (yes/no) capsystem = "yes" -- do you want players to learn spells before they can use them? (yes/no) learnspells = "no" -- do you want to give premium account to all players? (yes/no) freepremmy = "no" -- do you want premium players to wait in queue as others? (yes/no) queuepremmy = "yes" -- how much % of {exp, mana, skill, eq, bp} do you lose when dying diepercent = {"10", "7", "7", "7", "100"} -- how many summons player can have maxsummons = 2 -- do you want to give summons for all vocations? (yes/no) summonsallvoc = "no" -- chance of losing a spear when shot (0 - none lost, 100000 - all lost) spearlosechance = 0 -- anti-afk - maximum idle time to kick player (1 = 1min) kicktime = 15 -- maximum number of items player can keep in his/her depot maxdepotitems = 1000 -- maximum number of items on a house tile (including those in containers) maxhousetileitems = 5 -- how much death entries are saved in players file (old are deleted) maxdeathentries = 10 -- mana consumend by {snakebite, moonlight, volcanic, quagmire, tempest} rod rodmana = {"2", "3", "5", "8", "13"} -- mana consumed by wand of {vortex, dragonbreath, plague, cosmic energy, inferno} wandmana = {"2", "3", "5", "8", "13"} -- shooting range of {snakebite, moonlight, volcanic, quagmire, tempest} rod rodrange = {"4", "3", "2", "1", "3"} -- shooting range of wand of {vortex, dragonbreath, plague, cosmic energy, inferno} wandrange = {"4", "3", "2", "1", "3"} -- damage of burst arrows blast -- default is from (1*lvl+5*mlvl)*0.24 to (1*lvl+5*mlvl)*0.55 burstarrowdmg = {"1.0", "5.0", "0.34", "0.55"} --------------------------- Multipliers and gains ------------------------------ -- experience multiplier (how much faster you got exp from monsters) expmul = 1 experienceStages = true rateExperience = 0 rateExperienceFromPlayers = 0 rateSkill = 3.0 rateMagic = 1.0 rateLoot = 1.0 rateSpawn = 7 -- experience multiplier for pvp-enforced (how much faster you got exp from players) expmulpvp = 0 -- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight} weaponmul = {"1", "1", "1", "1", "1"} distmul = {"1", "1", "1", "1", "1"} shieldmul = {"1", "1", "1", "1", "1"} manamul = {"1", "1", "1", "1", "1"} -- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight} capgain = {"10", "10", "10", "20", "25"} managain = {"5", "30", "30", "15", "5"} hpgain = {"5", "5", "5", "10", "15"} -- how much faster do you recovery life,mana after eating food (1 - rl tibia) healthtickmul = 1 manatickmul = 1 -------------------------------- Skull system ---------------------------------- -- how many unjustified kills to get a red skull redunjust = 3 -- how many unjustified kills to get banned banunjust = 6 -- how long do you have white skull after attacking player (1 = 1min) hittime = 1 -- how long do you have white skull after killing player (1 = 1min) whitetime = 5 -- how long do you have red skull (1 = 1min) redtime = 24*60 -- how long do you have to wait to lose 1 unjustified kill (1 = 1min) fragtime = 24*60 ------------------------------ GM access rights -------------------------------- -- access to walk into houses and open house doors accesshouse = 0 -- access to login without waiting in the queue or when server is closed accessenter = 1 -- access to ignore damage, exhaustion, cap limit and be ignored by monsters accessprotect = 3 -- access to broadcast messages and talk in colors (#c blabla - in public channels) accesstalk = 3 -- access to move distant items from/to distant locations accessremote = 3 -- access to see id and position of the item you are looking at accesslook = 3 -- speed of attack in seconds (no-voc, sorc, druid, pally, knight) speed = {"0.8", "0.8", "0.8", "0.8", "0.8"} stages.xml\/ Citar <?xml version="1.0"?> <stages> <config enabled="1"/> <stage minlevel="1" maxlevel="50" multiplier="999"/> <stage minlevel="51" maxlevel="80" multiplier="850"/> <stage minlevel="81" maxlevel="100" multiplier="750"/> <stage minlevel="101" maxlevel="150" multiplier="650"/> <stage minlevel="151" maxlevel="200" multiplier="600"/> <stage minlevel="201" maxlevel="300" multiplier="550"/> <stage minlevel="301" maxlevel="350" multiplier="400"/> <stage minlevel="351" maxlevel="400" multiplier="200"/> <stage minlevel="401" maxlevel="450" multiplier="100"/> <stage minlevel="451" maxlevel="475" multiplier="50"/> <stage minlevel="476" maxlevel="750" multiplier="20"/> <stage minlevel="751" maxlevel="850" multiplier="5"/> <stage minlevel="851" maxlevel="950" multiplier="1"/> <stage minlevel="981" multiplier="0"/> </stages> Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.