Ir para conteúdo

Bom Galera Do Poke Dash


rj157

Posts Recomendados

Bom é O Seguinte!!

 

Meu Objetivo é Que "Todos Colaborem Ajudando Em Alguma Coisa"

 

Mais Alguns Falam : A Eu Nao Sei Nada ... Nao Sabe? Entum Pelomenos Nao Exija Nada...Exemplo: Faz A Pergunta Uma Vez... Ninguem Responde e Essa Pessoa Vai E Da Flood E Refaz A Pergunta!!

 

Bom Mais Voltando Ao Assunto Esse Topico Eu Estava Penssando O Seguinte... Que Todos Que Tiverem Algum Trabalho Testado Postem...!!

 

Mais Sempre Tem Um E Pergunta ... Porque Eu Deveria Postar Meu Script Aki? Sendo Que Nao Foi Facil Fazer Ou Achar? Porque Passar Para Todos ?

 

Simples:Porque Voce Ajudando As Pessoas Com As Coisas Que Voce Tem ... As Pessoas Podem Te Ajudar Com As Coisas Que Voce Nao Tem

 

Entao Porfavor Antes De Fazerem Perguntas Penssem Um Poco Na Descriçao Do Topico Obrigado!!

 

Bom Agora Eu Irei Passar Algumas Coisas Que Muitos Precisam E Estarei Postando Agora A Descriçao Do Server Testado...

 

Pokemon Dash :Criado Por Brun123(mastercraft), glugluguga.

Versao :8.54

Site Para Baixar O Server E Ter As Informaçoes Do Que Contem Nele:http://www.xtibia.com/forum/topic/149604-854pokeserver-tfs-036-v50/

 

 

Bom e Como è Meu Segundo Topico Nao Sou Muito Experiente Entao Qualquer Erro De Portugues Ou Qualquer Coisa Que Esteja Faltando Avise..

 

E Fugindo Meio Do Assunto Preciso Que Alguem me Encine A Botar Imagem No Topico E Deixar Ele Cada Veiz Melhor E Pesso Para Colaborarem Como Ja Foi Dito

Bom E è Isso Ae Quem Souber As Coisas Do Topico EX:Botar Imagens,Cores Nas Letras e tambem botar arquivos para download no megaupload que preciso botar meu m6 que eu mesmo fiz... e botar mais algumas coisas como items.xml e outros

Me Add Msn romariopnascimento@hotmail.com...

 

Agora Irei Postar Alguns Scripts Que Eu Tenho..

Bom Muitos Nao Sao Meus E Nao Sei O Nome De Muitos Dos Criadores ... Só Mesmo O Do Bruno e Do Glugluguga

E Tudo Que Eu Postar Estara Editado Por Mim

 

[ Revive ] - fiz em cima de uns Scripts aqui , então n ligue para esse DEMON e VAMPIRE no meio do Script.

 

Actions/Scripts, crie 1 arquivo LUA chamado Revive e adicione isso dentro:

 

local pokeballs = {'2222', '2224'}

local ultraballs = {'2220', '2227'}

 

local DUSTS = {

-- Demons

[2224] = {0},

 

-- Vampires

[2227] = {25000, 5906}

}

 

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

 

if isCreature(item2.uid) then

return doPlayerSendCancel(cid, "You can only use revive in pokeballs!")

end

 

if isPlayer(item2.uid) then

return doPlayerSendCancel(cid, "You cant use potions on wild pokemons.")

end

 

if item2.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

return doPlayerSendCancel(cid, "You can only use revive in pokeballs in Feet Slot!")

end

local dust = DUSTS[item2.itemid]

if(not dust) then

doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)

return true

end

doSendMagicEffect(getThingPos(cid), 12)

doRemoveItem(item.uid, 1)

if isInArray(pokeballs, getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid) then

local feet = getPlayerSlotItem(cid, CONST_SLOT_FEET)

local maxh = tonumber(getItemAttribute(feet.uid, "poke"):match("/(.+)]"))

doItemSetAttribute(feet.uid, "poke", getItemAttribute(feet.uid, "poke"):sub(1, findLetter(getItemAttribute(feet.uid, "poke"), "[")) .. maxh .. getItemAttribute(feet.uid, "poke"):sub(findLetter(getItemAttribute(feet.uid, "poke"), "/")))

doTransformItem(feet.uid, 2222)

end

if isInArray(ultraballs, getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid) then

local feet = getPlayerSlotItem(cid, CONST_SLOT_FEET)

local maxh = tonumber(getItemAttribute(feet.uid, "poke"):match("/(.+)]"))

doItemSetAttribute(feet.uid, "poke", getItemAttribute(feet.uid, "poke"):sub(1, findLetter(getItemAttribute(feet.uid, "poke"), "[")) .. maxh .. getItemAttribute(feet.uid, "poke"):sub(findLetter(getItemAttribute(feet.uid, "poke"), "/")))

doTransformItem(feet.uid, 2220)

end

end

 

Em Actions.xml adicione :

<action itemid=2269" event="script" value="revive.lua" allowfaruse="1" blockwalls="1"/>

 

Explicando:

Esta configurado apenas para Poke ball E Ultra ball , So eh possivel usar o Revive na Pokeball que se encontra no Sloot Feet

 

 

 

Bem Falei Que Estava Esperando Alguem Me Encinar A Por Um Arquivo Para Download

e Ja Me Enssinaram Agora Como Prometido Esta Ae

 

Items.xml Corpses 100%

http://www.multiupload.com/87APBKQ2RA

Qualquer Duvida Avise

 

 

Catch 100% Configurado Com Life Do Go/back Do Server

 

Actions/Scripts

Tera Um Arquivo Chamado Catch.Lua

1º Faça Um Backup Do Seu

2º Cole Isso Dentro

 

