Ir para conteúdo

[Duvida]Alguem Pode Me Ajudar Qual É O Id Da Greatl Ball,super Ball No Cliente Pokemon Dash V 6.0?


kpdo

Posts Recomendados

bom eu procurei por todo o cliente pelo dat editor e spr editor , não achei embora eu achei as sprites pelo spr editor mais o ID deles eu procurei por tudo ate buguei varias vezes e não achei o ruim desse cliente é que nao da pra editar ele pelo dat editor 4.0 por que buga ai nao da pra criar novos pokemon ou itens e eu to usando esse cliente alguem ae sabe se tem outro cliente compativel com esse servidor que venha um cliente com sprites mais atualizadas e que nao fique bugado?

 

ou se souber passa os ids da great ball(que usa pra capturar) e o id da great ball discharged, e o id dela capturada. mesma coisa com a super ball, desde ja agradecido.

 

 

 

e so pra constar o script de catch meu é esse aqui

 

local pokes = {
["Magikarp"] = {chance = 2, corpse = 2818, health = Magikarplife, maxhealth = Magikarplife},
["Abra"] = {chance = 100, corpse = 2905, health = Abralife, maxhealth = Abralife},
["Kadabra"] = {chance = 200, corpse = 6060, health = Kadabralife, maxhealth = Kadabralife},
["Alakazam"] = {chance = 350, corpse = 6057, health = Alakazamlife, maxhealth = Alakazamlife},
["Rattata"] = {chance = 8, corpse = 5974, health = Rattatalife, maxhealth = Rattatalife},
["Raticate"] = {chance = 16, corpse = 6007, health = Raticatelife, maxhealth = Raticatelife},
["Pidgey"] = {chance = 11, corpse = 5961, health = Pidgeylife, maxhealth = Pidgeylife},
["Pidgeotto"] = {chance = 100, corpse = 5966, health = Pidgeottolife, maxhealth = Pidgeottolife},
["Pidgeot"] = {chance = 210, corpse = 6020, health = Pidgeotlife, maxhealth = Pidgeotlife},
["Zubat"] = {chance = 30, corpse = 5989, health = Zubatlife, maxhealth = Zubatlife},
["Golbat"] = {chance = 100, corpse = 6053, health = Golbatlife, maxhealth = Golbatlife},
["Bellsprout"] = {chance = 13, corpse = 2806, health = Bellsproutlife, maxhealth = Bellsproutlife},
["Weepinbell"] = {chance = 130, corpse = 2928, health = Weepinbelllife, maxhealth = Weepinbelllife},
["Victreebel"] = {chance = 190, corpse = 6332, health = Victreebellife, maxhealth = Victreebellife},
["Poliwag"] = {chance = 8, corpse = 6042, health = Poliwaglife, maxhealth = Poliwaglife},
["Poliwhirl"] = {chance = 130, corpse = 6054, health = Poliwhirllife, maxhealth = Poliwhirllife},
["Poliwrath"] = {chance = 210, corpse = 6033, health = Poliwrathlife, maxhealth = Poliwrathlife},
["Oddish"] = {chance = 7, corpse = 3008, health = Oddishlife, maxhealth = Oddishlife},
["Gloom"] = {chance = 130, corpse = 6017, health = Gloomlife, maxhealth = Gloomlife},
["Vileplume"] = {chance = 210, corpse = 6025, health = Vileplumelife, maxhealth = Vileplumelife},
["Horsea"] = {chance = 10, corpse = 2973, health = Horsealife, maxhealth = Horsealife},
["Seadra"] = {chance = 150, corpse = 2872, health = Seadralife, maxhealth = Seadralife},
["Grimer"] = {chance = 50, corpse = 6055, health = Grimerlife, maxhealth = Grimerlife},
["Weedle"] = {chance = 3, corpse = 5964, health = Weedlelife, maxhealth = Weedlelife},
["Kakuna"] = {chance = 50, corpse = 6000, health = Kakunalife, maxhealth = Kakunalife},
["Beedrill"] = {chance = 100, corpse = 5990, health = Beedrilllife, maxhealth = Beedrilllife},
["Muk"] = {chance = 140, corpse = 2845, health = Muklife, maxhealth = Muklife},
["Doduo"] = {chance = 100, corpse = 2842, health = Doduolife, maxhealth = Doduolife},
["Dodrio"] = {chance = 135, corpse = 6047, health = Dodriolife, maxhealth = Dodriolife},
["Magnemite"] = {chance = 50, corpse = 6056, health = Magnemitelife, maxhealth = Magnemitelife},
["Magneton"] = {chance = 130, corpse = 6076, health = Magnetonlife, maxhealth = Magnetonlife},
["Voltorb"] = {chance = 50, corpse = 6049, health = Voltorblife, maxhealth = Voltorblife},
["Electrode"] = {chance = 150, corpse = 6051, health = Electrodelife, maxhealth = Electrodelife},
["Geodude"] = {chance = 50, corpse = 6071, health = Geodudelife, maxhealth = Geodudelife},
["Graveler"] = {chance = 115, corpse = 6516, health = Gravelerlife, maxhealth = Gravelerlife},
["Golem"] = {chance = 215, corpse = 6043, health = Golemlife, maxhealth = Golemlife},
["Sandshrew"] = {chance = 110, corpse = 5988, health = Sandshrewlife, maxhealth = Sandshrewlife},
["Sandslash"] = {chance = 210, corpse = 6041, health = Sandslashlife, maxhealth = Sandslashlife},
["Charmander"] = {chance = 155, corpse = 5983, health = Charmanderlife, maxhealth = Charmanderlife},
["Charmeleon"] = {chance = 200, corpse = 5981, health = Charmeleonlife, maxhealth = Charmeleonlife},
["Charizard"] = {chance = 295, corpse = 6005, health = Charizardlife, maxhealth = Charizardlife},
["Bulbasaur"] = {chance = 155, corpse = 5969, health = Bulbasaurlife, maxhealth = Bulbasaurlife},
["Ivysaur"] = {chance = 200, corpse = 5982, health = Ivysaurlife, maxhealth = Ivysaurlife},
["Venusaur"] = {chance = 320, corpse = 5962, health = Venusaurlife, maxhealth = Venusaurlife},
["Dratini"] = {chance = 300, corpse = 2879, health = Dratinilife, maxhealth = Dratinilife},
["Dragonair"] = {chance = 400, corpse = 6002, health = Dragonairlife, maxhealth = Dragonairlife},
["Dragonite"] = {chance = 510, corpse = 4295, health = Dragonitelife, maxhealth = Dragonitelife},
["Squirtle"] = {chance = 155, corpse = 2967, health =  Squirtlelife, maxhealth = Squirtlelife},
["Wartortle"] = {chance = 200, corpse = 2860, health = Wartortlelife, maxhealth = Wartortlelife},
["Blastoise"] = {chance = 320, corpse = 5999, health = Blastoiselife, maxhealth = Blastoiselife},
["Ditto"] = {chance = 1, corpse = 2817, health = Dittolife, maxhealth = Dittolife},
["Elder Charizard"] = {chance = 500, corpse = 2954, health = Dragonitelife, maxhealth = Dragonitelife},
["Crystal Onix"] = {chance = 500, corpse = 6320, health = Dragonitelife, maxhealth = Dragonitelife},
}

