Ir para conteúdo

[Encerrado] Pokemon não ficam na ball depois de se tornar shiny com shiny stone


Posts Recomendados

Bom, eu coloquei shiny stone no meu server de pokemon, mais ai quando eu coloco o poke pra fora e uso a stone no poke ele vira shiy, mais quando e retiro ele, ele volta a ser o poke seu shiny, eu queria a ajuda de vocês no script que to usando para a shiny stone!

 

Script

 

local evo = {

["Abra"] = "Shiny Abra",
["Arcanine"] = "Shiny Arcanine",
["Aerodactyl"] = "Shiny Aerodactyl",
["Altaria"] = "Shiny Altaria",
["Absol"] = "Shiny Absol",
["Arbok"] = "Shiny Arbok",
["Articuno"] = "Shiny Articuno",
["Beedrill"] = "Shiny Beedrill",
["Baltoy"] = "Shiny Baltoy",
["Bayleef"] = "Shiny Bayleef",
["Beldum"] = "Shiny Beldum",
["Blastoise"] = "Shiny Blastoise",
["Bellsprout"] = "Shiny Bellsprout",
["Buizel"] = "Shiny Buizel",
["Bulbasaur"] = "Shiny Bulbasaur",
["Buneary"] = "Shiny Buneary",
["Butterfree"] = "Shiny Butterfree",
["Camerupt"] = "Shiny Camerupt",
["Carnivine"] = "Shiny Carnivine",
["Carvanha"] = "Shiny Carvanha",
["Caterpie"] = "Shiny Caterpie",
["Chansey"] = "Shiny Chansey",
["Charizard"] = "Shiny Charizard",
["Charmander"] = "Shiny Charmander",
["Charmeleon"] = "Shiny Charmeleon",
["Chikorita"] = "Shiny Chikorita",
["Claydol"] = "Shiny Claydol",
["Clefable"] = "Shiny Clefable",
["Clefairy"] = "Shiny Clefairy",
["Cloyster"] = "Shiny Cloyster",
["Croagunk"] = "Shiny Croagunk",
["Croconaw"] = "Shiny Croconaw",
["Cubone"] = "Shiny Cubone",
["Cyndaquil"] = "Shiny Cyndaquil",
["Dewgong"] = "Shiny Dewgong",
["Diglett"] = "Shiny Diglett",
["Ditto"] = "Shiny Ditto",
["Dodrio"] = "Shiny Dodrio",
["Doduo"] = "Shiny Doduo",
["Dragonair"] = "Shiny Dragonair",
["Dragonite"] = "Shiny Dragonite",
["Dratini"] = "Shiny Dratini",
["Drowzee"] = "Shiny Drowzee",
["Dugtrio"] = "Shiny Dugtrio",
["Eevee"] = "Shiny Eevee",
["Ekans"] = "Shiny Ekans",
["Electivire"] = "Shiny Electivire",
["Electabuzz"] = "Shiny Electabuzz",
["Electrode"] = "Shiny Electrode",
["Exeggcute"] = "Shiny Exeggcute",
["Exeggutor"] = "Shiny Exeggutor",
["Farfetchd"] = "Shiny Farfetchd",
["Farfetch'd"] = "Shiny Farfetch'd",
["Fearow"] = "Shiny Fearow",
["Feraligatr"] = "Shiny Feraligatr",
["Flareon"] = "Shiny Flareon",
["Floatzel"] = "Shiny Floatzel",
["Froslass"] = "Shiny Froslass",
["Gabite"] = "Shiny Gabite",
["Gastly"] = "Shiny Gastly",
["Gastrodon"] = "Shiny Gastrodon",
["Grimer"] = "Shiny Grimer",
["Growlithe"] = "Shiny Growlithe",
["Gyarados"] = "Red Gyarados",
["Gengar"] = "Shiny Gengar",
["Geodude"] = "Shiny Geodude",
["Gible"] = "Shiny Gible",
["Glalie"] = "Shiny Glalie",
["Gliscor"] = "Shiny Gliscor",
["Gloom"] = "Shiny Gloom",
["Golbat"] = "Shiny Golbat",
["Goldeen"] = "Shiny Goldeen",
["Golduck"] = "Shiny Golduck",
["Golem"] = "Shiny Golem",
["Graveler"] = "Shiny Graveler",
["Growlitle"] = "Shiny Growlitle",
["Haunter"] = "Shiny Haunter",
["Honchkrow"] = "Shiny Honchkrow",
["Hypno"] = "Shiny Hypno",
["Hitmonchan"] = "Shiny Hitmonchan",
["Hitmonlee"] = "Shiny Hitmonlee",
["Horsea"] = "Shiny Horsea",
["Ivysaur"] = "Shiny Ivysaur",
["Jigglypuff"] = "Shiny Jigglypuff",
["Jolteon"] = "Shiny Jolteon",
["Jynx"] = "Shiny Jynx",
["Kabuto"] = "Shiny Kabuto",
["Kabutops"] = "Shiny Kabutops",
["Kadabra"] = "Shiny Kadabra",
["Kakuna"] = "Shiny kakuna",
["Kangaskhan"] = "Shiny Kangaskhan",
["Koffing"] = "Shiny Koffing",
["Onix"] = "Crystal Onix",
["Kingler"] = "Shiny Kingler",
["Krabby"] = "Shiny Krabby",
["Lapras"] = "Shiny Lapras",
["Lickitung"] = "Shiny Lickitung",
["Lunatone"] = "Shiny Lunatone",
["Luxray"] = "Shiny Luxray",
["Machamp"] = "Shiny Machamp",
["Machoke"] = "Shiny Machoke",
["Machop"] = "Shiny Machop",
["Magikarp"] = "Shiny Magikarp",
["Magmar"] = "Shiny Magmar",
["Magmortar"] = "Shiny Magmortar",
["Magnemite"] = "Shiny Magnemite",
["Magneton"] = "Shiny Magneton",
["Mamoswine"] = "Shiny Mamoswine",
["Mankey"] = "Shiny Mankey",
["Marowak"] = "Shiny Marowak",
["Meganium"] = "Shiny Meganium",
["Meowth"] = "Shiny Meowth",
["Metagross"] = "Shiny Metagross",
["Metang"] = "Shiny Metang",
["Metapod"] = "Shiny Metapod",
["Mew"] = "Shiny Mew",
["Mewtwo"] = "Shiny Mewtwo",
["Minun"] = "Shiny Minun",
["Moltres"] = "Shiny Moltres",
["Mr. Mime"] = "Shiny Mr. Mime",
["Muk"] = "Shiny Muk",
["Nidoking"] = "Shiny Nidoking",
["Nidoqueen"] = "Shiny Nidoqueen",
["Nidoran Female"] = "Shiny Nidoran Female",
["Nidoran Male"] = "Shiny Nidoran Male",
["Nidorina"] = "Shiny Nidorina",
["Nidorino"] = "Shiny Nidorino",
["Ninetales"] = "Shiny Ninetales",
["Oddish"] = "Shiny Oddish",
["Omanyte"] = "Shiny Omanyte",
["Omastar"] = "Shiny Omastar",
["Pachirisu"] = "Shiny Pachirisu",
["Paras"] = "Shiny Paras",
["Persian"] = "Shiny Persian",
["Pidgeot"] = "Shiny Pidgeot",
["Pidgeotto"] = "Shiny Pidgeotto",
["Pidgey"] = "Shiny Pidgey",
["Pinsir"] = "Shiny Pinsir",
["Plusle"] = "Shiny plusle",
["Poliwag"] = "Shiny Poliwag",
["Poliwhirl"] = "Shiny Poliwhirl",
["Poliwrath"] = "Shiny Poliwrath",
["Ponyta"] = "Shiny Ponyta",
["Porygon"] = "Shiny Porygon",
["Primeape"] = "Shiny Primeape",
["Probopass"] = "Shiny Probopass",
["Psyduck"] = "Shiny Psyduck",
["Purugly"] = "Shiny Purugly",
["Parasect"] = "Shiny Parasect",
["Pikachu"] = "Shiny Pikachu",
["Quilava"] = "Shiny Quilava",
["Raichu"] = "Shiny Raichu",
["Raticate"] = "Shiny Raticate",
["Rapidash"] = "Shiny Rapidash",
["Rattata"] = "Shiny Rattata",
["Rhydon"] = "Shiny Rhydon",
["Rhyhorn"] = "Shiny Rhyhorn",
["Rhyperior"] = "Shiny Rhyperior",
["Sandslash"] = "Shiny Sandslash",
["Scyther"] = "Shiny Scyther",
["Seadra"] = "Shiny Seadra",
["Seaking"] = "Shiny Seaking",
["Seel"] = "Shiny Seel",
["Sharpedo"] = "Shiny Sharpedo",
["Shellder"] = "Shiny Shellder",
["Slowbro"] = "Shiny Slowbro",
["Slowpoke"] = "Shiny Slowpoke",
["Snorlax"] = "Shiny Snorlax",
["Snorunt"] = "Shiny Snorunt",
["Solrock"] = "Shiny Solrock",
["Spearow"] = "Shiny Spearow",
["Squirtle"] = "Shiny Squirtle",
["Staraptor"] = "Shiny Staraptor",
["Starmie"] = "Shiny Starmie",
["Staryu"] = "Shiny Staryu",
["Tangela"] = "Shiny Tangela",
["Tauros"] = "Shiny Tauros",
["Tentacool"] = "Shiny Tentacool",
["Totodile"] = "Shiny Totodile",
["Toxicroak"] = "Shiny Toxicroak",
["Tropius"] = "Shiny Tropius",
["Typhlosion"] = "Shiny Typhlosion",
["Tentacruel"] = "Shiny Tentacruel",
["Venomoth"] = "Shiny Venomoth",
["Vaporeon"] = "Shiny Vaporeon",
["Venonat"] = "Shiny Venonat",
["Victreebel"] = "Shiny Victreebel",
["Vileplume"] = "Shiny Vileplume",
["Vulpix"] = "Shiny Vulpix",
["Venusaur"] = "Shiny Venusaur",
["Voltorb"] = "Shiny Voltorb",
["Wartortle"] = "Shiny Wartortle",
["Weedle"] = "Shiny Wedlee",
["Weepinbell"] = "Shiny Weepinbell",
["Weezing"] = "Shiny Weezing",
["Wigglytuff"] = "Shiny Wigglytuff",
["Yanmega"] = "Shiny Yanmega",
["Zangoose"] = "Shiny Zangoose",
["Zapdos"] = "Shiny Zapdos",
["Zubat"] = "Shiny Zubat",
["Electrode"] = "Shiny Electrode",
["Pinsir"] = "Shiny Pinsir",
["Gengar"] = "Shiny Gengar",
["Vaporeon"] = "Shiny Vaporeon",
["Flareon"] = "Shiny Flareon",
["Jolteon"] = "Shiny Jolteon",
["Kadabra"] = "Shiny Kadabra",
["Alakazam"] = "Shiny Alakazam",
["Zubat"] = "Shiny Zubat",
["Pidgeot"] = "Shiny Pidgeot",
["Paras"] = "Shiny Paras",
["Parasect"] = "Shiny Parasect",
["Golbat"] = "Shiny Golbat",
}
local pokeballs = {
[2394] = {"Pokeball"},
[2393] = {"Superball"},
[2391] = {"Greatball"},
[2392] = {"Ultraball"},
[556] = {"Masterball"},
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then
local monster = getCreatureName(itemEx.uid)
if evo[monster] then
local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid)
doRemoveCreature(itemEx.uid)
doRemoveItem(item.uid)
local summon = doCreateMonster(evo[monster], toPosition)
doConvinceCreature(cid, summon)
local balls = pokeballs[getPlayerSlotItem(cid,8).itemid]
doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "name", ""..evo[monster].." "..balls[1])
doCreatureAddHealth(summon, health-maxHealth)
doSendMagicEffect(getThingPos(summon), 18)
return TRUE
end
end
return FALSE
end

 