local pokes = {

["Bulbasaur"] = {chance = 45, corpse = 5969, health = 1200, maxhealth = 1200},

["Ivysaur"] = {chance = 45, corpse = 5982, health = 2600, maxhealth = 2600},

["Venusaur"] = {chance = 45, corpse = 5962, health = 5200, maxhealth = 5200},

["Shiny Venusaur"] = {chance = 45, corpse = 8764, health = 10400, maxhealth = 10400},

["Machop"] = {chance = 180, corpse = 6045, health = 1100, maxhealth = 1100},

["Machoke"] = {chance = 90, corpse = 4251, health = 3500, maxhealth = 3500},

["Machamp"] = {chance = 45, corpse = 6048, health = 7500, maxhealth = 7500},

["Geodude"] = {chance = 255, corpse = 6071, health = 700, maxhealth = 700},

["Graveler"] = {chance = 120, corpse = 6516, health = 3000, maxhealth = 3000},

["Golem"] = {chance = 45, corpse = 6046, health = 6500, maxhealth = 6500},

["Poliwag"] = {chance = 255, corpse = 6042, health = 400, maxhealth = 400},

["Poliwhirl"] = {chance = 120, corpse = 6054, health = 1200, maxhealth = 1200},

["Poliwrath"] = {chance = 45, corpse = 6033, health = 4400, maxhealth = 4400},

["Tentacool"] = {chance = 190, corpse = 2961, health = 1050, maxhealth = 1050},

["Shiny Tentacool"] = {chance = 150, corpse = 8748, health = 2100, maxhealth = 2100},

["Tentacruel"] = {chance = 60, corpse = 6037, health = 7500, maxhealth = 7500},

["Shiny Tentacruel"] = {chance = 45, corpse = 8757, health = 15000, maxhealth = 15000},

["Bellsprout"] = {chance = 255, corpse = 2806, health = 420, maxhealth = 420},

["Weepinbell"] = {chance = 120, corpse = 4266, health = 1100, maxhealth = 1100},

["Victreebel"] = {chance = 45, corpse = 6332, health = 4000, maxhealth = 4000},

["Abra"] = {chance = 200, corpse = 2905, health = 620, maxhealth = 620},

["Shiny Abra"] = {chance = 50, corpse = 8771, health = 10000, maxhealth = 10000},

["Kadabra"] = {chance = 100, corpse = 6060, health = 2500, maxhealth = 2500},

["Alakazam"] = {chance = 50, corpse = 6057, health = 4000, maxhealth = 4000},

["Shiny Alakazam"] = {chance = 25, corpse = 6057, health = 20000, maxhealth = 20000},

["Charmander"] = {chance = 45, corpse = 5983, health = 970, maxhealth = 970},

["Charmeleon"] = {chance = 45, corpse = 5981, health = 2900, maxhealth = 2900},

["Charizard"] = {chance = 45, corpse = 6005, health = 5200, maxhealth = 5200},

["Blastoise"] = {chance = 45, corpse =5999, health = 5900, maxhealth = 5900},

["Shiny Blastoise"] = {chance = 25, corpse =5950, health = 12000, maxhealth = 12000},

["Wartortle"] = {chance = 45, corpse =5978, health = 2800, maxhealth = 2800},

["Squirtle"] = {chance = 45, corpse =6008, health = 1350, maxhealth = 1350},

["Caterpie"] = {chance = 255, corpse =5970, health = 300, maxhealth = 300},

["Metapod"] = {chance = 120, corpse =5971, health = 1100, maxhealth = 1100},

["Butterfree"] = {chance = 45, corpse =5985, health = 2000, maxhealth = 2000},

["Shiny butterfle"] = {chance = 25, corpse =8762, health = 4000, maxhealth = 4000},

["Weedle"] = {chance = 255, corpse =5964, health = 325, maxhealth = 325},

["Kakuna"] = {chance = 120, corpse =6000, health = 900, maxhealth = 900},

["Beedrill"] = {chance = 45, corpse =5990, health = 1900, maxhealth = 1900},

["Shiny Bedril"] = {chance = 25, corpse =8767, health = 4000, maxhealth = 4000},

["Pidgey"] = {chance = 255, corpse =5961, health = 380, maxhealth = 380},

["Pidgeotto"] = {chance = 120, corpse =5966 , health = 1400, maxhealth = 1400},

["Pidgeot"] = {chance = 45, corpse =6020, health = 3800, maxhealth = 3800},

["Rattata"] = {chance = 255, corpse =5974, health = 350, maxhealth = 350},

["Shiny Rattata"] = {chance = 125, corpse =8751, health = 800, maxhealth = 800},

["Raticate"] = {chance = 127, corpse =6007, health = 900, maxhealth = 900},

["Shiny Raticate"] = {chance = 63, corpse =8765, health = 1800, maxhealth = 1800},

["Spearow"] = {chance = 255, corpse =5968, health = 450, maxhealth = 450},

["Fearow"] = {chance = 90, corpse =5992, health = 3300, maxhealth = 3300},

["Ekans"] = {chance = 255, corpse =5979, health = 600, maxhealth = 600},

["Arbok"] = {chance = 90, corpse =5984, health = 2900, maxhealth = 2900},

["Pikachu"] = {chance = 190, corpse =6001, health = 900, maxhealth = 900},

["Raichu"] = {chance = 75, corpse =5996, health = 3200, maxhealth = 3200},

["Shiny Raichu"] = {chance = 32,corpse =8770, health = 6400, maxhealth = 6400},

["Sandshrew"] = {chance = 255, corpse =5988, health = 700, maxhealth = 700},

["Sandslash"] = {chance = 90, corpse =6041, health = 3400, maxhealth = 3400},

["Nidoranfe"] = {chance = 235, corpse =6013, health = 600, maxhealth = 600},

["Nidorina"] = {chance = 120, corpse =6014, health = 2000, maxhealth = 2000},

["Nidoqueen"] = {chance = 45, corpse =6021, health = 4200, maxhealth = 4200},

["Nidoran"] = {chance = 235, corpse =6015, health = 650, maxhealth = 650},

["Nidorino"] = {chance = 120, corpse =6019, health = 2500, maxhealth = 2500},

["Nidoking"] = {chance = 45, corpse =5995, health = 4800, maxhealth = 4800},

["Clefairy"] = {chance = 150, corpse =2966, health = 600, maxhealth = 600},

["Clefable"] = {chance = 25, corpse =6006, health = 2400, maxhealth = 2400},

["Vulpix"] = {chance = 190, corpse =6003, health = 680, maxhealth = 680},

["Ninetales"] = {chance = 75, corpse =6040, health = 3400, maxhealth = 3400},

["Jigglypuff"] = {chance = 170, corpse =6011, health = 550, maxhealth = 550},

["Wigglytuff"] = {chance = 50, corpse =6012, health = 2900, maxhealth = 2900},

["Zubat"] = {chance = 255, corpse =5989, health = 450, maxhealth = 450},

["Shiny Zubat"] = {chance = 122, corpse =8750, health = 1000, maxhealth = 1000},

["Golbat"] = {chance = 90, corpse =6053, health = 1900, maxhealth = 1900},

["Oddish"] = {chance = 255, corpse =3008, health = 340, maxhealth = 340},

["Shiny Oddish"] = {chance = 122,corpse =8749, health = 700, maxhealth = 700},

["Gloom"] = {chance = 120, corpse =6017, health = 1400, maxhealth = 1400},

["Vileplume"] = {chance = 45, corpse =6025, health = 3300, maxhealth = 3300},

["Paras"] = {chance = 255, corpse =3007, health = 850, maxhealth = 850},

["Shiny Paras"] = {chance = 122, corpse =8743, health = 1800, maxhealth = 1800},

["Parasect"] = {chance = 75, corpse =6027, health = 3800, maxhealth = 3800},

["Shiny Parasect"] = {chance = 35, corpse =8756, health = 8000, maxhealth = 8000},

["Venonath"] = {chance = 190, corpse =5997, health = 1350, maxhealth = 1350},

["Venomoth"] = {chance = 75, corpse =2925, health = 3850, maxhealth = 3850},

["Diglet"] = {chance = 255, corpse =6023, health = 900, maxhealth = 900},

["Dugtrio"] = {chance = 50, corpse =6024, health = 3450, maxhealth = 3450},

["Meowth"] = {chance = 255, corpse =6034, health = 950, maxhealth = 950},

["Persian"] = {chance = 90, corpse =6009, health = 2250, maxhealth = 2250},

["Psyduck"] = {chance = 190, corpse =6029, health = 950, maxhealth = 950},

["Golduck"] = {chance = 75, corpse =6028, health = 4000, maxhealth = 4000},

["Mankey"] = {chance = 190, corpse =6035, health = 1050, maxhealth = 1050},

["Primeape"] = {chance = 75, corpse =6032, health = 4500, maxhealth = 4500},

["Ponyta"] = {chance = 190, corpse =5975, health = 1400, maxhealth = 1400},

["Rapidash"] = {chance = 60, corpse =4323, health = 5500, maxhealth = 5500},

["Slowpoke"] = {chance = 190, corpse =2926, health = 1200, maxhealth = 1200},

["Slowbro"] = {chance = 75, corpse =5986, health = 4600, maxhealth = 4600},

["Doduo"] = {chance = 190, corpse =2842, health = 600, maxhealth = 600},

["Dodrio"] = {chance = 45, corpse =6047, health = 2650, maxhealth = 2650},

["Seel"] = {chance = 190, corpse =6030, health = 1000, maxhealth = 1000},

["Dewgong"] = {chance = 75, corpse =6038, health = 5200, maxhealth = 5200},

["Magnemite"] = {chance = 190, corpse =6056, health = 450, maxhealth = 450},

["Magneton"] = {chance = 60, corpse =6076, health = 1750, maxhealth = 1750},

["Growlithe"] = {chance = 190, corpse =6036, health = 1000, maxhealth = 1000},

["Shiny Growlithe"] = {chance = 90, corpse =8742, health = 2000, maxhealth = 2000},

["Shiny Arcanine"] = {chance = 32, corpse =8746, health = 14000, maxhealth = 14000},

["Arcanine"] = {chance = 75, corpse =6031, health = 6800, maxhealth = 6800},

["Grimer"] = {chance = 190, corpse =6055, health = 600, maxhealth = 600},

["Shiny Grimer"] = {chance = 80, corpse =8752, health = 1200, maxhealth = 1200},

["Muk"] = {chance = 75, corpse =2845, health = 2400, maxhealth = 2400},

["Shiny Muk"] = {chance = 32, corpse =8747, health = 5000, maxhealth = 5000},

["Shellder"] = {chance = 190, corpse =2837, health = 800, maxhealth = 800},

["Cloyster"] = {chance = 60, corpse =2932, health = 5000, maxhealth = 5000},

["Gastly"] = {chance = 190, corpse =5993, health = 1000, maxhealth = 1000},

["Haunter"] = {chance = 90, corpse =6004, health = 3000, maxhealth = 3000},

["Gengar"] = {chance = 45, corpse =6336, health = 7000, maxhealth = 7000},

["Onix"] = {chance = 45, corpse =2990, health = 5300, maxhealth = 5300},

["Drowzee"] = {chance = 190, corpse =6026, health = 1150, maxhealth = 1150},

["Hypno"] = {chance = 75, corpse =6046, health = 4600, maxhealth = 4600},

["Shiny Krabby"] = {chance = 112, corpse =8755, health =1700, maxhealth =1700},

["Krabby"] = {chance = 225,corpse =6039, health = 850, maxhealth = 850},

["Shiny Kingler"] = {chance = 30, corpse =8769, health = 6600, maxhealth = 6600},

["Kingler"] = {chance = 60, corpse =6340, health = 3250, maxhealth = 3250},

["Voltorb"] = {chance = 190, corpse =6049, health = 620, maxhealth = 620},

["Shiny Voltorb"] = {chance = 140, corpse =8754, health = 1200, maxhealth = 1200},

["Electrode"] = {chance = 60, corpse =6051, health = 2000, maxhealth = 2000},

["Shiny Electrode"] = {chance = 30, corpse =8753, health = 4000, maxhealth = 4000},

["Exeggcute"] = {chance = 90, corpse =2982, health = 800, maxhealth = 800},

["Exeggutor"] = {chance = 45, corpse =3005, health = 4000, maxhealth = 4000}, -- PAREI AQUI!

["Cubone"] = {chance = 70, corpse =6050, health = 1200, maxhealth = 1200},

["Marowak"] = {chance = 40, corpse =6072, health = 3900, maxhealth = 3900},

["Hitmonlee"] = {chance = 20, corpse =6067, health = 5500, maxhealth = 5500},

["Hitmonchan"] = {chance = 20, corpse =5977, health = 5500, maxhealth = 5500},

["Goldeen"] = {chance = 100, corpse = 2970, health = 950, maxhealth = 950},

["Seaking"] = {chance = 50, corpse =3038, health = 2000, maxhealth = 2000},

["Koffing"] = {chance = 100, corpse = 2936, health = 900, maxhealth = 900},

["Weezing"] = {chance = 70, corpse =6306, health = 2800, maxhealth = 2800},

["Rhydon"] = {chance = 50, corpse = 2858, health = 7000, maxhealth = 7000},

["Rhyhorn"] = {chance = 70, corpse =3035, health = 3800, maxhealth = 3800},

["Chansey"] = {chance = 50, corpse = 6010, health = 7500, maxhealth = 7500},

["Tangela"] = {chance = 60, corpse = 5976, health = 3500, maxhealth = 3500},

["Kangaskhan"] = {chance = 30, corpse = 6073, health = 7000, maxhealth = 7000},

["Shiny Horsea"] = {chance = 70, corpse = 8768, health = 600, maxhealth = 600},

["Horsea"] = {chance = 150, corpse = 2973, health = 300, maxhealth = 300},

["Shiny Seadra"] = {chance = 60, corpse = 8760, health =5000, maxhealth = 5000 },

["Seadra"] = {chance = 60, corpse = 2872, health =2500, maxhealth = 2500 },

["Staryu"] = {chance = 150, corpse = 5987, health = 1050, maxhealth = 1050},

["Starmie"] = {chance = 60, corpse = 7320, health = 3800, maxhealth = 3800},

["Mr.mime"] = {chance = 30, corpse =6069, health = 5500, maxhealth = 5500},

["Scyther"] = {chance = 30, corpse =3002, health = 6500, maxhealth = 6500},

["Shiny Scyther"] = {chance = 5, corpse =8772, health = 13000, maxhealth = 13000},

["Jynx"] = {chance = 40, corpse = 6077, health = 6000, maxhealth = 6000},

["Shiny Jynx"] = {chance = 15, corpse = 8758, health = 12000, maxhealth = 12000},

["Electabuzz"] = {chance = 30, corpse =6065, health = 6800, maxhealth = 6800},

["Shiny Electabuzz"] = {chance = 15, corpse =8773, health = 14000, maxhealth = 14000},

["Magmar"] = {chance = 30, corpse =7283, health = 7200, maxhealth = 7200},

["Pinsir"] = {chance = 50, corpse = 7282, health = 4000, maxhealth = 4000},

["Tauros"] = {chance = 50, corpse = 6302, health = 4200, maxhealth = 4200},

["Magikarp"] = {chance = 700, corpse = 2818, health = 120, maxhealth = 120 },

["Shiny Magikarp"] = {chance = 200, corpse = 8766, health = 240, maxhealth = 240},

["Gyarados"] = {chance = 30, corpse = 6331, health = 7800, maxhealth = 7800},

["Shiny Gyarados"] = {chance = 10, corpse = 2020, health = 18000, maxhealth = 18000},

["Lapras"] = {chance = 20, corpse =6018, health = 7000, maxhealth = 7000},

["Ditto"] = {chance = 35, corpse =2817, health = 4000, maxhealth = 4000},

["Vaporeon"] = {chance = 50, corpse =5960, health = 4500, maxhealth = 4500},

["Eevee"] = {chance = 100, corpse =6364, health = 1500, maxhealth = 1500},

["Flareon"] = {chance = 50, corpse =6059, health = 4500, maxhealth = 4500},

["Jolteon"] = {chance = 50, corpse =6044, health = 4500, maxhealth = 4500},

["Porygon"] = {chance = 35, corpse =5963 , health = 1700, maxhealth = 1700},

["Omanyte"] = {chance = 60, corpse =5998, health = 1300, maxhealth = 1300},

["Omastar"] = {chance = 30, corpse =5994, health = 6000, maxhealth = 6000},

["Kabutops"] = {chance = 30, corpse = 6345, health = 6500, maxhealth = 6500},

["Kabuto"] = {chance = 60, corpse = 5972, health = 1300, maxhealth = 1300},

["Aerodactyl"] = {chance = 10, corpse = 6338, health = 8000, maxhealth = 8000},

["Snorlax"] = {chance = 30, corpse = 6016, health = 9500, maxhealth = 9500},

["Moltres"] = {chance = 1, corpse = 7330, health = 11000, maxhealth = 11000},

["Articuno"] = {chance = 1, corpse = 7256, health = 11000, maxhealth = 11000},

["Zapdos"] = {chance = 1, corpse = 6074, health = 11000, maxhealth = 11000},

["Crystal Onix"] = {chance = 10, corpse = 6320, health = 10000, maxhealth = 10000},

["Mew"] = {chance = 1, corpse = 2939, health = 7200, maxhealth = 7200},

["Mewtwo"] = {chance = 1, corpse = 5973, health = 8500, maxhealth = 8500},

["Elder Charizard"] = {chance = 10, corpse = 2954, health = 10000, maxhealth = 10000},

["Dragonite"] = {chance = 10, corpse = 4295, health = 10800, maxhealth = 10800},

["Dragonair"] = {chance = 20, corpse = 6002, health = 5600, maxhealth = 5600},

["Dratini"] = {chance = 40, corpse = 2879, health = 1200, maxhealth = 1200},

["Farfetch'd"] = {chance = 80, corpse = 2836, health = 3000, maxhealth = 3000},

["Shiny Farfetch'd"] = {chance = 100, corpse = 8745, health = 6000, maxhealth = 6000}

}

 

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

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.corpse then

doRemoveItem(item.uid, 1)

doRemoveItem(item2.uid, 1)

if math.random(0,100) <= ((rate)*(x.chance)/10) 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 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.")

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.."!")

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

 

 

Todas As Boxs Configuradas Com Life Do Go/Back

 

http://www.multiupload.com/179TAOWA90

Depois De Baixar Bote Esse Arquivo Chamado All Boxs Em:

Actions/Scrips e Depois Volte Em Actions.Xml

E Adicione As Seguintes Tags

<action itemid="7891" event="script" value="box4.lua"/>

<action itemid="7886" event="script" value="box3.lua"/>

<action itemid="7885" event="script" value="box2.lua"/>

<action itemid="7884" event="script" value="box.lua"/>

 

