Ir para conteúdo
  • Cadastre-se

[Ajuda] Arrumar Scripts !


Posts Recomendados

Queria Ajuda Para Arrumar Scripts Do Meu Poketibia Pq Está Dando Erro

==>1° GoBack<==

 

 
[04/09/2014 22:12:10] [Error - Action Interface] 
[04/09/2014 22:12:10] data/actions/scripts/goback/goback.lua:onUse
[04/09/2014 22:12:10] Description: 
[04/09/2014 22:12:10] (luaDoCreateMonster) Cannot create monster: charmander
[04/09/2014 22:12:10] [Error - Action Interface] 
[04/09/2014 22:12:10] data/actions/scripts/goback/goback.lua:onUse
[04/09/2014 22:12:10] data/actions/scripts/goback/goback.lua:174: in function <data/actions/scripts/goback/goback.lua:4>
 
==>2°Moves<==
[04/09/2014 22:12:10] Description: 
[04/09/2014 22:12:10] data/lib/moves lib.lua:19952: bad argument #1 to 'lower' (string expected, got boolean)
[04/09/2014 22:12:10] stack traceback:
[04/09/2014 22:12:10]  [C]: in function 'lower'
[04/09/2014 22:12:10]  data/lib/moves lib.lua:19952: in function 'isJohto'
[04/09/2014 22:12:10]  data/lib/lib nick.lua:34: in function 'doCreateNickedPokemon'
 
==>3°Desconhecido<==
[04/09/2014 22:11:18] [Error - GlobalEvent Interface] 
[04/09/2014 22:11:18] data/lib/lib nick.lua
[04/09/2014 22:11:18] Description: 
[04/09/2014 22:11:18] (luaGetItemAttribute) Item not found
[04/09/2014 22:11:18] [Error - LuaScriptInterface::loadFile] cannot open data/globalevents/scripts/shop.lua: No such file or directory
[04/09/2014 22:11:18] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/shop.lua)
[04/09/2014 22:11:18] cannot open data/globalevents/scripts/shop.lua: No such file or directory
[04/09/2014 22:11:18] [Error - GlobalEvent::configureEvent] No valid type "inviteparty" for globalevent with name inviteparty
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[04/09/2014 22:11:18] [Error - GlobalEvent::configureEvent] No valid type "joinparty" for globalevent with name joinparty
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[04/09/2014 22:11:18] [Error - GlobalEvent::configureEvent] No valid type "revokeparty" for globalevent with name revokeparty
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[04/09/2014 22:11:18] [Error - GlobalEvent::configureEvent] No valid type "leaveparty" for globalevent with name leaveparty
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[04/09/2014 22:11:18] [Error - GlobalEvent::configureEvent] No valid type "disbandparty" for globalevent with name disbandparty
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
 
4°Desconhecido Tbm
 
Esse Erro ele é Assim Eu Não Consigo Botar meu Pokemon para fora e Fica Aparecendo Toda hora Essa Mensagem

Hidden Content

    Give reaction to this post to see the hidden content.
 
 
 
 
 
5° Desconhecido
 
[04/09/2014 22:11:16] [Error - Weapon Interface] 
[04/09/2014 22:11:16] data/lib/lib nick.lua
[04/09/2014 22:11:16] Description: 
[04/09/2014 22:11:16] (luaGetPlayerSlotItem) Player not found
 
[04/09/2014 22:11:16] [Error - Weapon Interface] 
[04/09/2014 22:11:16] data/lib/lib nick.lua
[04/09/2014 22:11:16] Description: 
[04/09/2014 22:11:16] (luaGetItemAttribute) Item not found
 
[04/09/2014 22:11:16] [Error - Spell Interface] 
[04/09/2014 22:11:16] data/lib/lib nick.lua
[04/09/2014 22:11:16] Description: 
[04/09/2014 22:11:16] (luaGetPlayerSlotItem) Player not found
 
