Ir para conteúdo

[Encerrado] erro na shiny stone


Posts Recomendados

eu to com um erro na shiny stone back.png back.png back.png


o erro



[09/08/2013 17:42:06] Reloaded actions.
[09/08/2013 17:42:06] [Error - Action Interface]
[09/08/2013 17:42:06] data/actions/scripts/shinystone.lua
[09/08/2013 17:42:06] Description:
[09/08/2013 17:42:06] (luaGetCreatureStorage) Creature not found


action da shiny stone back.png back.png back.png



local evo = {

["Abra"] = "Shiny Abra",
["Alakazam"] = "Shiny Alakazam",
["Arcanine"] = "Shiny Arcanine",
["Beedrill"] = "Shiny Beedrill",
["Blastoise"] = "Shiny Blastoise",
["Bulbasaur"] = "Shiny Bulbasaur",
["Butterfree"] = "Shiny Butterfree",
["Charizard"] = "Shiny Charizard",
["Charmander"] = "Shiny Charmander",
["Charmeleon"] = "Shiny Charmeleon",
["Cubone"] = "Shiny Cubone",
["Dragonair"] = "Shiny Dragonair",
["Dragonite"] = "Shiny Dragonite",
["Dratini"] = "Shiny Dratini",
["Electabuzz"] = "Shiny Electabuzz",
["Electrode"] = "Shiny Electrode",
["Farfetchd"] = "Shiny Farfetchd",
["Elekid"] = "Shiny Elekid",
["Farfetch'd"] = "Shiny Farfetch'd",
["Fearow"] = "Shiny Fearow",
["Flareon"] = "Shiny Flareon",
["Gastly"] = "Shiny Gastly",
["Gengar"] = "Shiny Gengar",
["Gloom"] = "Shiny Gloom",
["Golbat"] = "Shiny Golbat",
["Golem"] = "Shiny Golem",
["Grimer"] = "Shiny Grimer",
["Growlithe"] = "Shiny Growlithe",
["Gyarados"] = "Shiny Gyarados",
["Haunter"] = "Shiny Haunter",
["Hitmonchan"] = "Shiny Hitmonchan",
["Hitmonlee"] = "Shiny Hitmonlee",
["Horsea"] = "Shiny Horsea",
["Hypno"] = "Shiny Hypno",
["Ivysaur"] = "Shiny Ivysaur",
["Jolteon"] = "Shiny Jolteon",
["Jynx"] = "Shiny Jynx",
["Kingler"] = "Shiny Kingler",
["Krabby"] = "Shiny Krabby",
["Magby"] = "Shiny Magby",
["Magikarp"] = "Shiny Magikarp",
["Marowak"] = "Shiny Marowak",
["Muk"] = "Shiny Muk",
["Nidoking"] = "Shiny Nidoking",
["Nidoran Female"] = "Shiny Nidoran Female",
["Nidoran Male"] = "Shiny Nidoran Male",
["Nidorina"] = "Shiny Nidorina",
["Nidorino"] = "Shiny Nidorino",
["Oddish"] = "Shiny Oddish",
["Onix"] = "Shiny Onix",
["Paras"] = "Shiny Paras",
["Parasect"] = "Shiny Parasect",
["Pidgeot"] = "Shiny Pidgeot",
["Pidgeotto"] = "Shiny Pidgeotto",
["Pidgey"] = "Shiny Pidgey",
["Pikachu"] = "Shiny Pikachu",
["Pinsir"] = "Shiny Pinsir",
["porygon2"] = "Shiny porygon2",
["Raichu"] = "Shiny Raichu",
["Raticate"] = "Shiny Raticate",
["Rattata"] = "Shiny Rattata",
["Scyther"] = "Shiny Scyther",
["Seadra"] = "Shiny Seadra",
["Snorlax"] = "Shiny Snorlax",
["Squirtle"] = "Shiny Squirtle",
["Tangela"] = "Shiny Tangela",
["Tentacool"] = "Shiny Tentacool",
["Tentacruel"] = "Shiny Tentacruel",
["Vaporeon"] = "Shiny Vaporeon",
["Venomoth"] = "Shiny Venomoth",
["Venonat"] = "Shiny Venonat",
["Venusaur"] = "Shiny Venusaur",
["Vileplume"] = "Shiny Vileplume",
["Voltorb"] = "Shiny Voltorb",
["Wartortle"] = "Shiny Wartortle",
["Wigglytuff"] = "Shiny Wigglytuff",
["wingull"] = "Shiny wingull",
["Zubat"] = "Shiny Zubat",
}
local pokeballs = {
[2531] = {"Pokeball"},
[2557] = {"Superball"},
[2524] = {"Greatball"},
[2525] = {"Ultraball"},
[2523] = {"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, "poke", ""..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

sim


outro erro na shiny stone

[09/08/2013 17:51:16] [Error - Action Interface] 
[09/08/2013 17:51:16] data/actions/scripts/shinystone.lua:onUse
[09/08/2013 17:51:16] Description: 
[09/08/2013 17:51:16] data/actions/scripts/shinystone.lua:99: attempt to index local 'balls' (a nil value)
[09/08/2013 17:51:16] stack traceback:
[09/08/2013 17:51:16] 	data/actions/scripts/shinystone.lua:99: in function <data/actions/scripts/shinystone.lua:89>
Link para o comentário
Compartilhar em outros sites

  • 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...