Lembre-se de tirar o Peso das Box em Items.xml

 

Explicando:

So vai ser possivel abri-la se vc tiver o Cap maior que ZERO, assim o player não ficara com 7 pokes na bag

Bom Eu Configurei Cada Box Para Lvl Exatamente Igual Ao Do P.O

Mais Se Alguem Quiser Editar Do Seu Gosto O Lvl Edita Em

if getPlayerLevel(cid) >= ? ==

 

 

m1,m2 e m6 Bom Estou Pulando Do m2 Ao m6 Simplesmente Porque Eu Peguei O m1 e o m2 De Outro Topico E Comecei A Editar Dos Mais Dificeis Que è O m6

 

http://www.multiupload.com/7E7XRA75TX

Depois De Baixar Bote Esse Arquivo Em:

Talkactions/Scripts E Substitua Pelos Que Ja Tem Ae

 

 

Evolution 100%

 

Actions/Scripts crie 1 arquivo LUA chamado evolution e adicione isso dentro :

 

local fotos = {

["Bulbasaur"] = {fotopoke = 2377},

["Ivysaur"] = {fotopoke = 2378},

["Venusaur"] = {fotopoke = 2379},

["Charmander"] = {fotopoke = 2380},

["Charmeleon"] = {fotopoke = 2381},

["Charizard"] = {fotopoke = 2382},

["Squirtle"] = {fotopoke = 2383},

["Wartortle"] = {fotopoke = 2384},

["Blastoise"] = {fotopoke = 2385},

["Caterpie"] = {fotopoke = 2386},

["Metapod"] = {fotopoke = 2387},

["Butterfree"] = {fotopoke = 2388},

["Weedle"] = {fotopoke = 2389},

["Kakuna"] = {fotopoke = 2390},

["Beedrill"] = {fotopoke = 2391},

["Pidgey"] = {fotopoke = 2392},

["Pidgeotto"] = {fotopoke = 2393},

["Pidgeot"] = {fotopoke = 2394},

["Rattata"] = {fotopoke = 2395},

["Raticate"] = {fotopoke = 2396},

["Spearow"] = {fotopoke = 2397},

["Fearow"] = {fotopoke = 2398},

["Ekans"] = {fotopoke = 2399},

["Arbok"] = {fotopoke = 2400},

["Pikachu"] = {fotopoke = 2401},

["Raichu"] = {fotopoke = 2402},

["Sandshrew"] = {fotopoke = 2403},

["Sandslash"] = {fotopoke = 2404},

["Nidoran Female"] = {fotopoke = 2405},

["Nidorina"] = {fotopoke = 2406},

["Nidoqueen"] = {fotopoke = 2407},

["Nidoran Male"] = {fotopoke = 2408},

["Nidorino"] = {fotopoke = 2409},

["Nidoking"] = {fotopoke = 2410},

["Clefairy"] = {fotopoke = 2411},

["Clefable"] = {fotopoke = 2412},

["Vulpix"] = {fotopoke = 2413},

["Ninetales"] = {fotopoke = 2414},

["Jigglypuff"] = {fotopoke = 2415},

["Wigglytuff"] = {fotopoke = 2416},

["Zubat"] = {fotopoke = 2417},

["Golbat"] = {fotopoke = 2418},

["Oddish"] = {fotopoke = 2419},

["Gloom"] = {fotopoke = 2420},

["Vileplume"] = {fotopoke = 2421},

["Paras"] = {fotopoke = 2422},

["Parasect"] = {fotopoke = 2423},

["Venonat"] = {fotopoke = 2424},

["Venomoth"] = {fotopoke = 2425},

["Diglett"] = {fotopoke = 2426},

["Dugtrio"] = {fotopoke = 2427},

["Meowth"] = {fotopoke = 2428},

["Persian"] = {fotopoke = 2429},

["Psyduck"] = {fotopoke = 2430},

["Golduck"] = {fotopoke = 2431},

["Mankey"] = {fotopoke = 2432},

["Primeape"] = {fotopoke = 2433},

["Growlithe"] = {fotopoke = 2434},

["Arcanine"] = {fotopoke = 2435},

["Poliwag"] = {fotopoke = 2436},

["Poliwhirl"] = {fotopoke = 2437},

["Poliwrath"] = {fotopoke = 2438},

["Abra"] = {fotopoke = 2439},

["Kadabra"] = {fotopoke = 2440},

["Alakazam"] = {fotopoke = 2441},

["Machop"] = {fotopoke = 2442},

["Machoke"] = {fotopoke = 2443},

["Machamp"] = {fotopoke = 2444},

["Bellsprout"] = {fotopoke = 2445},

["Weepinbell"] = {fotopoke = 2446},

["Victreebel"] = {fotopoke = 2447},

["Tentacool"] = {fotopoke = 2448},

["Tentacruel"] = {fotopoke = 2449},

["Geodude"] = {fotopoke = 2450},

["Graveler"] = {fotopoke = 2451},

["Golem"] = {fotopoke = 2452},

["Ponyta"] = {fotopoke = 2453},

["Rapidash"] = {fotopoke = 2454},

["Slowpoke"] = {fotopoke = 2455},

["Slowbro"] = {fotopoke = 2456},

["Magnemite"] = {fotopoke = 2457},

["Magneton"] = {fotopoke = 2458},

["Farfetchd"] = {fotopoke = 2459},

["Doduo"] = {fotopoke = 2460},

["Dodrio"] = {fotopoke = 2461},

["Seel"] = {fotopoke = 2462},

["Dewgong"] = {fotopoke = 2463},

["Grimer"] = {fotopoke = 2464},

["Muk"] = {fotopoke = 2465},

["Shellder"] = {fotopoke = 2466},

["Cloyster"] = {fotopoke = 2467},

["Gastly"] = {fotopoke = 2468},

["Haunter"] = {fotopoke = 2469},

["Gengar"] = {fotopoke = 2470},

["Onix"] = {fotopoke = 2471},

["Drowzee"] = {fotopoke = 2472},

["Hypno"] = {fotopoke = 2473},

["Krabby"] = {fotopoke = 2474},

["Kingler"] = {fotopoke = 2475},

["Voltorb"] = {fotopoke = 2476},

["Electrode"] = {fotopoke = 2477},

["Exeggcute"] = {fotopoke = 2478},

["Exeggutor"] = {fotopoke = 2479},

["Cubone"] = {fotopoke = 2480},

["Marowak"] = {fotopoke = 2481},

["Hitmonlee"] = {fotopoke = 2482},

["Hitmonchan"] = {fotopoke = 2483},

["Lickitung"] = {fotopoke = 2484},

["Koffing"] = {fotopoke = 2485},

["Weezing"] = {fotopoke = 2486},

["Rhyhorn"] = {fotopoke = 2487},

["Rhydon"] = {fotopoke = 2488},

["Chansey"] = {fotopoke = 2489},

["Tangela"] = {fotopoke = 2490},

["Kangaskhan"] = {fotopoke = 2491},

["Horsea"] = {fotopoke = 2492},

["Seadra"] = {fotopoke = 2493},

["Goldeen"] = {fotopoke = 2494},

["Seaking"] = {fotopoke = 2495},

["Staryu"] = {fotopoke = 2496},

["Starmie"] = {fotopoke = 2497},

["Mr Mime"] = {fotopoke = 2498},

["Scyther"] = {fotopoke = 2499},

["Jynx"] = {fotopoke = 2500},

["Electabuzz"] = {fotopoke = 2501},

["Magmar"] = {fotopoke = 2502},

["Pinsir"] = {fotopoke = 2503},

["Tauros"] = {fotopoke = 2504},

["Magikarp"] = {fotopoke = 2505},

["Gyarados"] = {fotopoke = 2506},

["Lapras"] = {fotopoke = 2507},

["Ditto"] = {fotopoke = 2508},

["Eevee"] = {fotopoke = 2509},

["Vaporeon"] = {fotopoke = 2510},

["Jolteon"] = {fotopoke = 2511},

["Flareon"] = {fotopoke = 2512},

["Porygon"] = {fotopoke = 2513},

["Omanyte"] = {fotopoke = 2514},

["Omastar"] = {fotopoke = 2515},

["Kabuto"] = {fotopoke = 2516},

["Kabutops"] = {fotopoke = 2517},

["Aerodactyl"] = {fotopoke = 2518},

["Snorlax"] = {fotopoke = 2519},

["Articuno"] = {fotopoke = 2520},

["Zapdos"] = {fotopoke = 2521},

["Moltres"] = {fotopoke = 2522},

["Dratini"] = {fotopoke = 2523},

["Dragonair"] = {fotopoke = 2524},

["Dragonite"] = {fotopoke = 2525},

["Mewtwo"] = {fotopoke = 2526},

["Mew"] = {fotopoke = 2527},

["Elder Charizard"] = {fotopoke = 2527},

["Crystal Onix"] = {fotopoke = 2527},

}

 