[04/09/2014 22:11:16] [Error - Spell Interface] 
[04/09/2014 22:11:16] data/lib/lib nick.lua
[04/09/2014 22:11:17] Description: 
[04/09/2014 22:11:17] (luaGetItemAttribute) Item not found
 
[04/09/2014 22:11:17] [Error - Action Interface] 
[04/09/2014 22:11:17] data/lib/lib nick.lua
[04/09/2014 22:11:17] Description: 
[04/09/2014 22:11:17] (luaGetPlayerSlotItem) Player not found
 
[04/09/2014 22:11:17] [Error - Action Interface] 
[04/09/2014 22:11:17] data/lib/lib nick.lua
[04/09/2014 22:11:17] Description: 
[04/09/2014 22:11:17] (luaGetItemAttribute) Item not found
 
[04/09/2014 22:11:17] [Error - TalkAction Interface] 
[04/09/2014 22:11:17] data/lib/lib nick.lua
[04/09/2014 22:11:17] Description: 
[04/09/2014 22:11:17] (luaGetPlayerSlotItem) Player not found
 
[04/09/2014 22:11:17] [Error - TalkAction Interface] 
[04/09/2014 22:11:17] data/lib/lib nick.lua
[04/09/2014 22:11:17] Description: 
[04/09/2014 22:11:17] (luaGetItemAttribute) Item not found
[04/09/2014 22:11:17] [Warning - TalkAction::loadFunction] Function "invisible" does not exist.
 
[04/09/2014 22:11:17] [Error - MoveEvents Interface] 
[04/09/2014 22:11:17] data/lib/lib nick.lua
[04/09/2014 22:11:17] Description: 
[04/09/2014 22:11:17] (luaGetPlayerSlotItem) Player not found
 
[04/09/2014 22:11:17] [Error - MoveEvents Interface] 
[04/09/2014 22:11:17] data/lib/lib nick.lua
[04/09/2014 22:11:17] Description: 
[04/09/2014 22:11:17] (luaGetItemAttribute) Item not found
 
[04/09/2014 22:11:18] [Error - CreatureScript Interface] 
[04/09/2014 22:11:18] data/lib/lib nick.lua
[04/09/2014 22:11:18] Description: 
[04/09/2014 22:11:18] (luaGetPlayerSlotItem) Player not found
 
[04/09/2014 22:11:18] [Error - CreatureScript Interface] 
[04/09/2014 22:11:18] data/lib/lib nick.lua
[04/09/2014 22:11:18] Description: 
[04/09/2014 22:11:18] (luaGetItemAttribute) Item not found
[04/09/2014 22:11:18] [Error - CreatureEvent::configureEvent] No valid type for creature event.onMove
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[04/09/2014 22:11:18] [Error - CreatureEvent::configureEvent] No valid type for creature event.move
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[04/09/2014 22:11:18] [Error - CreatureEvent::configureEvent] No valid type for creature event.move
[04/09/2014 22:11:18] [Warning - BaseEvents::loadFromXml] Cannot configure an event
 
[04/09/2014 22:11:18] [Error - GlobalEvent Interface] 
[04/09/2014 22:11:18] data/lib/lib nick.lua
[04/09/2014 22:11:18] Description: 
[04/09/2014 22:11:18] (luaGetPlayerSlotItem) Player not found
 
 
 
A Cada Erro Resolvido Eu Dou Meu Obrigado e Dou Rep++
 
Scripts ==\/

  Mostrar conteúdo oculto

Lib Nick




local boost = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "boost")

function doCreateNickedPokemon(cid, poke, nick, effect, conv) -- By Jean Cassio

local item = getPlayerSlotItem(cid, 8)
local nick = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "nick")
local boost = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "boost") or 0
local pokelevel = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "pokelevel") or 0
if not conv then
conv = cid
end
local poke = poke
if not poke then
poke = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "description"):match("Contains a (.*).")
end
local vida = getItemAttribute(item.uid, "vida")
local pokelevel = getItemAttribute(item.uid, "pokelevel") or 0
local gender = getItemText(item.uid)
if gender == "" or gender == 0 or not gender then
gender = 3
end
local pos = {x=1872, y=1350, z=7}