local description = "Contains a %pokename."

function onUse(cid, item, frompos, item2, topos)
local name = getItemNameById(item2.itemid)
if item.itemid == 2147 then
catchrate = 1
oncatch = 24
onfail = 23
bolabola = 2222
elseif item.itemid == 2146 then
catchrate = 4
oncatch = 200
onfail = 199
bolabola = 2220
elseif item.itemid == 2146 then
catchrate = 4
oncatch = 200
onfail = 199
bolabola = 2220
end
local rate = (catchrate)
local catch = oncatch
local fail = onfail
local newid = bolabola
for i,x in pairs(pokes) do
if getItemNameById(item2.itemid):find(i:lower()) then
if getItemIdByName(name) == pokes[i].corpse then
if cid ~= getItemAttribute(item2.uid, "corpseowner") and isInArray({1,8}, getPlayerGroupId(cid)) then
doPlayerSendCancel(cid, "You are not allowed to catch this pokemon.")
return true
end
doRemoveItem(item.uid, 1)
doRemoveItem(item2.uid, 1)
local pegar = math.random(0, x.chance)
if pegar <= 1*(rate) then
doSendMagicEffect(topos, catch)

local nas = {
["%%pokename"] = i
}
for i,x in pairs(nas) do
if description:find(i) then
description = description:gsub(i, x)
end
end

local function capturou(params)
if not isCreature(params.cid) then
return true
end
if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then
doPlayerAddSoul(cid, 1)
setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ")
end
if getPlayerFreeCap(cid) <= 0.99 then
item = doCreateItemEx(newid-1)
doItemSetAttribute(item, "poke", params.poke)
doItemSetAttribute(item, "nome", params.nome)
doItemSetAttribute(item, "description", params.description)
doPlayerSendMailByName(getCreatureName(params.cid), item, 1)
doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a "..i.."!")
doPlayerSendTextMessage(cid, 27, "Since you are already holding six pokemons, this pokeball has been sent to your depot.")
doPlayerAddSkillTry(cid,5,20) 
local catchskill = getPlayerSkill(cid,5)
local catchs = getPlayerSoul(cid)
doPlayerSendTextMessage(cid, 27, "You have "..catchskill.." Pokemon caughts of "..catchs.."-151 ")
else
item = doCreateItemEx(params.ball)
doItemSetAttribute(item, "poke", params.poke)
doItemSetAttribute(item, "nome", params.nome)
doItemSetAttribute(item, "description", params.description)
doPlayerAddItemEx(params.cid, item, true)
doTransformItem(item, newid)
doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a "..i.."!")
doPlayerAddSkillTry(cid,5,100) 
local catchskill = getPlayerSkill(cid,5)
local catchs = getPlayerSoul(cid)

doPlayerSendTextMessage(cid, 27, "You have "..catchskill.." Pokemon caughts of "..catchs.."-151 ")

end
if #getCreatureSummons(cid) >= 1 then
doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 178)
else
doSendMagicEffect(getThingPos(cid), 178)
end
end

local description = "Contains a "..i.."."
local poke1 = "This is "..i.."'s pokeball. HP = ["..x.health.."/"..x.maxhealth.."]"
addEvent(capturou, 4000, {cid = cid, poke = poke1, nome = i, description = description, ball = 2219, letter = 2597})
else
function ruim(params)
if not isCreature(params.cid) then
return true
end
doPlayerSendTextMessage(params.cid, 27, "Sorry, you didn\'t catch that pokemon.")
if #getCreatureSummons(params.cid) >= 1 then
doSendMagicEffect(getThingPos(getCreatureSummons(params.cid)[1]), 166)
else
doSendMagicEffect(getThingPos(params.cid), 166)
end
end
addEvent(ruim, 4000, {cid = cid})
doSendMagicEffect(topos, fail)
end
end
end
end
return TRUE
end

Editado por renansmith
Link para o comentário
Compartilhar em outros sites

  • 2 months later...
×
×
  • Criar Novo...