Postado Julho 8, 2014 10 anos Alguem Pode Me ajudar? No log do Meu serve aparece o Seguinte error erro 1 [08/07/2014 15:23:25] [Error - Action Interface] [08/07/2014 15:23:25] data/actions/scripts/order.lua:onUse [08/07/2014 15:23:25] Description: [08/07/2014 15:23:25] (luaGetCreatureNoMove) Creature not found erro 2 [08/07/2014 16:11:34] [Error - Action Interface] [08/07/2014 16:11:34] data/actions/scripts/pokedex.lua:onUse [08/07/2014 16:11:34] Description: [08/07/2014 16:11:34] data/actions/scripts/pokedex.lua:37: attempt to index a boolean value [08/07/2014 16:11:34] stack traceback: [08/07/2014 16:11:34] data/actions/scripts/pokedex.lua:37: in function <data/actions/scripts/pokedex.lua:3> Quando Acontece o dois Erro o Server da muito lag :/ Então preciso resolve-los Alguem ajuda?
Postado Julho 8, 2014 10 anos Posta os dois arquivos aí em SPOILER para que possamos tentar ajudá-lo.. data/actions/scripts/pokedex.lua e data/actions/scripts/order.lua Ajudei? De nada \o/ Att Rusherzin
Postado Julho 8, 2014 10 anos Autor local rate = 20 function onUse(cid, item, fromPos, item2, toPos) if not isCreature(item2.uid) then return true end local poke = getCreatureName(item2.uid) if isMonster(item2.uid) then local this = newpokedex[getCreatureName(item2.uid)] local myball = 0 if isSummon(item2.uid) then myball = getPlayerSlotItem(getCreatureMaster(item2.uid), 8) end if not getPlayerInfoAboutPokemon(cid, poke).dex then local exp = this.level * rate doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have unlocked "..getCreatureName(item2.uid).." in your pokedex!") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have gained "..exp.." experience points.") doSendMagicEffect(getThingPos(cid), 210) doPlayerAddExperience(cid, exp) doAddPokemonInDexList(cid, poke) doShowPokedexRegistration(cid, item2, myball) else doShowPokedexRegistration(cid, item2, myball) end return true end if not isPlayer(item2.uid) then return true end local kanto = 0 local johto = 0 --alterado v1.7 \/\/ for i = 1, #oldpokedex do if getPlayerInfoAboutPokemon(item2.uid, oldpokedex[1]).dex then if i <= 151 then kanto = kanto+1 elseif i >= 209 then johto = johto+1 end end end --alterado v1.6 local player = getRecorderPlayer(toPos, cid) if cid == player then doPlayerSendTextMessage(cid, 27, "You has unlocked "..kanto.." kanto's and "..johto.." johto's pokémons until now.") doPlayerSetVocation(cid, 9) --alterado v1.6 openChannelDialog(cid) end return true end Editado Julho 8, 2014 10 anos por Dante Armstrong (veja o histórico de edições)
Postado Agosto 2, 2014 10 anos Tenho o erro 2 erro 2 [08/07/2014 16:11:34] [Error - Action Interface] [08/07/2014 16:11:34] data/actions/scripts/pokedex.lua:onUse [08/07/2014 16:11:34] Description: [08/07/2014 16:11:34] data/actions/scripts/pokedex.lua:37: attempt to index a boolean value [08/07/2014 16:11:34] stack traceback: [08/07/2014 16:11:34] data/actions/scripts/pokedex.lua:37: in function <data/actions/scripts/pokedex.lua:3> Se alguém puder ajudar! eu uso Centurion v8 http://poketibiared.blogspot.com.br/ +3 quests e +2 novidades por semana! Respew de megas shinys e lendarios(vips) Eventos diarios! LevelUp alto Cath médio 24 hrs dedicados br Sem lag, sem enrolação Venha jogar!
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.