local poken = {

["Bulbasaur"] = {level = 20, cons = 43, vida = 1200},

["Ivysaur"] = {level = 40, cons = 86, vida = 2600},

["Venusaur"] = {level = 85, cons = 189, vida = 5200},

["Charmander"] = {level = 20, cons = 30, vida = 970},

["Charmeleon"] = {level = 40, cons = 70, vida = 2900},

["Charizard"] = {level = 85, cons = 140, vida = 5200},

["Squirtle"] = {level = 20, cons = 47, vida = 1350},

["Wartortle"] = {level = 40, cons = 93, vida = 2800},

["Blastoise"] = {level = 85, cons = 194, vida = 5900},

["Caterpie"] = {level = 1, cons = 13, vida = 300},

["Metapod"] = {level = 10, cons = 30, vida = 1100},

["Butterfree"] = {level = 30, cons = 56, vida = 2000},

["Weedle"] = {level = 1, cons = 16, vida = 325},

["Kakuna"] = {level = 10, cons = 32, vida = 900},

["Beedrill"] = {level = 30, cons = 64, vida = 1900},

["Pidgey"] = {level = 1, cons = 22, vida = 380},

["Pidgeotto"] = {level = 20, cons = 47, vida = 1400},

["Pidgeot"] = {level = 65, cons = 101, vida = 3800},

["Rattata"] = {level = 1, cons = 19, vida = 350},

["Raticate"] = {level = 20, cons = 68, vida = 900},

["Spearow"] = {level = 5, cons = 22, vida = 450},

["Fearow"] = {level = 50, cons = 95, vida = 3300},

["Ekans"] = {level = 12, cons = 27, vida = 600},

["Arbok"] = {level = 30, cons = 87, vida = 2900},

["Pikachu"] = {level = 20, cons = 32, vida = 900},

["Raichu"] = {level = 50, cons = 99, vida = 3200},

["Sandshrew"] = {level = 18, cons = 30, vida = 700},

["Sandslash"] = {level = 55, cons = 96, vida = 3400},

["Nidoran Female"] = {level = 10, cons = 27, vida = 600},

["Nidorina"] = {level = 25, cons = 58, vida = 2000},

["Nidoqueen"] = {level = 65, cons = 146, vida = 4200},

["Nidoran Male"] = {level = 10, cons = 34, vida = 650},

["Nidorino"] = {level = 25, cons = 74, vida = 2500},

["Nidoking"] = {level = 65, cons = 169, vida = 4800},

["Clefairy"] = {level = 10, cons = 30, vida = 600},

["Clefable"] = {level = 35, cons = 90, vida = 2400},

["Vulpix"] = {level = 20, cons = 32, vida = 680},

["Ninetales"] = {level = 65, cons = 121, vida = 3400},

["Jigglypuff"] = {level = 10, cons = 30, vida = 550},

["Wigglytuff"] = {level = 42, cons = 95, vida = 2900},

["Zubat"] = {level = 5, cons = 28, vida = 450},

["Golbat"] = {level = 30, cons = 70, vida = 1900},

["Oddish"] = {level = 5, cons = 21, vida = 340},

["Gloom"] = {level = 18, cons = 51, vida = 1400},

["Vileplume"] = {level = 50, cons = 96, vida = 3300},

["Paras"] = {level = 1, cons = 40, vida = 850},

["Parasect"] = {level = 50, cons = 110, vida = 3800},

["Venonat"] = {level = 18, cons = 50, vida = 1350},

["Venomoth"] = {level = 50, cons = 125, vida = 3850},

["Diglett"] = {level = 5, cons = 45, vida = 900},

["Dugtrio"] = {level = 35, cons = 110, vida = 3450},

["Meowth"] = {level = 12, cons = 52, vida = 950},

["Persian"] = {level = 25, cons = 85, vida = 2250},

["Psyduck"] = {level = 12, cons = 50, vida = 950},

["Golduck"] = {level = 55, cons = 150, vida = 4000},

["Mankey"] = {level = 10, cons = 60, vida = 1050},

["Primeape"] = {level = 45, cons = 155, vida = 4500},

["Growlithe"] = {level = 20, cons = 60, vida = 1000},

["Arcanine"] = {level = 80, cons = 170, vida = 6800},

["Poliwag"] = {level = 5, cons = 20, vida = 400},

["Poliwhirl"] = {level = 20, cons = 44, vida = 1200},

["Poliwrath"] = {level = 65, cons = 138, vida = 4400},

["Abra"] = {level = 10, cons = 20, vida = 620},

["Kadabra"] = {level = 45, cons = 57, vida = 2500},

["Alakazam"] = {level = 80, cons = 94, vida = 4000},

["Machop"] = {level = 18, cons = 60, vida = 1100},

["Machoke"] = {level = 40, cons = 110, vida = 3500},

["Machamp"] = {level = 65, cons = 185, vida = 7500},

["Bellsprout"] = {level = 5, cons = 24, vida = 420},

["Weepinbell"] = {level = 18, cons = 49, vida = 1100},

["Victreebel"] = {level = 50, cons = 117, vida = 4000},

["Tentacool"] = {level = 12, cons = 52, vida = 1050},

["Tentacruel"] = {level = 70, cons = 165, vida = 7050},

["Geodude"] = {level = 15, cons = 30, vida = 700},

["Graveler"] = {level = 40, cons = 82, vida = 3000},

["Golem"] = {level = 70, cons = 111, vida = 6500},

["Ponyta"] = {level = 20, cons = 60, vida = 1400},

["Rapidash"] = {level = 60, cons = 160, vida = 5500},

["Slowpoke"] = {level = 12, cons = 55, vida = 1200},

["Slowbro"] = {level = 45, cons = 110, vida = 4600},

["Magnemite"] = {level = 15, cons = 27, vida = 450},

["Magneton"] = {level = 40, cons = 67, vida = 1750},

["Farfetchd"] = {level = 40, cons = 95, vida = 3000},

["Doduo"] = {level = 12, cons = 31, vida = 600},

["Dodrio"] = {level = 45, cons = 78, vida = 2650},

["Seel"] = {level = 20, cons = 50, vida = 1000},

["Dewgong"] = {level = 65, cons = 135, vida = 5200},

["Grimer"] = {level = 12, cons = 30, vida = 600},

["Muk"] = {level = 30, cons = 85, vida = 2400},

["Shellder"] = {level = 5, cons = 45, vida = 800},

["Cloyster"] = {level = 65, cons = 155, vida = 5000},

["Gastly"] = {level = 18, cons = 50, vida = 1000},

["Haunter"] = {level = 45, cons = 105, vida = 3000},

["Gengar"] = {level = 80, cons = 175, vida = 7000},

["Onix"] = {level = 50, cons = 150, vida = 5300},

["Drowzee"] = {level = 22, cons = 58, vida = 1150},

["Hypno"] = {level = 50, cons = 100, vida = 4600},

["Krabby"] = {level = 5, cons = 45, vida = 850},

["Kingler"] = {level = 35, cons = 100, vida = 3250},

["Voltorb"] = {level = 14, cons = 30, vida = 620},

["Electrode"] = {level = 38, cons = 76, vida = 2000},

["Exeggcute"] = {level = 8, cons = 42, vida = 800},

["Exeggutor"] = {level = 48, cons = 98, vida = 4000},

["Cubone"] = {level = 18, cons = 58, vida = 1200},

["Marowak"] = {level = 45, cons = 105, vida = 3900},

["Hitmonlee"] = {level = 60, cons = 140, vida = 5500},

["Hitmonchan"] = {level = 60, cons = 140, vida = 5500},

["Lickitung"] = {level = 45, cons = 100, vida = 4800},

["Koffing"] = {level = 15, cons = 60, vida = 900},

["Weezing"] = {level = 30, cons = 100, vida = 2800},

["Rhyhorn"] = {level = 35, cons = 80, vida = 3800},

["Rhydon"] = {level = 65, cons = 175, vida = 7000},

["Chansey"] = {level = 60, cons = 130, vida = 7500},

["Tangela"] = {level = 40, cons = 85, vida = 3500},

["Kangaskhan"] = {level = 60, cons = 160, vida = 7000},

["Horsea"] = {level = 5, cons = 19, vida = 300},

["Seadra"] = {level = 45, cons = 68, vida = 2500},

["Goldeen"] = {level = 10, cons = 50, vida = 950},

["Seaking"] = {level = 25, cons = 80, vida = 2000},

["Staryu"] = {level = 15, cons = 55, vida = 1050},

["Starmie"] = {level = 45, cons = 95, vida = 3800},

["Mr Mime"] = {level = 60, cons = 110, vida = 5500},

["Scyther"] = {level = 70, cons = 145, vida = 6500},

["Jynx"] = {level = 65, cons = 125, vida = 6000},

["Electabuzz"] = {level = 70, cons = 150, vida = 2500},

["Magmar"] = {level = 70, cons = 160, vida = 7200},

["Pinsir"] = {level = 42, cons = 95, vida = 4000},

["Tauros"] = {level = 40, cons = 100, vida = 4200},

["Magikarp"] = {level = 1, cons = 5, vida = 120},

["Gyarados"] = {level = 75, cons = 195, vida = 7800},

["Lapras"] = {level = 70, cons = 140, vida = 7000},

["Ditto"] = {level = 40, cons = 100, vida = 4000},

["Eevee"] = {level = 20, cons = 55, vida = 1500},

["Vaporeon"] = {level = 55, cons = 110, vida = 4500},

["Jolteon"] = {level = 55, cons = 110, vida = 4500},

["Flareon"] = {level = 55, cons = 110, vida = 4500},

["Porygon"] = {level = 45, cons = 10, vida = 100},

["Omanyte"] = {level = 20, cons = 55, vida = 1300},

["Omastar"] = {level = 70, cons = 140, vida = 6000},

["Kabuto"] = {level = 20, cons = 55, vida = 1300},

["Kabutops"] = {level = 70, cons = 150, vida = 6500},

["Aerodactyl"] = {level = 100, cons = 190, vida = 8000},

["Snorlax"] = {level = 85, cons = 200, vida = 9500},

["Articuno"] = {level = 120, cons = 200, vida = 11000},

["Zapdos"] = {level = 120, cons = 200, vida = 11000},

["Moltres"] = {level = 120, cons = 200, vida = 11000},

["Dratini"] = {level = 10, cons = 55, vida = 1200},

["Dragonair"] = {level = 70, cons = 165, vida = 5600},

["Dragonite"] = {level = 100, cons = 250, vida = 10800},

["Mewtwo"] = {level = 100, cons = 175, vida = 8500},

["Mew"] = {level = 100, cons = 125, vida = 7200},

["Elder Charizard"] = {level = 100, cons = 125, vida = 1200},

["Onix Crystal"] = {level = 100, cons = 125, vida = 7200},

["Shiny Tentacruel"] = {level = 85, cons = 125, vida = 4800},

}

 

local pokes = {

["Bulbasaur"] = {level = 40, evolution = "Ivysaur", maxh = 2900, count = 1, stoneid = 2276, stoneid2 = 0},

["Ivysaur"] = {level = 85, evolution = "Venusaur", maxh = 5200, count = 2, stoneid = 2276, stoneid2 = 0},

["Charmander"] = {level = 40, evolution = "Charmeleon", maxh = 2900, count = 1, stoneid = 2283, stoneid2 = 0},

["Charmeleon"] = {level = 85, evolution = "Charizard", maxh = 5200, count = 2, stoneid = 2283, stoneid2 = 0},

["Squirtle"] = {level = 40, evolution = "Wartortle", maxh = 2900, count = 1, stoneid = 2277, stoneid2 = 0},

["Wartortle"] = {level = 85, evolution = "Blastoise", maxh = 5200, count = 2, stoneid = 2277, stoneid2 = 0},

["Caterpie"] = {level = 15, evolution = "Metapod", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0},

["Metapod"] = {level = 30, evolution = "Butterfree", maxh = 1400, count = 2, stoneid = 2284, stoneid2 = 0},

["Weedle"] = {level = 15, evolution = "Kakuna", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0},

["Kakuna"] = {level = 25, evolution = "Beedrill", maxh = 1400, count = 2, stoneid = 2284, stoneid2 = 0},

["Pidgey"] = {level = 20, evolution = "Pidgeotto", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},

["Pidgeotto"] = {level = 65, evolution = "Pidgeot", maxh = 1400, count = 2, stoneid = 2289, stoneid2 = 0},

["Rattata"] = {level = 25, evolution = "Raticate", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},

["Spearow"] = {level = 50, evolution = "Fearow", maxh = 1400, count = 2, stoneid = 2289, stoneid2 = 0},

["Ekans"] = {level = 35, evolution = "Arbok", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},

["Pikachu"] = {level = 50, evolution = "Raichu", maxh = 1400, count = 2, stoneid = 2279, stoneid2 = 0},

["Sandshrew"] = {level = 55, evolution = "Sandslash", maxh = 1400, count = 2, stoneid = 2287, stoneid2 = 0},

["Nidoran Female"] = {level = 30, evolution = "Nidorina", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},

["Nidorina"] = {level = 65, evolution = "Nidoqueen", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 2287},

["Nidoran Male"] = {level = 30, evolution = "Nidorino", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},

["Nidorino"] = {level = 65, evolution = "Nidoking", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 2287},

["Clefairy"] = {level = 45, evolution = "Clefable", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},

["Vulpix"] = {level = 70, evolution = "Ninetales", maxh = 1400, count = 2, stoneid = 2283, stoneid2 = 0},

["Jigglypuff"] = {level = 45, evolution = "Wigglytuff", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},

["Zubat"] = {level = 35, evolution = "Golbat", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},

["Oddish"] = {level = 25, evolution = "Gloom", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 0},

["Gloom"] = {level = 50, evolution = "Vileplume", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 2278},

["Paras"] = {level = 50, evolution = "Parasect", maxh = 1400, count = 2, stoneid = 2284, stoneid2 = 0},

["Venonat"] = {level = 50, evolution = "Venomoth", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 2278},

["Diglett"] = {level = 35, evolution = "Dugtrio", maxh = 1400, count = 1, stoneid = 2287, stoneid2 = 0},

["Meowth"] = {level = 30, evolution = "Persian", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},

["Psyduck"] = {level = 55, evolution = "Golduck", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2288},

["Mankey"] = {level = 50, evolution = "Primeape", maxh = 1400, count = 1, stoneid = 2281, stoneid2 = 0},

["Growlithe"] = {level = 80, evolution = "Arcanine", maxh = 1400, count = 2, stoneid = 2283, stoneid2 = 0},

["Poliwag"] = {level = 25, evolution = "Poliwhirl", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},

["Poliwhirl"] = {level = 65, evolution = "Poliwrath", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2281},

["Abra"] = {level = 45, evolution = "Kadabra", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0},

["Kadabra"] = {level = 80, evolution = "Alakazam", maxh = 1400, count = 2, stoneid = 2288, stoneid2 = 0},

["Machop"] = {level = 45, evolution = "Machoke", maxh = 1400, count = 1, stoneid = 2281, stoneid2 = 0},

["Machoke"] = {level = 70, evolution = "Machamp", maxh = 1400, count = 2, stoneid = 2281, stoneid2 = 0},

["Bellsprout"] = {level = 25, evolution = "Weepinbell", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 0},

["Weepinbell"] = {level = 50, evolution = "Victreebel", maxh = 1400, count = 2, stoneid = 2276, stoneid2 = 0},

["Tentacool"] = {level = 75, evolution = "Tentacruel", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2278},

["Geodude"] = {level = 40, evolution = "Graveler", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 0},

["Graveler"] = {level = 70, evolution = "Golem", maxh = 1400, count = 2, stoneid = 2280, stoneid2 = 0},

["Ponyta"] = {level = 55, evolution = "Rapidash", maxh = 1400, count = 1, stoneid = 2283, stoneid2 = 0},

["Slowpoke"] = {level = 45, evolution = "Slowbro", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0},

["Magnemite"] = {level = 40, evolution = "Magneton", maxh = 1400, count = 1, stoneid = 2279, stoneid2 = 0},

["Doduo"] = {level = 45, evolution = "Dodrio", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},

["Seel"] = {level = 65, evolution = "Dewgong", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2290},

["Grimer"] = {level = 45, evolution = "Muk", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},

["Shellder"] = {level = 60, evolution = "Cloyster", maxh = 1400, count = 2, stoneid = 2290, stoneid2 = 0},

["Gastly"] = {level = 45, evolution = "Haunter", maxh = 1400, count = 1, stoneid = 2286, stoneid2 = 0},

["Haunter"] = {level = 80, evolution = "Gengar", maxh = 1400, count = 2, stoneid = 2286, stoneid2 = 0},

["Drowzee"] = {level = 55, evolution = "Hypno", maxh = 1400, count = 2, stoneid = 2288, stoneid2 = 0},

["Krabby"] = {level = 40, evolution = "Kingler", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},

["Voltorb"] = {level = 35, evolution = "Electrode", maxh = 1400, count = 1, stoneid = 2279, stoneid2 = 0},

["Exeggcute"] = {level = 55, evolution = "Exeggutor", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 2288},

["Cubone"] = {level = 55, evolution = "Marowak", maxh = 1400, count = 2, stoneid = 2287, stoneid2 = 0},

["Koffing"] = {level = 35, evolution = "Weezing", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},

["Rhyhorn"] = {level = 75, evolution = "Rhydon", maxh = 1400, count = 2, stoneid = 2280, stoneid2 = 0},

["Horsea"] = {level = 45, evolution = "Seadra", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},

["Goldeen"] = {level = 35, evolution = "Seaking", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},

["Staryu"] = {level = 15, evolution = "Starmie", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},

["Magikarp"] = {level = 85, evolution = "Gyarados", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2285},

["Omanyte"] = {level = 80, evolution = "Omastar", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2285},

["Kabuto"] = {level = 80, evolution = "Kabutops", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 2285},

["Dratini"] = {level = 60, evolution = "Dragonair", maxh = 1400, count = 1, stoneid = 2285, stoneid2 = 0},

["Dragonair"] = {level = 60, evolution = "Dragonite", maxh = 1400, count = 2, stoneid = 2285, stoneid2 = 0},

}

 