local reallevel = (boost + pokelevel)
if not boost then
boost = 0
end
local boosta = ((boost + pokelevel) * 500)
local levellife = ((getPlayerLevel(cid)) * (getItemAttribute(getPlayerSlotItem(cid, 8).uid, "level")))

if nick == "Uknown" then
local removed = doCreateItem(1285, 1, pos)
local nada = doCreateMonster(poke, pos)
if isJohto(nada) then
doCreatureChangeOutfit(nada, {lookType=pokelook[poke]})
doPlayerSendTextMessage(cid, 27, "Johto!")
end
setCreatureName(nada, ""..poke.." ["..reallevel.."]", getCreatureName(cid).." "..poke.."'s")
doConvinceCreature(conv, nada)
if poke == "gengar" or poke == "shadow gengar" or poke == "gastly" or poke == "haunter" then
doCreatureSetStorage(nada, 632,1)
end
doRemoveItem(removed, 1)
doTeleportThing(nada, getClosestFreeTile(nada, getThingPos(cid)), true)
doCreatureSetSkullType(nada, gender)

doSendMagicEffect(getCreaturePosition(nada), effect)


if vida ~= 0 then
setCreatureMaxHealth(nada, getPokemonMaxLife(poke) + levellife + boosta)
doCreatureAddHealth(nada, -(tonumber(getPokemonMaxLife(poke) - vida)))
else
setCreatureMaxHealth(nada, ((getPokemonMaxLife(poke)) + (levellife) + (boosta)))
doCreatureAddHealth(nada, getCreatureMaxHealth(nada))
doItemSetAttribute(item.uid, "vida", getCreatureHealth(nada))
end
if getTilePzInfo(getCreaturePosition(cid)) then
doSendMagicEffect(getThingPosition(cid), effect)
end

registerCreatureEvent(nada, "DiePoke")
registerCreatureEvent(cid, "PlayerAttack")
registerCreatureEvent(cid, "PlayerPokeDeath")
registerCreatureEvent(cid, "LogoutPoke")
registerCreatureEvent(nada, "Exp")
registerCreatureEvent(nada, "dueldie")
doItemSetAttribute(item.uid, "hp", getCreatureHealth(nada) / getCreatureMaxHealth(nada))
setPlayerStorageValue(cid, 9696, effect)

if getItemAttribute(getPlayerSlotItem(cid,8).uid, "look") and getItemAttribute(getPlayerSlotItem(cid,8).uid, "look") ~= -1 then
doCreatureChangeOutfit(nada, {lookType=getItemAttribute(getPlayerSlotItem(cid,8).uid, "look")})
end
return false
end
local removed = doCreateItem(1285, 1, pos)
local creature = doCreateMonster(poke, pos)
doCreatureSetSkullType(creature, gender)
setCreatureName(creature, ""..nick.." ["..reallevel.."]", getCreatureName(cid).." "..poke.."'s")
doConvinceCreature(conv, creature)
if poke == "gengar" or poke == "shadow gengar" or poke == "gastly" or poke == "haunter" then
doCreatureSetStorage(creature, 632,1)
end
doRemoveItem(removed, 1)
doTeleportThing(creature, getClosestFreeTile(creature, getThingPos(cid)), true)
doSendMagicEffect(getCreaturePosition(creature), effect)

