BrunooMaciell 85 Postado Dezembro 26, 2012 Share Postado Dezembro 26, 2012 Galera: estou precisando agora muito ajuda com este bug !! Bug [26/12/2012 09:49:59] [Error - Action Interface] [26/12/2012 09:49:59] data/actions/scripts/evolution.lua [26/12/2012 09:49:59] Description: [26/12/2012 09:49:59] data/actions/scripts/evolution.lua:4: table index is nil [26/12/2012 09:49:59] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/evolution.lua) [26/12/2012 09:49:59] data/lib/configuration.lua:5133: unexpected symbol near ',' [26/12/2012 09:49:59] [Error - LuaScriptInterface::loadFile] data/lib/configuration.lua:5133: unexpected symbol near ',' [26/12/2012 09:49:59] [Warning - LuaScriptInterface::initState] Cannot load data/lib/ Script - Action/Script/Evolution local special = specialevo local types = { [leaf] = {"Bulbasaur", "Ivysaur", "Oddish", "Gloom", "Bellsprout", "Weepinbell", "Exeggcute", "Chikorita", "Bayleef", "Hoppip", "Skiploom", "Sunkern"}, [water] = {"Squirtle", "Wartortle", "Horsea", "Goldeen", "Magikarp", "Psyduck", "Poliwag", "Poliwhirl", "Tentacool", "Krabby", "Staryu", "Omanyte", "Eevee", "Totodile", "Croconow", "Chinchou", "Marill", "Wooper", "Slowpoke", "Remoraid", "Seadra"}, [venom] = {"Zubat", "Ekans", "Nidoran male", "Nidoran female", "Nidorino", "Nidorina", "Gloom", "Venonat", "Tentacool", "Grimer", "Koffing", "Spinarak", "Golbat"}, [thunder] = {"Magnemite", "Pikachu", "Voltorb", "Eevee", "Chinchou", "Pichu", "Mareep", "Flaaffy", "Elekid"}, [rock] = {"Geodude", "Graveler", "Rhyhorn", "Kabuto", "Slugma", "Pupitar"}, [punch] = {"Machop", "Machoke", "Mankey", "Poliwhirl", "Tyrogue"}, [fire] = {"Charmander", "Charmeleon", "Vulpix", "Growlithe", "Ponyta", "Eevee", "Cyndaquil", "Quilava", "Slugma", "Houndour", "Magby"}, [coccon] = {"Caterpie", "Metapod", "Weedle", "Kakuna", "Paras", "Venonat", "Scyther", "Ledyba", "Spinarak", "Pineco"}, [crystal] = {"Dratini", "Dragonair", "Magikarp", "Omanyte", "Kabuto", "Seadra"}, [dark] = {"Gastly", "Haunter", "Eevee", "Houndour", "Pupitar"}, [earth] = {"Cubone", "Sandshrew", "Nidorino", "Nidorina", "Diglett", "Onix", "Rhyhorn", "Wooper", "Swinub", "Phanpy", "Larvitar"}, [enigma] = {"Abra", "Kadabra", "Psyduck", "Slowpoke", "Drowzee", "Eevee", "Natu", "Smoochum"}, [heart] = {"Rattata", "Pidgey", "Pidgeotto", "Spearow", "Clefairy", "Jigglypuff", "Meowth", "Doduo", "Porygon", "Chansey", "Sentret", "Hoothoot", "Cleffa", "Igglybuff", "Togepi", "Snubull", "Teddiursa"}, [ice] = {"Seel", "Shellder", "Smoochum", "Swinub"}, [king] = {"Slowpoke", "Poliwhirl"}, [metal] = {"Onix", "Scyther"}, [dragon] = {"Seadra"}, [upgrade] = {"Porygon"}, [sun] = {"Sunkern", "Gloom"}, [sfire] = {"Shiny Charmander", "Shiny Charmeleon", "Shiny Vulpix", "Shiny Growlithe", "Shiny Ponyta", "Shiny Eevee"}, [swater] = {"Shiny Squirtle", "Shiny Wartortle", "Shiny Horsea", "Shiny Goldeen", "Shiny Magikarp", "Shiny Psyduck", "Shiny Poliwag", "Shiny Poliwhirl", "Shiny Tentacool", "Shiny Krabby", "Shiny Staryu", "Shiny Omanyte", "Shiny Eevee"}, [sleaf] = {"Shiny Bulbasaur", "Shiny Ivysaur", "Shiny Oddish", "Shiny Gloom", "Shiny Bellsprout", "Shiny Weepinbell", "Shiny Exeggcute"}, [sheart] = {"Shiny Rattata", "Shiny Pidgey", "Shiny Pidgeotto", "Shiny Spearow", "Shiny Clefairy", "Shiny Jigglypuff", "Shiny Meowth", "Shiny Doduo", "Shiny Porygon", "Shiny Chansey"}, [senigma] = {"Shiny Abra", "Shiny Kadabra", "Shiny Psyduck", "Shiny Slowpoke", "Shiny Drowzee", "Shiny Eevee"}, [srock] = {"Shiny Geodude", "Shiny Graveler", "Shiny Rhyhorn", "Shiny Kabuto"}, [svenom] = {"Shiny Zubat", "Shiny Ekans", "Shiny Nidoran male", "Shiny Nidoran female", "Shiny Nidorino", "Shiny Nidorina", "Shiny Gloom", "Shiny Venonat", "Shiny Tentacool", "Shiny Grimer", "Shiny Koffing"}, [sice] = {"Shiny Seel", "Shiny Shellder"}, [sthunder] = {"Shiny Magnemite", "Shiny Pikachu", "Shiny Voltorb", "Shiny Eevee"}, [scrystal] = {"Shiny Dratini", "Shiny Dragonair", "Shiny Magikarp", "Shiny Omanyte", "Shiny Kabuto"}, [scoccon] = {"Shiny Caterpie", "Shiny Metapod", "Shiny Weedle", "Shiny Kakuna", "Shiny Paras", "Shiny Venonat", "Shiny Scyther"}, [sdarkness] = {"Shiny Gastly", "Shiny Haunter", "Shiny Eevee"}, [spunch] = {"Shiny Machop", "Shiny Machoke", "Shiny Mankey", "Shiny Poliwhirl"}, [searth] = {"Shiny Cubone", "Shiny Sandshrew", "Shiny Nidorino", "Shiny Nidorina", "Shiny Diglett", "Shiny Onix", "Shiny Rhyhorn"} } function onUse(cid, item, frompos, item2, topos) local pokeball = getPlayerSlotItem(cid, 8) if not isMonster(item2.uid) or not isSummon(item2.uid) then return true end if getCreatureCondition(item2.uid, CONDITION_INVISIBLE) then return true end local pevo = poevo[getCreatureName(item2.uid)] if not isInArray(specialevo, getCreatureName(item2.uid)) then if not pevo then doPlayerSendCancel(cid, "This pokemon can't evolve.") 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 if pevo.stoneid ~= item.itemid and pevo.stoneid2 ~= item.itemid then doPlayerSendCancel(cid, "This isn't the needed stone to evolve this pokemon.") return true end end local minlevel = 0 if getPokemonName(item2.uid) == "Eevee" then local eevee = "" if item.itemid == thunder then eevee = "Jolteon" elseif item.itemid == water then eevee = "Vaporeon" elseif item.itemid == fire then eevee = "Flareon" elseif item.itemid == enigma and allEvolutionsCanBeInduzedByStone then eevee = "Espeon" elseif item.itemid == dark and allEvolutionsCanBeInduzedByStone then eevee = "Umbreon" else doPlayerSendCancel(cid, "This isn't the required stone to evolve this pokemon.") return true end minlevel = pokes[eevee].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doRemoveItem(item.uid, 1) doEvolvePokemon(cid, item2, eevee, 0, 0) return true end if getPokemonName(item2.uid) == "Shiny Eevee" then local eevee = "" if item.itemid == sthunder then eevee = "Shiny Jolteon" elseif item.itemid == swater then eevee = "Shiny Vaporeon" elseif item.itemid == sfire then eevee = "Shiny Flareon" else doPlayerSendCancel(cid, "This isn't the required stone to evolve this pokemon.") return true end minlevel = pokes[eevee].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doRemoveItem(item.uid, 1) doEvolvePokemon(cid, item2, eevee, 0, 0) return true end if isInArray(specialevo, getPokemonName(item2.uid)) then if getPokemonName(item2.uid) == "Poliwhirl" then local evolution = 0 local theevo = "" local nlevel = 45 if item.itemid == water then if getPokemonLevel(item2.uid) >= 36 and getPlayerItemCount(cid, king) >= 1 then evolution = king theevo = "Politoed" elseif getPokemonLevel(item2.uid) >= 36 and getPlayerItemCount(cid, punch) >= 1 and allEvolutionsCanBeInduzedByStone then evolution = punch theevo = "Poliwrath" else if allEvolutionsCanBeInduzedByStone then if getPlayerItemCount(cid, king) <= 0 and getPlayerItemCount(cid, punch) <= 0 then doPlayerSendCancel(cid, "You need a water stone and a punch stone (Poliwrath) or a King's Rock (Politoed) to evolve this pokemon.") return true end else if getPlayerItemCount(cid, king) <= 0 then doPlayerSendCancel(cid, "You need a Water Stone and a King's Rock to evolve this pokemon to a Politoed.") return true end end end minlevel = pokes[theevo].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, punch) >= 1 and getPlayerItemCount(cid, king) >= 1 and allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "Please, use your Punch Stone to evolve this pokemon to a Poliwrath, or a King's Rock to a Politoed.") return true end if evolution == 0 then if allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "You need at least one Water Stone, and a Punch Stone (Poliwrath) or a King's Rock (Politoed) to evolve this pokemon.") else doPlayerSendCancel(cid, "You need at least one Water Stone and a King's Rock to evolve this pokemon.") end return true end if evolution ~= 0 then doEvolvePokemon(cid, item2, theevo, evolution, water) return true end elseif item.itemid == punch then minlevel = pokes["Poliwrath"].level if not allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "This is not the required stone to evolve this pokemon.") return true end if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, water) <= 0 then doPlayerSendCancel(cid, "You need at least one Punch Stone and one Water Stone to evolve this pokemon.") return true end local theevo = "Poliwrath" doEvolvePokemon(cid, item2, theevo, water, punch) elseif item.itemid == king then minlevel = pokes["Politoed"].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, water) <= 0 then doPlayerSendCancel(cid, "You need at least one Punch Stone and one King's Rock to evolve this pokemon.") return true end local theevo = "Politoed" doEvolvePokemon(cid, item2, theevo, water, king) end elseif getPokemonName(item2.uid) == "Shiny Poliwhirl" then local evolution = 0 local theevo = "" local nlevel = 45 if item.itemid == swater then if getPokemonLevel(item2.uid) >= 36 and getPlayerItemCount(cid, punch) >= 1 and allEvolutionsCanBeInduzedByStone then evolution = spunch theevo = "Shiny Poliwrath" else if allEvolutionsCanBeInduzedByStone then if getPlayerItemCount(cid, punch) <= 0 then doPlayerSendCancel(cid, "You need a shining water stone and a shining punch stone to evolve this pokemon.") return true end else end end minlevel = pokes[theevo].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, spunch) >= 1 and allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "Please, use your shining Punch Stone to evolve this pokemon to a Poliwrath.") return true end if evolution == 0 then if allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "You need at least one shining Water Stone and a shining Punch Stone to evolve this pokemon.") else doPlayerSendCancel(cid, "You need at least one shining Water Stone evolve this pokemon.") end return true end if evolution ~= 0 then doEvolvePokemon(cid, item2, theevo, evolution, swater) return true end elseif item.itemid == spunch then minlevel = pokes["Shiny Poliwrath"].level if not allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "This is not the required shining stone to evolve this pokemon.") return true end if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, swater) <= 0 then doPlayerSendCancel(cid, "You need at least one shining Punch Stone and one shining Water Stone to evolve this pokemon.") return true end local theevo = "Shiny Poliwrath" doEvolvePokemon(cid, item2, theevo, swater, spunch) end elseif getPokemonName(item2.uid) == "Gloom" then if item.itemid == leaf then local theevo = "" local evolution = 0 if getPlayerItemCount(cid, venom) >= 1 and getPlayerItemCount(cid, sun) >= 1 then doPlayerSendCancel(cid, "Please, use your Venom Stone to evolve this pokemon to a Vileplume, or a Sun Stone to a Bellossom.") return true end if getPlayerItemCount(cid, venom) <= 0 and getPlayerItemCount(cid, sun) <= 0 then doPlayerSendCancel(cid, "You need at least one Leaf Stone, and a Sun Stone (Bellossom) or a Venom Stone (Vileplume) to evolve this pokemon.") return true end if getPlayerItemCount(cid, venom) >= 1 then theevo = "Vileplume" evolution = venom elseif getPlayerItemCount(cid, sun) >= 1 then theevo = "Bellossom" evolution = sun end minlevel = pokes[theevo].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doEvolvePokemon(cid, item2, theevo, evolution, leaf) elseif item.itemid == venom then minlevel = pokes["Vileplume"].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, leaf) <= 0 then doPlayerSendCancel(cid, "You need at least one Leaf Stone and one Venom Stone to evolve this pokemon.") return true end doEvolvePokemon(cid, item2, "Vileplume", venom, leaf) elseif item.itemid == sun then minlevel = pokes["Bellossom"].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, leaf) <= 0 then doPlayerSendCancel(cid, "You need at least one Leaf Stone and one Sun Stone to evolve this pokemon.") return true end doEvolvePokemon(cid, item2, "Bellossom", sun, leaf) end elseif getPokemonName(item2.uid) == "Shiny Gloom" then if item.itemid == sleaf then local theevo = "" local evolution = 0 if getPlayerItemCount(cid, svenom) >= 1 then doPlayerSendCancel(cid, "Please, use your shining Venom Stone to evolve this pokemon to a Shiny Vileplume.") return true end if getPlayerItemCount(cid, svenom) <= 0 then doPlayerSendCancel(cid, "You need at least one shining Leaf Stone or a shining Venom Stone to evolve this pokemon.") return true end if getPlayerItemCount(cid, svenom) >= 1 then theevo = "Shiny Vileplume" evolution = svenom end minlevel = pokes[theevo].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doEvolvePokemon(cid, item2, theevo, evolution, sleaf) elseif item.itemid == svenom then minlevel = pokes["Shiny Vileplume"].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if getPlayerItemCount(cid, sleaf) <= 0 then doPlayerSendCancel(cid, "You need at least one Leaf Stone and one shining Venom Stone to evolve this pokemon.") return true end doEvolvePokemon(cid, item2, "Shiny Vileplume", svenom, sleaf) end elseif getPokemonName(item2.uid) == "Slowpoke" then if item.itemid == enigma then if not allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "This is not the required stone to evolve this pokemon.") return true end minlevel = pokes["Slowbro"].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doEvolvePokemon(cid, item2, "Slowbro", enigma, 0) elseif item.itemid == king then minlevel = pokes["Slowking"].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doEvolvePokemon(cid, item2, "Slowking", king, 0) end elseif getPokemonName(item2.uid) == "Shiny Slowpoke" then if item.itemid == senigma then if not allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "This is not the required stone to evolve this pokemon.") return true end minlevel = pokes["Shiny Slowbro"].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doEvolvePokemon(cid, item2, "Shiny Slowbro", senigma, 0) end elseif getPokemonName(item2.uid) == "Tyrogue" then if not allEvolutionsCanBeInduzedByStone then doPlayerSendCancel(cid, "This pokemon doesn't evolve using stones.") return true end local evolution = "" evolution = choose("Hitmonlee", "Hitmonchan", "Hitmontop") minlevel = pokes[evolution].level if getPlayerLevel(cid) < minlevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end doEvolvePokemon(cid, item2, evolution, punch, 0) end return true end local count = poevo[getPokemonName(item2.uid)].count local stnid = poevo[getPokemonName(item2.uid)].stoneid local stnid2 = poevo[getPokemonName(item2.uid)].stoneid2 local evo = poevo[getPokemonName(item2.uid)].evolution local nlevel = poevo[getPokemonName(item2.uid)].level local count = poevo[getPokemonName(item2.uid)].count local stnid = poevo[getPokemonName(item2.uid)].stoneid local stnid2 = poevo[getPokemonName(item2.uid)].stoneid2 local evo = poevo[getPokemonName(item2.uid)].evolution local nlevel = poevo[getPokemonName(item2.uid)].level if stnid2 > 1 and (getPlayerItemCount(cid, stnid2) < count or getPlayerItemCount(cid, stnid) < count) then doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!") return true end if getPlayerItemCount(cid, stnid) < count then local str = "" if count >= 2 then str = "s" end return doPlayerSendCancel(cid, "You need at least "..count.." "..getItemNameById(stnid)..""..str.." to evolve this pokemon!") end minlevel = pokes[evo].level if getPlayerLevel(cid) < minlevel and evolutionByStoneRequireLevel then doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").") return true end if count >= 2 then stnid2 = stnid end doEvolvePokemon(cid, item2, evo, stnid, stnid2) return TRUE end Script - Data/Lib/Configuration >> Parte Dos Evolutions poevo = { ["Bulbasaur"] = {level = 40, evolution = "Ivysaur", count = 1, stoneid = 11441, stoneid2 = 0}, ["Ivysaur"] = {level = 85, evolution = "Venusaur", count = 1, stoneid = 11441, stoneid2 = 11443}, ["Charmander"] = {level = 40, evolution = "Charmeleon", count = 1, stoneid = 11447, stoneid2 = 0}, ["Charmeleon"] = {level = 85, evolution = "Charizard", count = 2, stoneid = 11447, stoneid2 = 0}, ["Squirtle"] = {level = 40, evolution = "Wartortle", count = 1, stoneid = 11442, stoneid2 = 0}, ["Wartortle"] = {level = 85, evolution = "Blastoise", count = 2, stoneid = 11442, stoneid2 = 0}, ["Caterpie"] = {level = 15, evolution = "Metapod", count = 1, stoneid = 11448, stoneid2 = 0}, ["Metapod"] = {level = 30, evolution = "Butterfree", count = 2, stoneid = 11448, stoneid2 = 0}, ["Weedle"] = {level = 15, evolution = "Kakuna", count = 1, stoneid = 11448, stoneid2 = 0}, ["Kakuna"] = {level = 30, evolution = "Beedrill", count = 2, stoneid = 11448, stoneid2 = 0}, ["Pidgey"] = {level = 20, evolution = "Pidgeotto", count = 1, stoneid = 11453, stoneid2 = 0}, ["Pidgeotto"] = {level = 75, evolution = "Pidgeot", count = 2, stoneid = 11453, stoneid2 = 0}, ["Rattata"] = {level = 25, evolution = "Raticate", count = 1, stoneid = 11453, stoneid2 = 0}, ["Spearow"] = {level = 50, evolution = "Fearow", count = 1, stoneid = 11453, stoneid2 = 0}, ["Ekans"] = {level = 35, evolution = "Arbok", count = 1, stoneid = 11443, stoneid2 = 0}, ["Pikachu"] = {level = 85, evolution = "Raichu", count = 1, stoneid = 11444, stoneid2 = 0}, ["Sandshrew"] = {level = 65, evolution = "Sandslash", count = 2, stoneid = 11451, stoneid2 = 0}, ["Nidoran Female"] = {level = 30, evolution = "Nidorina", count = 1, stoneid = 11443, stoneid2 = 0}, ["Nidorina"] = {level = 65, evolution = "Nidoqueen", count = 1, stoneid = 11443, stoneid2 = 11451}, ["Nidoran Male"] = {level = 30, evolution = "Nidorino", count = 1, stoneid = 11443, stoneid2 = 0}, ["Nidorino"] = {level = 65, evolution = "Nidoking", count = 1, stoneid = 11443, stoneid2 = 11451}, ["Clefairy"] = {level = 65, evolution = "Clefable", count = 1, stoneid = 11453, stoneid2 = 0}, ["Vulpix"] = {level = 70, evolution = "Ninetales", count = 2, stoneid = 11447, stoneid2 = 0}, ["Jigglypuff"] = {level = 65, evolution = "Wigglytuff", count = 1, stoneid = 11453, stoneid2 = 0}, ["Zubat"] = {level = 35, evolution = "Golbat", count = 1, stoneid = 11443, stoneid2 = 0}, ["Golbat"] = {level = 80, evolution = "Crobat", count = 0, stoneid = 0, stoneid2 = 0}, ["Oddish"] = {level = 25, evolution = "Gloom", count = 1, stoneid = 11441, stoneid2 = 0}, ["Paras"] = {level = 50, evolution = "Parasect", count = 1, stoneid = 11448, stoneid2 = 0}, ["Venonat"] = {level = 50, evolution = "Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443}, ["Diglett"] = {level = 35, evolution = "Dugtrio", count = 1, stoneid = 11451, stoneid2 = 0}, ["Meowth"] = {level = 30, evolution = "Persian", count = 1, stoneid = 11453, stoneid2 = 0}, ["Psyduck"] = {level = 55, evolution = "Golduck", count = 1, stoneid = 11442, stoneid2 = 11452}, ["Mankey"] = {level = 50, evolution = "Primeape", count = 1, stoneid = 11446, stoneid2 = 0}, ["Growlithe"] = {level = 80, evolution = "Arcanine", count = 2, stoneid = 11447, stoneid2 = 0}, ["Poliwag"] = {level = 25, evolution = "Poliwhirl", count = 1, stoneid = 11442, stoneid2 = 0}, ["Abra"] = {level = 45, evolution = "Kadabra", count = 1, stoneid = 11452, stoneid2 = 0}, ["Kadabra"] = {level = 80, evolution = "Alakazam", count = 2, stoneid = 11452, stoneid2 = 0}, ["Machop"] = {level = 45, evolution = "Machoke", count = 1, stoneid = 11446, stoneid2 = 0}, ["Machoke"] = {level = 70, evolution = "Machamp", count = 2, stoneid = 11446, stoneid2 = 0}, ["Bellsprout"] = {level = 25, evolution = "Weepinbell", count = 1, stoneid = 11441, stoneid2 = 0}, ["Weepinbell"] = {level = 50, evolution = "Victreebel", count = 2, stoneid = 11441, stoneid2 = 0}, ["Tentacool"] = {level = 75, evolution = "Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443}, ["Geodude"] = {level = 40, evolution = "Graveler", count = 1, stoneid = 11445, stoneid2 = 0}, ["Graveler"] = {level = 70, evolution = "Golem", count = 2, stoneid = 11445, stoneid2 = 0}, ["Ponyta"] = {level = 50, evolution = "Rapidash", count = 1, stoneid = 11447, stoneid2 = 0}, ["Magnemite"] = {level = 40, evolution = "Magneton", count = 1, stoneid = 11444, stoneid2 = 0}, ["Doduo"] = {level = 45, evolution = "Dodrio", count = 1, stoneid = 11453, stoneid2 = 0}, ["Seel"] = {level = 65, evolution = "Dewgong", count = 1, stoneid = 11442, stoneid2 = 11454}, ["Grimer"] = {level = 35, evolution = "Muk", count = 1, stoneid = 11443, stoneid2 = 0}, ["Shellder"] = {level = 60, evolution = "Cloyster", count = 2, stoneid = 11454, stoneid2 = 0}, ["Gastly"] = {level = 45, evolution = "Haunter", count = 1, stoneid = 11450, stoneid2 = 0}, ["Haunter"] = {level = 80, evolution = "Gengar", count = 2, stoneid = 11450, stoneid2 = 0}, ["Drowzee"] = {level = 55, evolution = "Hypno", count = 2, stoneid = 11452, stoneid2 = 0}, ["Krabby"] = {level = 40, evolution = "Kingler", count = 1, stoneid = 11442, stoneid2 = 0}, ["Voltorb"] = {level = 35, evolution = "Electrode", count = 1, stoneid = 11444, stoneid2 = 0}, ["Exeggcute"] = {level = 55, evolution = "Exeggutor", count = 1, stoneid = 11441, stoneid2 = 11452}, ["Cubone"] = {level = 55, evolution = "Marowak", count = 2, stoneid = 11451, stoneid2 = 0}, ["Koffing"] = {level = 35, evolution = "Weezing", count = 1, stoneid = 11443, stoneid2 = 0}, ["Rhyhorn"] = {level = 75, evolution = "Rhydon", count = 1, stoneid = 11445, stoneid2 = 11451}, ["Horsea"] = {level = 45, evolution = "Seadra", count = 1, stoneid = 11442, stoneid2 = 0}, ["Goldeen"] = {level = 35, evolution = "Seaking", count = 1, stoneid = 11442, stoneid2 = 0}, ["Staryu"] = {level = 35, evolution = "Starmie", count = 1, stoneid = 11442, stoneid2 = 0}, ["Magikarp"] = {level = 85, evolution = "Gyarados", count = 1, stoneid = 11442, stoneid2 = 11449}, ["Omanyte"] = {level = 80, evolution = "Omastar", count = 1, stoneid = 11442, stoneid2 = 11449}, ["Kabuto"] = {level = 80, evolution = "Kabutops", count = 1, stoneid = 11445, stoneid2 = 11449}, ["Dratini"] = {level = 60, evolution = "Dragonair", count = 1, stoneid = 11449, stoneid2 = 0}, ["Dragonair"] = {level = 100, evolution = "Dragonite", count = 2, stoneid = 11449, stoneid2 = 0}, -----shiny evo------ ["Shiny Rattata"] = {level = 12, evolution = "Shiny Raticate", count = 2, stoneid = 11453, stoneid2 = 0}, ["Shiny Zubat"] = {level = 17, evolution = "Shiny Golbat", count = 2, stoneid = 11443, stoneid2 = 0}, ["Shiny Golbat"] = {level = 2, evolution = "Shiny Crobat", count = 0, stoneid = 0, stoneid2 = 0}, ["Shiny Paras"] = {level = 21, evolution = "Shiny Parasect", count = 2, stoneid = 11448, stoneid2 = 0}, ["Shiny Venonat"] = {level = 27, evolution = "Shiny Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443}, ["Shiny Growlithe"] = {level = 1, evolution = "Shiny Arcanine", count = 2, stoneid = 11447, stoneid2 = 0}, ["Shiny Tentacool"] = {level = 30, evolution = "Shiny Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443}, ["Shiny Grimer"] = {level = 24, evolution = "Shiny Muk", count = 2, stoneid = 11443, stoneid2 = 0}, ["Shiny Krabby"] = {level = 19, evolution = "Shiny Kingler", count = 2, stoneid = 11442, stoneid2 = 0}, ["Shiny Voltorb"] = {level = 20, evolution = "Shiny Electrode", count = 2, stoneid = 11444, stoneid2 = 0}, ["Shiny Cubone"] = {level = 27, evolution = "Shiny Marowak", count = 2, stoneid = 11451, stoneid2 = 0}, ["Shiny Horsea"] = {level = 24, evolution = "Shiny Seadra", count = 2, stoneid = 11442, stoneid2 = 0}, ["Shiny Dratini"] = {level = 24, evolution = "Shiny Dragonair", count = 2, stoneid = 11449, stoneid2 = 0}, -----johto evo------ ["Chikorita"] = {level = 16, evolution = "Bayleef", count = 1, stoneid = 11441, stoneid2 = 0}, ["Bayleef"] = {level = 32, evolution = "Meganium", count = 2, stoneid = 11441, stoneid2 = 0}, ["Cyndaquil"] = {level = 14, evolution = "Quilava", count = 1, stoneid = 11447, stoneid2 = 0}, ["Quilava"] = {level = 36, evolution = "Typhlosion", count = 2, stoneid = 11447, stoneid2 = 0}, ["Totodile"] = {level = 18, evolution = "Croconaw", count = 1, stoneid = 11442, stoneid2 = 0}, --alterado v1.7 ["Croconaw"] = {level = 30, evolution = "Feraligatr", count = 2, stoneid = 11442, stoneid2 = 0}, --alterado v1.7 ["Sentret"] = {level = 13, evolution = "Furret", count = 1, stoneid = 11453, stoneid2 = 0}, ["Hoothoot"] = {level = 19, evolution = "Noctowl", count = 1, stoneid = 11453, stoneid2 = 0}, ["Ledyba"] = {level = 16, evolution = "Ledian", count = 2, stoneid = 11448, stoneid2 = 0}, ["Spinarak"] = {level = 23, evolution = "Ariados", count = 1, stoneid = 11448, stoneid2 = 11443}, ["Chinchou"] = {level = 26, evolution = "Lanturn", count = 1, stoneid = 11442, stoneid2 = 11444}, ["Pichu"] = {level = 2, evolution = "Pikachu", count = 0, stoneid = 0, stoneid2 = 0}, ["Cleffa"] = {level = 2, evolution = "Clefairy", count = 0, stoneid = 0, stoneid2 = 0}, ["Igglybuff"] = {level = 2, evolution = "Jigglypuff", count = 0, stoneid = 0, stoneid2 = 0}, ["Togepi"] = {level = 2, evolution = "Togetic", count = 0, stoneid = 0, stoneid2 = 0}, ["Natu"] = {level = 25, evolution = "Xatu", count = 1, stoneid = 11452, stoneid2 = 0}, ["Mareep"] = {level = 15, evolution = "Flaaffy", count = 1, stoneid = 11444, stoneid2 = 0}, ["Flaaffy"] = {level = 34, evolution = "Ampharos", count = 2, stoneid = 11444, stoneid2 = 0}, ["Marill"] = {level = 19, evolution = "Azumarill", count = 1, stoneid = 11442, stoneid2 = 0}, ["Hoppip"] = {level = 15, evolution = "Skiploom", count = 1, stoneid = 11441, stoneid2 = 0}, ["Skiploom"] = {level = 26, evolution = "Jumpluff", count = 1, stoneid = 11441, stoneid2 = 0}, ["Sunkern"] = {level = 1, evolution = "Sunflora", count = 1, stoneid = 11441, stoneid2 = 12242}, ["Wooper"] = {level = 27, evolution = "Quagsire", count = 1, stoneid = 11442, stoneid2 = 11451}, ["Pineco"] = {level = 28, evolution = "Forretress", count = 2, stoneid = 11448, stoneid2 = 0}, ["Snubbull"] = {level = 23, evolution = "Granbull", count = 1, stoneid = 11453, stoneid2 = 0}, ["Teddiursa"] = {level = 37, evolution = "Ursaring", count = 2, stoneid = 11453, stoneid2 = 0}, ["Slugma"] = {level = 28, evolution = "Magcargo", count = 1, stoneid = 11445, stoneid2 = 11447}, ["Swinub"] = {level = 33, evolution = "Piloswine", count = 1, stoneid = 11451, stoneid2 = 11454}, ["Remoraid"] = {level = 25, evolution = "Octillery", count = 1, stoneid = 11442, stoneid2 = 0}, ["Houndour"] = {level = 31, evolution = "Houndoom", count = 1, stoneid = 11450, stoneid2 = 11447}, ["Phanpy"] = {level = 25, evolution = "Donphan", count = 2, stoneid = 11451, stoneid2 = 0}, ["Smoochum"] = {level = 27, evolution = "Jynx", count = 1, stoneid = 11454, stoneid2 = 11452}, ["Elekid"] = {level = 27, evolution = "Electabuzz", count = 2, stoneid = 11444, stoneid2 = 0}, ["Magby"] = {level = 27, evolution = "Magmar", count = 2, stoneid = 11447, stoneid2 = 0}, ["Larvitar"] = {level = 24, evolution = "Pupitar", count = 1, stoneid = ground, stoneid2 = 0}, ["Pupitar"] = {level = 45, evolution = "Tyranitar", count = 1, stoneid = 11450, stoneid2 = 11445}, ["Porygon"] = {level = 75, evolution = "Porygon2", count = 1, stoneid = 12419, stoneid2 = 0}, ["Seadra"] = {level = 90, evolution = "Kingdra", count = 1, stoneid = 11442, stoneid2 = 12417}, ["Chansey"] = {level = 100, evolution = "Blissey", count = 2, stoneid = 12419, stoneid2 = 0}, ["Scyther"] = {level = 100, evolution = "Scizor", count = 1, stoneid = 11448, stoneid2 = 12232}, ["Onix"] = {level = 100, evolution = "Steelix", count = 1, stoneid = 11445, stoneid2 = 12232}, } spcevo = { ["Poliwhirl"] = {[1] = {level = 36, evolution = "Poliwrath", count = 1, stoneid = 11442, stoneid2 = 11446}, [2] = {level = 1, evolution = "Politoed", count = 1, stoneid = 11442, stoneid2 = 12244}}, ["Gloom"] = {[1] = {level = 1, evolution = "Vileplume", count = 2, stoneid = 11441, stoneid2 = 0}, [2] = {level = 1, evolution = "Bellossom", count = 1, stoneid = 11441, stoneid2 = 12242}}, } leaf = 11441 grass = 11441 water = 11442 venom = 11443 thunder = 11444 rock = 11445 punch = 11446 fire = 11447 coccon = 11448 crystal = 11449 dark = 11450 earth = 11451 enigma = 11452 heart = 11453 ice = 11454 metal = 12232 sun = 12242 king = 12244 magma = 12245 sfire = 12401 swater = 12402 sleaf = 12403 sheart = 12404 senigma = 12405 srock = 12406 svenom = 12407 sice = 12408 sthunder = 12409 scrystal = 12410 scoccon = 12411 sdarkness = 12412 spunch = 12413 searth = 12414 dragon = 12417 upgrade = 12419 Obs: caso precisem de mais uma script ou parte de alguma script so posta aqui que eu edito e posto ^^ Obs¹: Ja EStou Usando o serve do slicer 1.8 Rep++ Link para o comentário https://xtibia.com/forum/topic/202509-bug-ajuda/ Compartilhar em outros sites More sharing options...
0 StyloMaldoso 330 Postado Dezembro 26, 2012 Share Postado Dezembro 26, 2012 cara não tem nd vé com o evoluiton eu acho .. vai nessa linha em configuration linha: 5133 vé se ta falando alguma virgula etc.. repara bem.. creio eu que o bug é ae. Link para o comentário https://xtibia.com/forum/topic/202509-bug-ajuda/#findComment-1423118 Compartilhar em outros sites More sharing options...
0 DinoAdmin 57 Postado Dezembro 26, 2012 Share Postado Dezembro 26, 2012 manda a linha 5133 do configuration.lua para que possamos ajudar voce Link para o comentário https://xtibia.com/forum/topic/202509-bug-ajuda/#findComment-1423125 Compartilhar em outros sites More sharing options...
0 StyloMaldoso 330 Postado Dezembro 26, 2012 Share Postado Dezembro 26, 2012 (editado) Duvida resolvida por Msn, reportado para moverem ! abraços. Editado Dezembro 26, 2012 por StyloMaldoso Link para o comentário https://xtibia.com/forum/topic/202509-bug-ajuda/#findComment-1423145 Compartilhar em outros sites More sharing options...
0 BrunooMaciell 85 Postado Dezembro 26, 2012 Autor Share Postado Dezembro 26, 2012 Duvida resolvida por Msn, reportado para fexarem ! abraços. sim duvida resolvida via Msn ^^ Rep++ Link para o comentário https://xtibia.com/forum/topic/202509-bug-ajuda/#findComment-1423148 Compartilhar em outros sites More sharing options...
0 Yan Oliveira 215 Postado Dezembro 26, 2012 Share Postado Dezembro 26, 2012 Resolvido! Movido. Link para o comentário https://xtibia.com/forum/topic/202509-bug-ajuda/#findComment-1423149 Compartilhar em outros sites More sharing options...
Pergunta
BrunooMaciell 85
Galera: estou precisando agora muito ajuda com este bug !!
Bug
[26/12/2012 09:49:59] [Error - Action Interface]
[26/12/2012 09:49:59] data/actions/scripts/evolution.lua
[26/12/2012 09:49:59] Description:
[26/12/2012 09:49:59] data/actions/scripts/evolution.lua:4: table index is nil
[26/12/2012 09:49:59] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/evolution.lua)
[26/12/2012 09:49:59] data/lib/configuration.lua:5133: unexpected symbol near ','
[26/12/2012 09:49:59] [Error - LuaScriptInterface::loadFile] data/lib/configuration.lua:5133: unexpected symbol near ','
[26/12/2012 09:49:59] [Warning - LuaScriptInterface::initState] Cannot load data/lib/
Script - Action/Script/Evolution
local special = specialevo
local types = {
[leaf] = {"Bulbasaur", "Ivysaur", "Oddish", "Gloom", "Bellsprout", "Weepinbell", "Exeggcute", "Chikorita", "Bayleef", "Hoppip", "Skiploom", "Sunkern"},
[water] = {"Squirtle", "Wartortle", "Horsea", "Goldeen", "Magikarp", "Psyduck", "Poliwag", "Poliwhirl", "Tentacool", "Krabby", "Staryu", "Omanyte", "Eevee", "Totodile", "Croconow", "Chinchou", "Marill", "Wooper", "Slowpoke", "Remoraid", "Seadra"},
[venom] = {"Zubat", "Ekans", "Nidoran male", "Nidoran female", "Nidorino", "Nidorina", "Gloom", "Venonat", "Tentacool", "Grimer", "Koffing", "Spinarak", "Golbat"},
[thunder] = {"Magnemite", "Pikachu", "Voltorb", "Eevee", "Chinchou", "Pichu", "Mareep", "Flaaffy", "Elekid"},
[rock] = {"Geodude", "Graveler", "Rhyhorn", "Kabuto", "Slugma", "Pupitar"},
[punch] = {"Machop", "Machoke", "Mankey", "Poliwhirl", "Tyrogue"},
[fire] = {"Charmander", "Charmeleon", "Vulpix", "Growlithe", "Ponyta", "Eevee", "Cyndaquil", "Quilava", "Slugma", "Houndour", "Magby"},
[coccon] = {"Caterpie", "Metapod", "Weedle", "Kakuna", "Paras", "Venonat", "Scyther", "Ledyba", "Spinarak", "Pineco"},
[crystal] = {"Dratini", "Dragonair", "Magikarp", "Omanyte", "Kabuto", "Seadra"},
[dark] = {"Gastly", "Haunter", "Eevee", "Houndour", "Pupitar"},
[earth] = {"Cubone", "Sandshrew", "Nidorino", "Nidorina", "Diglett", "Onix", "Rhyhorn", "Wooper", "Swinub", "Phanpy", "Larvitar"},
[enigma] = {"Abra", "Kadabra", "Psyduck", "Slowpoke", "Drowzee", "Eevee", "Natu", "Smoochum"},
[heart] = {"Rattata", "Pidgey", "Pidgeotto", "Spearow", "Clefairy", "Jigglypuff", "Meowth", "Doduo", "Porygon", "Chansey", "Sentret", "Hoothoot", "Cleffa", "Igglybuff", "Togepi", "Snubull", "Teddiursa"},
[ice] = {"Seel", "Shellder", "Smoochum", "Swinub"},
[king] = {"Slowpoke", "Poliwhirl"},
[metal] = {"Onix", "Scyther"},
[dragon] = {"Seadra"},
[upgrade] = {"Porygon"},
[sun] = {"Sunkern", "Gloom"},
[sfire] = {"Shiny Charmander", "Shiny Charmeleon", "Shiny Vulpix", "Shiny Growlithe", "Shiny Ponyta", "Shiny Eevee"},
[swater] = {"Shiny Squirtle", "Shiny Wartortle", "Shiny Horsea", "Shiny Goldeen", "Shiny Magikarp", "Shiny Psyduck", "Shiny Poliwag", "Shiny Poliwhirl", "Shiny Tentacool", "Shiny Krabby", "Shiny Staryu", "Shiny Omanyte", "Shiny Eevee"},
[sleaf] = {"Shiny Bulbasaur", "Shiny Ivysaur", "Shiny Oddish", "Shiny Gloom", "Shiny Bellsprout", "Shiny Weepinbell", "Shiny Exeggcute"},
[sheart] = {"Shiny Rattata", "Shiny Pidgey", "Shiny Pidgeotto", "Shiny Spearow", "Shiny Clefairy", "Shiny Jigglypuff", "Shiny Meowth", "Shiny Doduo", "Shiny Porygon", "Shiny Chansey"},
[senigma] = {"Shiny Abra", "Shiny Kadabra", "Shiny Psyduck", "Shiny Slowpoke", "Shiny Drowzee", "Shiny Eevee"},
[srock] = {"Shiny Geodude", "Shiny Graveler", "Shiny Rhyhorn", "Shiny Kabuto"},
[svenom] = {"Shiny Zubat", "Shiny Ekans", "Shiny Nidoran male", "Shiny Nidoran female", "Shiny Nidorino", "Shiny Nidorina", "Shiny Gloom", "Shiny Venonat", "Shiny Tentacool", "Shiny Grimer", "Shiny Koffing"},
[sice] = {"Shiny Seel", "Shiny Shellder"},
[sthunder] = {"Shiny Magnemite", "Shiny Pikachu", "Shiny Voltorb", "Shiny Eevee"},
[scrystal] = {"Shiny Dratini", "Shiny Dragonair", "Shiny Magikarp", "Shiny Omanyte", "Shiny Kabuto"},
[scoccon] = {"Shiny Caterpie", "Shiny Metapod", "Shiny Weedle", "Shiny Kakuna", "Shiny Paras", "Shiny Venonat", "Shiny Scyther"},
[sdarkness] = {"Shiny Gastly", "Shiny Haunter", "Shiny Eevee"},
[spunch] = {"Shiny Machop", "Shiny Machoke", "Shiny Mankey", "Shiny Poliwhirl"},
[searth] = {"Shiny Cubone", "Shiny Sandshrew", "Shiny Nidorino", "Shiny Nidorina", "Shiny Diglett", "Shiny Onix", "Shiny Rhyhorn"}
}
function onUse(cid, item, frompos, item2, topos)
local pokeball = getPlayerSlotItem(cid, 8)
if not isMonster(item2.uid) or not isSummon(item2.uid) then
return true
end
if getCreatureCondition(item2.uid, CONDITION_INVISIBLE) then return true end
local pevo = poevo[getCreatureName(item2.uid)]
if not isInArray(specialevo, getCreatureName(item2.uid)) then
if not pevo then
doPlayerSendCancel(cid, "This pokemon can't evolve.")
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
if pevo.stoneid ~= item.itemid and pevo.stoneid2 ~= item.itemid then
doPlayerSendCancel(cid, "This isn't the needed stone to evolve this pokemon.")
return true
end
end
local minlevel = 0
if getPokemonName(item2.uid) == "Eevee" then
local eevee = ""
if item.itemid == thunder then
eevee = "Jolteon"
elseif item.itemid == water then
eevee = "Vaporeon"
elseif item.itemid == fire then
eevee = "Flareon"
elseif item.itemid == enigma and allEvolutionsCanBeInduzedByStone then
eevee = "Espeon"
elseif item.itemid == dark and allEvolutionsCanBeInduzedByStone then
eevee = "Umbreon"
else
doPlayerSendCancel(cid, "This isn't the required stone to evolve this pokemon.")
return true
end
minlevel = pokes[eevee].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doRemoveItem(item.uid, 1)
doEvolvePokemon(cid, item2, eevee, 0, 0)
return true
end
if getPokemonName(item2.uid) == "Shiny Eevee" then
local eevee = ""
if item.itemid == sthunder then
eevee = "Shiny Jolteon"
elseif item.itemid == swater then
eevee = "Shiny Vaporeon"
elseif item.itemid == sfire then
eevee = "Shiny Flareon"
else
doPlayerSendCancel(cid, "This isn't the required stone to evolve this pokemon.")
return true
end
minlevel = pokes[eevee].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doRemoveItem(item.uid, 1)
doEvolvePokemon(cid, item2, eevee, 0, 0)
return true
end
if isInArray(specialevo, getPokemonName(item2.uid)) then
if getPokemonName(item2.uid) == "Poliwhirl" then
local evolution = 0
local theevo = ""
local nlevel = 45
if item.itemid == water then
if getPokemonLevel(item2.uid) >= 36 and getPlayerItemCount(cid, king) >= 1 then
evolution = king
theevo = "Politoed"
elseif getPokemonLevel(item2.uid) >= 36 and getPlayerItemCount(cid, punch) >= 1 and allEvolutionsCanBeInduzedByStone then
evolution = punch
theevo = "Poliwrath"
else
if allEvolutionsCanBeInduzedByStone then
if getPlayerItemCount(cid, king) <= 0 and getPlayerItemCount(cid, punch) <= 0 then
doPlayerSendCancel(cid, "You need a water stone and a punch stone (Poliwrath) or a King's Rock (Politoed) to evolve this pokemon.")
return true
end
else
if getPlayerItemCount(cid, king) <= 0 then
doPlayerSendCancel(cid, "You need a Water Stone and a King's Rock to evolve this pokemon to a Politoed.")
return true
end
end
end
minlevel = pokes[theevo].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, punch) >= 1 and getPlayerItemCount(cid, king) >= 1 and allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "Please, use your Punch Stone to evolve this pokemon to a Poliwrath, or a King's Rock to a Politoed.")
return true
end
if evolution == 0 then
if allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "You need at least one Water Stone, and a Punch Stone (Poliwrath) or a King's Rock (Politoed) to evolve this pokemon.")
else
doPlayerSendCancel(cid, "You need at least one Water Stone and a King's Rock to evolve this pokemon.")
end
return true
end
if evolution ~= 0 then
doEvolvePokemon(cid, item2, theevo, evolution, water)
return true
end
elseif item.itemid == punch then
minlevel = pokes["Poliwrath"].level
if not allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "This is not the required stone to evolve this pokemon.")
return true
end
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, water) <= 0 then
doPlayerSendCancel(cid, "You need at least one Punch Stone and one Water Stone to evolve this pokemon.")
return true
end
local theevo = "Poliwrath"
doEvolvePokemon(cid, item2, theevo, water, punch)
elseif item.itemid == king then
minlevel = pokes["Politoed"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, water) <= 0 then
doPlayerSendCancel(cid, "You need at least one Punch Stone and one King's Rock to evolve this pokemon.")
return true
end
local theevo = "Politoed"
doEvolvePokemon(cid, item2, theevo, water, king)
end
elseif getPokemonName(item2.uid) == "Shiny Poliwhirl" then
local evolution = 0
local theevo = ""
local nlevel = 45
if item.itemid == swater then
if getPokemonLevel(item2.uid) >= 36 and getPlayerItemCount(cid, punch) >= 1 and allEvolutionsCanBeInduzedByStone then
evolution = spunch
theevo = "Shiny Poliwrath"
else
if allEvolutionsCanBeInduzedByStone then
if getPlayerItemCount(cid, punch) <= 0 then
doPlayerSendCancel(cid, "You need a shining water stone and a shining punch stone to evolve this pokemon.")
return true
end
else
end
end
minlevel = pokes[theevo].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, spunch) >= 1 and allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "Please, use your shining Punch Stone to evolve this pokemon to a Poliwrath.")
return true
end
if evolution == 0 then
if allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "You need at least one shining Water Stone and a shining Punch Stone to evolve this pokemon.")
else
doPlayerSendCancel(cid, "You need at least one shining Water Stone evolve this pokemon.")
end
return true
end
if evolution ~= 0 then
doEvolvePokemon(cid, item2, theevo, evolution, swater)
return true
end
elseif item.itemid == spunch then
minlevel = pokes["Shiny Poliwrath"].level
if not allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "This is not the required shining stone to evolve this pokemon.")
return true
end
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, swater) <= 0 then
doPlayerSendCancel(cid, "You need at least one shining Punch Stone and one shining Water Stone to evolve this pokemon.")
return true
end
local theevo = "Shiny Poliwrath"
doEvolvePokemon(cid, item2, theevo, swater, spunch)
end
elseif getPokemonName(item2.uid) == "Gloom" then
if item.itemid == leaf then
local theevo = ""
local evolution = 0
if getPlayerItemCount(cid, venom) >= 1 and getPlayerItemCount(cid, sun) >= 1 then
doPlayerSendCancel(cid, "Please, use your Venom Stone to evolve this pokemon to a Vileplume, or a Sun Stone to a Bellossom.")
return true
end
if getPlayerItemCount(cid, venom) <= 0 and getPlayerItemCount(cid, sun) <= 0 then
doPlayerSendCancel(cid, "You need at least one Leaf Stone, and a Sun Stone (Bellossom) or a Venom Stone (Vileplume) to evolve this pokemon.")
return true
end
if getPlayerItemCount(cid, venom) >= 1 then
theevo = "Vileplume"
evolution = venom
elseif getPlayerItemCount(cid, sun) >= 1 then
theevo = "Bellossom"
evolution = sun
end
minlevel = pokes[theevo].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doEvolvePokemon(cid, item2, theevo, evolution, leaf)
elseif item.itemid == venom then
minlevel = pokes["Vileplume"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, leaf) <= 0 then
doPlayerSendCancel(cid, "You need at least one Leaf Stone and one Venom Stone to evolve this pokemon.")
return true
end
doEvolvePokemon(cid, item2, "Vileplume", venom, leaf)
elseif item.itemid == sun then
minlevel = pokes["Bellossom"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, leaf) <= 0 then
doPlayerSendCancel(cid, "You need at least one Leaf Stone and one Sun Stone to evolve this pokemon.")
return true
end
doEvolvePokemon(cid, item2, "Bellossom", sun, leaf)
end
elseif getPokemonName(item2.uid) == "Shiny Gloom" then
if item.itemid == sleaf then
local theevo = ""
local evolution = 0
if getPlayerItemCount(cid, svenom) >= 1 then
doPlayerSendCancel(cid, "Please, use your shining Venom Stone to evolve this pokemon to a Shiny Vileplume.")
return true
end
if getPlayerItemCount(cid, svenom) <= 0 then
doPlayerSendCancel(cid, "You need at least one shining Leaf Stone or a shining Venom Stone to evolve this pokemon.")
return true
end
if getPlayerItemCount(cid, svenom) >= 1 then
theevo = "Shiny Vileplume"
evolution = svenom
end
minlevel = pokes[theevo].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doEvolvePokemon(cid, item2, theevo, evolution, sleaf)
elseif item.itemid == svenom then
minlevel = pokes["Shiny Vileplume"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if getPlayerItemCount(cid, sleaf) <= 0 then
doPlayerSendCancel(cid, "You need at least one Leaf Stone and one shining Venom Stone to evolve this pokemon.")
return true
end
doEvolvePokemon(cid, item2, "Shiny Vileplume", svenom, sleaf)
end
elseif getPokemonName(item2.uid) == "Slowpoke" then
if item.itemid == enigma then
if not allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "This is not the required stone to evolve this pokemon.")
return true
end
minlevel = pokes["Slowbro"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doEvolvePokemon(cid, item2, "Slowbro", enigma, 0)
elseif item.itemid == king then
minlevel = pokes["Slowking"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doEvolvePokemon(cid, item2, "Slowking", king, 0)
end
elseif getPokemonName(item2.uid) == "Shiny Slowpoke" then
if item.itemid == senigma then
if not allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "This is not the required stone to evolve this pokemon.")
return true
end
minlevel = pokes["Shiny Slowbro"].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doEvolvePokemon(cid, item2, "Shiny Slowbro", senigma, 0)
end
elseif getPokemonName(item2.uid) == "Tyrogue" then
if not allEvolutionsCanBeInduzedByStone then
doPlayerSendCancel(cid, "This pokemon doesn't evolve using stones.")
return true
end
local evolution = ""
evolution = choose("Hitmonlee", "Hitmonchan", "Hitmontop")
minlevel = pokes[evolution].level
if getPlayerLevel(cid) < minlevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
doEvolvePokemon(cid, item2, evolution, punch, 0)
end
return true
end
local count = poevo[getPokemonName(item2.uid)].count
local stnid = poevo[getPokemonName(item2.uid)].stoneid
local stnid2 = poevo[getPokemonName(item2.uid)].stoneid2
local evo = poevo[getPokemonName(item2.uid)].evolution
local nlevel = poevo[getPokemonName(item2.uid)].level
local count = poevo[getPokemonName(item2.uid)].count
local stnid = poevo[getPokemonName(item2.uid)].stoneid
local stnid2 = poevo[getPokemonName(item2.uid)].stoneid2
local evo = poevo[getPokemonName(item2.uid)].evolution
local nlevel = poevo[getPokemonName(item2.uid)].level
if stnid2 > 1 and (getPlayerItemCount(cid, stnid2) < count or getPlayerItemCount(cid, stnid) < count) then
doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!")
return true
end
if getPlayerItemCount(cid, stnid) < count then
local str = ""
if count >= 2 then
str = "s"
end
return doPlayerSendCancel(cid, "You need at least "..count.." "..getItemNameById(stnid)..""..str.." to evolve this pokemon!")
end
minlevel = pokes[evo].level
if getPlayerLevel(cid) < minlevel and evolutionByStoneRequireLevel then
doPlayerSendCancel(cid, "You don't have enough level to evolve this pokemon ("..minlevel..").")
return true
end
if count >= 2 then
stnid2 = stnid
end
doEvolvePokemon(cid, item2, evo, stnid, stnid2)
return TRUE
end
Script - Data/Lib/Configuration >> Parte Dos Evolutions
poevo = {
["Bulbasaur"] = {level = 40, evolution = "Ivysaur", count = 1, stoneid = 11441, stoneid2 = 0},
["Ivysaur"] = {level = 85, evolution = "Venusaur", count = 1, stoneid = 11441, stoneid2 = 11443},
["Charmander"] = {level = 40, evolution = "Charmeleon", count = 1, stoneid = 11447, stoneid2 = 0},
["Charmeleon"] = {level = 85, evolution = "Charizard", count = 2, stoneid = 11447, stoneid2 = 0},
["Squirtle"] = {level = 40, evolution = "Wartortle", count = 1, stoneid = 11442, stoneid2 = 0},
["Wartortle"] = {level = 85, evolution = "Blastoise", count = 2, stoneid = 11442, stoneid2 = 0},
["Caterpie"] = {level = 15, evolution = "Metapod", count = 1, stoneid = 11448, stoneid2 = 0},
["Metapod"] = {level = 30, evolution = "Butterfree", count = 2, stoneid = 11448, stoneid2 = 0},
["Weedle"] = {level = 15, evolution = "Kakuna", count = 1, stoneid = 11448, stoneid2 = 0},
["Kakuna"] = {level = 30, evolution = "Beedrill", count = 2, stoneid = 11448, stoneid2 = 0},
["Pidgey"] = {level = 20, evolution = "Pidgeotto", count = 1, stoneid = 11453, stoneid2 = 0},
["Pidgeotto"] = {level = 75, evolution = "Pidgeot", count = 2, stoneid = 11453, stoneid2 = 0},
["Rattata"] = {level = 25, evolution = "Raticate", count = 1, stoneid = 11453, stoneid2 = 0},
["Spearow"] = {level = 50, evolution = "Fearow", count = 1, stoneid = 11453, stoneid2 = 0},
["Ekans"] = {level = 35, evolution = "Arbok", count = 1, stoneid = 11443, stoneid2 = 0},
["Pikachu"] = {level = 85, evolution = "Raichu", count = 1, stoneid = 11444, stoneid2 = 0},
["Sandshrew"] = {level = 65, evolution = "Sandslash", count = 2, stoneid = 11451, stoneid2 = 0},
["Nidoran Female"] = {level = 30, evolution = "Nidorina", count = 1, stoneid = 11443, stoneid2 = 0},
["Nidorina"] = {level = 65, evolution = "Nidoqueen", count = 1, stoneid = 11443, stoneid2 = 11451},
["Nidoran Male"] = {level = 30, evolution = "Nidorino", count = 1, stoneid = 11443, stoneid2 = 0},
["Nidorino"] = {level = 65, evolution = "Nidoking", count = 1, stoneid = 11443, stoneid2 = 11451},
["Clefairy"] = {level = 65, evolution = "Clefable", count = 1, stoneid = 11453, stoneid2 = 0},
["Vulpix"] = {level = 70, evolution = "Ninetales", count = 2, stoneid = 11447, stoneid2 = 0},
["Jigglypuff"] = {level = 65, evolution = "Wigglytuff", count = 1, stoneid = 11453, stoneid2 = 0},
["Zubat"] = {level = 35, evolution = "Golbat", count = 1, stoneid = 11443, stoneid2 = 0},
["Golbat"] = {level = 80, evolution = "Crobat", count = 0, stoneid = 0, stoneid2 = 0},
["Oddish"] = {level = 25, evolution = "Gloom", count = 1, stoneid = 11441, stoneid2 = 0},
["Paras"] = {level = 50, evolution = "Parasect", count = 1, stoneid = 11448, stoneid2 = 0},
["Venonat"] = {level = 50, evolution = "Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443},
["Diglett"] = {level = 35, evolution = "Dugtrio", count = 1, stoneid = 11451, stoneid2 = 0},
["Meowth"] = {level = 30, evolution = "Persian", count = 1, stoneid = 11453, stoneid2 = 0},
["Psyduck"] = {level = 55, evolution = "Golduck", count = 1, stoneid = 11442, stoneid2 = 11452},
["Mankey"] = {level = 50, evolution = "Primeape", count = 1, stoneid = 11446, stoneid2 = 0},
["Growlithe"] = {level = 80, evolution = "Arcanine", count = 2, stoneid = 11447, stoneid2 = 0},
["Poliwag"] = {level = 25, evolution = "Poliwhirl", count = 1, stoneid = 11442, stoneid2 = 0},
["Abra"] = {level = 45, evolution = "Kadabra", count = 1, stoneid = 11452, stoneid2 = 0},
["Kadabra"] = {level = 80, evolution = "Alakazam", count = 2, stoneid = 11452, stoneid2 = 0},
["Machop"] = {level = 45, evolution = "Machoke", count = 1, stoneid = 11446, stoneid2 = 0},
["Machoke"] = {level = 70, evolution = "Machamp", count = 2, stoneid = 11446, stoneid2 = 0},
["Bellsprout"] = {level = 25, evolution = "Weepinbell", count = 1, stoneid = 11441, stoneid2 = 0},
["Weepinbell"] = {level = 50, evolution = "Victreebel", count = 2, stoneid = 11441, stoneid2 = 0},
["Tentacool"] = {level = 75, evolution = "Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443},
["Geodude"] = {level = 40, evolution = "Graveler", count = 1, stoneid = 11445, stoneid2 = 0},
["Graveler"] = {level = 70, evolution = "Golem", count = 2, stoneid = 11445, stoneid2 = 0},
["Ponyta"] = {level = 50, evolution = "Rapidash", count = 1, stoneid = 11447, stoneid2 = 0},
["Magnemite"] = {level = 40, evolution = "Magneton", count = 1, stoneid = 11444, stoneid2 = 0},
["Doduo"] = {level = 45, evolution = "Dodrio", count = 1, stoneid = 11453, stoneid2 = 0},
["Seel"] = {level = 65, evolution = "Dewgong", count = 1, stoneid = 11442, stoneid2 = 11454},
["Grimer"] = {level = 35, evolution = "Muk", count = 1, stoneid = 11443, stoneid2 = 0},
["Shellder"] = {level = 60, evolution = "Cloyster", count = 2, stoneid = 11454, stoneid2 = 0},
["Gastly"] = {level = 45, evolution = "Haunter", count = 1, stoneid = 11450, stoneid2 = 0},
["Haunter"] = {level = 80, evolution = "Gengar", count = 2, stoneid = 11450, stoneid2 = 0},
["Drowzee"] = {level = 55, evolution = "Hypno", count = 2, stoneid = 11452, stoneid2 = 0},
["Krabby"] = {level = 40, evolution = "Kingler", count = 1, stoneid = 11442, stoneid2 = 0},
["Voltorb"] = {level = 35, evolution = "Electrode", count = 1, stoneid = 11444, stoneid2 = 0},
["Exeggcute"] = {level = 55, evolution = "Exeggutor", count = 1, stoneid = 11441, stoneid2 = 11452},
["Cubone"] = {level = 55, evolution = "Marowak", count = 2, stoneid = 11451, stoneid2 = 0},
["Koffing"] = {level = 35, evolution = "Weezing", count = 1, stoneid = 11443, stoneid2 = 0},
["Rhyhorn"] = {level = 75, evolution = "Rhydon", count = 1, stoneid = 11445, stoneid2 = 11451},
["Horsea"] = {level = 45, evolution = "Seadra", count = 1, stoneid = 11442, stoneid2 = 0},
["Goldeen"] = {level = 35, evolution = "Seaking", count = 1, stoneid = 11442, stoneid2 = 0},
["Staryu"] = {level = 35, evolution = "Starmie", count = 1, stoneid = 11442, stoneid2 = 0},
["Magikarp"] = {level = 85, evolution = "Gyarados", count = 1, stoneid = 11442, stoneid2 = 11449},
["Omanyte"] = {level = 80, evolution = "Omastar", count = 1, stoneid = 11442, stoneid2 = 11449},
["Kabuto"] = {level = 80, evolution = "Kabutops", count = 1, stoneid = 11445, stoneid2 = 11449},
["Dratini"] = {level = 60, evolution = "Dragonair", count = 1, stoneid = 11449, stoneid2 = 0},
["Dragonair"] = {level = 100, evolution = "Dragonite", count = 2, stoneid = 11449, stoneid2 = 0},
-----shiny evo------
["Shiny Rattata"] = {level = 12, evolution = "Shiny Raticate", count = 2, stoneid = 11453, stoneid2 = 0},
["Shiny Zubat"] = {level = 17, evolution = "Shiny Golbat", count = 2, stoneid = 11443, stoneid2 = 0},
["Shiny Golbat"] = {level = 2, evolution = "Shiny Crobat", count = 0, stoneid = 0, stoneid2 = 0},
["Shiny Paras"] = {level = 21, evolution = "Shiny Parasect", count = 2, stoneid = 11448, stoneid2 = 0},
["Shiny Venonat"] = {level = 27, evolution = "Shiny Venomoth", count = 1, stoneid = 11448, stoneid2 = 11443},
["Shiny Growlithe"] = {level = 1, evolution = "Shiny Arcanine", count = 2, stoneid = 11447, stoneid2 = 0},
["Shiny Tentacool"] = {level = 30, evolution = "Shiny Tentacruel", count = 1, stoneid = 11442, stoneid2 = 11443},
["Shiny Grimer"] = {level = 24, evolution = "Shiny Muk", count = 2, stoneid = 11443, stoneid2 = 0},
["Shiny Krabby"] = {level = 19, evolution = "Shiny Kingler", count = 2, stoneid = 11442, stoneid2 = 0},
["Shiny Voltorb"] = {level = 20, evolution = "Shiny Electrode", count = 2, stoneid = 11444, stoneid2 = 0},
["Shiny Cubone"] = {level = 27, evolution = "Shiny Marowak", count = 2, stoneid = 11451, stoneid2 = 0},
["Shiny Horsea"] = {level = 24, evolution = "Shiny Seadra", count = 2, stoneid = 11442, stoneid2 = 0},
["Shiny Dratini"] = {level = 24, evolution = "Shiny Dragonair", count = 2, stoneid = 11449, stoneid2 = 0},
-----johto evo------
["Chikorita"] = {level = 16, evolution = "Bayleef", count = 1, stoneid = 11441, stoneid2 = 0},
["Bayleef"] = {level = 32, evolution = "Meganium", count = 2, stoneid = 11441, stoneid2 = 0},
["Cyndaquil"] = {level = 14, evolution = "Quilava", count = 1, stoneid = 11447, stoneid2 = 0},
["Quilava"] = {level = 36, evolution = "Typhlosion", count = 2, stoneid = 11447, stoneid2 = 0},
["Totodile"] = {level = 18, evolution = "Croconaw", count = 1, stoneid = 11442, stoneid2 = 0}, --alterado v1.7
["Croconaw"] = {level = 30, evolution = "Feraligatr", count = 2, stoneid = 11442, stoneid2 = 0}, --alterado v1.7
["Sentret"] = {level = 13, evolution = "Furret", count = 1, stoneid = 11453, stoneid2 = 0},
["Hoothoot"] = {level = 19, evolution = "Noctowl", count = 1, stoneid = 11453, stoneid2 = 0},
["Ledyba"] = {level = 16, evolution = "Ledian", count = 2, stoneid = 11448, stoneid2 = 0},
["Spinarak"] = {level = 23, evolution = "Ariados", count = 1, stoneid = 11448, stoneid2 = 11443},
["Chinchou"] = {level = 26, evolution = "Lanturn", count = 1, stoneid = 11442, stoneid2 = 11444},
["Pichu"] = {level = 2, evolution = "Pikachu", count = 0, stoneid = 0, stoneid2 = 0},
["Cleffa"] = {level = 2, evolution = "Clefairy", count = 0, stoneid = 0, stoneid2 = 0},
["Igglybuff"] = {level = 2, evolution = "Jigglypuff", count = 0, stoneid = 0, stoneid2 = 0},
["Togepi"] = {level = 2, evolution = "Togetic", count = 0, stoneid = 0, stoneid2 = 0},
["Natu"] = {level = 25, evolution = "Xatu", count = 1, stoneid = 11452, stoneid2 = 0},
["Mareep"] = {level = 15, evolution = "Flaaffy", count = 1, stoneid = 11444, stoneid2 = 0},
["Flaaffy"] = {level = 34, evolution = "Ampharos", count = 2, stoneid = 11444, stoneid2 = 0},
["Marill"] = {level = 19, evolution = "Azumarill", count = 1, stoneid = 11442, stoneid2 = 0},
["Hoppip"] = {level = 15, evolution = "Skiploom", count = 1, stoneid = 11441, stoneid2 = 0},
["Skiploom"] = {level = 26, evolution = "Jumpluff", count = 1, stoneid = 11441, stoneid2 = 0},
["Sunkern"] = {level = 1, evolution = "Sunflora", count = 1, stoneid = 11441, stoneid2 = 12242},
["Wooper"] = {level = 27, evolution = "Quagsire", count = 1, stoneid = 11442, stoneid2 = 11451},
["Pineco"] = {level = 28, evolution = "Forretress", count = 2, stoneid = 11448, stoneid2 = 0},
["Snubbull"] = {level = 23, evolution = "Granbull", count = 1, stoneid = 11453, stoneid2 = 0},
["Teddiursa"] = {level = 37, evolution = "Ursaring", count = 2, stoneid = 11453, stoneid2 = 0},
["Slugma"] = {level = 28, evolution = "Magcargo", count = 1, stoneid = 11445, stoneid2 = 11447},
["Swinub"] = {level = 33, evolution = "Piloswine", count = 1, stoneid = 11451, stoneid2 = 11454},
["Remoraid"] = {level = 25, evolution = "Octillery", count = 1, stoneid = 11442, stoneid2 = 0},
["Houndour"] = {level = 31, evolution = "Houndoom", count = 1, stoneid = 11450, stoneid2 = 11447},
["Phanpy"] = {level = 25, evolution = "Donphan", count = 2, stoneid = 11451, stoneid2 = 0},
["Smoochum"] = {level = 27, evolution = "Jynx", count = 1, stoneid = 11454, stoneid2 = 11452},
["Elekid"] = {level = 27, evolution = "Electabuzz", count = 2, stoneid = 11444, stoneid2 = 0},
["Magby"] = {level = 27, evolution = "Magmar", count = 2, stoneid = 11447, stoneid2 = 0},
["Larvitar"] = {level = 24, evolution = "Pupitar", count = 1, stoneid = ground, stoneid2 = 0},
["Pupitar"] = {level = 45, evolution = "Tyranitar", count = 1, stoneid = 11450, stoneid2 = 11445},
["Porygon"] = {level = 75, evolution = "Porygon2", count = 1, stoneid = 12419, stoneid2 = 0},
["Seadra"] = {level = 90, evolution = "Kingdra", count = 1, stoneid = 11442, stoneid2 = 12417},
["Chansey"] = {level = 100, evolution = "Blissey", count = 2, stoneid = 12419, stoneid2 = 0},
["Scyther"] = {level = 100, evolution = "Scizor", count = 1, stoneid = 11448, stoneid2 = 12232},
["Onix"] = {level = 100, evolution = "Steelix", count = 1, stoneid = 11445, stoneid2 = 12232},
}
spcevo = {
["Poliwhirl"] = {[1] = {level = 36, evolution = "Poliwrath", count = 1, stoneid = 11442, stoneid2 = 11446},
[2] = {level = 1, evolution = "Politoed", count = 1, stoneid = 11442, stoneid2 = 12244}},
["Gloom"] = {[1] = {level = 1, evolution = "Vileplume", count = 2, stoneid = 11441, stoneid2 = 0},
[2] = {level = 1, evolution = "Bellossom", count = 1, stoneid = 11441, stoneid2 = 12242}},
}
leaf = 11441
grass = 11441
water = 11442
venom = 11443
thunder = 11444
rock = 11445
punch = 11446
fire = 11447
coccon = 11448
crystal = 11449
dark = 11450
earth = 11451
enigma = 11452
heart = 11453
ice = 11454
metal = 12232
sun = 12242
king = 12244
magma = 12245
sfire = 12401
swater = 12402
sleaf = 12403
sheart = 12404
senigma = 12405
srock = 12406
svenom = 12407
sice = 12408
sthunder = 12409
scrystal = 12410
scoccon = 12411
sdarkness = 12412
spunch = 12413
searth = 12414
dragon = 12417
upgrade = 12419
Obs: caso precisem de mais uma script ou parte de alguma script so posta aqui que eu edito e posto ^^
Obs¹: Ja EStou Usando o serve do slicer 1.8
Rep++
Link para o comentário
https://xtibia.com/forum/topic/202509-bug-ajuda/Compartilhar em outros sites
5 respostass a esta questão
Posts Recomendados