.Qual servidor ou website você utiliza como base? cyan / darkpoke
Qual o motivo deste tópico?
Eae galera tudo bem? estou com dois problemas que ja tentei de tudo para resolver mas não consigo, espero muito que vocês consigam me ajudar. Acredito eu que se eu resolver 1 dos problemas ( o do remeres) fica mais facil resolver o outro, enfim sem mais delongas...
O 1 problema é o do remeres, que fica todo bugado em algumas partes do mata e sem itens de pokemon somente itens de tibia, vi alguns tutoriais no youtube de como mudar isso, todos os videos que vi, dizem pra fazer os seguintes passos: Ir na pasta data/items/ copiar os arquivos items e items.otb, depois ir no local onde o remeres foi instalado data/854 (meu cliente é 8.54) e colar, porem quando eu faço isso, fica ainda mais bugado...
O 2 problema é o seguinte... Quando capturo um pokemon com 6 pokemons na bag, o 7 não vai para o depot, mas também não aparece nenhum erro. Ele simplesmente não vai, eu acredito que talvez se eu for no remeres e clicar no locker e setar ele como "locker / city" resolva, mas nao consigo fazer o teste porque o meu remeres esta todo bugado.
Obs: Quando eu clico no depot de qualquer cidade e adiciono um item a ele o item salva, e consigo ter acesso a ele do depot de todas as outras cidade.
Está surgindo algum erro? Se sim coloque-o aqui.
Você tem o código disponível? Se tiver publique-o aqui:
local ballcatch = { --id normal, id da ball shiy
[2394] = {cr = 12, on = 193, off = 192, ball = {11826, 11737}, send = 47, typeee = "normal", boost = "10"}, --alterado v1.9 \/
[2391] = {cr = 16, on = 198, off = 197, ball = {11832, 11740}, send = 48, typeee = "great", boost = "0"},
[2393] = {cr = 25, on = 202, off = 201, ball = {11835, 11743}, send = 46, typeee = "super", boost = "0"},
[2392] = {cr = 50, on = 200, off = 199, ball = {11829, 11746}, send = 49, typeee = "ultra", boost = "0"},
[12617] = {cr = 25, on = 204, off = 203, ball = {10975, 12621}, send = 35, typeee = "saffari", boost = "0"},
[12832] = {cr = 100000, on = 23, off = 24, ball = {12826, 12829}, send = 181, typeee = "dark", boost = "50"},
}
function onUse(cid, item, frompos, item3, topos)
local item2 = getTopCorpse(topos)
if item2 == null then
return true
end
if getItemAttribute(item2.uid, "catching") == 1 then
return true
end
if getItemAttribute(item2.uid, "golden") and getItemAttribute(item2.uid, "golden") == 1 then
return doPlayerSendCancel(cid, "You can't try to catch a pokemon in the Golden Arena!")
end
local name = string.lower(getItemNameById(item2.itemid))
name = string.gsub(name, "fainted ", "")
name = string.gsub(name, "defeated ", "")
name = doCorrectPokemonName(name)
local x = pokecatches[name]
if not x then return true end
local shinys = {"Shiny Salamence", "Shiny Electivire", "Shiny Blaziken", "Shiny Magmortar","Shiny Snorlax", "Shiny Ditto", }
if item.itemid == 12832 and isInArray(shinys, name) then
doPlayerSendCancel(cid, "Você não pode pegar esse pokemon com a master ball ESPERTINHO !!")
return true
end
local storage = newpokedex[name].stoCatch
if getPlayerStorageValue(cid, storage) == -1 or not string.find(getPlayerStorageValue(cid, storage), ";") then --alterado v1.9
setPlayerStorageValue(cid, storage, "normal = 0, great = 0, super = 0, ultra = 0, saffari = 0, dark = 0;") --alterado v1.9
end
local owner = getItemAttribute(item2.uid, "corpseowner")
if owner and isCreature(owner) and isPlayer(owner) and cid ~= owner then
doPlayerSendCancel(cid, "You are not allowed to catch this pokemon.")
return true
end
local newidd = isShinyName(name) and ballcatch[item.itemid].ball[2] or ballcatch[item.itemid].ball[1] --alterado v1.9
local typeee = ballcatch[item.itemid] and ballcatch[item.itemid].typeee or "normal"
local boost = ballcatch[item.itemid].boost
local catchinfo = {}
catchinfo.rate = ballcatch[item.itemid].cr
catchinfo.catch = ballcatch[item.itemid].on
catchinfo.fail = ballcatch[item.itemid].off
catchinfo.newid = newidd
catchinfo.name = doCorrectPokemonName(name)
catchinfo.topos = topos
catchinfo.chance = x.chance
doSendDistanceShoot(getThingPos(cid), topos, ballcatch[item.itemid].send)
doRemoveItem(item.uid, 1)
local d = getDistanceBetween(getThingPos(cid), topos)
if getPlayerStorageValue(cid, 98796) >= 1 and getPlayerItemCount(cid, 12617) <= 0 then --alterado v1.9
setPlayerStorageValue(cid, 98796, -1)
setPlayerStorageValue(cid, 98797, -1)
doTeleportThing(cid, SafariOut, false)
doSendMagicEffect(getThingPos(cid), 21)
doPlayerSendTextMessage(cid, 27, "You spend all your saffari balls, good luck in the next time...")
end
addEvent(doSendPokeBall, d * 70 + 100 - (d * 14) , cid, catchinfo, false, false, typeee)
addEvent(doSendMagicEffect, (d * 70 + 100 - (d * 14)) - 100, topos, 3)
return true
end
Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
Na 1 imagem o remeres nomal
Na 2 imagem Eu substiu o items e items.otb do server na pasta da versao do meu client (8,54) do remeres