doConvinceCreature(conv, creature)
if vida ~= 0 then
setCreatureMaxHealth(creature, getPokemonMaxLife(poke) + levellife + boosta)
doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke) - vida)))
else
setCreatureMaxHealth(creature, ((getPokemonMaxLife(poke)) + (levellife) + (boosta)))
doCreatureAddHealth(creature, getCreatureMaxHealth(creature))
doItemSetAttribute(item.uid, "vida", getCreatureHealth(creature))
end
if getTilePzInfo(getCreaturePosition(cid)) then
doSendMagicEffect(getThingPosition(cid), effect)
end
registerCreatureEvent(creature, "DiePoke")
registerCreatureEvent(cid, "PlayerAttack")
registerCreatureEvent(cid, "PlayerPokeDeath")
registerCreatureEvent(cid, "LogoutPoke")
registerCreatureEvent(creature, "Exp")
registerCreatureEvent(creature, "dueldie")
setPlayerStorageValue(cid, 9696, effect)
doItemSetAttribute(item.uid, "hp", getCreatureHealth(creature) / getCreatureMaxHealth(creature))
if getItemAttribute(getPlayerSlotItem(cid,8).uid, "look") and getItemAttribute(getPlayerSlotItem(cid,8).uid, "look") ~= -1 then
doCreatureChangeOutfit(creature, {lookType=getItemAttribute(getPlayerSlotItem(cid,8).uid, "look")})
end
return false
end



GoBack

--GoBack + Nick System By Jean(Zamora Team)
--Do not Copy whitout permision
--Thanks!
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getItemAttribute(item.uid, "description") == false or not getItemAttribute(item.uid, "description") then
doRemoveItem(item.uid)
doPlayerSendTextMessage(cid, 27, "Ball Bug, report to administration/staff.")
end
if item.itemid == 6132 then
doTransformItem(item.uid, 2640)
end

if item.itemid == 2554 then
doTransformItem(item.uid, 2654)
end


if getItemAttribute(item.uid, "levell") == False then
doItemSetAttribute(item.uid, "levell", 0)
end
local ball = {
[2532] = {pokein = 2532, pokeout = 2569}, -- ok
[2569] = {pokein = 2532, pokeout = 2569}, -- ok
[8818] = {pokein = 8818, pokeout = 8817}, -- ok
[8817] = {pokein = 8818, pokeout = 8817}, -- ok
[2653] = {pokein = 2653, pokeout = 2557}, -- ok
[2557] = {pokein = 2653, pokeout = 2557}, -- ok
[2654] = {pokein = 2654, pokeout = 2525}, -- ok
[2525] = {pokein = 2654, pokeout = 2525}, -- ok
[8819] = {pokein = 8819, pokeout = 8816}, -- ok
[8816] = {pokein = 8819, pokeout = 8816}, -- ok
[3983] = {pokein = 3983, pokeout = 2570}, -- ok
[2570] = {pokein = 3983, pokeout = 2570}, -- ok
[2652] = {pokein = 2652, pokeout = 2539}, -- ok
[2539] = {pokein = 2652, pokeout = 2539}, -- ok
[2655] = {pokein = 2655, pokeout = 3975}, -- ok
[3975] = {pokein = 2655, pokeout = 3975}, -- ok
[2648] = {pokein = 2648, pokeout = 3973}, -- ok
[3973] = {pokein = 2648, pokeout = 3973}, -- ok
[2640] = {pokein = 2647, pokeout = 2640}, -- ok
[2647] = {pokein = 2647, pokeout = 2640}, -- ok
[2531] = {pokein = 2531, pokeout = 2568}, -- ok
[2568] = {pokein = 2531, pokeout = 2568}, -- ok
}

local effect = 188
if item.itemid == 8818 or item.itemid == 8817 then
effect = 232
elseif item.itemid == 2653 or item.itemid == 2557 then
effect = 190
elseif item.itemid == 2654 or item.itemid == 2525 then
effect = 191
elseif item.itemid == 8819 or item.itemid == 8816 then
effect = 235
elseif item.itemid == 2570 or item.itemid == 3983 then
effect = 194
elseif item.itemid == 2539 or item.itemid == 2652 then
effect = 189
elseif item.itemid == 2655 or item.itemid == 3975 then
effect = 195
elseif item.itemid == 2648 or item.itemid == 3973 then
effect = 192
elseif item.itemid == 2640 or item.itemid == 2647 then
effect = 193
end

