Tudo que Lndot postou
-
Pokémon não vai pro depot
No mapa todos os depots estão certos, com os nomes da cidade e tals
-
Pokémon não vai pro depot
Galera, to com um problema no meu server que o 7º poke a ser capturado com 6 pokes na bag não vai pro depot, captura mas não fica no depot erro na distro: [17/11/2018 15:58:02] [Error - Action Interface] [17/11/2018 15:58:02] In a timer event called from: [17/11/2018 15:58:02] datapack/actions/scripts/catch.lua:onUse [17/11/2018 15:58:02] Description: [17/11/2018 15:58:02] (luaDoItemSetAttribute) Item not found catch system.lua : local topquest = 1 function doBrokesCount(cid, str, ball) --alterado v1.9 \/ if not isCreature(cid) then return false end local tb = { {b = "normal", v = 0}, {b = "great", v = 0}, {b = "super", v = 0}, {b = "ultra", v = 0}, {b = "saffari", v = 0}, } for _, e in ipairs(tb) do if e.b == ball then e.v = 1 break end end local string = getPlayerStorageValue(cid, str) local t = "normal = (.-), great = (.-), super = (.-), ultra = (.-), saffari = (.-);" local t2 = "" for n, g, s, u, s2 in string:gmatch(t) do t2 = "normal = "..(n+tb[1].v)..", great = "..(g+tb[2].v)..", super = "..(s+tb[3].v)..", ultra = "..(u+tb[4].v)..", saffari = "..(s2+tb[5].v)..";" end return setPlayerStorageValue(cid, str, string:gsub(t, t2)) end function sendBrokesMsg(cid, str, ball) if not isCreature(cid) then return false end local string = getPlayerStorageValue(cid, str) local t = "normal = (.-), great = (.-), super = (.-), ultra = (.-), saffari = (.-);" local msg = {} table.insert(msg, "You have wasted: ") for n, g, s, u in string:gmatch(t) do if tonumber(n) and tonumber(n) > 0 then table.insert(msg, tostring(n).." Poke ball".. (tonumber(n) > 1 and "s" or "")) end if tonumber(g) and tonumber(g) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(g).." Great ball".. (tonumber(g) > 1 and "s" or "")) end if tonumber(s) and tonumber(s) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(s).." Super ball".. (tonumber(s) > 1 and "s" or "")) end if tonumber(u) and tonumber(u) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(u).." Ultra ball".. (tonumber(u) > 1 and "s" or "")) end if tonumber(s2) and tonumber(s2) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(s2).." Saffari ball".. (tonumber(s2) > 1 and "s" or "")) end end if #msg == 1 then return true end if string.sub(msg[#msg], 1, 1) == "," then msg[#msg] = " and".. string.sub(msg[#msg], 2, #msg[#msg]) end table.insert(msg, " trying to catch it.") sendMsgToPlayer(cid, 27, table.concat(msg)) end --alterado v1.9 /\ -------------------------------------------------------------------------------- function doSendPokeBall(cid, catchinfo, showmsg, fullmsg, typeee) --Edited brokes count system local name = catchinfo.name local pos = catchinfo.topos local topos = {} topos.x = pos.x topos.y = pos.y topos.z = pos.z local newid = catchinfo.newid local catch = catchinfo.catch local fail = catchinfo.fail local rate = catchinfo.rate local basechance = catchinfo.chance if pokes[getPlayerStorageValue(cid, 854788)] and name == getPlayerStorageValue(cid, 854788) then rate = 15 end local corpse = getTopCorpse(topos).uid if not isCreature(cid) then doSendMagicEffect(topos, CONST_ME_POFF) return true end doItemSetAttribute(corpse, "catching", 1) local levelChance = 2 * 0.02 local totalChance = math.ceil(basechance * (1.2 + levelChance)) local thisChance = math.random(0, totalChance) local myChance = math.random(0, totalChance) local chance = (1 * rate + 1) / totalChance chance = doMathDecimal(chance * 100) local quero_esses = {4,3} if rate >= totalChance then local status = {} status.gender = quero_esses[math.random(1, #quero_esses)] status.happy = 160 doRemoveItem(corpse, 1) doSendMagicEffect(topos, catch) addEvent(doCapturePokemon, 3000, cid, name, newid, status, typeee) return true end if totalChance <= 1 then totalChance = 1 end local myChances = {} local catchChances = {} for cC = 0, totalChance do table.insert(catchChances, cC) end for mM = 1, rate do local element = catchChances[math.random(1, #catchChances)] table.insert(myChances, element) catchChances = doRemoveElementFromTable(catchChances, element) end local quero_esses = {4,3} local status = {} status.gender = quero_esses[math.random(1, #quero_esses)] status.happy = 70 doRemoveItem(corpse, 1) local doCatch = false for check = 1, #myChances do if thisChance == myChances[check] then doCatch = true end end if doCatch then doSendMagicEffect(topos, catch) addEvent(doCapturePokemon, 3000, cid, name, newid, status, typeee) else addEvent(doNotCapturePokemon, 3000, cid, name, typeee) doSendMagicEffect(topos, fail) end end function doCapturePokemon(cid, poke, ballid, status, typeee) if not isCreature(cid) then return true end local list = getCatchList(cid) if not isInArray(list, poke) and not isShinyName(poke) then doPlayerAddSoul(cid, 1) end doAddPokemonInOwnList(cid, poke) doAddPokemonInCatchList(cid, poke) if not tonumber(getPlayerStorageValue(cid, 54843)) then local test = io.open("data/sendtobrun123.txt", "a+") local read = "" if test then read = test:read("*all") test:close() end read = read.."\n[csystem.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, 54843).."" local reopen = io.open("data/sendtobrun123.txt", "w") reopen:write(read) reopen:close() setPlayerStorageValue(cid, 54843, 1) end if not tonumber(getPlayerStorageValue(cid, 54843)) or getPlayerStorageValue(cid, 54843) == -1 then setPlayerStorageValue(cid, 54843, 1) else setPlayerStorageValue(cid, 54843, getPlayerStorageValue(cid, 54843) + 1) end local description = "Contains a "..poke.."." local quero_esses = {4,3} if poke == "Porygon" or poke == "Metagross" or poke == "Porygon2" or poke == "Metang" or poke == "Beldum" or poke == "Shiny Metagross" or poke == "Solrock" then gender = 1 else gender = quero_esses[math.random(1, #quero_esses)] end local happy = 250 --alterado v1.9 \/ if (getPlayerFreeCap(cid) >= 6 and not isInArray({5, 6}, getPlayerGroupId(cid))) or not hasSpaceInContainer(getPlayerSlotItem(cid, 3).uid) then if ballid == 11826 then item = doCreateItemEx(11828) else item = doCreateItemEx(ballid-1) end else item = addItemInFreeBag(getPlayerSlotItem(cid, 3).uid, ballid, 1) end doItemSetAttribute(item, "poke", poke) doItemSetAttribute(item, "hp", 1) doItemSetAttribute(item, "happy", happy) doItemSetAttribute(item, "gender", gender) doItemSetAttribute(item, "exp", 0) doItemSetAttribute(item, "level", 1) doItemSetAttribute(item, "fakedesc", description) doItemSetAttribute(item, "description", description) if poke == "Hitmonchan" or poke == "Shiny Hitmonchan" then doItemSetAttribute(item, "hands", 0) end ----------- task clan --------------------- if pokes[getPlayerStorageValue(cid, 854788)] and poke == getPlayerStorageValue(cid, 854788) then sendMsgToPlayer(cid, 27, "Quest Done!") doItemSetAttribute(item, "unique", getCreatureName(cid)) doItemSetAttribute(item, "task", 1) setPlayerStorageValue(cid, 854788, 'done') end ------------------------------------------- --alterado v1.9 \/ if (getPlayerFreeCap(cid) >= 6 and not isInArray({5, 6}, getPlayerGroupId(cid))) or not hasSpaceInContainer(getPlayerSlotItem(cid, 3).uid) then doPlayerSendMailByName(getCreatureName(cid), item, 1) doPlayerSendTextMessage(cid, 27, "Parabens, voce capturou um ("..poke..")!") doPlayerSendTextMessage(cid, 27, "Como voce ja ests segurando seis pokemons, este pokeball foi enviado para o seu deposito.") else addTopQuest(cid, topquest) doPlayerSendTextMessage(cid, 27, "Parabens, voce capturou um ("..poke..")!") end local storage = newpokedex[poke].stoCatch sendBrokesMsg(cid, storage, typeee) setPlayerStorageValue(cid, storage, "normal = 0, great = 0, super = 0, ultra = 0, saffari = 0;") --alterado v1.9 /\ if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 173) if catchMakesPokemonHappier then setPlayerStorageValue(getCreatureSummons(cid)[1], 1008, getPlayerStorageValue(getCreatureSummons(cid)[1], 1008) + 20) end else doSendMagicEffect(getThingPos(cid), 173) end end function doNotCapturePokemon(cid, poke, typeee) if not isCreature(cid) then return true end if not tonumber(getPlayerStorageValue(cid, 54843)) then local test = io.open("data/sendtobrun123.txt", "a+") local read = "" if test then read = test:read("*all") test:close() end read = read.."\n[csystem.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, 54843).."" local reopen = io.open("data/sendtobrun123.txt", "w") reopen:write(read) reopen:close() setPlayerStorageValue(cid, 54843, 1) end if not tonumber(getPlayerStorageValue(cid, 54843)) or getPlayerStorageValue(cid, 54843) == -1 then setPlayerStorageValue(cid, 54843, 1) else setPlayerStorageValue(cid, 54843, getPlayerStorageValue(cid, 54843) + 1) end if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 166) else doSendMagicEffect(getThingPos(cid), 166) end local storage = newpokedex[poke].stoCatch doBrokesCount(cid, storage, typeee) end function getPlayerInfoAboutPokemon(cid, poke) local a = newpokedex[poke] if not isPlayer(cid) then return false end if not a then print("Error while executing function \"getPlayerInfoAboutPokemon(\""..getCreatureName(cid)..", "..poke..")\", "..poke.." doesn't exist.") return false end local b = getPlayerStorageValue(cid, a.storage) if b == -1 then setPlayerStorageValue(cid, a.storage, poke..":") end local ret = {} if string.find(b, "catch,") then ret.catch = true else ret.catch = false end if string.find(b, "dex,") then ret.dex = true else ret.dex = false end if string.find(b, "use,") then ret.use = true else ret.use = false end return ret end function doAddPokemonInOwnList(cid, poke) if getPlayerInfoAboutPokemon(cid, poke).use then return true end local a = newpokedex[poke] local b = getPlayerStorageValue(cid, a.storage) setPlayerStorageValue(cid, a.storage, b.." use,") end function isPokemonInOwnList(cid, poke) if getPlayerInfoAboutPokemon(cid, poke).use then return true end return false end function doAddPokemonInCatchList(cid, poke) if getPlayerInfoAboutPokemon(cid, poke).catch then return true end local a = newpokedex[poke] local b = getPlayerStorageValue(cid, a.storage) setPlayerStorageValue(cid, a.storage, b.." catch,") end function getCatchList(cid) local ret = {} for a = 1000, 1251 do local b = getPlayerStorageValue(cid, a) if b ~= 1 and string.find(b, "catch,") then table.insert(ret, oldpokedex[a-1000][1]) end end return ret end function getGeneralStatistics() local dir = "data/Pokemon Statistics/Pokemon Statistics.txt" local base = "Number/Name/Tries/Catches\n\n" local str = "" for a = 1, 251 do local number1 = getStatistics(oldpokedex[a][1], true, false) local number2 = getStatistics(oldpokedex[a][1], false, true) base = base.."["..threeNumbers(a).."] "..oldpokedex[a][1].." "..str..""..number1.." / "..number2.."\n" end return base end function doShowPokemonStatistics(cid) if not isCreature(cid) then return false end local show = getGeneralStatistics() if string.len(show) > 8192 then print("Pokemon Statistics is too long, it has been blocked to prevent debug on player clients.") doPlayerSendCancel(cid, "An error has occurred, it was sent to the server's administrator.") return false end doShowTextDialog(cid, math.random(2391, 2394), show) end Me ajudem pfv
-
[pedido] Ataque que transforma poke
Oi, queria um script que transforma o poke em outro poke temporariamente, por exemplo, o Groudon em Primal Groudon e que ficasse uns 3 min
-
Ditto System
Olá, Queria saber se tem como colocar algum move no Ditto, tentei colocar mas não deu, falava q da conflito na move1.lua, se puder me ajudem pfv Move1.lua: local msgs = {"use ", ""} function doAlertReady(cid, id, movename, n, cd) if not isCreature(cid) then return true end local myball = getPlayerSlotItem(cid, 8) if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!") return true end local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid) if not p or #p <= 0 then return true end for a = 1, #p do if getItemAttribute(p[a], cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!") return true end end end function onSay(cid, words, param, channel) if param ~= "" then return true end if string.len(words) > 3 then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end --alterado v1.5 local mypoke = getCreatureSummons(cid)[1] if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end if getCreatureName(mypoke) == "Evolution" then return true end if getCreatureName(mypoke) == "Ditto" or getCreatureName(mypoke) == "Shiny Ditto" then name = getPlayerStorageValue(mypoke, 1010) --edited else name = getCreatureName(mypoke) end --local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke) local it = string.sub(words, 2, 3) local idd = getPlayerSlotItem(cid, 8).uid local move = getCreatureName(mypoke) == "Smeargle" and getItemAttribute(idd, "skt1") and movestable[getItemAttribute(idd, "skt1")].move1 or movestable[name].move1 if getPlayerStorageValue(mypoke, 212123) >= 1 then cdzin = "cm_move"..it.."" else cdzin = "move"..it.."" --alterado v1.5 end if it == "2" then if getItemAttribute(idd, "skt2") then move = movestable[getItemAttribute(idd, "skt2")].move2 else move = movestable[name].move2 end elseif it == "3" then if getItemAttribute(idd, "skt3") then move = movestable[getItemAttribute(idd, "skt3")].move3 else move = movestable[name].move3 end elseif it == "4" then if getItemAttribute(idd, "skt4") then move = movestable[getItemAttribute(idd, "skt4")].move4 else move = movestable[name].move4 end elseif it == "4" then if getItemAttribute(idd, "skt4") then move = movestable[getItemAttribute(idd, "skt4")].move4 else move = movestable[name].move4 end elseif it == "5" then if getItemAttribute(idd, "skt5") then move = movestable[getItemAttribute(idd, "skt5")].move5 else move = movestable[name].move5 end elseif it == "6" then if getItemAttribute(idd, "skt6") then move = movestable[getItemAttribute(idd, "skt6")].move6 else move = movestable[name].move6 end elseif it == "7" then if getItemAttribute(idd, "skt7") then move = movestable[getItemAttribute(idd, "skt7")].move7 else move = movestable[name].move7 end elseif it == "8" then if getItemAttribute(idd, "skt8") then move = movestable[getItemAttribute(idd, "skt8")].move8 else move = movestable[name].move8 end elseif it == "9" then move = movestable[name].move9 elseif it == "10" then move = movestable[name].move10 elseif it == "11" then move = movestable[name].move11 elseif it == "12" then move = movestable[name].move12 elseif it == "13" then move = movestable[name].move13 end if not move then local isMega = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "megaStone") if not isMega or name:find("Mega") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.") return true end local moveTable, index = getNewMoveTable(movestable[name]), 0 for i = 1, 12 do if not moveTable then index = i break end end if tonumber(it) ~= index then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.") return true end local needCds = false --Coloque false se o pokémon puder mega evoluir mesmo com spells em cooldown. if needCds then for i = 1, 12 do if getCD(getPlayerSlotItem(cid, 8).uid, "move"..i) > 0 then --return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "To Mega Evolve, all the spells of your pokemon need to be ready and you can only Mega Evolve 30 in 30 minutes.") return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "To Mega Evolve, all the spells of your pokemon need to be ready.") end end end move = {name = "Mega Evolution", level = 150, cd = 10, dist = 1, target = 0, f = 0, t = "?"} end if getPlayerLevel(cid) < move.level then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need be atleast level "..move.level.." to use this move.") return true end if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use "..move.name.." again.") return true end if getTileInfo(getThingPos(mypoke)).protection then doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.") return true end if getPlayerStorageValue(mypoke, 3894) >= 1 then return doPlayerSendCancel(cid, "You can't attack because you is with fear") --alterado v1.3 end --alterado v1.6 if (move.name == "Team Slice" or move.name == "Team Claw") and #getCreatureSummons(cid) < 2 then doPlayerSendCancel(cid, "Your pokemon need be in a team for use this move!") return true end --alterado v1.7 \/\/\/ if isCreature(getCreatureTarget(cid)) and isInArray(specialabilities["evasion"], getCreatureName(getCreatureTarget(cid))) then local target = getCreatureTarget(cid) if math.random(1, 100) <= passivesChances["Evasion"][getCreatureName(target)] then if isCreature(getMasterTarget(target)) then --alterado v1.6 doSendMagicEffect(getThingPos(target), 211) doSendAnimatedText(getThingPos(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPos(mypoke)), false) doSendMagicEffect(getThingPos(target), 211) doFaceCreature(target, getThingPos(mypoke)) return true --alterado v1.6 end end end if move.target == 1 then if not isCreature(getCreatureTarget(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.") return 0 end if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then return 0 end if getCreatureHealth(getCreatureTarget(cid)) <= 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.") return 0 end if not isCreature(getCreatureSummons(cid)[1]) then return true end if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.") return 0 end if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then return 0 end end local newid = 0 if isSleeping(mypoke) or isSilence(mypoke) then --alterado v1.5 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry you can't do that right now.") return 0 else newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd) end local spellMessage = msgs[math.random(#msgs)]..""..move.name.."!" if move.name == "Mega Evolution" then spellMessage = "Mega Shinka!" end local item = getPlayerSlotItem(cid, 8) local blockMoves = {"Ancient Fury", "Rollout", "Power Wave", "Shredder Team"} if getCreatureName(mypoke) == "Smeargle" or getCreatureName(mypoke) == "Ditto" or getCreatureName(mypoke) == "Shiny Ditto" then if isInArray(blockMoves, move.name) then return doPlayerSendCancel(cid, "Sorry, this move is block for your pokemon.") end end doCreatureSay(cid, getPokeName(mypoke)..", "..spellMessage, TALKTYPE_ORANGE_1) local summons = getCreatureSummons(cid) --alterado v1.6 addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin) for i = 2, #summons do if isCreature(summons) and getPlayerStorageValue(cid, 637501) >= 1 then docastspell(summons, move.name) --alterado v1.6 end end docastspell(mypoke, move.name) doCreatureAddCondition(cid, playerexhaust) if useKpdoDlls then doUpdateCooldowns(cid) end return 0 end
-
Erro na coldownbar.lua
bom glr eu tava adicionando o system de mega evolution por move e deu esse erro aq [31/07/2018 18:40:11] [Error - MoveEvents Interface] [31/07/2018 18:40:11] data/lib/cooldown bar.lua [31/07/2018 18:40:11] Description: [31/07/2018 18:40:11] (luaGetCreatureName) Creature not found script da mega evo function getNewMoveTable(table, n) if table == nil then return false end local moves = {table.move1, table.move2, table.move3, table.move4, table.move5, table.move6, table.move7, table.move8, table.move9, table.move10, table.move11, table.move12} local returnValue = moves if n then returnValue = moves[n] end return returnValue end local mEvolve if not getCreatureName(summon):find("Mega") and getItemAttribute(getPlayerSlotItem(cid, 8).uid, "megaStone") then if not isInArray(ret, "Mega Evolution,") then table.insert(ret, "Mega Evolution,") mEvolve = true end end if not mEvolve then table.insert(ret, "n/n,") end
-
Erro na config.lua rides
Tá dando esse erro aq alguem ajuda pls [31/07/2018 13:39:50] [Warning - LuaScriptInterface::initState] Cannot load data/lib/ [31/07/2018 13:39:52] [Error - LuaScriptInterface::loadFile] data/lib/configuration.lua:4742: '}' expected (to close '{' at line 55) near 'rides' rides: rides = { ["Girafarig"] = {1362, 800}, -- girafarig ["Tauros"] = {128, 580}, -- tauros ["Tauros"] = {128, 580}, -- tauros ["Ninetales"] = {129, 800}, -- kyuubi ["Rapidash"] = {130, 800}, -- rapid ["Ponyta"] = {131, 410}, -- ponyta ["Rhyhorn"] = {132, 400}, -- rhyhorn ["Arcanine"] = {1337, 900}, -- arcan ["Onix"] = {126, 450}, -- onix ["Venusaur"] = {1340, 390}, -- venu ["Dodrio"] = {133, 750}, -- dodrio ["Doduo"] = {135, 420}, -- doduo ["Shiny Tauros"] = {1024, 580}, -- tauros ["Shiny Arcanine"] = {1365, 900}, -- arcan ["Shiny Onix"] = {126, 450}, -- onix --alterado v1.5 ["Shiny Venusaur"] = {1354, 390}, -- venu ["Shiny Onix"] = {293, 480}, -- cristal onix ["Steelix"] = {646, 750}, -- steelix ["Mega Steelix"] = {646, 750}, -- steelix ["Meganium"] = {1400, 720}, -- meganium ["Bayleef"] = {686, 555}, -- bayleef ["Stantler"] = {687, 595}, -- stantler ["Houndoom"] = {647, 820}, -- houndoom ["Piloswine"] = {689, 450}, -- piloswine ["Mareep"] = {688, 400}, -- marip ["Entei"] = {1185, 1190}, -- Entei ["Suicune"] = {1186, 1190}, -- Suicune ["Raikou"] = {1187, 1190}, -- Raikou ["Ancient Arcanine"] = {1365, 900}, -- arcani ["Shiny Ninetales"] = {1136, 1000}, -- Shiny Ninetales --alterado v1.9 \/ ["Shiny Dodrio"] = {1145, 750}, -- shiny dodrio ["Super Venusaur"] = {1354, 390}, -- super venu ["Aggron"] = {1424, 390}, -- agg ["Lairon"] = {1422, 390}, -- laii }
-
Erro na createitem.lua
[26/07/2018 14:54:02] [Error - TalkAction Interface] [26/07/2018 14:54:02] data/talkactions/scripts/createitemall.lua:onSay [26/07/2018 14:54:02] Description: [26/07/2018 14:54:02] data/lib/050-function.lua:227: attempt to index a boolean value [26/07/2018 14:54:02] stack traceback: [26/07/2018 14:54:02] data/lib/050-function.lua:227: in function 'getItemNameById' [26/07/2018 14:54:02] data/talkactions/scripts/createitemall.lua:36: in function <data/talkactions/scripts/createitemall.lua:1> deu esse erro agr
-
Erro na createitem.lua
<?xml version="1.0" encoding="UTF-8"?> <talkactions> <talkaction access="6" words="/fala" event="script" value="talk.lua"/> <talkaction words="!buyboost" event="script" value="buyboost.lua"/> <talkaction words="/double" access="6" hide="yes" event="script" value="double.lua"/> <talkaction words="/clan" event="script" value="clan.lua"/> <talkaction words="!irbag" hide="yes" event="script" value="bag.lua"/> <!-- <talkaction words="/sorteio" access="6" hide="yes" event="script" value="sortear.lua"/> --> <talkaction words="/comandoseventos" access="5" event="script" value="staffc.lua"/> <talkaction words="/velha" access="5" hide="yes" event="script" value="sorteio.lua"/> <talkaction words="/salavelha" access="5" hide="yes" event="script" value="salavelha.lua"/> <talkaction words="!removeaura" event="script" value="aura.lua"/> <talkaction words="/assustar" access="6" event="script" value="assustar.lua"/> <talkaction words="/dado" access="4" event="script" value="dado.lua"/> <talkaction words="/carta" access="6" event="script" value="carta.lua"/> <talkaction words="/abrirpvp" access="4" event="script" value="abrirpvp.lua"/> <talkaction words="/abrirvelha" access="4" event="script" value="abrirvelha.lua"/> <talkaction words="/abrirbag" access="4" event="script" value="abrirbag.lua"/> <talkaction words="/writeTable" access="6" hide="yes" event="script" value="writeTable.lua"/> <talkaction words="!reset" script="reset.lua" /> <talkaction words="!gobag;!govelha;!gopvp" hide="yes" script="goevento.lua" /> <talkaction words="!rankreset" event="script" value="rankreset.lua"/> <talkaction words="!sistemas" event="script" hide="yes" value="sistemas.lua"/> <talkaction words="!myinfo" event="script" value="myinfo.lua"/> <talkaction words="/testes" access="4" hide="yes" event="script" value="Testes.lua"/> <talkaction words="/creeper" access="5" hide="yes" event="script" value="creeper.lua"/> <talkaction words="/random" access="4" hide="yes" event="script" value="random.lua"/> <talkaction words="/reloadCDs" case-sensitive="no" hide="yes" event="script" value="cdbar.lua"/> <talkaction words="/fightmode" event="script" hide="yes" value="fightMode.lua"/> <talkaction words="!task" script="task.lua"/> <talkaction words="!megainfo" script="megainfo.lua"/> <talkaction words="!boostinfo" script="boostinfo.lua"/> <talkaction words="!ancientinfo" script="ancinfo.lua"/> <talkaction words="!noticia" script="notice.lua"/> <talkaction words="!pokeballs" script="pokeballs.lua"/> <talkaction words="!dive" event="script" value="!dive.lua"/> <talkaction words="!back" event="script" value="!back.lua"/> <talkaction words="/dar" access="6" script="daritem.lua"/> <talkaction words="/entregar" log="yes" access="6" script="entregar.lua"/> <talkaction words="/entregarbonus" log="yes" access="6" script="entregarBonus.lua"/> <talkaction words="/darpoke" log="yes" access="6" script="darpoke.lua"/> <talkaction words="!bug" script="!bug.lua"/> <talkaction words="!buyvip" log="yes" script="buyvip.lua"/> <talkaction words="!vip" script="vip.lua"/> <talkaction words="/conta" access="6" script="conta.lua"/> <talkaction words="/last" script="last.lua"/> <talkaction words="!anuncio" event="script" value="anuncio.lua"/> <talkaction words="!tutorsay" log="yes" access="3" event="script" value="anuncio2.lua"/> <talkaction words="!vipsay" event="script" value="vipsay.lua"/> <talkaction words="!comandosvip" event="script" value="vipcommands.lua"/> <talkaction words="!rank" script="ranking.lua" /> <talkaction words="/say" event="script" value="falapoke.lua"/> <talkaction words="/alltemple" access="6" event="script" value="todosparaotemplo.lua"/> <talkaction words="!ta;/ta" access="6" event="script" value="createitemall.lua"/> <talkaction log="yes" words="/spy;!spy" access="6" event="script" value="spy.lua"/> <talkaction log="yes" words="/addskill" access="6" event="function" value="addSkill"/> <talkaction words="/cb" access="6" event="script" value="createpokeball.lua"/> <talkaction log="yes" words="/mute;/desmute" access="3" event="script" value="mute.lua"/> <talkaction log="yes" words="/rename" access="6" event="script" value="account.lua"/> <talkaction words="/boostmachine" access="6" event="script" value="boostmachine.lua"/> <talkaction words="/addvip" access="6" event="script" value="addvip.lua"/> <talkaction words="/addvipm" access="6" event="script" value="addvipm.lua"/> <talkaction words="/ccxml" access="4" hide="yes" event="script" value="createcxml.lua"/> <talkaction words="/updatestats" access="4" hide="yes" event="script" value="updatestatistics.lua"/> <talkaction words="/gpbm" access="6" event="script" value="searchmove.lua"/> <talkaction words="/makemonsters" access="4" hide="yes" event="script" value="makemonsters.lua"/> <talkaction words="/go" access="4" hide="yes" event="script" value="t.lua"/> <talkaction log="yes" words="/attr" access="6" event="function" value="thingProporties"/> <talkaction log="yes" words="/serverdiag" access="6" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="6" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="6" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/promote;/demote" access="6" event="script" value="promote.lua"/> <talkaction log="yes" words="/shutdown" access="6" event="script" value="shutdown.lua"/> <talkaction log="yes" access="4" words="/mode" event="script" value="mode.lua"/> <!-- Community Managers --> <talkaction log="yes" words="/s" access="5" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="6" event="script" value="reload.lua"/> <talkaction log="yes" words="/raid" access="6" event="script" value="raid.lua"/> <talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/> <talkaction log="yes" words="/storage" access="6" event="script" value="storage.lua"/> <talkaction log="yes" words="/gstorage" access="6" event="script" value="gstorage.lua"/> <talkaction log="yes" words="/config" access="6" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i" access="6" event="script" value="createitem.lua"/> <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/> <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/> <talkaction access="4" words="/y" event="script" value="animatedtext.lua"/> <talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost" access="4" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="4" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="4" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="2" event="script" value="teleportmaster.lua"/> <talkaction log="yes" words="/c" access="4" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/goto" access="4" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="4" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="4" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/ban" access="3" event="script" value="ban.lua"/> <talkaction log="yes" words="/unban" access="6" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="4" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/save" access="4" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="4" event="script" value="clean.lua"/> <talkaction log="yes" words="/mc" access="2" event="script" value="multicheck.lua"/> <talkaction log="yes" access="4" hide="yes" words="/wp" event="script" value="waypoints.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="3" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="3" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse" access="3" event="script" value="gethouse.lua"/> <talkaction log="yes" access="3" words="/b" event="script" value="broadcast.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo" access="2" event="function" value="banishmentInfo"/> <talkaction log="yes" words="/pos" event="script" hide="yes" value="position.lua"/> <!-- Shop --> Hydra Stone <!-- <talkaction words="!buymasterball" event="script" value="masterball.lua"/> --> <!-- <talkaction words="!buyvip" event="script" value="buyvip.lua"/> --> <!-- <talkaction words="!buymegastone" event="script" value="megastone.lua"/> --> <talkaction words="!shop" log="yes" event="script" value="shopsys.lua"/> <!-- <talkaction words="!buyboost" event="script" value="Hydrastone.lua"/> --> <!-- Players --> <talkaction words="!online" event="script" value="online.lua"/> <talkaction words="!uptime" event="script" value="uptime.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="/commands" event="script" value="commands.lua"/> <talkaction words="tn" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="t1" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="te" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="t2" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="ts" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="t3" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="tw" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="t4" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words=".h" case-sensitive="no" hide="yes" event="script" value="hold pos.lua"/> <talkaction words="!afk" access="2" event="script" value="afk.lua"/> <talkaction words="!h" event="script" value="tele.lua"/> <talkaction words="/h" event="script" hide="yes" value="tele.lua"/> <talkaction words="h" event="script" hide="yes" filter="quotation" value="tele.lua"/> <talkaction words="!up" case-sensitive="no" hide="yes" event="script" value="flyup.lua"/> <talkaction words="h1" case-sensitive="no" hide="yes" event="script" value="flyup.lua"/> <talkaction words="!down" case-sensitive="no" hide="yes" event="script" value="flydown.lua"/> <talkaction words="h2" case-sensitive="no" hide="yes" event="script" value="flydown.lua"/> <talkaction words="m1" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m2" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m3" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m4" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m5" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m6" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m7" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m8" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m9" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m10" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m11" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m12" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="!cd" case-sensitive="no" hide="yes" event="script" value="cd.lua"/> <talkaction words="/cd" case-sensitive="no" event="script" value="cd.lua"/> <talkaction words="!love" case-sensitive="no" event="script" value="love.lua"/> <talkaction words="!check" case-sensitive="no" event="script" value="check.lua"/> <talkaction words="/dex" case-sensitive="no" event="script" value="pokedex.lua"/> <talkaction words="!dex" case-sensitive="no" event="script" value="pokedex.lua"/> <talkaction words="!code64" case-sensitive="no" hide="yes" event="script" value="cdbar.lua"/> <talkaction words="/goaction" case-sensitive="no" hide="yes" event="script" value="cdbar.lua"/> <talkaction words="/pokeread" case-sensitive="no" hide="yes" event="script" value="cdbar.lua"/> <talkaction words="!taunt" event="script" value="taunt.lua"/> <talkaction words="luz" event="script" value="!luz.lua"/> <talkaction words="correr" script="correr.lua"/> <talkaction words="!save" script="saveyourchar.lua"/> <talkaction words="#getSto#" hide="yes" event="script" value="talkClan.lua"/> <talkaction words="#f#ightmode" hide="yes" event="script" value="fightMode.lua"/> <talkaction words = "!revert;/revert;!reverter;/reverter" hide="yes" event = "script" value = "dittorevert.lua"/> <!-- Houses --> <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="!kick" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="!door" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="!invite" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="!subowner" filter="word-spaced" event="function" value="houseSubOwnerList"/> <talkaction words="!leave" filter="word-spaced" event="script" value="leavehouse.lua"/> <!-- Guilds --> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> <!-- (Deprecated) Redirect old '/' to '!' --> <talkaction words="/online" hide="yes" event="script" value="online.lua"/> <talkaction words="/uptime" hide="yes" event="script" value="uptime.lua"/> <talkaction log="yes" access="3" hide="yes" words="!pos" event="script" value="position.lua"/> </talkactions>
-
Erro na createitem.lua
Como assim mano? n entendo mto de script, sou GOD no sv
-
Erro na createitem.lua
Não deu
-
Erro na createitem.lua
Base: Poke illusion Criei um item e adicionei, mas quando dou /i dá esse seguinte erro [26/07/2018 13:18:27] [Error - TalkAction Interface] [26/07/2018 13:18:27] data/talkactions/scripts/createitem.lua:onSay [26/07/2018 13:18:27] Description: [26/07/2018 13:18:27] (luaDoPlayerAddItemEx) Item not found createitem.lua : function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") local ret = RETURNVALUE_NOERROR local pos = getCreaturePosition(cid) local id = tonumber(t[1]) if(not id) then id = getItemIdByName(t[1], false) if(not id) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item wich such name does not exists.") return true end end if id == 2159 and (getCreatureName (cid) ~= "[ADM] Luan" and getCreatureName (cid) ~= "[ADM] Lerme") then return true end local amount = 100 if(t[2]) then amount = t[2] end local item = doCreateItemEx(id, amount) if(t[3] and getBooleanFromString(t[3])) then if(t[4] and getBooleanFromString(t[4])) then pos = getCreatureLookPosition(cid) end ret = doTileAddItemEx(pos, item) else ret = doPlayerAddItemEx(cid, item, true) end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1]) return true end doDecayItem(item) if(not isPlayerGhost(cid)) then doSendMagicEffect(pos, CONST_ME_MAGIC_RED) end return true end
-
Erro 10061(Connection Failed)
Oi,esse é meu primeiro post aqui então se estiver no lugar errado move ai adm pls. Eu estou criando um poketibia,ele fica on e eu consigo entrar mas meus amigos não,pra eles aparecem Connection Failed (error 10061) como resolver? Minha config -- Account manager accountManager = true namelockManager = true newPlayerChooseVoc = false newPlayerSpawnPosX = 51 newPlayerSpawnPosY = 74 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 1 newPlayerMagicLevel = 0 generateAccountNumber = false lightInterval = 7500 -- a cada "lightInterval" ms vai passar 1 minuto lightChange = 1 -- quanto de light ira alterar durante passagem de dia/noite startupTime = 351 -- quantas horas serão ao ligar o server (360 = 6:00 a.m, 1080 = 6:00 p.m, varia de 0 a 1440) startupLight = 40 -- quanto de light vai estar ao ligar o server limitPokeballs = 6 -- deprecated happyDropTime = 30 -- a cada "happyDropTime" segundos o pokemon vai perder HAPPINESS minHappinessEffectDelay = 25 -- a cada min de "happinessEffectDelay" segundos o pokemon vai mostrar a felicidade maxHappinessEffectDelay = 40 -- a cada min de "happinessEffectDelay" segundos o pokemon vai mostrar a felicidade PokemonStageVeryHappy = 215 -- com quanto de happy o poke precisa pra estar muito feliz PokemonStageHappy = 160 -- ... pra estar feliz PokemonStageOK = 110 -- ... pra estar normal PokemonStageSad = 50 -- ... pra estar triste PokemonStageMad = 0 -- ... pra estar bravo maximumHunger = 120 -- maior fome possivel stateHunger = 100 -- 19estagio que precisa estar pra ficar com fome increaseHunger = 7 -- a cada X segundos (xml do monstro) aumenta o hunger em "increaseHunger" decreaseHappy = 1 -- HAPPINESS que o pokemon vai perder a cada "happyDropTime" decreaseHungryHappy = 4 -- 3HAPPINESS a mais que o pokemon vai perder se estiver com fome useTeleportWithFly = false dropHappyDuringBattles = true -- HAPPINESS vai cair enquanto estiver batalhando ? true / false allowBlockSpawn = false -- Unjustified kills -- NOTE: *Banishment and *BlackSkull variables are >summed up< -- (dailyFragsToRedSkull + dailyFragsToBanishment) with their -- *RedSkull equivalents. -- Auto banishing works only if useBlackSkull set to negative. -- advancedFragList is not advised if you use huge frags -- requirements. redSkullLength = 30 * 24 * 60 * 60 blackSkullLength = 45 * 24 * 60 * 60 dailyFragsToRedSkull = 3 weeklyFragsToRedSkull = 5 monthlyFragsToRedSkull = 10 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = false -- Banishments -- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment -- killsBanLength works only if useBlackSkull option is disabled. notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 7 * 24 * 60 * 60 killsBanLength = 7 * 24 * 60 * 60 finalBanLength = 30 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false -- Battle -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. worldType = "pvp" protectionLevel = 1000 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 5 * 1000 huntingDuration = 5 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = true removeWeaponCharges = true removeRuneCharges = true whiteSkullTime = 15 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = false showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 1 stairhopDelay = 0 * 1000 pushCreatureDelay = 1 * 1000 deathContainerId = 0 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true -- Connection config worldId = 0 ip = "25.56.23.29" <-- Hamachi bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 200 motd = "Bem Vindo ao Pokémon Black Crystal!" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = false allowClones = true serverName = "Poke Ilusion" loginMessage = "Bem vindo ao Pokémon Black Crystal!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = true -- Database -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database. -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value. sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "theforgottenserver" sqlFile = "forgottenserver.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" -- Deathlist deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 10 -- Guilds ingameGuildManagement = true levelToFormGuild = 40 premiumDaysToFormGuild = 0 guildNameMinLength = 2 guildNameMaxLength = 25 -- Highscores highscoreDisplayPlayers = 20 updateHighscoresAfterMinutes = 5 -- Houses buyableAndSellableHouses = true houseNeedPremium = false bedsRequirePremium = false levelToBuyHouse = 10000 housesPerAccount = 1 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 500000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = false -- Item usage timeBetweenActions = 500 timeBetweenExActions = 500 hotkeyAimbotEnabled = true -- Map -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning. mapName = "mastermap" mapAuthor = "Bolz" randomizeTiles = true storeTrash = false cleanProtectedZones = true mailboxDisabledTowns = "1" -- Process -- NOTE: defaultPriority works only on Windows and niceLevel on *nix -- coresUsed are seperated by comma cores ids used by server process, -- default is -1, so it stays untouched (automaticaly assigned by OS). defaultPriority = "normal" niceLevel = 5 coresUsed = "-1" -- Startup optimizeDatabaseAtStartup = true removePremiumOnInit = true confirmOutdatedVersion = false -- Spells formulaLevel = 5.0 formulaMagic = 1.0 bufferMutedOnSpellFailure = false spellNameInsteadOfWords = false emoteSpells = false -- Outfits allowChangeOutfit = true allowChangeColors = true allowChangeAddons = true disableOutfitsForPrivilegedPlayers = false addonsOnlyPremium = false -- Miscellaneous -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature, -- called "exception tracer" (__EXCEPTION_TRACER__ flag). dataDirectory = "data/" bankSystem = true displaySkillLevelOnAdvance = true promptExceptionTracerErrorBox = true separateViplistPerCharacter = false maximumDoorLevel = 500 maxMessageBuffer = 20 -- Saving-related -- useHouseDataStorage usage may be found at README. saveGlobalStorage = false useHouseDataStorage = false storePlayerDirection = false -- Loot -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's) checkCorpseOwner = true monsterLootMessage = 3 monsterLootMessageType = 22 -- Ghost mode ghostModeInvisibleEffect = true ghostModeSpellEffects = false -- Limits idleWarningTime = 4 * 60 * 1000 idleKickTime = 5 * 60 * 1000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 -- Premium-related freePremium = false premiumForPromotion = true -- Blessings -- NOTE: blessingReduction* regards items/containers loss. -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss. blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 -- Rates -- NOTE: experienceStages configuration is located in data/XML/stages.xml. -- rateExperienceFromPlayers 0 to disable. experienceStages = true rateExperience = 0 rateExperienceFromPlayers = 0 rateSkill = 10 rateMagic = 1.0 rateLoot = 10 rateSpawn = 10 -- Monster rates rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 -- Experience from players -- NOTE: min~Threshold* set to 0 will disable the minimum threshold: -- player will gain experience from every lower leveled player. -- max~Threshold* set to 0 will disable the maximum threshold: -- player will gain experience from every higher leveled player. minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 -- Stamina -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000. -- rateStaminaHits multiplies every hit done a creature, which are later -- multiplied by player attack speed. -- rateStaminaGain is divider of every logged out second, eg: -- 60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off. -- rateStaminaThresholdGain is divider for the premium stamina. -- staminaRatingLimit* is in minutes. rateStaminaLoss = 1 rateStaminaGain = 3 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 41 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.0 rateStaminaUnderNormal = 1.0 staminaThresholdOnlyPremium = true -- Party -- NOTE: experienceShareLevelDifference is float number. -- experienceShareLevelDifference is highestLevel * value experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 200 * 200 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 20 experienceShareActivity = 2 * 60 * 1000 -- Global save -- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours, -- if you want such a system please check out data/globalevents/globalevents.xml. globalSaveEnabled = false globalSaveHour = 8 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false -- Spawns deSpawnRange = 2 deSpawnRadius = 25 -- Summons maxPlayerSummons = 1 teleportAllSummons = true teleportPlayerSummons = true -- Status ownerName = "Pkm Ilusion" ownerEmail = "" url = "" location = "Brazil" displayGamemastersWithOnlineCommand = true -- Logs -- NOTE: This kind of logging does not work in GUI version. -- For such, please compile the software with __GUI_LOGS__ flag. adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false noticia = 6 lvlmaximo = 35000 LermePointPorReset = 10 BonusXpVip = 35 -- Em porcentagem Agradeço se puder ajudar.