local types = {

["Leaf"] = {itemid = 2276, "Bulbasaur", "Ivysaur", "Oddish", "Gloom", "Bellsprout", "Weepinbell", "Exeggcute"},

["Water"] = {itemid = 2277, "Squirtle", "Wartortle", "Horsea", "Goldeen", "Magikarp", "Psyduck", "Poliwag", "Poliwhirl", "Tentacool", "Krabby", "Staryu", "Omanyte", "Eevee"},

["Venom"] = {itemid = 2278, "Zubat", "Ekans", "Nidoran male", "Nidoran female", "Nidorino", "Nidorina", "Gloom", "Venonat", "Tentacool", "Grimer", "Koffing"},

["Thunder"] = {itemid = 2279, "Magnemite", "Pikachu", "Voltorb", "Eevee"},

["Rock"] = {itemid = 2280, "Geodude", "Graveler", "Rhyhorn", "Kabuto"},

["Punch"] = {itemid = 2281, "Machop", "Machoke", "Mankey", "Poliwhirl"},

["Fire"] = {itemid = 2283, "Charmander", "Charmeleon", "Vulpix", "Growlithe", "Ponyta", "Eevee"},

["Coccon"] = {itemid = 2284, "Caterpie", "Metapod", "Weedle", "Kakuna", "Paras", "Venonat", "Dragon Lord"},

["Crystal"] = {itemid = 2285, "Dratini", "Dragonair", "Magikarp", "Omanyte", "Kabuto"},

["Darkness"] = {itemid = 2286, "Gastly", "Haunter"},

["Earth"] = {itemid = 2287, "Cubone", "Sandshrew", "Nidorino", "Nidorina", "Diglett"},

["Enigma"] = {itemid = 2288, "Abra", "Kadabra", "Psyduck", "Slowpoke", "Drowzee"},

["Heart"] = {itemid = 2289, "Rattata", "Pidgey", "Pidgeotto", "Spearow", "Clefairy", "Jigglypuff", "Meowth", "Doduo"},

["Ice"] = {itemid = 2290, "Seel", "Shellder"},

}

 

local eevee = {'2277', '2279', '2283'}

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

if not isMonster(item2.uid) then

return true

end

if not isPlayer(getCreatureMaster(item2.uid)) or getCreatureMaster(item2.uid) ~= cid then

doPlayerSendCancel(cid, "You can only use stones on pokemons you own.")

return true

end

for i,x in pairs(types) do

if getPlayerSlotItem(cid, 7).itemid ~= fotos[getCreatureName(item2.uid)].fotopoke then

return doPlayerSendCancel(cid, "Plase, keep your pokemon's ball at the right place during evolution!")

end

if item.itemid == x.itemid then

if isPlayerSummon(cid, item2.uid) then

if table.find(x, getCreatureName(item2.uid)) then

if getCreatureName(item2.uid) == "Eevee" then

if item.itemid == 2279 then

if getPlayerLevel(cid) < 55 then

return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).")

end

local pokeball = getPlayerSlotItem(cid, 8)

doItemSetAttribute(pokeball.uid, "poke", "This is Jolteon's pokeball. HP = [100/100]")

doItemSetAttribute(pokeball.uid, "description", "Contains a Jolteon.")

doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Jolteon!")

doSendMagicEffect(topos, 18)

doTransformItem(getPlayerSlotItem(cid, 7).uid, 2511)

doSendMagicEffect(getThingPos(cid), 173)

local oldpos = getThingPos(item2.uid)

doRemoveCreature(item2.uid)

doSummonMonster(cid, "Jolteon")

local pk = getCreatureSummons(cid)[1]

registerCreatureEvent(pk, "DiePoke")

registerCreatureEvent(pk, "Exp")

doTeleportThing(pk, oldpos, false)

doCreatureSetLookDir(pk, 2)

setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))

doCreatureAddHealth(pk, getCreatureMaxHealth(pk))

setPlayerStorageValue(cid, 2, 0)

doPlayerRemoveItem(cid, item.itemid, 1)

elseif item.itemid == 2277 then

if getPlayerLevel(cid) < 55 then

return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).")

end

local pokeball = getPlayerSlotItem(cid, 8)

doItemSetAttribute(pokeball.uid, "poke", "This is Vaporeon's pokeball. HP = [100/100]")

doItemSetAttribute(pokeball.uid, "description", "Contains a Vaporeon.")

doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Vaporeon!")

doSendMagicEffect(topos, 18)

doTransformItem(getPlayerSlotItem(cid, 7).uid, 2510)

doSendMagicEffect(getThingPos(cid), 173)

local oldpos = getThingPos(item2.uid)

doRemoveCreature(item2.uid)

doSummonMonster(cid, "Vaporeon")

local pk = getCreatureSummons(cid)[1]

registerCreatureEvent(pk, "DiePoke")

registerCreatureEvent(pk, "Exp")

doTeleportThing(pk, oldpos, false)

doCreatureSetLookDir(pk, 2)

setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))

doCreatureAddHealth(pk, getCreatureMaxHealth(pk))

setPlayerStorageValue(cid, 2, 0)

doPlayerRemoveItem(cid, item.itemid, 1)

elseif item.itemid == 2283 then

if getPlayerLevel(cid) < 55 then

return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).")

end

local pokeball = getPlayerSlotItem(cid, 8)

doItemSetAttribute(pokeball.uid, "poke", "This is Flareon's pokeball. HP = [100/100]")

doItemSetAttribute(pokeball.uid, "description", "Contains a Flareon.")

doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Flareon!")

doSendMagicEffect(topos, 18)

doTransformItem(getPlayerSlotItem(cid, 7).uid, 2512)

doSendMagicEffect(getThingPos(cid), 173)

local oldpos = getThingPos(item2.uid)

doRemoveCreature(item2.uid)

doSummonMonster(cid, "Flareon")

local pk = getCreatureSummons(cid)[1]

registerCreatureEvent(pk, "DiePoke")

registerCreatureEvent(pk, "Exp")

doTeleportThing(pk, oldpos, false)

doCreatureSetLookDir(pk, 2)

setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))

doCreatureAddHealth(pk, getCreatureMaxHealth(pk))

setPlayerStorageValue(cid, 2, 0)

doPlayerRemoveItem(cid, item.itemid, 1)

end

local i = getCreatureName(getCreatureSummons(cid)[1])

if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then

doPlayerAddSoul(cid, 1)

setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ")

end

return true

end

 

local count = pokes[getCreatureName(item2.uid)].count

local stnid = pokes[getCreatureName(item2.uid)].stoneid

local stnid2 = pokes[getCreatureName(item2.uid)].stoneid2

local evo = pokes[getCreatureName(item2.uid)].evolution

local levell = pokes[getCreatureName(item2.uid)].level

if stnid2 > 1 and getPlayerItemCount(cid, stnid2) < count then

return doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!")

end

if stnid2 > 1 and getPlayerItemCount(cid, stnid) < count then

return doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!")

end

if getPlayerItemCount(cid, stnid) < count then

return doPlayerSendCancel(cid, "You need at least "..count.." "..getItemNameById(stnid).."s to evolve this pokemon!")

end

if getPlayerLevel(cid) < pokes[getCreatureName(item2.uid)].level then

return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon ("..levell..").")

end

local owner = getCreatureMaster(item2.uid)

local pokeball = getPlayerSlotItem(cid, 8)

local description = "Contains a "..evo.."."

 

local nas = {

["%%pokename"] = pokes[getCreatureName(item2.uid)].evolution

}

for i,x in pairs(nas) do

if description:find(i) then

description = description:gsub(i, x)

end

end

local slo = pokes[getCreatureName(item2.uid)].maxh

local sle = pokes[getCreatureName(item2.uid)].evolution

 

doItemSetAttribute(pokeball.uid, "poke", "This is "..evo.."'s pokeball. HP = ["..pokes[getCreatureName(item2.uid)].maxh.."/"..pokes[getCreatureName(item2.uid)].maxh.."]")

doItemSetAttribute(pokeball.uid, "description", description)

doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a "..evo.."!")

doSendMagicEffect(topos, 18)

doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos[sle].fotopoke)

doSendMagicEffect(getThingPos(cid), 173)

local oldpos = getThingPos(item2.uid)

doRemoveCreature(item2.uid)

doSummonMonster(cid, sle)

local pk = getCreatureSummons(cid)[1]

registerCreatureEvent(pk, "DiePoke")

registerCreatureEvent(pk, "Exp")

doTeleportThing(pk, oldpos, false)

doCreatureSetLookDir(pk, 2)

setCreatureMaxHealth(pk, slo)

doCreatureAddHealth(pk, slo)

setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))

doCreatureAddHealth(pk, getCreatureMaxHealth(pk))

doPlayerRemoveItem(cid, stnid, count)

doPlayerRemoveItem(cid, stnid2, count)

setPlayerStorageValue(cid, 2, 0)

local i = getCreatureName(getCreatureSummons(cid)[1])

if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then

doPlayerAddSoul(cid, 1)

setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ")

end

break

else

return doPlayerSendCancel(cid, "Sorry, this is not the required stone to evolve this pokemon!")

end

end

end

end

return TRUE

end

 

Agora em Actions.xml adicione :

 

 

<action itemid="2276;2277;2278;2279;2280;2281;2283;2284;2285;2286;2287;2288;2289;2290" event="script" value="evolution.lua" allowfaruse="1"/>

 

 

[ Npc que compra Stones ] - Igual ao do Global , ow seja não eh por Trade

 

Npc/Scripts Crie um arquivo LUA chamado Flint e adicione isso dentro :

local keywordHandler = KeywordHandler:new()

local npcHandler = NpcHandler:new(keywordHandler)

NpcSystem.parseParameters(npcHandler)

local talkState = {}

 

function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end

function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end

function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end

function onThink() npcHandler:onThink() end

 

function creatureSayCallback(cid, type, msg)

if(not npcHandler:isFocused(cid)) then

return false

end

 

local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid

 

