cara maioria ta com bug no fishing pda 1.8 tente usar a 1.7 ou a 1.6 solução resolvida RÇRÇ
- Fórum
- OTServ
- Suporte
- Tópicos Sem Resposta
- [Encerrado] Fishing Não sobe
[Encerrado] Fishing Não sobe
Por Chapalirous, 27 de dez. de 2012 em Tópicos Sem Resposta
info
Grupo: Cavaleiro
Registrado: 18/11/12
Posts: 197
Reputação: +24
Gênero: Masculino
Char no Tibia: HouseKkeper

info
Grupo: Campones
Registrado: 16/10/12
Posts: 45
Reputação: +4
Char no Tibia: Chapalirous

Nada Já Resolvi
Era o XML/Vocations.xml
o Fishing tava 3.0
para o Fishing poder Subir Tem Que Colocar 1.1
Podem Fechar o Tópico.
info
Grupo: Príncipe
Registrado: 19/08/10
Posts: 4k
Reputação: +1.1k
Gênero: Masculino

aki ta 3 e ta subindo... eu coloquei 3 pq muitos tavam reclamando q tava upando muito rapido... dai fuçando por ae percebi q aumentando ali, aumenta a qntdade de pnts q precisa para upar lvl de fishing.. n sei dizer pq q com vcs bugo ;x
anyway, sanado, movido
Editado Dezembro 28 por Slicer
info
Grupo: Herói
Registrado: 28/11/10
Posts: 3.4k
Reputação: +585
Gênero: Masculino

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.




info
Grupo: Campones
Registrado: 16/10/12
Posts: 45
Reputação: +4
Char no Tibia: Chapalirous
Estou Com Problemas no Fishing no PDA 1.8 Slicer. As Pessoas Pescam e o Fishing Não Sobe Mais.
E estou com Esse Erro
[27/12/2012 18:55:47] [Error - Action Interface]
[27/12/2012 18:55:47] data/actions/scripts/tools/fishing.lua:onUse
[27/12/2012 18:55:47] Description:
[27/12/2012 18:55:47] data/actions/scripts/tools/fishing.lua:129: attempt to compare number with string
[27/12/2012 18:55:47] stack traceback:
[27/12/2012 18:55:47] data/actions/scripts/tools/fishing.lua:129: in function <data/actions/scripts/tools/fishing.lua:81>
local fishing = {
["Magikarp"] = {skill = 0, level = -2},
["Qwilfish"] = {skill = 80, level = 3},
["Remoraid"] = {skill = 16, level = 2},
["Staryu"] = {skill = 25, level = 6},
["Tentacool"] = {skill = 20, level = 7},
["Goldeen"] = {skill = 17, level = 5},
["Krabby"] = {skill = 14, level = 2},
["Horsea"] = {skill = 16, level = 3},
["Poliwag"] = {skill = 15, level = 2},
["Marill"] = {skill = 21, level = 3},
["Azumarill"] = {skill = 80, level = 16},
["Kingler"] = {skill = 50, level = 14},
["Seaking"] = {skill = 30, level = 11},
["Starmie"] = {skill = 50, level = 20},
["Chinchou"] = {skill = 60, level = 6},
["Poliwhirl"] = {skill = 27, level = 9},
["Seadra"] = {skill = 41, level = 15},
["Lanturn"] = {skill = 80, level = 14},
["Octillery"] = {skill = 80, level = 9},
["Corsola"] = {skill = 80, level = 16},
["Tentacruel"] = {skill = 100, level = 16},
["Poliwrath"] = {skill = 100, level = 16},
["Kingdra"] = {skill = 110, level = 16},
["Gyarados"] = {skill = 120, level = 16},
}
local storage = 15458
local bonus = 1
local limite = 120
local function doFish(cid, pos, ppos, chance, interval, number)
if not isCreature(cid) then return false end
if getThingPos(cid).x ~= ppos.x or getThingPos(cid).y ~= ppos.y then
return false end
if getPlayerStorageValue(cid, storage) ~= number then return false end
doSendMagicEffect(pos, CONST_ME_LOSEENERGY)
local peixe = 0
local playerpos = getClosestFreeTile(cid, getThingPos(cid))
local fishes = {}
local randomfish = ""
for a, b in pairs (fishing) do
if getPlayerSkillLevel(cid, 6) >= b.skill then
table.insert(fishes, a)
end
end
if math.random(1, 100) <= chance then
if getPlayerSkillLevel(cid, 6) < limite then
doPlayerAddSkillTry(cid, 6, bonus)
end
randomfish = fishes[math.random(#fishes)]
peixe = doSummonCreature(randomfish, playerpos)
if not isCreature(peixe) then
addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)
return true
end
doSetMonsterPassive(peixe)
doWildAttackPlayer(peixe, cid)
if #getCreatureSummons(cid) >= 1 then
doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 173)
doChallengeCreature(getCreatureSummons(cid)[1], peixe)
else
doSendMagicEffect(getThingPos(cid), 173)
doChallengeCreature(cid, peixe)
end
return true
end
addEvent(doFish, interval, cid, pos, ppos, chance, interval, number)
return true
end
local waters = {4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}
function onUse(cid, item, fromPos, itemEx, toPos)
if getPlayerGroupId(cid) == 11 then
return true
end
local checkPos = toPos
checkPos.stackpos = 0
if getTileThingByPos(checkPos).itemid <= 0 then
doPlayerSendCancel(cid, '!')
return true
end
if not isInArray(waters, getTileInfo(toPos).itemid) then
return true
end
if (getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 63215) >= 1) and not canFishWhileSurfingOrFlying then
doPlayerSendCancel(cid, "You can't fish while surfing/flying.")
return true
end
if isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then
doPlayerSendCancel(cid, "You can\'t fish while surfing neither flying above water.")
return true
end
if getTileInfo(getThingPos(getCreatureSummons(cid)[1] or cid)).protection then
doPlayerSendCancel(cid, "You can't fish pokémons if you or your pokémon is in protection zone.")
return true
end
if not tonumber(getPlayerStorageValue(cid, storage)) then
local test = io.open("data/sendtobrun123.txt", "a+")
local read = ""
if test then
read = test:read("*all")
test:close()
end
read = read.."\n[fishing.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, storage)..""
local reopen = io.open("data/sendtobrun123.txt", "w")
reopen:write(read)
reopen:close()
setPlayerStorageValue(cid, storage, 1)
end
setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) + 1)
if getPlayerStorageValue(cid, storage) >= 800 then
setPlayerStorageValue(cid, storage, 1)
end
local delay = 3500 - getPlayerSkillLevel(cid, 6) * 25
local chance = 10 + getPlayerSkillLevel(cid, 6) / 2.5
doFish(cid, toPos, getThingPos(cid), chance, delay, getPlayerStorageValue(cid, storage))
return true
end
Vale REP+
Editado Dezembro 27 por Chapalirous