local pokesaddons = {
["snorlax"] = {itens = {{2160, 2160}, {9315, 9340}, {9337}}, counts = {{100, 100}, {100,100}, {100}}, addons = {1081,1136,1102}},
["dugtrio"] = {itens = {{9239,9236,9237,9238}}, counts = {{100,50,50,50}}, addons = {933}},
["alakazam"] = {itens = {{2160}, {9259}, {9258}}, counts = {{100}, {100}, {100}}, addons = {39, 833,835}},
["blastoise"] = {itens = {{9180, 9186, 9314}, {9183, 9189}, {9181}, {9182}}, counts = {{100, 100, 100}, {100,100}, {100}, {100}}, addons = {904,905,913,914}},
["golem"] = {itens = {{9271} , {9272}}, counts = {{100}, {100}}, addons = {1005, 1006}},
["dragonite"] = {itens = {{2160} , {9346}, {9344}}, counts = {{100}, {100}, {100}}, addons = {1088, 1078, 1081}},
}



----- GoBack Config -----
local MaximoSummon = 1
local poke_name1 = getItemSpecialDescription(item.uid):match("Contains a (.*).")
local poke_name = getPokemonNameDescription(poke_name1)
local summons = getCreatureSummons(cid)
local nick = getItemAttribute(item.uid, "nick")
local levels = getItemAttribute(item.uid, "level")
local pk = getCreatureSummons(cid)[1]
local ditto = getItemAttribute(item.uid, "ditto")
if not ditto then
ditto = 28
end
local dittoi = getItemAttribute(item.uid, "dittoi")
if not dittoi then
dittoi = "ditto"
end
local go = getItemAttribute(item.uid, "go")
local back = getItemAttribute(item.uid, "back")
local msggg = getItemAttribute(item.uid, "nick")
if msggg == "Uknown" then
msggg = poke_name1
end
local msggg = doCorrectString(msggg)
----- GoBack Config -----
----- Msg GoBack ------
local msgunica = true
local msgunicago1, msgunicaback1 = "Go, "..msggg.."!", "Come back, "..msggg.."!"
local msgunicago2, msgunicaback2 = "Let's do it, "..msggg.."!", "Thanks for helping, "..msggg.."!"
local msgunicago3, msgunicaback3 = "I choose you, "..msggg.."!", "That's enough, come back!"
local msgunicago4, msgunicaback4 = "I need your help, "..msggg.."!", "You were great, "..msggg.."!"
local msgunicago5, msgunicaback5 = "Let's fight, "..msggg.."!", "Excellent work, "..msggg.."!"
local msgunicago6, msgunicaback6 = "It's battle time, "..msggg.."!", "Well done, "..msggg.."!"
local random2 = math.random(1,6)
if random2 == 1 then
msgunicaback = msgunicaback1
elseif random2 == 2 then
msgunicaback = msgunicaback2
elseif random2 == 3 then
msgunicaback = msgunicaback3
elseif random2 == 4 then
msgunicaback = msgunicaback4
elseif random2 == 5 then
msgunicaback = msgunicaback5
elseif random2 == 6 then
msgunicaback = msgunicaback6
end
local random = math.random(1,6)
if random == 1 then
msgunicago = msgunicago1
elseif random == 2 then
msgunicago = msgunicago2
elseif random == 3 then
msgunicago = msgunicago3
elseif random == 4 then
msgunicago = msgunicago4
elseif random == 5 then
msgunicago = msgunicago5
elseif random == 6 then
msgunicago = msgunicago6
end
----- Msg GoBack ------
local attacks = "

 
Editado por aline533 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Você precisa postar o seu script para nós tentarmos arrumar para você.

Link para o post
Compartilhar em outros sites

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.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Estatísticas dos Fóruns

    96842
    Tópicos
    519603
    Posts
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo