@Zeref
Aqui funcionou corretamente mais quando voce da catch vem como "being used"
By lucashgas, 10 de jan. de 2012 in Tópicos Sem Resposta
info
Group: Campones
Joined: 07/11/10
Posts: 18
Reputation: +1

@Zeref
Aqui funcionou corretamente mais quando voce da catch vem como "being used"
info
Group: Barão
Joined: 17/10/10
Posts: 230
Reputation: +10
Tibia Character: Nascont

ta vendo brunoo, por isso eu queria alguem que ja tem o client deles com dat e spr do psoul solta ou nao.
se alguem tiver min manda plix dou rep+.
Edited Maio 28 by cacaiu
info
Group: Infante
Joined: 25/01/12
Posts: 1.6k
Reputation: +330

Aki a ball não está brilhando a ball '-'
Erro que deu quando catei ela brilho mais ela vem bugada

Edited Maio 28 by StyloMaldoso
info
Group: Conde
Joined: 06/08/11
Posts: 752
Reputation: +112

Isso não foi feio pro comando /cb e sim pro catch se quiser pro comando /cb manda o script dele em spoiler
Ve se você não copiou errado ou algo do tipo porque eu olhei o post atras com o script e ta certo ...
Deve ter apagado algo errado ou algo assim...
Bem entao na tabela ali procura "ball = " e muda o id pro id da ball ou id da ball - 1 e testa
mais aqui ainda funcionou certo
@ALL
OBS: Os corpses precisam estar assim
fainted shiny alakazam
ou
defeated shiny alakazam
se tiver Shiny alakazam no items.xml
muda no script de "shiny " para "Shiny " ou muda no items.xml
info
Group: Infante
Joined: 25/01/12
Posts: 1.6k
Reputation: +330

zere pode edita pra min certo ? ^^
local ballcatch = {
[2394] = {cr = 9, on = 24, off = 23, ball = 11826, send = 47},
[2391] = {cr = 11, on = 198, off = 197, ball = 11832, send = 48},
[2393] = {cr = 13, on = 202, off = 201, ball = 11835, send = 46},
[2392] = {cr = 30000, on = 200, off = 199, ball = 11829, send = 49},
}
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
local name = string.lower(getItemNameById(item2.itemid))
name = string.gsub(name, "fainted ", "")
name = string.gsub(name, "defeated ", "")
if string.find(name, "shiny ") then
ballcatch = {
[2394] = {cr = 3000, on = 24, off = 23, ball = 11737, send = 47},
[2391] = {cr = 6, on = 198, off = 197, ball = 11740, send = 48},
[2393] = {cr = 10, on = 202, off = 201, ball = 11743, send = 46},
[2392] = {cr = 15, on = 200, off = 199, ball = 11747, send = 49},
}
end
local x = pokecatches[doCorrectPokemonName(name)]
if not x then return true end
local owner = getItemAttribute(item2.uid, "corpseowner")
if owner and isCreature(owner) and isPlayer(owner) and cid ~= owner and isInArray({1,8}, getPlayerGroupId(cid)) then
doPlayerSendCancel(cid, "You are not allowed to catch this pokemon.")
return true
end
local catchinfo = {}
catchinfo.rate = ballcatch[item.itemid].cr
catchinfo.catch = ballcatch[item.itemid].on
catchinfo.fail = ballcatch[item.itemid].off
catchinfo.newid = ballcatch[item.itemid].ball
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)
addEvent(doSendPokeBall, d * 70 + 100 - (d * 14) , cid, catchinfo, false, false)
addEvent(doSendMagicEffect, (d * 70 + 100 - (d * 14)) - 100, topos, 3)
return true
end
Onde que ta o comando /cd pra vc edita pra min ? '-'
Edited Maio 28 by StyloMaldoso
info
Group: Conde
Joined: 06/08/11
Posts: 752
Reputation: +112

Tem certeza que ta dando erro parece certo...
@All
Esqueci de falar...
Se eu não estiver errado, o comando cb é
creaturepokeball.lua (data/talkactions/scripts)
Edited Maio 28 by ZerefShirou
info
Group: Infante
Joined: 25/01/12
Posts: 1.6k
Reputation: +330

Zeref catei shiny karp ai apareçe ele MORTO na minha bag e quando tento taka ele no slot o portrait do karp buga e a ball não vai tento heala e nd
e onde que ta o comando /cd para vc edita pra min?
Edit eu healo ai dá pra eu usa o shiny karp , mais qual bug que quando cata ta vindo Morto?
Zere# Você poderia tambem adiciona os efect na Hyper ball e na Saffari ball? decha sem o Id ai tu fala onde pra onde coloka os id da ball ^^
Edited Maio 28 by StyloMaldoso
info
Group: Conde
Joined: 06/08/11
Posts: 752
Reputation: +112

Os ids é nisso "balls = 1519258125819"
...
@All
Tava tentando fazer pokemons andar na agua mas nem da, queria colocar só pra voador andar na agua mas nenhum anda bando de bixo com medo de agua
Edited Maio 28 by ZerefShirou
info
Group: Infante
Joined: 25/01/12
Posts: 1.6k
Reputation: +330

mais voce sabe quando eu abro o Servidor e cato shiny karp e ele vem mortinho ? vé um negocio do script que eu postei ai e esse post vc falo do Id ? '-'
Eu preciso te hyper ball brilhando e saffari tbm no cliente ? ![]()
info
Group: Conde
Joined: 06/08/11
Posts: 752
Reputation: +112

Deve ser seus ids ai que ta errado e nem tenho shiny karp eu fiz com shiny arca que configurei rapidinho.
info
Group: Visconde
Joined: 03/01/11
Posts: 303
Reputation: +47

@stylo é só vc trocar os ids das shining balls no catch --'
e sim, é claro que precisa ter a hyper ball e saffari ball shiny no cliente --'
info
Group: Infante
Joined: 25/01/12
Posts: 1.6k
Reputation: +330

Ok vo configura aki e vé se da
onde que eu edito o /cb para vim a ball brilhando "so pra shiny"
info
Group: Conde
Joined: 06/08/11
Posts: 752
Reputation: +112

Find this:
doTransformItem(item, pokeballs[btype].on)
Encima disso coloque:
if string.find(name, "Shiny ") then btype = "shinynormal" end
info
Group: Cavaleiro
Joined: 22/12/11
Posts: 158
Reputation: +17

Cacaiu é impossivel pegar as sprites do PSoul pois o Multipload fico fora do ar por um tempo e todos os coisas de la foram deletados
info
Group: Infante
Joined: 27/08/11
Posts: 1.9k
Reputation: +85
Gender: Masculino
Tibia Character: Bruno Maciel
Este arquivo nao existir,o acesso ao seguinte arquivo e limitada ou foi removido devido a violaçao de direitos autorais.
@Zeref
Eu adicionei certo a script na cath.lua dai eu fui testa com o god comando /cb shiny arcanine so pra ver e aqui nao deu nao fico com o efeito olha a script \/
local ballcatch = {
[2394] = {cr = 9, on = 24, off = 23, ball = 11826, send = 47},
[2391] = {cr = 11, on = 198, off = 197, ball = 11832, send = 48},
[2393] = {cr = 13, on = 202, off = 201, ball = 11835, send = 46},
[2392] = {cr = 15, on = 200, off = 199, ball = 11829, send = 49},
}
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
local name = string.lower(getItemNameById(item2.itemid))
name = string.gsub(name, "fainted ", "")
name = string.gsub(name, "defeated ", "")
if string.find(name, "shiny ") then
ballcatch = {
[2394] = {cr = 3000, on = 24, off = 23, ball = 11737, send = 47},
[2391] = {cr = 6, on = 198, off = 197, ball = 11740, send = 48},
[2393] = {cr = 10, on = 202, off = 201, ball = 11743, send = 46},
[2392] = {cr = 15, on = 200, off = 199, ball = 11747, send = 49},
}
end
local x = pokecatches[doCorrectPokemonName(name)]
if not x then return true end
local owner = getItemAttribute(item2.uid, "corpseowner")
if owner and isCreature(owner) and isPlayer(owner) and cid ~= owner and isInArray({1,8}, getPlayerGroupId(cid)) then
doPlayerSendCancel(cid, "You are not allowed to catch this pokemon.")
return true
end
local catchinfo = {}
catchinfo.rate = ballcatch[item.itemid].cr
catchinfo.catch = ballcatch[item.itemid].on
catchinfo.fail = ballcatch[item.itemid].off
catchinfo.newid = ballcatch[item.itemid].ball
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)
addEvent(doSendPokeBall, d * 70 + 100 - (d * 14) , cid, catchinfo, false, false)
addEvent(doSendMagicEffect, (d * 70 + 100 - (d * 14)) - 100, topos, 3)
return true
end