Ir para conteúdo

[Encerrado] [Pokemon] Dúvidas? - Pda


lucashgas

Posts Recomendados

u,U tava no cinema uahauh cabei de chegar.. vo arruma os bugs aki q deixei e ainda hj, ou no maximo amanha demanha posto o/

 

@Thedjhabbo

tenta usa esse.. a minha box ta um pouco diferente.. qlqr coisa soh procura as partes q tao como "--edited" e deixa igual na tua box... ^^

 

 

local a = {

[11638] = {level = {5, 10}, balltype = "normal",

pokemons = {"Slowpoke", "Magnemite", "Doduo", "Seel", "Grimer", "Gastly", "Drowzee", "Voltorb", "Cubone", "Koffing",

"Goldeen", "Vulpix", "Tentacool", "Bulbasaur", "Charmander", "Squirtle", "Butterfree", "Beedrill", "Metapod", "Kakuna",

"Raticate", "Spearow", "Ekans", "Abra", "Mankey", "Psyduck", "Pikachu", "Sandshrew", "Nidoran Female",

"Nidoran Male", "Zubat", "Diglett", "Venonat", "Meowth", "Poliwag", "Growlithe", "Machop", "Ponyta", "Geodude"}},

[11639] = {level = {21, 30}, balltype = "great",

pokemons = {"Pidgeotto", "Weepinbell", "Clefairy", "Omanyte", "Kabuto", "Arbok", "Raichu", "Nidorino", "Nidorina",

"Dodrio", "Muk", "Golbat", "Gloom", "Parasect", "Venomoth", "Dugtrio", "Persian", "Poliwhirl", "Victreebel", "Machoke",

"Graveler", "Slowbro", "Magneton", "Farfetch'd", "Haunter", "Kingler", "Electrode", "Weezing", "Rhyhorn", "Seadra",

"Jigglypuff", "Seaking", "Tauros", "Starmie", "Eevee", "Dratini", "Charmeleon", "Wartortle", "Ivysaur"}},

[11640] = {level = {40, 50}, balltype = "super",

pokemons = {"Pidgeot", "Fearow", "Sandslash", "Ninetales", "Vileplume", "Primeape", "Golduck", "Kadabra", "Rapidash",

"Clefable", "Wigglytuff", "Dewgong", "Onix", "Cloyster", "Hypno", "Exeggutor", "Marowak", "Hitmonchan", "Hitmonlee",

"Lickitung", "Chansey", "Tangela", "Mr. Mime", "Pinsir", "Vaporeon", "Jolteon", "Flareon", "Porygon", "Dragonair"}},

[11641] = {level = {70, 80}, balltype = "ultra",

pokemons = {"Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Abra", "Dragonite", "Snorlax", "Kabutops", "Omastar",

"Ditto", "Lapras", "Gyarados", "Magmar", "Electabuzz", "Jynx", "Scyther", "Kangaskhan", "Golem", "Venusaur",

"Machamp", "Poliwrath", "Arcanine", "Nidoking", "Nidoqueen", "Charizard", "Blastoise", "Tentacruel", "Alakazam",

"Gengar", "Rhydon"}}

}

 

local extrastrength = 1.1

 

function onUse(cid, item, frompos, item2, topos)

local b = a[item.itemid]

if not b then return true end