Link para o comentário
Compartilhar em outros sites

Ola Usuario.

seu topico esta em uma area incorreta.

reportado para que movam.

Mais atenção.

 

Area correta:

 

Servidores e Derivados / Pedidos e Duvidas - Servidores e Derivados.

Link para o comentário
Compartilhar em outros sites

desculpe, mais se você podesse me ajudar nisso ficaria grato

 

Amigo voce tem a shiny stone adicionada em seu client? caso você tenha, me mande o id.

Edit:

 

Bom Vá em data/lib/configuration.lua e na parte de evolution coloque essas tags:

 

 

 

-----Kanto to shiny------
["Gengar"] = {level = 1, evolution = "Shiny Gengar", count = 1, stoneid = 12417, stoneid2 = 0},
["Flareon"] = {level = 1, evolution = "Shiny Flareon", count = 1, stoneid = 12417, stoneid2 = 0},
["Fearow"] = {level = 1, evolution = "Shiny Fearow", count = 1, stoneid = 12417, stoneid2 = 0},
["Farfetch'd"] = {level = 1, evolution = "Shiny Farfetch'd", count = 1, stoneid = 12417, stoneid2 = 0},
["Charizard"] = {level = 1, evolution = "Shiny Charizard", count = 1, stoneid = 12417, stoneid2 = 0},
["Butterfree"] = {level = 1, evolution = "Shiny Butterfree", count = 1, stoneid = 12417, stoneid2 = 0},
["Blastoise"] = {level = 1, evolution = "Shiny Blastoise", count = 1, stoneid = 12417, stoneid2 = 0},
["Arcanine"] = {level = 1, evolution = "Shiny Arcanine", count = 1, stoneid = 12417, stoneid2 = 0},
["Alakazam"] = {level = 1, evolution = "Shiny Alakazam", count = 1, stoneid = 12417, stoneid2 = 0},
["Electabuzz"] = {level = 1, evolution = "Shiny Electabuzz", count = 1, stoneid = 12417, stoneid2 = 0},
["Dragonite"] = {level = 1, evolution = "Shiny Dragonite", count = 1, stoneid = 12417, stoneid2 = 0},
--["Golbat"] = {level = 1, evolution = "Shiny Golbat", count = 1, stoneid = 12417, stoneid2 = 0},
["Golem"] = {level = 1, evolution = "Shiny Golem", count = 1, stoneid = 12417, stoneid2 = 0},
["Gyarados"] = {level = 1, evolution = "Shiny Gyarados", count = 1, stoneid = 12417, stoneid2 = 0},
["Hitmonchan"] = {level = 1, evolution = "Shiny Hitmonchan", count = 1, stoneid = 12417, stoneid2 = 0},
["Hitmonlee"] = {level = 1, evolution = "Shiny Hitmonlee", count = 1, stoneid = 12417, stoneid2 = 0},
["Hitmontop"] = {level = 1, evolution = "Shiny Hitmontop", count = 1, stoneid = 12417, stoneid2 = 0},
["Hypno"] = {level = 1, evolution = "Shiny Hypno", count = 1, stoneid = 12417, stoneid2 = 0},
["Jolteon"] = {level = 1, evolution = "Shiny Jolteon", count = 1, stoneid = 12417, stoneid2 = 0},
["Jynx"] = {level = 1, evolution = "Shiny Jynx", count = 1, stoneid = 12417, stoneid2 = 0},
["Kingler"] = {level = 1, evolution = "Shiny Kingler", count = 1, stoneid = 12417, stoneid2 = 0},
["Marowak"] = {level = 1, evolution = "Shiny Marowak", count = 1, stoneid = 12417, stoneid2 = 0},
["Muk"] = {level = 1, evolution = "Shiny Muk", count = 1, stoneid = 12417, stoneid2 = 0},
["Nidoking"] = {level = 1, evolution = "Shiny Nidoking", count = 1, stoneid = 12417, stoneid2 = 0},
["Parasect"] = {level = 1, evolution = "Shiny Parasect", count = 1, stoneid = 12417, stoneid2 = 0},
["Pidgeot"] = {level = 1, evolution = "Shiny Pidgeot", count = 1, stoneid = 12417, stoneid2 = 0},
["Pinsir"] = {level = 1, evolution = "Shiny Pinsir", count = 1, stoneid = 12417, stoneid2 = 0},
["Raichu"] = {level = 1, evolution = "Shiny Raichu", count = 1, stoneid = 12417, stoneid2 = 0},
["Tangela"] = {level = 1, evolution = "Shiny Tangela", count = 1, stoneid = 12417, stoneid2 = 0},
["Tentacruel"] = {level = 1, evolution = "Shiny Tentacruel", count = 1, stoneid = 12417, stoneid2 = 0},
["Vaporeon"] = {level = 1, evolution = "Shiny Vaporeon", count = 1, stoneid = 12417, stoneid2 = 0},
["Venomoth"] = {level = 1, evolution = "Shiny Venomoth", count = 1, stoneid = 12417, stoneid2 = 0},
["Venusaur"] = {level = 1, evolution = "Shiny Venusaur", count = 1, stoneid = 12417, stoneid2 = 0},
["Beedrill"] = {level = 1, evolution = "Shiny Beedrill", count = 1, stoneid = 12417, stoneid2 = 0},
["Raticate"] = {level = 1, evolution = "Shiny Raticate", count = 1, stoneid = 12417, stoneid2 = 0},
["Scyther"] = {level = 1, evolution = "Shiny Scyther", count = 1, stoneid = 12417, stoneid2 = 0},
["Snorlax"] = {level = 1, evolution = "Shiny Snorlax", count = 1, stoneid = 12417, stoneid2 = 0},
["Onix"] = {level = 1, evolution = "Shiny Onix", count = 3, stoneid = 12417, stoneid2 = 0},
["Salamence"] = {level = 1, evolution = "Shiny Salamence", count = 1, stoneid = 12417, stoneid2 = 0},

Ali no stoneid = 12417 , voce deve alterar aquele ID para o ID de sua shiny stone.
Em >>count = 1<< é a quantidade de stone que precisa para evoluir. vc poderá estar alterando tmb, se voce quiser.
Editado por Bhoris
Link para o comentário
Compartilhar em outros sites

@Bhoris tas falando bobagem kkk e muuita

 

@Gabriel

n sabe ler o topico nãoo?

ele falo q trasforma em shiny PORÉM quando retorna o poke volta o poke sem estar shiny

 

 

tem q adicionar algo no goback pra registra esse negocio da shiny stone..porém eu n sei kk

espera um scripter vim e te ajudar rs

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

é eu estava errado..

em baixo disso..

 

   doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "name", ""..evo[monster].." "..balls[1])

 

adicione isso..

doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "poke", evo[monster])

 

testa ai..

 

@se der creditos ao slicer

Link para o comentário
Compartilhar em outros sites

  • 4 weeks later...
  • 4 years later...
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

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

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