-- Conversa Jogador/NPC

if(msgcontains(msg, 'Offer') or msgcontains(msg, 'offer')) then

selfSay('Eu Compro {Fire Stone}, {Water Stone}, {Venom Stone}, {Thunder Stone}, {Rock Stone}, {Punch Stone}, {Leaf Stone}, {Coccon Stone}, {Crystal Stone}, {Darkness Stone}, {Earth Stone}, {Enigma Stone}, {Heart Stone}, e {Ice Stone}.', cid)

elseif(msgcontains(msg, 'Fire Stone') or msgcontains(msg, 'fire stone')) then

selfSay('Então Voc\ê quer vender uma Fire Stone por 4500 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 1

elseif(msgcontains(msg, 'Water Stone') or msgcontains(msg, 'water stone')) then

selfSay('Então Voc\ê quer vender uma Water Stone por 4500 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 2

elseif(msgcontains(msg, 'Venom Stone') or msgcontains(msg, 'venom stone')) then

selfSay('Então Voc\ê quer vender uma Venom Stone por 2000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 3

elseif(msgcontains(msg, 'Thunder Stone') or msgcontains(msg, 'thunder stone')) then

selfSay('Então Voc\ê quer vender uma Thunder Stone por 5000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 4

elseif(msgcontains(msg, 'Rock Stone') or msgcontains(msg, 'rock stone')) then

selfSay('Então Voc\ê quer vender uma Rock Stone por 4500 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 5

elseif(msgcontains(msg, 'Punch Stone') or msgcontains(msg, 'punch stone')) then

selfSay('Então Voc\ê quer vender uma Punch Stone por 5000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 6

elseif(msgcontains(msg, 'Leaf Stone') or msgcontains(msg, 'leaf stone')) then

selfSay('Então Voc\ê quer vender uma Leaf Stone por 3000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 7

elseif(msgcontains(msg, 'Coccon Stone') or msgcontains(msg, 'coccon stone')) then

selfSay('Então Voc\ê quer vender uma Coccon Stone por 1200 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 8

elseif(msgcontains(msg, 'Crystal Stone') or msgcontains(msg, 'crystal stone')) then

selfSay('Então Voc\ê quer vender uma Crystal Stone por 15000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 9

elseif(msgcontains(msg, 'Darkness Stone') or msgcontains(msg, 'darkness stone')) then

selfSay('Então Voc\ê quer vender uma Darkness Stone por 7000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 10

elseif(msgcontains(msg, 'Earth Stone') or msgcontains(msg, 'earth stone')) then

selfSay('Então Voc\ê quer vender uma Earth Stone por 4000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 11

elseif(msgcontains(msg, 'Enigma Stone') or msgcontains(msg, 'enigma stone')) then

selfSay('Então Voc\ê quer vender uma Enigma Stone por 7000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 12

elseif(msgcontains(msg, 'Heart Stone') or msgcontains(msg, 'heart stone')) then

selfSay('Então Voc\ê quer vender uma Heart Stone por 3000 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 13

elseif(msgcontains(msg, 'Ice Stone') or msgcontains(msg, 'ice stone')) then

selfSay('Então Voc\ê quer vender uma Ice Stone por 4500 dollars, voc\ê tem certeza?', cid)

talkState[talkUser] = 14

 

-- Confirmação da Compra

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then

if(doPlayerRemoveItem(cid, 2283, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 45)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 2) then

if(doPlayerRemoveItem(cid, 2277, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 45)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 3) then

if(doPlayerRemoveItem(cid, 2278, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 20)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 4) then

if(doPlayerRemoveItem(cid, 2279, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 50)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 5) then

if(doPlayerRemoveItem(cid, 2280, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 45)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 6) then

if(doPlayerRemoveItem(cid, 2281, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 50)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 7) then

if(doPlayerRemoveItem(cid, 2276, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 30)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 8) then

if(doPlayerRemoveItem(cid, 2284, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 12)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 9) then

if(doPlayerRemoveItem(cid, 2285, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 150)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 10) then

if(doPlayerRemoveItem(cid, 2286, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 70)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 11) then

if(doPlayerRemoveItem(cid, 2287, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 40)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 12) then

if(doPlayerRemoveItem(cid, 2288, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 70)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 13) then

if(doPlayerRemoveItem(cid, 2289, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 30)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 14) then

if(doPlayerRemoveItem(cid, 2290, 1) == true) then

selfSay('Obrigado!', cid)

doPlayerAddItem(cid, 2160, 45)

talkState[talkUser] = 0

else

selfSay('Desculpe, voc\ê n\ão tem esse item', cid)

talkState[talkUser] = 0

end

end

return TRUE

end

 

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)

npcHandler:addModule(FocusModule:new())

 

Agora em Data/Npc crie um Npc com o nome Flint e adicione isso dentro :

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Flint" script="Flint.lua" walkinterval="350000" floorchange="0" speed="0">

<health now="150" max="150"/>

<look type="299"/>

<parameters>

<parameter key="message_greet" value="Pewter is the rock's city, I sell them to tourists. You seem to be a trainer, you wouldn'st want to buy them. I buy rare stones, doyou have any?"/>

<parameter key="message_farewell" value="Bye..."/>

<parameter key="message_idletimeout" value="Bye..."/>

<parameter key="message_walkaway" value="Bye..."/>

</parameters>

</npc>

 

 

[ Npc Premium Seller por Diamonds ] - Ele vende 1 Dia de premium por 1 Diamond , logo arrumarei para 10 Diamonds ser 30 Dias.

 

Npc/Script crie 1 Arquivo Lua chamado premium e adicione isso dentro:

 

local keywordHandler = KeywordHandler:new()

local npcHandler = NpcHandler:new(keywordHandler)

NpcSystem.parseParameters(npcHandler)

local talkState = {}

function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end

function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end

function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end

function onThink() npcHandler:onThink() end

local node1 = keywordHandler:addKeyword({'prem'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell premium account by Diamonds.'})

function creatureSayCallback(cid, type, msg)

p = 1 -- valor da P.A em Diamonds

if(not npcHandler:isFocused(cid)) then

return false

end

local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid

---------- MSGs ----------

if msgcontains(msg, 'account') or msgcontains(msg, 'diamond') or msgcontains(msg, 'account diamond') or msgcontains(msg, 'diamond account') or msgcontains(msg, 'premium') then

selfSay('Diamond account users are able to use ride, teleport, surf and fly. They can also wear all clothes, use the TV camera, rent housesand costumize poké balls. Finally, diamond account users have access to the saffari zone and are free of taxes in the casino! If you would like to upgrade your account will have to pay me '..p..' diamonds on each day. Would you like how many days?', cid)

talkState[talkUser] = 1

---== compra por GPs ==---

elseif talkState[talkUser] == 1 then

if getNumber(msg) < 350 then

n = getNumber(msg)

if n ~= 0 then

if getPlayerItemCount(cid, 2145) >= p*n then

selfSay('Days of Premium: {'..n..'} for {'..n*(p)..'} Diamonds?', cid)

talkState[talkUser] = 3

else

selfSay('You do not have enough diamonds to buy {'..n..'} days of premium.', cid)

talkState[talkUser] = 0

end

else

selfSay('Choose a number above zero.', cid)

talkState[talkUser] = 0

end

else

selfSay('You can not buy more than 350 days of premium account.', cid)

talkState[talkUser] = 0

end

elseif talkState[talkUser] == 3 then ---== GPs ==---

if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') or msgcontains(msg, 'SIM') or msgcontains(msg, 'YES') then

if getPlayerPremiumDays(cid)+n <= 350 then

if (doPlayerRemoveItem(cid, 2145, p*n) ~= TRUE) then

npcHandler:say('You do not have enough diamonds!', cid)

talkState[talkUser] = 0

else

doPlayerAddPremiumDays(cid, n)

selfSay('Purchase made successfully, days of premium account:{ '..n..' }.', cid)

talkState[talkUser] = 0

end

else

npcHandler:say('You can not have more than 350 days of Premium!', cid)

talkState[talkUser] = 0

end

end

elseif msgcontains(msg, 'no') or msgcontains(msg, 'nao') or msgcontains(msg, 'não') or msgcontains(msg, 'NO') or msgcontains(msg, 'NAO') or msgcontains(msg, 'NÃO')then

selfSay('Okay.', cid)

talkState[talkUser] = 0

end

end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)

npcHandler:addModule(FocusModule:new())

-- function maded by Gesior--

function getNumber(txt) --return number if its number and is > 0, else return 0

x = string.gsub(txt,"%a","")

x = tonumber(x)

if x ~= nill and x > 0 then

return x

else

return 0

end

end

 

 

Agora em Data/Npc crie 1 Npc e adicione isso dentro :

 

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Dalk" script="data/npc/scripts/premium.lua" walkinterval="3000" floorchange="0" access="5" >

<health now="150" max="150"/>

<look type="259" head="0" body="114" legs="114" feet="0"/>

<parameters>

<parameter key="message_greet" value="Welcome to the diamond store, here you are able to upgrade your account to diamond."/>

<parameter key="message_farewell" value="Bye! See you next time."/>

</parameters>

</npc>

 

Explicando : Depois de falar Hi , o player deve falar uma dessas opções :

if msgcontains(msg, 'account') or msgcontains(msg, 'diamond') or msgcontains(msg, 'account diamond') or msgcontains(msg, 'diamond account') or msgcontains(msg, 'premium')

 

 

[ Comando /AddPoke ] - Agora Adicionados Para Todos Os Pokemons

 

Talkactions/Scripts crie 1 arquivo Lua chamado addpoke e coloque isso dentro :

function onSay(cid, words, param)

 

function AddPokemon(cid,name,health,maxhealth)

local pokename = name

local description = "Contains a "..pokename.."."

local b = "This is "..pokename.."'s pokeball. HP = ["..health.."/"..maxhealth.."]"

item = doPlayerAddItem(cid, 2222)

doItemSetAttribute(item, "poke", b)

doItemSetAttribute(item, "nome", name)

doItemSetAttribute(item, "description", description)

return TRUE

end

 

local pokes = {

["Magikarp"] = {health = 120, maxhealth = 120},

["Abra"] = {health = 620, maxhealth = 620},

["Kadabra"] = {health = 2500, maxhealth = 2500},

["Alakazam"] = {health = 2500, maxhealth = 2500},

["Rattata"] = {health = 350, maxhealth = 350},

["Raticate"] = {health = 900, maxhealth = 900},

["Pidgey"] = {health = 380, maxhealth = 380},

["Pidgeotto"] = {health = 1400, maxhealth = 1400},

["Pidgeot"] = {health = 3800, maxhealth = 3800},

["Zubat"] = {health = 450, maxhealth = 450},

["Golbat"] = {health = 1900, maxhealth = 1900},

["Bellsprout"] = {health = 420, maxhealth = 420},

["Weepinbell"] = {health = 1100, maxhealth = 1100},

["Victreebel"] = {health = 4000, maxhealth = 4000},

["Poliwag"] = {health = 400, maxhealth = 400},

["Poliwhirl"] = {health = 1200, maxhealth = 1200},

["Poliwrath"] = {health = 4400, maxhealth = 4400},

["Oddish"] = {health = 340, maxhealth = 340},

["Gloom"] = {health = 1400, maxhealth = 1400},

["Vileplume"] = {health = 3300, maxhealth = 3300},

["Horsea"] = {health = 300, maxhealth = 300},

["Seadra"] = {health = 2500, maxhealth = 2500},

["Grimer"] = {health = 600, maxhealth = 600},

["Weedle"] = {health = 325, maxhealth = 325},

["Kakuna"] = {health = 900, maxhealth = 900},

["Beedrill"] = {health = 1900, maxhealth = 1900},

["Muk"] = {health = 2400, maxhealth = 2400},

["Doduo"] = {health = 600, maxhealth = 600},

["Dodrio"] = {health = 2650, maxhealth = 2650},

["Magnemite"] = {health = 450, maxhealth = 450},

["Magneton"] = {health = 1750, maxhealth = 1750},

["Voltorb"] = {health = 620, maxhealth = 620},

["Electrode"] = {health = 2000, maxhealth = 2000},

["Geodude"] = {health = 700, maxhealth = 700},

["Graveler"] = {health = 3000, maxhealth = 3000},

["Golem"] = {health = 6500, maxhealth = 6500},

["Sandshrew"] = {health = 700, maxhealth = 700},

["Sandslash"] = {health = 3400, maxhealth = 3400},

["Charmander"] = {health = 970, maxhealth = 970},

["Charmeleon"] = {health = 2900, maxhealth = 2900},

["Charizard"] = {health = 5200, maxhealth = 5200},

["Dragonite"] = {health = 10800, maxhealth = 10800},

["Mew"] = {health = 7200, maxhealth = 7200},

["Mewtwo"] = {health = 8500, maxhealth = 8500},

["Bulbasaur"] = {health = 1200, maxhealth = 1200},

["Ivysaur"] = {health = 2600, maxhealth = 2600},

["Venusaur"] = {health = 5200, maxhealth = 5200},

["Squirtle"] = {health = 1350, maxhealth = 1350},

["Wartortle"] = {health = 2800, maxhealth = 2800},

["Blastoise"] = {health = 5900, maxhealth = 5900},

["Caterpie"] = {health = 300, maxhealth = 300},

["Metapod"] = {health = 1100, maxhealth = 1100},

["Butterfree"] = {health = 2000, maxhealth = 2000},

["Spearow"] = {health = 450, maxhealth = 450},

["Fearow"] = {health = 3300, maxhealth = 3300},

["Ekans"] = {health = 600, maxhealth = 600},

["Arbok"] = {health = 2900, maxhealth = 2900},

["Pikachu"] = {health = 900, maxhealth = 900},

["Raichu"] = {health = 3200, maxhealth = 3200},

["Nidoran Female"] = {health = 600, maxhealth = 600},

["Nidorina"] = {health = 2000, maxhealth = 2000},

["Nidoqueen"] = {health = 4200, maxhealth = 4200},

["Nidoran Male"] = {health = 650, maxhealth = 650},

["Nidorino"] = {health = 2500, maxhealth = 2500},

["Nidoking"] = {health = 4800, maxhealth = 4800},

["Clefairy"] = {health = 600, maxhealth = 600},

["Clefable"] = {health = 2400, maxhealth = 2400},

["Vulpix"] = {health = 680, maxhealth = 680},

["Ninetales"] = {health = 3400, maxhealth = 3400},

["Jigglypuff"] = {health = 550, maxhealth = 550},

["Wigglytuff"] = {health = 2900, maxhealth = 2900},

["Paras"] = {health = 850, maxhealth = 850},

["Parasect"] = {health = 3800, maxhealth = 3800},

["Venonat"] = {health = 1350, maxhealth = 1350},

["Venomoth"] = {health = 3850, maxhealth = 3850},

["Diglett"] = {health = 900, maxhealth = 900},

["Dugtrio"] = {health = 3450, maxhealth = 3450},

["Meowth"] = {health = 950, maxhealth = 950},

["Persian"] = {health = 2250, maxhealth = 2250},

["Psyduck"] = {health = 950, maxhealth = 950},

["Golduck"] = {health = 4000, maxhealth = 4000},

["Mankey"] = {health = 1050, maxhealth = 1050},

["Primeape"] = {health = 4500, maxhealth = 4500},

["Growlithe"] = {health = 1000, maxhealth = 1000},

["Arcanine"] = {health = 6800, maxhealth = 6800},

["Machop"] = {health = 1100, maxhealth = 1100},

["Machoke"] = {health = 3500, maxhealth = 3500},

["Machamp"] = {health = 7500, maxhealth = 7500},

["Tentacool"] = {health = 1050, maxhealth = 1050},

["Tentacruel"] = {health = 7050, maxhealth = 7050},

["Ponyta"] = {health = 1400, maxhealth = 1400},

["Rapidash"] = {health = 5500, maxhealth = 5500},

["Slowpoke"] = {health = 1200, maxhealth = 1200},

["Slowbro"] = {health = 4600, maxhealth = 4600},

["Farfetchd"] = {health = 3000, maxhealth = 3000},

["Seel"] = {health = 1000, maxhealth = 1000},

["Dewgong"] = {health = 5200, maxhealth = 5200},

["Shellder"] = {health = 800, maxhealth = 800},

["Cloyster"] = {health = 5000, maxhealth = 5000},

["Gastly"] = {health = 1000, maxhealth = 1000},

["Haunter"] = {health = 3000, maxhealth = 3000},

["Gengar"] = {health = 7000, maxhealth = 7000},

["Onix"] = {health = 5300, maxhealth = 5300},

["Drowzee"] = {health = 1150, maxhealth = 1150},

["Hypno"] = {health = 4600, maxhealth = 4600},

["Krabby"] = {health = 850, maxhealth = 850},

["Kingler"] = {health = 3250, maxhealth = 3250},

["Exeggcute"] = {health = 800, maxhealth = 800},

["Exeggutor"] = {health = 4000, maxhealth = 4000},

["Cubone"] = {health = 1200, maxhealth = 1200},

["Marowak"] = {health = 3900, maxhealth = 3900},

["Hitmonlee"] = {health = 5500, maxhealth = 5500},

["Hitmonchan"] = {health = 5500, maxhealth = 5500},

["Lickitung"] = {health = 4800, maxhealth = 4800},

["Koffing"] = {health = 900, maxhealth = 900},

["Weezing"] = {health = 2800, maxhealth = 2800},

["Rhyhorn"] = {health = 3800, maxhealth = 3800},

["Rhydon"] = {health = 7000, maxhealth = 7000},

["Chansey"] = {health = 7500, maxhealth = 7500},

["Tangela"] = {health = 3500, maxhealth = 3500},

["Kangaskhan"] = {health = 7000, maxhealth = 7000},

["Goldeen"] = {health = 950, maxhealth = 950},

["Seaking"] = {health = 2000, maxhealth = 2000},

["Staryu"] = {health = 1050, maxhealth = 1050},

["Starmie"] = {health = 3800, maxhealth = 3800},

["Mrmime"] = {health = 5500, maxhealth = 5500},

["Scyther"] = {health = 6500, maxhealth = 6500},

["Jynx"] = {health = 6000, maxhealth = 6000},

["Electabuzz"] = {health = 6800, maxhealth = 6800},

["Magmar"] = {health = 7200, maxhealth = 7200},

["Pinsir"] = {health = 4000, maxhealth = 4000},

["Tauros"] = {health = 4200, maxhealth = 4200},

["Gyarados"] = {health = 7800, maxhealth = 7800},

["Lapras"] = {health = 7000, maxhealth = 7000},

["Ditto"] = {health = 4000, maxhealth = 4000},

["Eevee"] = {health = 1500, maxhealth = 1500},

["Vaporeon"] = {health = 4500, maxhealth = 4500},

["Jolteon"] = {health = 4500, maxhealth = 4500},

["Flareon"] = {health = 4500, maxhealth = 4500},

["Porygon"] = {health = 4800, maxhealth = 4800},

["Omanyte"] = {health = 1300, maxhealth = 1300},

["Omastar"] = {health = 6000, maxhealth = 6000},

["Kabuto"] = {health = 1300, maxhealth = 1300},

["Kabutops"] = {health = 6500, maxhealth = 6500},

["Aerodactyl"] = {health = 8000, maxhealth = 8000},

["Snorlax"] = {health = 9500, maxhealth = 9500},

["Articuno"] = {health = 11000, maxhealth = 11000},

["Zapdos"] = {health = 11000, maxhealth = 11000},

["Moltres"] = {health = 11000, maxhealth = 11000},

["Dratini"] = {health = 1200, maxhealth = 1200},

["Dragonair"] = {health = 5600, maxhealth = 5600},

}

 

if pokes[param] ~= nil then

AddPokemon(cid,param,pokes[param].health,pokes[param].maxhealth)

else

doPlayerSendCancel(cid, "Digite o nome correto com a primeira letra maiuscula.")

end

return TRUE

end

 

Agora em Talkactions.xml adicione :

<talkaction log="yes" words="/addpoke" access="5" event="script" value="addpoke.lua"/>

 

Como usar:

/addpoke Arcanine

Com A primeira Letra Maiúscula.

 

 

[ Revive por Talkaction ] - Para aqueles que querem vantagiar a vida dos Premmy.

 

Data/Talkaction/Script crie 1 arquivo chamado revivet e adicione isso dentro :

 

function onSay(cid, words, param)

 

local pokeballs = {'2222', '2224'}

local ultraballs = {'2220', '2227'}

local price = 3000

 

if isInArray(pokeballs, getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid) then

if doPlayerRemoveMoney(cid, price) == TRUE then

doCreatureAddHealth(cid, getCreatureMaxHealth(cid)-getCreatureHealth(cid))

doSendMagicEffect(getThingPos(cid), 132)

local feet = getPlayerSlotItem(cid, CONST_SLOT_FEET)

local maxh = tonumber(getItemAttribute(feet.uid, "poke"):match("/(.+)]"))

doItemSetAttribute(feet.uid, "poke", getItemAttribute(feet.uid, "poke"):sub(1, findLetter(getItemAttribute(feet.uid, "poke"), "[")) .. maxh .. getItemAttribute(feet.uid, "poke"):sub(findLetter(getItemAttribute(feet.uid, "poke"), "/")))

doTransformItem(feet.uid, 2222)

else

doPlayerSendCancel(cid, 'Você precisa de '.. price ..' dolars para reviver ou healar seu pokemon!.')

end

elseif isInArray(ultraballs, getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid) then

if doPlayerRemoveMoney(cid, price) == TRUE then

doCreatureAddHealth(cid, getCreatureMaxHealth(cid)-getCreatureHealth(cid))

doSendMagicEffect(getThingPos(cid), 132)

local feet = getPlayerSlotItem(cid, CONST_SLOT_FEET)

local maxh = tonumber(getItemAttribute(feet.uid, "poke"):match("/(.+)]"))

doItemSetAttribute(feet.uid, "poke", getItemAttribute(feet.uid, "poke"):sub(1, findLetter(getItemAttribute(feet.uid, "poke"), "[")) .. maxh .. getItemAttribute(feet.uid, "poke"):sub(findLetter(getItemAttribute(feet.uid, "poke"), "/")))

doTransformItem(feet.uid, 2220)

else

doPlayerSendCancel(cid, 'Você precisa de '.. price ..' dolars para reviver ou healar seu pokemon!.')

end

else

doPlayerSendCancel(cid, 'coloque o pokemon no slot para reviver ou healar seu pokemon!.')

end

return TRUE

end

 

Agora em Talkaction.xml adicione :

<talkaction words="!heal" event="script" value="pokeheal.lua"/>

 

Ao falar !heal seu pokemon encontrado no sloot da ball sera revivido, por um pequeno preço que eu editei para ser a metade do preço do revive do global que é 100 dollares mais se quiserem editar pode ser alterado aqui :

local price = 1000

 

 

[ Descrições da Pokedex 100 % ] - Feito para Pokemon Dash , So substituir a pasta "pokedex" Tentando Editar Com Os Lendarios

 

http://www.multiupload.com/WKR36L5R0I

Descrições de 146 Pokemons ( n tem ainda legendarios ), igual ao do Global. .

 

 

 

Bom Agora Quero Pedir Mil Desculpas Por Ter Sem Querer Ter Refeito O Topico =[...

Bom Mais Ja Esta Tudo Ae Denovo... Se Estiver Faltando Algo Avisem... Estou Tentando Fazer O Npc Que Pinta Ball Para Postar Aki ... Se Eu Conssiguir Posto

e Agora ... Irei Distribuir Os Creditos

 

 

Bom Primeiramente Eu Queria Agradecer Muito Ao DeathAngels

Por Estar Deixando Eu Editar Os Scripts Dele E Postalo Aki Para A Galera ;d

Bom O Script De Box... é Do DeathAngels Eu Somente Editei O Life Igual Ao Do Go/back

E O Script De Revive Tambem Foi Ele Que Postou Entao Os Creditos Sao Dele

O Catch Eu Nao Peguei Dele Nao Me Lembro De Quem Foi Mais Eu Editei Para Ficar Exatamente O Life Igual Ao Do Go/back

O Npc Pokemon Seller è Dele Tbm

E Vo Evolution ... Dei Uma Basica E Pekena Editada Mais è Dele Tambem

Bom As Descriçoes Foi Ele Que Feiz Tbm

O Npc Que Compra Stones Tambem è Dele

Emfim Quase Todos Os Scripts Sao Dele Eu Só Peguei E Fui Editando Um a Um E Tudo Que Eu Editava Eu Testava Entao Esta 100% Todos Os Scripts Postados

Somente O Script /addpoke Que Nao Foi Ele Que Criou O Criador è O Vodkart

E Os M's... O NarutoxDDDD Merece Os Creditos Pelo M1,M2 Eu Somente Botei O M6

Bom Temos A Base Que Entao Foi O Seguinte

40% Foi Do DeathAngels Por Estar Disponabilizando Os Script Para Eu Editalos

E 30% Esta Para Ao Brun123(mastercraft) e o glugluguga Por Estar Disponabilizando O Servidor Pokemon Dash

E Eu Queria Saber De Todos... Se Eu Mereço O Restante Dos 30% Por Ter Editado Quase Todos Os Scripts... Comentem.

 

 

Bom e Só Para Relembrar... Estou Criando Um Projeto Pokemon e Se Voce For Experiente e Tiver Afim... De Criar O Melhor Servidor Pokemon Entrem No Meu Outro Topico E Confiram As Informaçoes Que Tem No Server E Como Se Eleger A Algum Cargo

 

??Te Ajudei?? Rep+

A Sua Visita Me Alegra

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

vc não feis nada doq ta ai foi o darkangels, que posto essas coisa..

e cade os credito dele?

vc quer ser ajudado mintindo? robando coisas que n lhe pertence?

assim sera dificil axar alguem que te ajude :winksmiley02:

 

Man Tu Viu A Data De Lançamento? ... Please Sem Post Inutil Man

Minha Mae Queria Ir No Pc... Rapidao Dae Tive Que Deixar Ela Ir...

Olha As Coisas Antes De Falar Vo Botar Os Devidos Creditos

 

Ae Voce... è Voce Mesmo Deseja Fazer Parte Da Minha Equipe Poke Dark?

Entrem E Confira As Informaçoes Do Serv E Tambem Como Se Eleger a Equipe!!

http://www.xtibia.com/forum/topic/151385-pokemon-darkness/

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

Script de Elite Stone 100% feito por min, funciona APENAS em servidores Pokemon Flash ou similares á esse, o servidor tem que ter pokemons elite ou não vai funcionar.

Substitua as pastas pelas do seu servidor.

Tutorial de como botar pra funcinar vem junto com o script.

Obrigado.

 

Anexo.

Elite Stone by Redspark.rar

Link para o comentário
Compartilhar em outros sites

Muito Bom Redspark Isso Que Eu Queria Dizer ... Mais Nao Respondeu =[ A Pergunta Mereço Os 30%? Rep+ Please

Ja Te Dei O Seu Rep+ Por Estar Colaborando E Ter Intendido O Que Eu Queria Dizer Com (Ajudar Para Ser Ajudado)

 

 

 

 

Ae Voce... è Voce Mesmo Deseja Fazer Parte Da Minha Equipe Poke Dark?

Entrem E Confira As Informaçoes Do Serv E Tambem Como Se Eleger a Equipe!!

http://www.xtibia.com/forum/topic/151385-pokemon-darkness/

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

Nick/Nome: Mister Xtibia/Gabriel Lima

Função/Cargo: Scripter/Mapper/Client Maker.

Experiência no cargo: 4 Anos.

E-Mail/Msn: gabriel-mucho-loko@hotmail.com

Tempo Desponivel: Todas as semanas das 7:00 ás 12:30 (Depois das 17:00 horas fico até 23:00).

Link para o comentário
Compartilhar em outros sites

Boa iniciativa, porem achei o seu revive muito semelhante a um script que eu tenho aqui, olhe isto:

 

 

local pokeballs = {'2222', '2224'}
local ultraballs = {'2220', '2227'}
local BOLAS = {
[2224] = {0},
[2227] = {25000, 5906}
}
function onUse(cid, item, frompos, item2, topos)
if isPlayer(item2.uid) or isCreature(item2.uid) then
return doPlayerSendCancel(cid, "Use in your pokeballs with your fainted pokemons.")
end
if item2.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then
return doPlayerSendCancel(cid, "You can revive only pokeballs in your poke slot!")
end
local bollaz = BOLAS[item2.itemid]
if(not bollaz) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
return true
end
doSendMagicEffect(getThingPos(cid), 12)
doRemoveItem(item.uid, 1)
if isInArray(pokeballs, getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid) then
local feet = getPlayerSlotItem(cid, CONST_SLOT_FEET)
local maxh = tonumber(getItemAttribute(feet.uid, "poke"):match("/(.+)]"))
doItemSetAttribute(feet.uid, "poke", getItemAttribute(feet.uid, "poke"):sub(1, findLetter(getItemAttribute(feet.uid, "poke"), "[")) .. maxh .. getItemAttribute(feet.uid, "poke"):sub(findLetter(getItemAttribute(feet.uid, "poke"), "/")))
doTransformItem(feet.uid, 2222)
end
if isInArray(ultraballs, getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid) then
local feet = getPlayerSlotItem(cid, CONST_SLOT_FEET)
local maxh = tonumber(getItemAttribute(feet.uid, "poke"):match("/(.+)]"))
doItemSetAttribute(feet.uid, "poke", getItemAttribute(feet.uid, "poke"):sub(1, findLetter(getItemAttribute(feet.uid, "poke"), "[")) .. maxh .. getItemAttribute(feet.uid, "poke"):sub(findLetter(getItemAttribute(feet.uid, "poke"), "/")))
doTransformItem(feet.uid, 2220)
end
end

 

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

Cara eu fiz o revive em cima do script da blessed wooden stake , se vc fez o mesmo , talvez seja poriso que esta parecidos.

Para provar vou postar o script da Stake , que esta em Actions/script/tools no Ot Pokemon Dash.

 

 

local config = {
level = 2
}

local DUSTS = {
-- Demons
[2956] = {25000, 5905},

-- Vampires
[2916] = {25000, 5906}
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
if(getPlayerLevel(cid) < config.level) then
	doPlayerSendCancel(cid, "You have to be at least Level " .. config.level .. " to use this tool.")
	return true
end

local dust = DUSTS[itemEx.itemid]
if(not dust) then
	doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
	return true
end

local random = math.random(1, 100000)
if(random <= dust[1]) then
	doSendMagicEffect(toPosition, CONST_ME_GROUNDSHAKER)
	doPlayerAddItem(cid, dust[2], 1)
elseif(dust[3] and random >= dust[3]) then
	doSendMagicEffect(toPosition, CONST_ME_GROUNDSHAKER)
	doPlayerAddItem(cid, dust[4], 1)
else
	doSendMagicEffect(toPosition, CONST_ME_POFF)
end

doTransformItem(itemEx.uid, itemEx.itemid + 1)
return true
end

 

 

 

Poriso tem a parte do Demon e Vampire ( que n atrapalha em nada no script )

 

 

Mudando de assunto , Cara muito bom =)

N ligo de estar postando meus scripts aqui , principalmente por estar colocando meus devidos creditos.

Logo estarei atualizando la , colocando 2 npc novos , e talvez se eu retirar o erro boost sistem. ( 1 dos npc eh aquele q troca elite hitmonchan e elitehitmonlee )

 

Rep +

 

Edit : Ah no /addpoke coloca os creditos para o VodKart

E no evolution eu postei la no meu , soh que deveria colocar os creditos para o criador do OT , pois ja estava nele .

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

qnta coisa inutil, vcs perdem mto tempo em pokemon, criem algo novo, e se for criar um sv de pokemon, crie com scripts própria pora fovr, pq esperar alguem fazer todos sistemas completos

.. não vira.

Link para o comentário
Compartilhar em outros sites

qnta coisa inutil, vcs perdem mto tempo em pokemon, criem algo novo, e se for criar um sv de pokemon, crie com scripts própria pora fovr, pq esperar alguem fazer todos sistemas completos

.. não vira.

 

1º Porque Perder Tempo Em Pokemon? ... Se O Tempo Que Cada Um De Nois Perde Ou Deixa De Perder Em Pokemon è Problema Nosso

 

2º Se For Criar Um Server De Pokemon Criar Com Nossos Proprios Scripts? Se Alguem Olha O Topico é Que Concerteza Nao Quer Fazer Isso Que Voce Falo e Querendo Ou Nao Problema è Deles Nao Seu

 

3º Pra Que Falar isso? Fala Que Agente Perde Tempo... Voce Perde Tempo Fazendo Esses Posts Inutil

(Reported)

 

A DeathAngels Obrigado Por Lembrar Dos Creditos Do Vodkart Ja Atualizei

 

Mudando Um Poco De Assunto Nao Tem Ninguem Que Possa Me Encinar A Por Um Programa Para Download? Que Tenho Mais Algumas Coisas Para Botar Aki Como O Items.xml Com As Corpses Certas Se Souberem Me Add Msn : romariopnascimento@hotmail.com

 

 

 

 

 

 

Ae Voce... è Voce Mesmo Deseja Fazer Parte Da Minha Equipe Poke Dark?

Entrem E Confira As Informaçoes Do Serv E Tambem Como Se Eleger a Equipe!!

http://www.xtibia.com/forum/topic/151385-pokemon-darkness/

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

 

 

qnta coisa inutil, vcs perdem mto tempo em pokemon, criem algo novo, e se for criar um sv de pokemon, crie com scripts própria pora fovr, pq esperar alguem fazer todos sistemas completos

.. não vira.

 

1º Porque Perder Tempo Em Pokemon? ... Se O Tempo Que Cada Um De Nois Perde Ou Deixa De Perder Em Pokemon è Problema Nosso

 

2º Se For Criar Um Server De Pokemon Criar Com Nossos Proprios Scripts? Se Alguem Olha O Topico é Que Concerteza Nao Quer Fazer Isso Que Voce Falo e Querendo Ou Nao Problema è Deles Nao Seu

 

3º Pra Que Falar isso? Fala Que Agente Perde Tempo... Voce Perde Tempo Fazendo Esses Posts Inutil

(Reported)

 

A DeathAngels Obrigado Por Lembrar Dos Creditos Do Vodkart Ja Atualizei

 

Mudando Um Poco De Assunto Nao Tem Ninguem Que Possa Me Encinar A Por Um Programa Para Download? Que Tenho Mais Algumas Coisas Para Botar Aki Como O Items.xml Com As Corpses Certas Se Souberem Me Add Msn : romariopnascimento@hotmail.com

 

 

 

Ja tentou colocar pelo

multiupload

 

Muito simples.. n precisa nem explicar. ( tem 1 limite de tamanho )

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

 

 

qnta coisa inutil, vcs perdem mto tempo em pokemon, criem algo novo, e se for criar um sv de pokemon, crie com scripts própria pora fovr, pq esperar alguem fazer todos sistemas completos

.. não vira.

 

1º Porque Perder Tempo Em Pokemon? ... Se O Tempo Que Cada Um De Nois Perde Ou Deixa De Perder Em Pokemon è Problema Nosso

 

2º Se For Criar Um Server De Pokemon Criar Com Nossos Proprios Scripts? Se Alguem Olha O Topico é Que Concerteza Nao Quer Fazer Isso Que Voce Falo e Querendo Ou Nao Problema è Deles Nao Seu

 

3º Pra Que Falar isso? Fala Que Agente Perde Tempo... Voce Perde Tempo Fazendo Esses Posts Inutil

(Reported)

 

A DeathAngels Obrigado Por Lembrar Dos Creditos Do Vodkart Ja Atualizei

 

Mudando Um Poco De Assunto Nao Tem Ninguem Que Possa Me Encinar A Por Um Programa Para Download? Que Tenho Mais Algumas Coisas Para Botar Aki Como O Items.xml Com As Corpses Certas Se Souberem Me Add Msn : romariopnascimento@hotmail.com

 

 

 

Ja tentou colocar pelo

multiupload

 

Muito simples.. n precisa nem explicar. ( tem 1 limite de tamanho )

 

Ok Vou Testar Se Der Certo Eu Aviso...

 

Tentei Botar O Download La E Ja Conssegui... Ta Ae Pra Geral O Items.xml

 

 

 

Ae Voce... è Voce Mesmo Deseja Fazer Parte Da Minha Equipe Poke Dark?

Entrem E Confira As Informaçoes Do Serv E Tambem Como Se Eleger a Equipe!!

http://www.xtibia.com/forum/topic/151385-pokemon-darkness/

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

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