local pokemon = b.pokemons[math.random(#b.pokemons)]

local pokeinfo = getPokemonStatus(pokemon)

if not pokeinfo then return true end

local btype = b.balltype

if not pokeballs[btype] then return true end

local gender = getRandomGenderByName(pokemon)

local level = math.random(b.level[1], b.level[2])

local offense = pokeinfo.off * level * extrastrength

local defense = pokeinfo.def * level * extrastrength

local agility = pokeinfo.agi * level * extrastrength

local spatk = pokeinfo.spatk * level * extrastrength

local vit = pokeinfo.vit * level * extrastrength

local happy = 180

local leveltable = getPokemonExperienceTable(pokemon)

 

local ball = 0

local sendToDepot = false

if getCreatureMana(cid) >= 6 then

sendToDepot = true

ball = doCreateItemEx(2219)

else

ball = item.uid

end

 

doItemSetAttribute(ball, "poke", pokemon)

doItemSetAttribute(ball, "hp", 1)

doItemSetAttribute(ball, "level", 15) --edited lvl 15 nos pokes

doItemSetAttribute(ball, "exp", leveltable[level])

doItemSetAttribute(ball, "nextlevelexp", leveltable[level+1] - leveltable[level])

doItemSetAttribute(ball, "offense", offense)

doItemSetAttribute(ball, "defense", defense)

doItemSetAttribute(ball, "speed", agility)

doItemSetAttribute(ball, "vitality", vit)

doItemSetAttribute(ball, "specialattack", spatk)

doItemSetAttribute(ball, "happy", happy)

doItemSetAttribute(ball, "gender", gender)

if ballss[pokemon] then

doItemSetAttribute(ball, "ballType", btype)

end

if pokemon == "Hitmonchan" or pokemon == "Shiny Hitmonchan" then

doItemSetAttribute(item, "hands", 0)

end

doItemSetAttribute(ball, "description", "Contains a "..pokemon..".")

doItemSetAttribute(ball, "fakedesc", "Contains a "..pokemon..".")

 

-------------------Boost-------------------------- edited boost +5 pokes

local off = pokes[pokemon].offense * boost_rate * 5

local def = pokes[pokemon].defense * boost_rate * 5

local agi = pokes[pokemon].agility * 5

local spatk = pokes[pokemon].specialattack * boost_rate * 5

local vit = pokes[pokemon].vitality * boost_rate * 5

 

doSetItemAttribute(ball, "boost", 5)

doItemSetAttribute(ball, "offense", getItemAttribute(ball, "offense") + off)

doItemSetAttribute(ball, "defense", getItemAttribute(ball, "defense") + def)

doItemSetAttribute(ball, "speed", getItemAttribute(ball, "speed") + agi)

doItemSetAttribute(ball, "specialattack", getItemAttribute(ball, "specialattack") + spatk)

doItemSetAttribute(ball, "vitality", getItemAttribute(ball, "vitality") + vit)

-------------------------------------------------------

 

doPlayerSendTextMessage(cid, 27, "You opened a pokemon prize box +"..item.itemid - (11637).."!")

doPlayerSendTextMessage(cid, 27, "The prize pokemon was a "..pokemon.." (level "..level.."), congratulations!")

 

if sendToDepot then

doPlayerSendMailByName(getCreatureName(cid), ball, 1)

if ballss[pokemon] then

doTransformItem(ball, pokeballs[pokemon].on)

else

doTransformItem(ball, pokeballs[btype].on)

end

doPlayerSendTextMessage(cid, 27, "You are already holding six pokemons, so your new pokemon was sent to your depot.")

doRemoveItem(item.uid)

else

if ballss[pokemon] then

doTransformItem(ball, pokeballs[pokemon].on)

else

doTransformItem(ball, pokeballs[btype].on)

end

end

 

doSendMagicEffect(getThingPos(cid), 29)

return true

end

 

Link para o comentário
Compartilhar em outros sites

Como faço pra deixar sem "Hitmontop [100] [+50]" e deixar "Hitmontop" sem os "[100] [+50]"

 

e quando dar look aparece tudo:

 

 

23:27 You see a pokeball.
It contains a Hitmontop [level 100].
Boost level: +50.
It is male.

Link para o comentário
Compartilhar em outros sites

aa Slicer e o systema q vc flo q ia posta de contagem de ball qnd cath um poke?

 

Alguem saberia como atualizar o cd bar automaticamente, e não só apertando atualizar (botão verde)

 

 

 

Estou fazendo novos portraits, tenho de todos só fazer, mais foda mesmo vai ser dos shinys.

 

21639727255756001403_thumb.jpg

Caso nao saiba, esses portraits ae sao tds do psoul...

Link para o comentário
Compartilhar em outros sites

como prometido.. ae vai o sistema de...

Brokes Count System!

OBS: O sistema eh meio complicado de se implementar caso vc tenha alterado algu nos scripts.. actions/catch.lua e lib/catch system.lua... entao faça backup antes de começar a mexer.. e se n souber ND de script recomendo nem tentar.. ;x

TUDO q eu alterei nos arquivos esta marcado como "edited brokes count system"... entao caso vcs tenham alterado algu nos scripts acima.. eh soh pegar tudo q ta marcado com essa frase... sempre tentando deixar igual o meu...

 

Os scripts q vo postar sao os ms q vem na ultima versao do serv postada aki na 1* pagina... estejam cientes disso...

 

 

1* va em actions/scripts/catch.lua... apague oq tiver dentro e cole isso la.. -quem altero algu nele pegue soh as partes marcadas com a frase ali de cima!-

 

local ballcatch = { --edited brokes count system |typee|

[2394] = {cr = 3, on = 24, off = 23, ball = 11826, send = 47, typeee = "normal"},

[2391] = {cr = 6, on = 198, off = 197, ball = 11832, send = 48, typeee = "great"},

[2393] = {cr = 10, on = 202, off = 201, ball = 11835, send = 46, typeee = "super"},

[2392] = {cr = 15, on = 200, off = 199, ball = 11829, send = 49, typeee = "ultra"},

["id da saffari"] = {cr = 00, on = 000, off = 000, ball = 0000, send = 00, typeee = "saffari"},

--PRA QUEM TEM o sistema de safari ball soh arruma a tabela aki de cima...

}

 

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 ", "")

 

local x = pokecatches[doCorrectPokemonName(name)]

 

--------------------------------------------------------------------------------

local storage = newpokedex[doCorrectPokemonName(name)].stoCatch --edited brokes count system

if getPlayerStorageValue(cid, storage) == -1 then

setPlayerStorageValue(cid, storage, "normal = 0, great = 0, super = 0, ultra = 0, saffari = 0")

end

--------------------------------------------------------------------------------

 

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 typeee = ballcatch[item.itemid].typeee --edited brokes count system

 

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)

--edited brokes count system

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

 

 

2* va em talkactions/scripts... copie qlqr arquivo la e troque o nome para "pokeballs.lua"... depois abra ele e substitua tudo dentro por isso...

 

local pballs = {--msg q aparece, ball name, num de letras + " = "

[1] = {msg = "Poke Ball", ball = "normal", num = 9}, --normal = ... 9 letras

[2] = {msg = "Great Ball", ball = "great", num = 8}, --great = ... 8 letras

[3] = {msg = "Super Ball", ball = "super", num = 8},

[4] = {msg = "Ultra Ball", ball = "ultra", num = 8},

[5] = {msg = "Saffari Ball", ball = "saffari", num = 10},

}

 

local function sendBrokesCountMsg(cid, name, str)

if getPlayerStorageValue(cid, str) == -1 then

doPlayerSendTextMessage(cid, 27, "You haven't wasted any pokeball to try catch a "..name)

return true

end

local t = string.explode(getPlayerStorageValue(cid, str), ",")

local msg = "You have wasted: "

local n = 0

 

for a = 1, #t do

local d, e = t[a]:find(""..pballs[a].ball.." = (.-)")

local st2 = string.sub(t[a], d + pballs[a].num, e +5)

if tonumber(st2) ~= 0 then

if n ~= 0 and a ~= #t then

msg = msg..", "

end

if tonumber(st2) ~= 1 then

msg = msg..st2.." "..pballs[a].msg.."s"

n = n +1

else

msg = msg..st2.." "..pballs[a].msg

n = n +1

end

end

end

if name ~= "" then

msg = msg.." to try catch a "..name..", ultil now."

else

msg = msg.." to catch it."

end

if n == 0 then

msg = "You haven't wasted any pokeball to try catch a "..name

end

doPlayerSendTextMessage(cid, 27, msg)

end

 

function onSay(cid, words, param)

 

if(param == '') then

doPlayerSendTextMessage(cid, 27, "Enter with a pokemon name...")

return true

end

 

if newpokedex[doCorrectPokemonName(param)] then

local storage = newpokedex[doCorrectPokemonName(param)].stoCatch

local name = doCorrectPokemonName(param)

sendBrokesCountMsg(cid, name, storage)

else

doPlayerSendTextMessage(cid, 27, "This isn't a pokemon...")

return true

end

 

 

return true

end

 

e adicione isso no talkactions/talkactions.xml...

<talkaction words="!pokeballs" script="pokeballs.lua"/>

 

3* va em lib/catch system.lua apague tudo q tiver dentro e cole isso la... -quem tiver editado ele ja sabe oq fazer...-

 

failmsgs = {

"Sorry, you didn't catch that pokemon.",

"Sorry, your pokeball broke.",

"Sorry, the pokemon escaped.",

}

 

local pballs = {--msg q aparece, ball name, num de letras + " = "

[1] = {msg = "Poke Ball", ball = "normal", num = 9}, --normal = ... 9 letras

[2] = {msg = "Great Ball", ball = "great", num = 8}, --great = ... 8 letras

[3] = {msg = "Super Ball", ball = "super", num = 8},

[4] = {msg = "Ultra Ball", ball = "ultra", num = 8}, --edited brokes count system

[5] = {msg = "Saffari Ball", ball = "saffari", num = 10},

}

--------------------------------------------------------------------------------

function doBrokesCount(cid, str, ball) --edited brokes count system

if tonumber(getPlayerStorageValue(cid, str)) then

print("Error ocorred in function 'doBrokesCount'... storage "..str.." is a number value")

print("Storage will be changed to the correct table...")

doPlayerSendTextMessage(cid, 27, "A error ocorred... Warning sent to Game Masters!")

setPlayerStorageValue(cid, str, "normal = 0, great = 0, super = 0, ultra = 0, saffari = 0")

return true

end

local s = string.explode(getPlayerStorageValue(cid, str), ",")

local msg = ""

local n = 0

for i = 1, #s do

if string.find(tostring(s), ball) then

local d, e = s:find(""..pballs.ball.." = (.-)")

local st2 = string.sub(s, d + pballs.num, e +5)

local num = tonumber(st2)+1

 

if num == 0 and ball == pballs.ball then

num = 1

end

if i == #s then

msg = msg..""..ball.." = "..num

n = n +1

else

msg = msg..""..ball.." = "..num..", "

n = n +1

end

else

if i == #s then

msg = msg..s

else

msg = msg..s..", "

end

end

end

setPlayerStorageValue(cid, str, msg)

end

 

function sendBrokesMsg(cid, str, ball) --edited brokes count system

if tonumber(getPlayerStorageValue(cid, str)) then

print("Error ocorred in function 'sendBrokesMsg'... storage "..str.." is a number value")

print("Storage will be changed to the correct table...")

doPlayerSendTextMessage(cid, 27, "A error ocorred... Warning sent to Game Masters!")

setPlayerStorageValue(cid, str, "normal = 0, great = 0, super = 0, ultra = 0, saffari = 0")

return true

end

local t = string.explode(getPlayerStorageValue(cid, str), ",")

local msg = "You have wasted: "

local n = 0

 

for a = 1, #t do

local d, e = t[a]:find(""..pballs[a].ball.." = (.-)")

local st2 = string.sub(t[a], d + pballs[a].num, e +5)

if tonumber(st2) == 0 and pballs[a].ball == ball then

st2 = 1

end

if tonumber(st2) ~= 0 then

if n ~= 0 and a ~= #t then

msg = msg..", "

end

if tonumber(st2) ~= 1 then

msg = msg..st2.." "..pballs[a].msg.."s"

n = n +1

else

msg = msg..st2.." "..pballs[a].msg

n = n +1

end

end

end

msg = msg.." to catch it."

doPlayerSendTextMessage(cid, 27, msg)

end

--------------------------------------------------------------------------------

--edited brokes count system

function doSendPokeBall(cid, catchinfo, showmsg, fullmsg, typeee)

 

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

 

local corpse = getTopCorpse(topos).uid

 

if not isCreature(cid) then

doSendMagicEffect(topos, CONST_ME_POFF)

return true

end

 

doItemSetAttribute(corpse, "catching", 1)

 

local levelChance = getItemAttribute(corpse, "level") * 0.02

 

local totalChance = math.ceil(basechance * (1.2 + levelChance))

local thisChance = math.random(0, totalChance)

local myChance = math.random(0, totalChance)

local leveltable = getPokemonExperienceTable(name)

local chance = (1 * rate + 1) / totalChance

chance = doMathDecimal(chance * 100)

 

if rate >= totalChance then

local status = {}

status.clevel = tonumber(getItemAttribute(corpse, "level"))

local clevel = status.clevel

status.cexp = leveltable[clevel]

local cexp = status.cexp

status.cnext = leveltable[clevel+1] - cexp

status.coffense = getItemAttribute(corpse, "offense")

status.cdefense = getItemAttribute(corpse, "defense")

status.cspeed = getItemAttribute(corpse, "speed")

status.cvitality = getItemAttribute(corpse, "vitality")

status.cspatk = getItemAttribute(corpse, "spattack")

status.gender = getItemAttribute(corpse, "gender")

status.happy = 160

 

doRemoveItem(corpse, 1)

doSendMagicEffect(topos, catch) --edited brokes system

addEvent(doCapturePokemon, 4000, 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 status = {}

status.clevel = tonumber(getItemAttribute(corpse, "level"))

local clevel = status.clevel

status.cexp = leveltable[clevel]

local cexp = status.cexp

status.cnext = leveltable[clevel+1] - cexp

status.coffense = getItemAttribute(corpse, "offense")

status.cdefense = getItemAttribute(corpse, "defense")

status.cspeed = getItemAttribute(corpse, "speed")

status.cvitality = getItemAttribute(corpse, "vitality")

status.cspatk = getItemAttribute(corpse, "spattack")

status.gender = getItemAttribute(corpse, "gender")

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) --edited brokes count system

addEvent(doCapturePokemon, 4000, cid, name, newid, status, typeee)

else --edited brokes count system

addEvent(doNotCapturePokemon, 4000, cid, name, typeee)

doSendMagicEffect(topos, fail)

end

end

--edited brokes count system

function doCapturePokemon(cid, poke, ballid, status, typeee)

 

if not isCreature(cid) then

return true

end

 

local list = getCatchList(cid)

if not isInArray(list, 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 leveltable = getPokemonExperienceTable(poke)

 

local clevel = status.clevel

local cexp = leveltable[clevel]

local cnext = leveltable[clevel+1] - cexp

local coffense = status.coffense

local cdefense = status.cdefense

local cspeed = status.cspeed

local cvitality = status.cvitality

local cspatk = status.cspatk

local gender = status.gender

local happy = 200

 

local item = doCreateItemEx(ballid)

 

doItemSetAttribute(item, "poke", poke)

doItemSetAttribute(item, "hp", 1)

doItemSetAttribute(item, "offense", coffense)

doItemSetAttribute(item, "level", clevel)

doItemSetAttribute(item, "exp", cexp)

doItemSetAttribute(item, "nextlevelexp", cnext)

doItemSetAttribute(item, "defense", cdefense)

doItemSetAttribute(item, "speed", cspeed)

doItemSetAttribute(item, "vitality", cvitality)

doItemSetAttribute(item, "specialattack", cspatk)

doItemSetAttribute(item, "happy", happy)

doItemSetAttribute(item, "gender", gender)

doItemSetAttribute(item, "fakedesc", description)

doItemSetAttribute(item, "description", description)

 

local storage = newpokedex[poke].stoCatch --edited brokes count system

if getPlayerMana(cid) >= 6 then

doPlayerSendMailByName(getCreatureName(cid), item, 1)

doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a pokemon ("..poke..", level "..clevel..")!")

doPlayerSendTextMessage(cid, 27, "Since you are already holding six pokemons, this pokeball has been sent to your depot.")

--------------------------------------------------------------------------------

sendBrokesMsg(cid, storage, typeee) --edited brokes count system

setPlayerStorageValue(cid, storage, "normal = 0, great = 0, super = 0, ultra = 0, saffari = 0")

else

doAddContainerItemEx(getPlayerSlotItem(cid, 3).uid, item)

doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a "..poke.." (level "..clevel..")!")

--------------------------------------------------------------------------------

sendBrokesMsg(cid, storage, typeee) --edited brokes count system

setPlayerStorageValue(cid, storage, "normal = 0, great = 0, super = 0, ultra = 0, saffari = 0")

end

 

if #getCreatureSummons(cid) >= 1 then

doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 178)

if catchMakesPokemonHappier then

setPlayerStorageValue(getCreatureSummons(cid)[1], 1008, getPlayerStorageValue(getCreatureSummons(cid)[1], 1008) + math.floor(clevel / 2))

end

else

doSendMagicEffect(getThingPos(cid), 178)

end

 

doIncreaseStatistics(poke, true, true)

 

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

 

doPlayerSendTextMessage(cid, 27, failmsgs[math.random(#failmsgs)])

 

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) --edited brokes count system

--sendBrokesMsg(cid, storage, typeee)

--------------------------------------------------------------------------------

doIncreaseStatistics(poke, true, false)

 

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 getStatistics(pokemon, tries, success)

 

local ret1 = 0

local ret2 = 0

 

local poke = ""..string.upper(string.sub(pokemon, 1, 1))..""..string.lower(string.sub(pokemon, 2, 30))..""

local dir = "data/Pokemon Statistics/"..poke.." Attempts.txt"

local arq = io.open(dir, "a+")

local num = tonumber(arq:read("*all"))

if num == nil then

ret1 = 0

else

ret1 = num

end

arq:close()

 

local dir = "data/Pokemon Statistics/"..poke.." Catches.txt"

local arq = io.open(dir, "a+")

local num = tonumber(arq:read("*all"))

if num == nil then

ret2 = 0

else

ret2 = num

end

arq:close()

 

if tries == true and success == true then

return ret1, ret2

elseif tries == true then

return ret1

else

return ret2

end

end

 

function doIncreaseStatistics(pokemon, tries, success)

 

local poke = ""..string.upper(string.sub(pokemon, 1, 1))..""..string.lower(string.sub(pokemon, 2, 30))..""

 

if tries == true then

local dir = "data/Pokemon Statistics/"..poke.." Attempts.txt"

 

local arq = io.open(dir, "a+")

local num = tonumber(arq:read("*all"))

if num == nil then

num = 1

else

num = num + 1

end

arq:close()

local arq = io.open(dir, "w")

arq:write(""..num.."")

arq:close()

end

 

if success == true then

local dir = "data/Pokemon Statistics/"..poke.." Catches.txt"

 

local arq = io.open(dir, "a+")

local num = tonumber(arq:read("*all"))

if num == nil then

num = 1

else

num = num + 1

end

arq:close()

local arq = io.open(dir, "w")

arq:write(""..num.."")

arq:close()

end

end

 

function doUpdateGeneralStatistics()

 

local dir = "data/Pokemon Statistics/Pokemon Statistics.txt"

local base = "NUMBER NAME TRIES / CATCHES\n\n"

local str = ""

 

for a = 1, 251 do

if string.len(oldpokedex[a][1]) <= 7 then

str = "\t"

else

str = ""

end

local number1 = getStatistics(oldpokedex[a][1], true, false)

local number2 = getStatistics(oldpokedex[a][1], false, true)

base = base.."["..threeNumbers(a).."]\t"..oldpokedex[a][1].."\t"..str..""..number1.." / "..number2.."\n"

end

 

local arq = io.open(dir, "w")

arq:write(base)

arq:close()

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

 

 

e por ultimo.. va em lib/configuration.lua .. ache a tabela "newpokedex = {" e altere ela TODA por essa...

 

newpokedex = {

["Bulbasaur"] = {gender = 875, level = 18, storage = 1001, stoCatch = 666001},

["Ivysaur"] = {gender = 875, level = 38, storage = 1002, stoCatch = 666002},

["Venusaur"] = {gender = 875, level = 75, storage = 1003, stoCatch = 666003},

["Charmander"] = {gender = 875, level = 18, storage = 1004, stoCatch = 666004},

["Charmeleon"] = {gender = 875, level = 38, storage = 1005, stoCatch = 666005},

["Charizard"] = {gender = 875, level = 75, storage = 100, stoCatch = 666006},

["Squirtle"] = {gender = 875, level = 18, storage = 1007, stoCatch = 666007},

["Wartortle"] = {gender = 875, level = 38, storage = 1008, stoCatch = 666008},

["Blastoise"] = {gender = 875, level = 75, storage = 1009, stoCatch = 666009},

["Caterpie"] = {gender = 500, level = 3, storage = 1010, stoCatch = 666010},

["Metapod"] = {gender = 500, level = 10, storage = 1011, stoCatch = 666011},

["Butterfree"] = {gender = 500, level = 30, storage = 1012, stoCatch = 666012},

["Weedle"] = {gender = 500, level = 3, storage = 1013, stoCatch = 666013},

["Kakuna"] = {gender = 500, level = 10, storage = 1014, stoCatch = 666014},

["Beedrill"] = {gender = 500, level = 30, storage = 1015, stoCatch = 666015},

["Pidgey"] = {gender = 500, level = 5, storage = 1016, stoCatch = 666016},

["Pidgeotto"] = {gender = 500, level = 20, storage = 1017, stoCatch = 666017},

["Pidgeot"] = {gender = 500, level = 60, storage = 1018, stoCatch = 666018},

["Rattata"] = {gender = 500, level = 3, storage = 1019, stoCatch = 666019},

["Raticate"] = {gender = 500, level = 20, storage = 1020, stoCatch = 666020},

["Spearow"] = {gender = 500, level = 5, storage = 1021, stoCatch = 666021},

["Fearow"] = {gender = 500, level = 50, storage = 1022, stoCatch = 666022},

["Ekans"] = {gender = 500, level = 12, storage = 1023, stoCatch = 666023},

["Arbok"] = {gender = 500, level = 30, storage = 1024, stoCatch = 666024},

["Pikachu"] = {gender = 500, level = 20, storage = 1025, stoCatch = 666025},

["Raichu"] = {gender = 500, level = 50, storage = 1026, stoCatch = 666026},

["Sandshrew"] = {gender = 500, level = 18, storage = 1027, stoCatch = 666027},

["Sandslash"] = {gender = 500, level = 55, storage = 1028, stoCatch = 666028},

["Nidoran Female"] = {gender = 0, level = 10, storage = 1029, stoCatch = 666029},

["Nidorina"] = {gender = 0, level = 25, storage = 1030, stoCatch = 666030},

["Nidoqueen"] = {gender = 0, level = 65, storage = 1031, stoCatch = 666031},

["Nidoran Male"] = {gender = 1000, level = 10, storage = 1032, stoCatch = 666032},

["Nidorino"] = {gender = 1000, level = 25, storage = 1033, stoCatch = 666033},

["Nidoking"] = {gender = 1000, level = 65, storage = 1034, stoCatch = 666034},

["Clefairy"] = {gender = 250, level = 10, storage = 1035, stoCatch = 666035},

["Clefable"] = {gender = 250, level = 35, storage = 1036, stoCatch = 666036},

["Vulpix"] = {gender = 250, level = 16, storage = 1037, stoCatch = 666037},

["Ninetales"] = {gender = 250, level = 65, storage = 1038, stoCatch = 666038},

["Jigglypuff"] = {gender = 250, level = 10, storage = 1039, stoCatch = 666039},

["Wigglytuff"] = {gender = 250, level = 42, storage = 1040, stoCatch = 666040},

["Zubat"] = {gender = 500, level = 5, storage = 1041, stoCatch = 666041},

["Golbat"] = {gender = 500, level = 30, storage = 1042, stoCatch = 666042},

["Oddish"] = {gender = 500, level = 5, storage = 1043, stoCatch = 666043},

["Gloom"] = {gender = 500, level = 18, storage = 1044, stoCatch = 666044},

["Vileplume"] = {gender = 500, level = 50, storage = 1045, stoCatch = 666045},

["Paras"] = {gender = 500, level = 5, storage = 1046, stoCatch = 666046},

["Parasect"] = {gender = 500, level = 40, storage = 1047, stoCatch = 666047},

["Venonat"] = {gender = 500, level = 14, storage = 1048, stoCatch = 666048},

["Venomoth"] = {gender = 500, level = 40, storage = 1049, stoCatch = 666049},

["Diglett"] = {gender = 500, level = 5, storage = 1050, stoCatch = 666050},

["Dugtrio"] = {gender = 500, level = 35, storage = 1051, stoCatch = 666051},

["Meowth"] = {gender = 500, level = 12, storage = 1052, stoCatch = 666052},

["Persian"] = {gender = 500, level = 25, storage = 1053, stoCatch = 666053},

["Psyduck"] = {gender = 500, level = 12, storage = 1054, stoCatch = 666054},

["Golduck"] = {gender = 500, level = 55, storage = 1055, stoCatch = 666055},

["Mankey"] = {gender = 500, level = 10, storage = 1056, stoCatch = 666056},

["Primeape"] = {gender = 500, level = 45, storage = 1057, stoCatch = 666057},

["Growlithe"] = {gender = 750, level = 16, storage = 1058, stoCatch = 666058},

["Arcanine"] = {gender = 750, level = 70, storage = 1059, stoCatch = 666059},

["Poliwag"] = {gender = 500, level = 5, storage = 1060, stoCatch = 666060},

["Poliwhirl"] = {gender = 500, level = 20, storage = 1061, stoCatch = 666061},

["Poliwrath"] = {gender = 500, level = 60, storage = 1062, stoCatch = 666062},

["Abra"] = {gender = 750, level = 12, storage = 1063, stoCatch = 666063},

["Kadabra"] = {gender = 750, level = 40, storage = 1064, stoCatch = 666064},

["Alakazam"] = {gender = 750, level = 70, storage = 1065, stoCatch = 666065},

["Machop"] = {gender = 750, level = 16, storage = 1066, stoCatch = 666066},

["Machoke"] = {gender = 750, level = 38, storage = 1067, stoCatch = 666067},

["Machamp"] = {gender = 750, level = 70, storage = 1068, stoCatch = 666068},

["Bellsprout"] = {gender = 500, level = 5, storage = 1069, stoCatch = 666069},

["Weepinbell"] = {gender = 500, level = 18, storage = 1070, stoCatch = 666070},

["Victreebel"] = {gender = 500, level = 50, storage = 1071, stoCatch = 666071},

["Tentacool"] = {gender = 500, level = 12, storage = 1072, stoCatch = 666072},

["Tentacruel"] = {gender = 500, level = 70, storage = 1073, stoCatch = 666073},

["Geodude"] = {gender = 500, level = 15, storage = 1074, stoCatch = 666074},

["Graveler"] = {gender = 500, level = 40, storage = 1075, stoCatch = 666075},

["Golem"] = {gender = 500, level = 70, storage = 1076, stoCatch = 666076},

["Ponyta"] = {gender = 500, level = 15, storage = 1077, stoCatch = 666077},

["Rapidash"] = {gender = 500, level = 55, storage = 1078, stoCatch = 666078},

["Slowpoke"] = {gender = 500, level = 12, storage = 1079, stoCatch = 666079},

["Slowbro"] = {gender = 500, level = 45, storage = 1080, stoCatch = 666080},

["Magnemite"] = {gender = -1, level = 15, storage = 1081, stoCatch = 666081},

["Magneton"] = {gender = -1, level = 38, storage = 1082, stoCatch = 666082},

["Farfetch'd"] = {gender = 500, level = 35, storage = 1083, stoCatch = 666083},

["Doduo"] = {gender = 500, level = 12, storage = 1084, stoCatch = 666084},

["Dodrio"] = {gender = 500, level = 42, storage = 1085, stoCatch = 666085},

["Seel"] = {gender = 500, level = 14, storage = 1086, stoCatch = 666086},

["Dewgong"] = {gender = 500, level = 55, storage = 1087, stoCatch = 666087},

["Grimer"] = {gender = 500, level = 12, storage = 1088, stoCatch = 666088},

["Muk"] = {gender = 500, level = 30, storage = 1089, stoCatch = 666089},

["Shellder"] = {gender = 500, level = 5, storage = 1090, stoCatch = 666090},

["Cloyster"] = {gender = 500, level = 65, storage = 1091, stoCatch = 666091},

["Gastly"] = {gender = 500, level = 14, storage = 1092, stoCatch = 666092},

["Haunter"] = {gender = 500, level = 40, storage = 1093, stoCatch = 666093},

["Gengar"] = {gender = 500, level = 70, storage = 1094, stoCatch = 666094},

["Onix"] = {gender = 500, level = 50, storage = 1095, stoCatch = 666095},

["Drowzee"] = {gender = 500, level = 18, storage = 1096, stoCatch = 666096},

["Hypno"] = {gender = 500, level = 50, storage = 1097, stoCatch = 666097},

["Krabby"] = {gender = 500, level = 5, storage = 1098, stoCatch = 666098},

["Kingler"] = {gender = 500, level = 35, storage = 1099, stoCatch = 666099},

["Voltorb"] = {gender = -1, level = 14, storage = 1100, stoCatch = 666100},

["Electrode"] = {gender = -1, level = 38, storage = 1101, stoCatch = 666101},

["Exeggcute"] = {gender = 500, level = 8, storage = 1102, stoCatch = 666102},

["Exeggutor"] = {gender = 500, level = 48, storage = 1103, stoCatch = 666103},

["Cubone"] = {gender = 500, level = 18, storage = 1104, stoCatch = 666104},

["Marowak"] = {gender = 500, level = 45, storage = 1105, stoCatch = 666105},

["Hitmonlee"] = {gender = 1000, level = 60, storage = 1106, stoCatch = 666106},

["Hitmonchan"] = {gender = 1000, level = 60, storage = 1107, stoCatch = 666107},

["Lickitung"] = {gender = 500, level = 45, storage = 1108, stoCatch = 666108},

["Koffing"] = {gender = 500, level = 15, storage = 1109, stoCatch = 666109},

["Weezing"] = {gender = 500, level = 30, storage = 1110, stoCatch = 666110},

["Rhyhorn"] = {gender = 500, level = 35, storage = 1111, stoCatch = 666111},

["Rhydon"] = {gender = 500, level = 65, storage = 1112, stoCatch = 666112},

["Chansey"] = {gender = 0, level = 50, storage = 1113, stoCatch = 666113},

["Tangela"] = {gender = 500, level = 35, storage = 1114, stoCatch = 666114},

["Kangaskhan"] = {gender = 0, level = 65, storage = 1115, stoCatch = 666115},

["Horsea"] = {gender = 500, level = 5, storage = 1116, stoCatch = 666116},

["Seadra"] = {gender = 500, level = 40, storage = 1117, stoCatch = 666117},

["Goldeen"] = {gender = 500, level = 10, storage = 1118, stoCatch = 666118},

["Seaking"] = {gender = 500, level = 25, storage = 1119, stoCatch = 666119},

["Staryu"] = {gender = -1, level = 15, storage = 1120, stoCatch = 666120},

["Starmie"] = {gender = -1, level = 38, storage = 1121, stoCatch = 666121},

["Mr. Mime"] = {gender = 500, level = 45, storage = 1122, stoCatch = 666122},

["Scyther"] = {gender = 500, level = 60, storage = 1123, stoCatch = 666123},

["Jynx"] = {gender = 0, level = 55, storage = 1124, stoCatch = 666124},

["Electabuzz"] = {gender = 750, level = 60, storage = 1125, stoCatch = 666125},

["Magmar"] = {gender = 750, level = 60, storage = 1126, stoCatch = 666126},

["Pinsir"] = {gender = 500, level = 42, storage = 1127, stoCatch = 666127},

["Tauros"] = {gender = 1000, level = 40, storage = 1128, stoCatch = 666128},

["Magikarp"] = {gender = 500, level = 1, storage = 1129, stoCatch = 666129},

["Gyarados"] = {gender = 500, level = 75, storage = 1130, stoCatch = 666130},

["Lapras"] = {gender = 500, level = 65, storage = 1131, stoCatch = 666131},

["Ditto"] = {gender = -1, level = 40, storage = 1132, stoCatch = 666132},

["Eevee"] = {gender = 875, level = 20, storage = 1133, stoCatch = 666133},

["Vaporeon"] = {gender = 875, level = 55, storage = 1134, stoCatch = 666134},

["Jolteon"] = {gender = 875, level = 55, storage = 1135, stoCatch = 666135},

["Flareon"] = {gender = 875, level = 55, storage = 1136, stoCatch = 666136},

["Porygon"] = {gender = -1, level = 45, storage = 1137, stoCatch = 666137},

["Omanyte"] = {gender = 875, level = 20, storage = 1138, stoCatch = 666138},

["Omastar"] = {gender = 875, level = 70, storage = 1139, stoCatch = 666139},

["Kabuto"] = {gender = 875, level = 20, storage = 1140, stoCatch = 666140},

["Kabutops"] = {gender = 875, level = 70, storage = 1141, stoCatch = 666141},

["Aerodactyl"] = {gender = 875, level = 85, storage = 1142, stoCatch = 666142},

["Snorlax"] = {gender = 875, level = 85, storage = 1143, stoCatch = 666143},

["Articuno"] = {gender = 500, level = 100, storage = 1144, stoCatch = 666144},

["Zapdos"] = {gender = 500, level = 100, storage = 1145, stoCatch = 666145},

["Moltres"] = {gender = 500, level = 100, storage = 1146, stoCatch = 666146},

["Dratini"] = {gender = 500, level = 15, storage = 1147, stoCatch = 666147},

["Dragonair"] = {gender = 500, level = 45, storage = 1148, stoCatch = 666148},

["Dragonite"] = {gender = 500, level = 85, storage = 1149, stoCatch = 666149},

["Mewtwo"] = {gender = 500, level = 100, storage = 1150, stoCatch = 666150},

["Mew"] = {gender = 500, level = 100, storage = 1151, stoCatch = 666151},

["Shiny Bulbasaur"] = {gender = 875, level = 18, storage = 10010, stoCatch = 666152},

["Shiny Ivysaur"] = {gender = 875, level = 38, storage = 10020, stoCatch = 666153},

["Shiny Venusaur"] = {gender = 875, level = 75, storage = 10030, stoCatch = 666154},

["Shiny Charmander"] = {gender = 875, level = 18, storage = 10040, stoCatch = 666155},

["Shiny Charmeleon"] = {gender = 875, level = 38, storage = 10050, stoCatch = 666156},

["Shiny Charizard"] = {gender = 875, level = 75, storage = 10060, stoCatch = 666157},

["Shiny Squirtle"] = {gender = 875, level = 18, storage = 10070, stoCatch = 666158},

["Shiny Wartortle"] = {gender = 875, level = 38, storage = 10080, stoCatch = 666159},

["Shiny Blastoise"] = {gender = 875, level = 75, storage = 10090, stoCatch = 666160},

["Shiny Caterpie"] = {gender = 500, level = 3, storage = 10100, stoCatch = 666161},

["Shiny Metapod"] = {gender = 500, level = 10, storage = 10110, stoCatch = 666162},

["Shiny Butterfree"] = {gender = 500, level = 30, storage = 10120, stoCatch = 666163},

["Shiny Weedle"] = {gender = 500, level = 3, storage = 10130, stoCatch = 666164},

["Shiny Kakuna"] = {gender = 500, level = 10, storage = 10140, stoCatch = 666165},

["Shiny Beedrill"] = {gender = 500, level = 30, storage = 10150, stoCatch = 666166},

["Shiny Pidgey"] = {gender = 500, level = 5, storage = 10160, stoCatch = 666167},

["Shiny Pidgeotto"] = {gender = 500, level = 20, storage = 10170, stoCatch = 666168},

["Shiny Pidgeot"] = {gender = 500, level = 60, storage = 10180, stoCatch = 666169},

["Shiny Rattata"] = {gender = 500, level = 3, storage = 10190, stoCatch = 666170},

["Shiny Raticate"] = {gender = 500, level = 20, storage = 10200, stoCatch = 666171},

["Shiny Spearow"] = {gender = 500, level = 5, storage = 10210, stoCatch = 666172},

["Shiny Fearow"] = {gender = 500, level = 50, storage = 10220, stoCatch = 666173},

["Shiny Ekans"] = {gender = 500, level = 12, storage = 10230, stoCatch = 666174},

["Shiny Arbok"] = {gender = 500, level = 30, storage = 10240, stoCatch = 666175},

["Shiny Pikachu"] = {gender = 500, level = 20, storage = 10250, stoCatch = 666176},

["Shiny Raichu"] = {gender = 500, level = 50, storage = 10260, stoCatch = 666177},

["Shiny Sandshrew"] = {gender = 500, level = 18, storage = 10270, stoCatch = 666178},

["Shiny Sandslash"] = {gender = 500, level = 55, storage = 10280, stoCatch = 666179},

["Shiny Nidoran Female"] = {gender = 0, level = 10, storage = 10290, stoCatch = 666180},

["Shiny Nidorina"] = {gender = 0, level = 25, storage = 10300, stoCatch = 666181},

["Shiny Nidoqueen"] = {gender = 0, level = 65, storage = 10310, stoCatch = 666182},

["Shiny Nidoran Male"] = {gender = 1000, level = 10, storage = 10320, stoCatch = 666183},

["Shiny Nidorino"] = {gender = 1000, level = 25, storage = 10330, stoCatch = 666184},

["Shiny Nidoking"] = {gender = 1000, level = 65, storage = 10340, stoCatch = 666185},

["Shiny Clefairy"] = {gender = 250, level = 10, storage = 10350, stoCatch = 666186},

["Shiny Clefable"] = {gender = 250, level = 35, storage = 10360, stoCatch = 666187},

["Shiny Vulpix"] = {gender = 250, level = 16, storage = 10370, stoCatch = 666188},

["Shiny Ninetales"] = {gender = 250, level = 65, storage = 10380, stoCatch = 666189},

["Shiny Jigglypuff"] = {gender = 250, level = 10, storage = 10390, stoCatch = 666190},

["Shiny Wigglytuff"] = {gender = 250, level = 42, storage = 10400, stoCatch = 666191},

["Shiny Zubat"] = {gender = 500, level = 5, storage = 10410, stoCatch = 666192},

["Shiny Golbat"] = {gender = 500, level = 30, storage = 10420, stoCatch = 666193},

["Shiny Oddish"] = {gender = 500, level = 5, storage = 10430, stoCatch = 666194},

["Shiny Gloom"] = {gender = 500, level = 18, storage = 10440, stoCatch = 666195},

["Shiny Vileplume"] = {gender = 500, level = 50, storage = 10450, stoCatch = 666196},

["Shiny Paras"] = {gender = 500, level = 5, storage = 10460, stoCatch = 666197},

["Shiny Parasect"] = {gender = 500, level = 40, storage = 10470, stoCatch = 666198},

["Shiny Venonat"] = {gender = 500, level = 14, storage = 10480, stoCatch = 666199},

["Shiny Venomoth"] = {gender = 500, level = 40, storage = 10490, stoCatch = 666200},

["Shiny Diglett"] = {gender = 500, level = 5, storage = 10500, stoCatch = 666201},

["Shiny Dugtrio"] = {gender = 500, level = 35, storage = 10510, stoCatch = 666202},

["Shiny Meowth"] = {gender = 500, level = 12, storage = 10520, stoCatch = 666203},

["Shiny Persian"] = {gender = 500, level = 25, storage = 10530, stoCatch = 666204},

["Shiny Psyduck"] = {gender = 500, level = 12, storage = 10540, stoCatch = 666205},

["Shiny Golduck"] = {gender = 500, level = 55, storage = 10550, stoCatch = 666206},

["Shiny Mankey"] = {gender = 500, level = 10, storage = 10560, stoCatch = 666207},

["Shiny Primeape"] = {gender = 500, level = 45, storage = 10570, stoCatch = 666208},

["Shiny Growlithe"] = {gender = 750, level = 16, storage = 10580, stoCatch = 666209},

["Shiny Arcanine"] = {gender = 750, level = 70, storage = 10590, stoCatch = 666210},

["Shiny Poliwag"] = {gender = 500, level = 5, storage = 10600, stoCatch = 666211},

["Shiny Poliwhirl"] = {gender = 500, level = 20, storage = 10610, stoCatch = 666212},

["Shiny Poliwrath"] = {gender = 500, level = 60, storage = 10620, stoCatch = 666213},

["Shiny Abra"] = {gender = 750, level = 12, storage = 10630, stoCatch = 666214},

["Shiny Kadabra"] = {gender = 750, level = 40, storage = 10640, stoCatch = 666215},

["Shiny Alakazam"] = {gender = 750, level = 70, storage = 10650, stoCatch = 666216},

["Shiny Machop"] = {gender = 750, level = 16, storage = 10660, stoCatch = 666217},

["Shiny Machoke"] = {gender = 750, level = 38, storage = 10670, stoCatch = 666218},

["Shiny Machamp"] = {gender = 750, level = 70, storage = 10680, stoCatch = 666219},

["Shiny Bellsprout"] = {gender = 500, level = 5, storage = 10690, stoCatch = 666220},

["Shiny Weepinbell"] = {gender = 500, level = 18, storage = 10700, stoCatch = 666221},

["Shiny Victreebel"] = {gender = 500, level = 50, storage = 10710, stoCatch = 666222},

["Shiny Tentacool"] = {gender = 500, level = 12, storage = 10720, stoCatch = 666223},

["Shiny Tentacruel"] = {gender = 500, level = 70, storage = 10730, stoCatch = 666224},

["Shiny Geodude"] = {gender = 500, level = 15, storage = 10740, stoCatch = 666225},

["Shiny Graveler"] = {gender = 500, level = 40, storage = 10750, stoCatch = 666226},

["Shiny Golem"] = {gender = 500, level = 70, storage = 10760, stoCatch = 666227},

["Shiny Ponyta"] = {gender = 500, level = 15, storage = 10770, stoCatch = 666228},

["Shiny Rapidash"] = {gender = 500, level = 55, storage = 10780, stoCatch = 666229},

["Shiny Slowpoke"] = {gender = 500, level = 12, storage = 10790, stoCatch = 666230},

["Shiny Slowbro"] = {gender = 500, level = 45, storage = 10800, stoCatch = 666231},

["Shiny Magnemite"] = {gender = -1, level = 15, storage = 10810, stoCatch = 666232},

["Shiny Magneton"] = {gender = -1, level = 38, storage = 10820, stoCatch = 666233},

["Shiny Farfetch'd"] = {gender = 500, level = 35, storage = 10830, stoCatch = 666234},

["Shiny Doduo"] = {gender = 500, level = 12, storage = 10840, stoCatch = 666235},

["Shiny Dodrio"] = {gender = 500, level = 42, storage = 10850, stoCatch = 666236},

["Shiny Seel"] = {gender = 500, level = 14, storage = 10860, stoCatch = 666237},

["Shiny Dewgong"] = {gender = 500, level = 55, storage = 10870, stoCatch = 666238},

["Shiny Grimer"] = {gender = 500, level = 12, storage = 10880, stoCatch = 666239},

["Shiny Muk"] = {gender = 500, level = 30, storage = 10890, stoCatch = 666240},

["Shiny Shellder"] = {gender = 500, level = 5, storage = 10900, stoCatch = 666241},

["Shiny Cloyster"] = {gender = 500, level = 65, storage = 10910, stoCatch = 666242},

["Shiny Gastly"] = {gender = 500, level = 14, storage = 10920, stoCatch = 666243},

["Shiny Haunter"] = {gender = 500, level = 40, storage = 10930, stoCatch = 666244},

["Shiny Gengar"] = {gender = 500, level = 70, storage = 10940, stoCatch = 666245},

["Shiny Onix"] = {gender = 500, level = 50, storage = 10950, stoCatch = 666246},

["Shiny Drowzee"] = {gender = 500, level = 18, storage = 10960, stoCatch = 666247},

["Shiny Hypno"] = {gender = 500, level = 50, storage = 10970, stoCatch = 666248},

["Shiny Krabby"] = {gender = 500, level = 5, storage = 10980, stoCatch = 666249},

["Shiny Kingler"] = {gender = 500, level = 35, storage = 10990, stoCatch = 666250},

["Shiny Voltorb"] = {gender = -1, level = 14, storage = 11000, stoCatch = 666251},

["Shiny Electrode"] = {gender = -1, level = 38, storage = 11010, stoCatch = 666252},

["Shiny Exeggcute"] = {gender = 500, level = 8, storage = 11020, stoCatch = 666253},

["Shiny Exeggutor"] = {gender = 500, level = 48, storage = 11030, stoCatch = 666254},

["Shiny Cubone"] = {gender = 500, level = 18, storage = 11040, stoCatch = 666255},

["Shiny Marowak"] = {gender = 500, level = 45, storage = 11050, stoCatch = 666256},

["Shiny Hitmonlee"] = {gender = 1000, level = 60, storage = 11060, stoCatch = 666257},

["Shiny Hitmonchan"] = {gender = 1000, level = 60, storage = 11070, stoCatch = 666258},

["Shiny Lickitung"] = {gender = 500, level = 45, storage = 11080, stoCatch = 666259},

["Shiny Koffing"] = {gender = 500, level = 15, storage = 11090, stoCatch = 666260},

["Shiny Weezing"] = {gender = 500, level = 30, storage = 11100, stoCatch = 666261},

["Shiny Rhyhorn"] = {gender = 500, level = 35, storage = 11110, stoCatch = 666262},

["Shiny Rhydon"] = {gender = 500, level = 65, storage = 11120, stoCatch = 666263},

["Shiny Chansey"] = {gender = 0, level = 50, storage = 11130, stoCatch = 666264},

["Shiny Tangela"] = {gender = 500, level = 35, storage = 11140, stoCatch = 666265},

["Shiny Kangaskhan"] = {gender = 0, level = 65, storage = 11150, stoCatch = 666266},

["Shiny Horsea"] = {gender = 500, level = 5, storage = 11160, stoCatch = 666267},

["Shiny Seadra"] = {gender = 500, level = 40, storage = 11170, stoCatch = 666268},

["Shiny Goldeen"] = {gender = 500, level = 10, storage = 11180, stoCatch = 666269},

["Shiny Seaking"] = {gender = 500, level = 25, storage = 11190, stoCatch = 666270},

["Shiny Staryu"] = {gender = -1, level = 15, storage = 11200, stoCatch = 666271},

["Shiny Starmie"] = {gender = -1, level = 38, storage = 11210, stoCatch = 666272},

["Shiny Mr. Mime"] = {gender = 500, level = 45, storage = 11220, stoCatch = 666273},

["Shiny Scyther"] = {gender = 500, level = 60, storage = 11230, stoCatch = 666274},

["Shiny Jynx"] = {gender = 0, level = 55, storage = 11240, stoCatch = 666275},

["Shiny Electabuzz"] = {gender = 750, level = 60, storage = 11250, stoCatch = 666276},

["Shiny Magmar"] = {gender = 750, level = 60, storage = 11260, stoCatch = 666277},

["Shiny Pinsir"] = {gender = 500, level = 42, storage = 11270, stoCatch = 666278},

["Shiny Tauros"] = {gender = 1000, level = 40, storage = 11280, stoCatch = 666279},

["Shiny Magikarp"] = {gender = 500, level = 1, storage = 11290, stoCatch = 666280},

["Shiny Gyarados"] = {gender = 500, level = 75, storage = 11300, stoCatch = 666281},

["Shiny Lapras"] = {gender = 500, level = 65, storage = 11310, stoCatch = 666282},

["Shiny Ditto"] = {gender = -1, level = 40, storage = 11320, stoCatch = 666283},

["Shiny Eevee"] = {gender = 875, level = 20, storage = 11330, stoCatch = 666284},

["Shiny Vaporeon"] = {gender = 875, level = 55, storage = 11340, stoCatch = 666285},

["Shiny Jolteon"] = {gender = 875, level = 55, storage = 11350, stoCatch = 666286},

["Shiny Flareon"] = {gender = 875, level = 55, storage = 11360, stoCatch = 666287},

["Shiny Porygon"] = {gender = -1, level = 45, storage = 11370, stoCatch = 666288},

["Shiny Omanyte"] = {gender = 875, level = 20, storage = 11380, stoCatch = 666289},

["Shiny Omastar"] = {gender = 875, level = 70, storage = 11390, stoCatch = 666290},

["Shiny Kabuto"] = {gender = 875, level = 20, storage = 11400, stoCatch = 666291},

["Shiny Kabutops"] = {gender = 875, level = 70, storage = 11410, stoCatch = 666292},

["Shiny Aerodactyl"] = {gender = 875, level = 85, storage = 11420, stoCatch = 666293},

["Shiny Snorlax"] = {gender = 875, level = 85, storage = 11430, stoCatch = 666294},

["Shiny Articuno"] = {gender = 500, level = 100, storage = 11440, stoCatch = 666295},

["Shiny Zapdos"] = {gender = 500, level = 100, storage = 11450, stoCatch = 666296},

["Shiny Moltres"] = {gender = 500, level = 100, storage = 11460, stoCatch = 666297},

["Shiny Dratini"] = {gender = 500, level = 15, storage = 11470, stoCatch = 666298},

["Shiny Dragonair"] = {gender = 500, level = 45, storage = 11480, stoCatch = 666299},

["Shiny Dragonite"] = {gender = 500, level = 85, storage = 11490, stoCatch = 666300},

["Shiny Mewtwo"] = {gender = 500, level = 100, storage = 11500, stoCatch = 666301},

["Shiny Mew"] = {gender = 500, level = 100, storage = 11510, stoCatch = 666302},

["Chikorita"] = {gender = 875, level = 18, storage = 1152, stoCatch = 666303},

["Bayleef"] = {gender = 875, level = 38, storage = 1153, stoCatch = 666304},

["Meganium"] = {gender = 875, level = 75, storage = 1154, stoCatch = 666305},

["Cyndaquil"] = {gender = 875, level = 18, storage = 1155, stoCatch = 666306},

["Quilava"] = {gender = 875, level = 38, storage = 1156, stoCatch = 666307},

["Typhlosion"] = {gender = 875, level = 75, storage = 1157, stoCatch = 666308},

["Totodile"] = {gender = 875, level = 18, storage = 1158, stoCatch = 666309},

["Croconaw"] = {gender = 875, level = 38, storage = 1159, stoCatch = 666310},

["Feraligatr"] = {gender = 875, level = 75, storage = 1160, stoCatch = 666311},

["Sentret"] = {gender = 500, level = 3, storage = 1161, stoCatch = 666312},

["Furret"] = {gender = 500, level = 28, storage = 1162, stoCatch = 666313},

["Hoothoot"] = {gender = 500, level = 3, storage = 1163, stoCatch = 666314},

["Noctowl"] = {gender = 500, level = 38, storage = 1164, stoCatch = 666315},

["Ledyba"] = {gender = 500, level = 12, storage = 1165, stoCatch = 666316},

["Ledian"] = {gender = 500, level = 30, storage = 1166, stoCatch = 666317},

["Spinarak"] = {gender = 500, level = 15, storage = 1167, stoCatch = 666318},

["Ariados"] = {gender = 500, level = 42, storage = 1168, stoCatch = 666319},

["Crobat"] = {gender = 500, level = 70, storage = 1169, stoCatch = 666320},

["Chinchou"] = {gender = 500, level = 14, storage = 1170, stoCatch = 666321},

["Lanturn"] = {gender = 500, level = 38, storage = 1171, stoCatch = 666322},

["Pichu"] = {gender = 500, level = 3, storage = 1172, stoCatch = 666323},

["Cleffa"] = {gender = 500, level = 3, storage = 1173, stoCatch = 666324},

["Igglybuff"] = {gender = 500, level = 3, storage = 1174, stoCatch = 666325},

["Togepi"] = {gender = 500, level = 10, storage = 1175, stoCatch = 666326},

["Togetic"] = {gender = 875, level = 45, storage = 1176, stoCatch = 666327},

["Natu"] = {gender = 500, level = 15, storage = 1177, stoCatch = 666328},

["Xatu"] = {gender = 500, level = 45, storage = 1178, stoCatch = 666329},

["Mareep"] = {gender = 500, level = 12, storage = 1179, stoCatch = 666330},

["Flaaffy"] = {gender = 500, level = 30, storage = 1180, stoCatch = 666331},

["Ampharos"] = {gender = 500, level = 65, storage = 1181, stoCatch = 666332},

["Bellossom"] = {gender = 500, level = 50, storage = 1182, stoCatch = 666333},

["Marill"] = {gender = 500, level = 14, storage = 1183, stoCatch = 666334},

["Azumarill"] = {gender = 500, level = 28, storage = 1184, stoCatch = 666335},

["Sudowoodo"] = {gender = 500, level = 46, storage = 1185, stoCatch = 666336},

["Politoed"] = {gender = 500, level = 60, storage = 1186, stoCatch = 666337},

["Hoppip"] = {gender = 500, level = 10, storage = 1187, stoCatch = 666338},

["Skiploom"] = {gender = 500, level = 20, storage = 1188, stoCatch = 666339},

["Jumpluff"] = {gender = 500, level = 30, storage = 1189, stoCatch = 666340},

["Aipom"] = {gender = 500, level = 10, storage = 1190, stoCatch = 666341},

["Sunkern"] = {gender = 500, level = 3, storage = 1191, stoCatch = 666342},

["Sunflora"] = {gender = 500, level = 50, storage = 1192, stoCatch = 666343},

["Yanma"] = {gender = 500, level = 32, storage = 1193, stoCatch = 666344},

["Wooper"] = {gender = 500, level = 18, storage = 1194, stoCatch = 666345},

["Quagsire"] = {gender = 500, level = 55, storage = 1195, stoCatch = 666346},

["Espeon"] = {gender = 875, level = 55, storage = 1196, stoCatch = 666347},

["Umbreon"] = {gender = 875, level = 55, storage = 1197, stoCatch = 666348},

["Murkrow"] = {gender = 500, level = 35, storage = 1198, stoCatch = 666349},

["Slowking"] = {gender = 500, level = 60, storage = 1199, stoCatch = 666350},

["Misdreavus"] = {gender = 500, level = 47, storage = 1200, stoCatch = 666351},

["Unown"] = {gender = 500, level = 15, storage = 1201, stoCatch = 666352},

["Wobbuffet"] = {gender = 500, level = 42, storage = 1202, stoCatch = 666353},

["Girafarig"] = {gender = 500, level = 42, storage = 1203, stoCatch = 666354},

["Pineco"] = {gender = 500, level = 18, storage = 1204, stoCatch = 666355},

["Forretress"] = {gender = 500, level = 55, storage = 1205, stoCatch = 666356},

["Dunsparce"] = {gender = 500, level = 35, storage = 1206, stoCatch = 666357},

["Gligar"] = {gender = 500, level = 30, storage = 1207, stoCatch = 666358},

["Steelix"] = {gender = 500, level = 75, storage = 1208, stoCatch = 666359},

["Snubbull"] = {gender = 250, level = 20, storage = 1209, stoCatch = 666360},

["Granbull"] = {gender = 250, level = 42, storage = 1210, stoCatch = 666361},

["Qwilfish"] = {gender = 500, level = 16, storage = 1211, stoCatch = 666362},

["Scizor"] = {gender = 500, level = 75, storage = 1212, stoCatch = 666363},

["Shuckle"] = {gender = 500, level = 10, storage = 1213, stoCatch = 666364},

["Heracross"] = {gender = 500, level = 60, storage = 1214, stoCatch = 666365},

["Sneasel"] = {gender = 500, level = 50, storage = 1215, stoCatch = 666366},

["Teddiursa"] = {gender = 500, level = 20, storage = 1216, stoCatch = 666367},

["Ursaring"] = {gender = 500, level = 70, storage = 1217, stoCatch = 666368},

["Slugma"] = {gender = 500, level = 18, storage = 1218, stoCatch = 666369},

["Magcargo"] = {gender = 500, level = 40, storage = 1219, stoCatch = 666370},

["Swinub"] = {gender = 500, level = 12, storage = 1220, stoCatch = 666371},

["Piloswine"] = {gender = 500, level = 70, storage = 1221, stoCatch = 666372},

["Corsola"] = {gender = 250, level = 42, storage = 1222, stoCatch = 666373},

["Remoraid"] = {gender = 500, level = 14, storage = 1223, stoCatch = 666374},

["Octillery"] = {gender = 500, level = 38, storage = 1224, stoCatch = 666375},

["Delibird"] = {gender = 500, level = 25, storage = 1225, stoCatch = 666376},

["Mantine"] = {gender = 500, level = 50, storage = 1226, stoCatch = 666377},

["Skarmory"] = {gender = 500, level = 70, storage = 1227, stoCatch = 666378},

["Houndour"] = {gender = 500, level = 18, storage = 1228, stoCatch = 666379},

["Houndoom"] = {gender = 500, level = 70, storage = 1229, stoCatch = 666380},

["Kingdra"] = {gender = 500, level = 75, storage = 1230, stoCatch = 666381},

["Phanpy"] = {gender = 500, level = 12, storage = 1231, stoCatch = 666382},

["Donphan"] = {gender = 500, level = 45, storage = 1232, stoCatch = 666383},

["Porygon2"] = {gender = -1, level = 60, storage = 1233, stoCatch = 666384},

["Stantler"] = {gender = 500, level = 35, storage = 1234, stoCatch = 666385},

["Smeargle"] = {gender = 500, level = 28, storage = 1235, stoCatch = 666386},

["Tyrogue"] = {gender = 500, level = 15, storage = 1236, stoCatch = 666387},

["Hitmontop"] = {gender = 1000, level = 60, storage = 1237, stoCatch = 666388},

["Smoochum"] = {gender = 500, level = 3, storage = 1238, stoCatch = 666389},

["Elekid"] = {gender = 500, level = 3, storage = 1239, stoCatch = 666390},

["Magby"] = {gender = 500, level = 3, storage = 1240, stoCatch = 666391},

["Miltank"] = {gender = 0, level = 32, storage = 1241, stoCatch = 666392},

["Blissey"] = {gender = 0, level = 70, storage = 1242, stoCatch = 666393},

["Raikou"] = {gender = 500, level = 100, storage = 1243, stoCatch = 666394},

["Entei"] = {gender = 500, level = 100, storage = 1244, stoCatch = 666395},

["Suicune"] = {gender = 500, level = 100, storage = 1245, stoCatch = 666396},

["Larvitar"] = {gender = 500, level = 10, storage = 1246, stoCatch = 666397},

["Pupitar"] = {gender = 500, level = 50, storage = 1247, stoCatch = 666398},

["Tyranitar"] = {gender = 500, level = 90, storage = 1248, stoCatch = 666399},

["Lugia"] = {gender = 500, level = 100, storage = 1249, stoCatch = 666400},

["Ho-oh"] = {gender = 500, level = 100, storage = 1250, stoCatch = 666401},

["Celebi"] = {gender = 500, level = 100, storage = 1251, stoCatch = 666402},

}

 

 

 

aiai achu q eh isso.. sempre façam backup e good luck ae pra todos..

so lembrando.. pra ver qnts balls ja gastaram em um poke eh soh digitar ... !pokeballs nome do poke...

exemplo: !pokeballs abra ... ^^

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

Thanks Slicer Rep+ For You...

Slicer is the God of the Scripts ...

Tomorrow I give my Rep+ For You My God!

 

Slicer Lembra qnd a gente discutiiu ake no forum?

pois é, hj somos grandes amigos nér?

 

Slicer meu amigo, ta dando esse erro

 

[31/03/2012 02:26:32] [Error - Action Interface]

[31/03/2012 02:26:32] In a timer event called from:

[31/03/2012 02:26:32] data/actions/scripts/catch.lua:onUse

[31/03/2012 02:26:32] Description:

[31/03/2012 02:26:32] data/lib/011-string.lua:27: attempt to index local 'str' (a number value)

[31/03/2012 02:26:32] stack traceback:

[31/03/2012 02:26:32] data/lib/011-string.lua:27: in function 'explode'

[31/03/2012 02:26:32] data/lib/catch system.lua:47: in function 'sendBrokesMsg'

[31/03/2012 02:26:32] data/lib/catch system.lua:256: in function <data/lib/catch system.lua:179>

 

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

LoL vocês madrugaram ¬¬ vlw ai slicer ja te dei rep +

mas tipo n tem como fazer aparecer automaticamente n ????

 

LOL FlamesAdmin como você consegue fazer da erro??? você deve ter mechido em algo tenta fazer dnv ou substituir pelo do slicer!

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...