BrunodcX 0 Postado Fevereiro 11, 2018 Share Postado Fevereiro 11, 2018 Olá pessoal do Xtibia tudo certo? bem estou com um erro que ao clicar em uma alavanca sumona a invação mas da um erro no console segue o erro: [Error - Action Interface] data/actions/scripts/leveraid.lua:onUse Description: (luaDoCreateNpc) Npc with name 'Phantom Lord' not found Caso necessitem de mais informações para auxiliar-me estarei disposto a passar Link para o comentário Compartilhar em outros sites More sharing options...
0 Developer Berg 65 Postado Fevereiro 11, 2018 Share Postado Fevereiro 11, 2018 o erro está nessa parte. Spoiler if item.uid == 19000 then doSummonCreature("Phantom Lord", pos1) doSummonCreature("Phantom Lord", pos2) doSummonCreature("Phantom Lord", pos3) doSummonCreature("Phantom Lord", pos4) doSummonCreature("Phantom Lord", pos5) doSummonCreature("Phantom Lord", pos6) doSummonCreature("Phantom Lord", pos7) doSummonCreature("Phantom Lord", pos8) doSummonCreature("Phantom Lord", pos9) doSummonCreature("Phantom Lord", pos10) doSummonCreature("Phantom Lord", pos11) doSummonCreature("Phantom Lord", pos12) doSummonCreature("Phantom Lord", pos13) doSummonCreature("Phantom Lord", pos14) doSummonCreature("Phantom Lord", pos15) doSummonCreature("Phantom Lord", pos16) doSummonCreature("Phantom Lord", pos17) doSummonCreature("Phantom Lord", pos18) doSummonCreature("Phantom Lord", pos19) doSummonCreature("Phantom Lord", pos20) doSummonCreature("Phantom Lord", pos21) doSummonCreature("Phantom Lord", pos22) doSummonCreature("Phantom Lord", pos23) doSummonCreature("Phantom Lord", pos24) doSummonCreature("Phantom Lord", pos25) doSummonCreature("Phantom Lord", pos26) doSummonCreature("Phantom Lord", pos27) doSummonCreature("Phantom Lord", pos28) elseif item.uid == 19001 then doSummonCreature("Finger Killer", pos1) doSummonCreature("Finger Killer", pos2) doSummonCreature("Finger Killer", pos3) doSummonCreature("Finger Killer", pos4) doSummonCreature("Finger Killer", pos5) doSummonCreature("Finger Killer", pos6) doSummonCreature("Finger Killer", pos7) doSummonCreature("Finger Killer", pos8) doSummonCreature("Finger Killer", pos9) doSummonCreature("Finger Killer", pos10) doSummonCreature("Finger Killer", pos11) doSummonCreature("Finger Killer", pos12) doSummonCreature("Finger Killer", pos13) doSummonCreature("Finger Killer", pos14) doSummonCreature("Finger Killer", pos15) doSummonCreature("Finger Killer", pos16) doSummonCreature("Finger Killer", pos17) doSummonCreature("Finger Killer", pos18) doSummonCreature("Finger Killer", pos19) doSummonCreature("Finger Killer", pos20) doSummonCreature("Finger Killer", pos21) doSummonCreature("Finger Killer", pos22) doSummonCreature("Finger Killer", pos23) doSummonCreature("Finger Killer", pos24) doSummonCreature("Finger Killer", pos25) doSummonCreature("Finger Killer", pos26) doSummonCreature("Finger Killer", pos27) doSummonCreature("Finger Killer", pos28) elseif item.uid == 19002 then doSummonCreature("Brimstone Bug", pos1) doSummonCreature("Brimstone Bug", pos2) doSummonCreature("Brimstone Bug", pos3) doSummonCreature("Brimstone Bug", pos4) doSummonCreature("Brimstone Bug", pos5) doSummonCreature("Brimstone Bug", pos6) doSummonCreature("Brimstone Bug", pos7) doSummonCreature("Brimstone Bug", pos8) doSummonCreature("Brimstone Bug", pos9) doSummonCreature("Brimstone Bug", pos10) doSummonCreature("Brimstone Bug", pos11) doSummonCreature("Brimstone Bug", pos12) doSummonCreature("Brimstone Bug", pos13) doSummonCreature("Brimstone Bug", pos14) doSummonCreature("Brimstone Bug", pos15) doSummonCreature("Brimstone Bug", pos16) doSummonCreature("Brimstone Bug", pos17) doSummonCreature("Brimstone Bug", pos18) doSummonCreature("Brimstone Bug", pos19) doSummonCreature("Brimstone Bug", pos20) doSummonCreature("Brimstone Bug", pos21) doSummonCreature("Brimstone Bug", pos22) doSummonCreature("Brimstone Bug", pos23) doSummonCreature("Brimstone Bug", pos24) doSummonCreature("Brimstone Bug", pos25) doSummonCreature("Brimstone Bug", pos26) doSummonCreature("Brimstone Bug", pos27) doSummonCreature("Brimstone Bug", pos28) elseif item.uid == 19003 then doSummonCreature("Green Phantom", pos1) doSummonCreature("Green Phantom", pos2) doSummonCreature("Green Phantom", pos3) doSummonCreature("Green Phantom", pos4) doSummonCreature("Green Phantom", pos5) doSummonCreature("Green Phantom", pos6) doSummonCreature("Green Phantom", pos7) doSummonCreature("Green Phantom", pos8) doSummonCreature("Green Phantom", pos9) doSummonCreature("Green Phantom", pos10) doSummonCreature("Green Phantom", pos11) doSummonCreature("Green Phantom", pos12) doSummonCreature("Green Phantom", pos13) doSummonCreature("Green Phantom", pos14) doSummonCreature("Green Phantom", pos15) doSummonCreature("Green Phantom", pos16) doSummonCreature("Green Phantom", pos17) doSummonCreature("Green Phantom", pos18) doSummonCreature("Green Phantom", pos19) doSummonCreature("Green Phantom", pos20) doSummonCreature("Green Phantom", pos21) doSummonCreature("Green Phantom", pos22) doSummonCreature("Green Phantom", pos23) doSummonCreature("Green Phantom", pos24) doSummonCreature("Green Phantom", pos25) doSummonCreature("Green Phantom", pos26) doSummonCreature("Green Phantom", pos27) doSummonCreature("Green Phantom", pos28) está dizendo ai que os monstros ( Phantom Lord, Finger Killer, Brimstone Bug, Green Phantom ) não existem, renomeei esses monstros para o nome dos monstros que vc quer quer nasça na invasão. Link para o comentário Compartilhar em outros sites More sharing options...
0 Developer Berg 65 Postado Fevereiro 11, 2018 Share Postado Fevereiro 11, 2018 vá em data/actions/script, e poste a leveraid.lua Link para o comentário Compartilhar em outros sites More sharing options...
0 BrunodcX 0 Postado Fevereiro 11, 2018 Autor Share Postado Fevereiro 11, 2018 1 hora atrás, ricardoberg disse: vá em data/actions/script, e poste a leveraid.lua Segue aqui o script total: function onUse(cid, item, frompos, item2, topos) doBroadcastMessage("[AVISO] A BaiakNew foi invadida por Monstros, venha proteger a cidade!") pos1 = {x=164,y=57,z=7} pos2 = {x=176,y=39,z=7} pos3 = {x=169,y=40,z=7} pos4 = {x=156,y=57,z=7} pos5 = {x=139,y=41,z=7} pos6 = {x=173,y=57,z=7} pos8 = {x=161,y=32,z=7} pos9 = {x=138,y=60,z=7} pos10 = {x=179,y=59,z=7} pos11 = {x=132,y=23,z=7} pos13 = {x=173,y=33,z=7} pos14 = {x=178,y=27,z=7} pos15 = {x=181,y=22,z=7} pos16 = {x=197,y=39,z=7} pos17 = {x=208,y=40,z=7} pos18 = {x=208,y=50,z=7} pos19 = {x=204,y=62,z=7} pos20 = {x=194,y=57,z=7} pos21 = {x=178,y=67,z=7} pos22 = {x=104,y=61,z=7} pos23 = {x=102,y=54,z=7} pos24 = {x=103,y=46,z=7} pos25 = {x=153,y=61,z=7} pos26 = {x=96,y=41,z=7} pos27 = {x=83,y=39,z=7} pos28 = {x=110,y=34,z=7} pos12 = {x=132,y=47,z=7} pos7 = {x=138,y=54,z=7} if item.uid == 19000 then doSummonCreature("Phantom Lord", pos1) doSummonCreature("Phantom Lord", pos2) doSummonCreature("Phantom Lord", pos3) doSummonCreature("Phantom Lord", pos4) doSummonCreature("Phantom Lord", pos5) doSummonCreature("Phantom Lord", pos6) doSummonCreature("Phantom Lord", pos7) doSummonCreature("Phantom Lord", pos8) doSummonCreature("Phantom Lord", pos9) doSummonCreature("Phantom Lord", pos10) doSummonCreature("Phantom Lord", pos11) doSummonCreature("Phantom Lord", pos12) doSummonCreature("Phantom Lord", pos13) doSummonCreature("Phantom Lord", pos14) doSummonCreature("Phantom Lord", pos15) doSummonCreature("Phantom Lord", pos16) doSummonCreature("Phantom Lord", pos17) doSummonCreature("Phantom Lord", pos18) doSummonCreature("Phantom Lord", pos19) doSummonCreature("Phantom Lord", pos20) doSummonCreature("Phantom Lord", pos21) doSummonCreature("Phantom Lord", pos22) doSummonCreature("Phantom Lord", pos23) doSummonCreature("Phantom Lord", pos24) doSummonCreature("Phantom Lord", pos25) doSummonCreature("Phantom Lord", pos26) doSummonCreature("Phantom Lord", pos27) doSummonCreature("Phantom Lord", pos28) elseif item.uid == 19001 then doSummonCreature("Finger Killer", pos1) doSummonCreature("Finger Killer", pos2) doSummonCreature("Finger Killer", pos3) doSummonCreature("Finger Killer", pos4) doSummonCreature("Finger Killer", pos5) doSummonCreature("Finger Killer", pos6) doSummonCreature("Finger Killer", pos7) doSummonCreature("Finger Killer", pos8) doSummonCreature("Finger Killer", pos9) doSummonCreature("Finger Killer", pos10) doSummonCreature("Finger Killer", pos11) doSummonCreature("Finger Killer", pos12) doSummonCreature("Finger Killer", pos13) doSummonCreature("Finger Killer", pos14) doSummonCreature("Finger Killer", pos15) doSummonCreature("Finger Killer", pos16) doSummonCreature("Finger Killer", pos17) doSummonCreature("Finger Killer", pos18) doSummonCreature("Finger Killer", pos19) doSummonCreature("Finger Killer", pos20) doSummonCreature("Finger Killer", pos21) doSummonCreature("Finger Killer", pos22) doSummonCreature("Finger Killer", pos23) doSummonCreature("Finger Killer", pos24) doSummonCreature("Finger Killer", pos25) doSummonCreature("Finger Killer", pos26) doSummonCreature("Finger Killer", pos27) doSummonCreature("Finger Killer", pos28) elseif item.uid == 19002 then doSummonCreature("Brimstone Bug", pos1) doSummonCreature("Brimstone Bug", pos2) doSummonCreature("Brimstone Bug", pos3) doSummonCreature("Brimstone Bug", pos4) doSummonCreature("Brimstone Bug", pos5) doSummonCreature("Brimstone Bug", pos6) doSummonCreature("Brimstone Bug", pos7) doSummonCreature("Brimstone Bug", pos8) doSummonCreature("Brimstone Bug", pos9) doSummonCreature("Brimstone Bug", pos10) doSummonCreature("Brimstone Bug", pos11) doSummonCreature("Brimstone Bug", pos12) doSummonCreature("Brimstone Bug", pos13) doSummonCreature("Brimstone Bug", pos14) doSummonCreature("Brimstone Bug", pos15) doSummonCreature("Brimstone Bug", pos16) doSummonCreature("Brimstone Bug", pos17) doSummonCreature("Brimstone Bug", pos18) doSummonCreature("Brimstone Bug", pos19) doSummonCreature("Brimstone Bug", pos20) doSummonCreature("Brimstone Bug", pos21) doSummonCreature("Brimstone Bug", pos22) doSummonCreature("Brimstone Bug", pos23) doSummonCreature("Brimstone Bug", pos24) doSummonCreature("Brimstone Bug", pos25) doSummonCreature("Brimstone Bug", pos26) doSummonCreature("Brimstone Bug", pos27) doSummonCreature("Brimstone Bug", pos28) elseif item.uid == 19003 then doSummonCreature("Green Phantom", pos1) doSummonCreature("Green Phantom", pos2) doSummonCreature("Green Phantom", pos3) doSummonCreature("Green Phantom", pos4) doSummonCreature("Green Phantom", pos5) doSummonCreature("Green Phantom", pos6) doSummonCreature("Green Phantom", pos7) doSummonCreature("Green Phantom", pos8) doSummonCreature("Green Phantom", pos9) doSummonCreature("Green Phantom", pos10) doSummonCreature("Green Phantom", pos11) doSummonCreature("Green Phantom", pos12) doSummonCreature("Green Phantom", pos13) doSummonCreature("Green Phantom", pos14) doSummonCreature("Green Phantom", pos15) doSummonCreature("Green Phantom", pos16) doSummonCreature("Green Phantom", pos17) doSummonCreature("Green Phantom", pos18) doSummonCreature("Green Phantom", pos19) doSummonCreature("Green Phantom", pos20) doSummonCreature("Green Phantom", pos21) doSummonCreature("Green Phantom", pos22) doSummonCreature("Green Phantom", pos23) doSummonCreature("Green Phantom", pos24) doSummonCreature("Green Phantom", pos25) doSummonCreature("Green Phantom", pos26) doSummonCreature("Green Phantom", pos27) doSummonCreature("Green Phantom", pos28) end end Link para o comentário Compartilhar em outros sites More sharing options...
0 BrunodcX 0 Postado Fevereiro 11, 2018 Autor Share Postado Fevereiro 11, 2018 (editado) 2 horas atrás, ricardoberg disse: o erro está nessa parte. Mostrar conteúdo oculto if item.uid == 19000 then doSummonCreature("Phantom Lord", pos1) doSummonCreature("Phantom Lord", pos2) doSummonCreature("Phantom Lord", pos3) doSummonCreature("Phantom Lord", pos4) doSummonCreature("Phantom Lord", pos5) doSummonCreature("Phantom Lord", pos6) doSummonCreature("Phantom Lord", pos7) doSummonCreature("Phantom Lord", pos8) doSummonCreature("Phantom Lord", pos9) doSummonCreature("Phantom Lord", pos10) doSummonCreature("Phantom Lord", pos11) doSummonCreature("Phantom Lord", pos12) doSummonCreature("Phantom Lord", pos13) doSummonCreature("Phantom Lord", pos14) doSummonCreature("Phantom Lord", pos15) doSummonCreature("Phantom Lord", pos16) doSummonCreature("Phantom Lord", pos17) doSummonCreature("Phantom Lord", pos18) doSummonCreature("Phantom Lord", pos19) doSummonCreature("Phantom Lord", pos20) doSummonCreature("Phantom Lord", pos21) doSummonCreature("Phantom Lord", pos22) doSummonCreature("Phantom Lord", pos23) doSummonCreature("Phantom Lord", pos24) doSummonCreature("Phantom Lord", pos25) doSummonCreature("Phantom Lord", pos26) doSummonCreature("Phantom Lord", pos27) doSummonCreature("Phantom Lord", pos28) elseif item.uid == 19001 then doSummonCreature("Finger Killer", pos1) doSummonCreature("Finger Killer", pos2) doSummonCreature("Finger Killer", pos3) doSummonCreature("Finger Killer", pos4) doSummonCreature("Finger Killer", pos5) doSummonCreature("Finger Killer", pos6) doSummonCreature("Finger Killer", pos7) doSummonCreature("Finger Killer", pos8) doSummonCreature("Finger Killer", pos9) doSummonCreature("Finger Killer", pos10) doSummonCreature("Finger Killer", pos11) doSummonCreature("Finger Killer", pos12) doSummonCreature("Finger Killer", pos13) doSummonCreature("Finger Killer", pos14) doSummonCreature("Finger Killer", pos15) doSummonCreature("Finger Killer", pos16) doSummonCreature("Finger Killer", pos17) doSummonCreature("Finger Killer", pos18) doSummonCreature("Finger Killer", pos19) doSummonCreature("Finger Killer", pos20) doSummonCreature("Finger Killer", pos21) doSummonCreature("Finger Killer", pos22) doSummonCreature("Finger Killer", pos23) doSummonCreature("Finger Killer", pos24) doSummonCreature("Finger Killer", pos25) doSummonCreature("Finger Killer", pos26) doSummonCreature("Finger Killer", pos27) doSummonCreature("Finger Killer", pos28) elseif item.uid == 19002 then doSummonCreature("Brimstone Bug", pos1) doSummonCreature("Brimstone Bug", pos2) doSummonCreature("Brimstone Bug", pos3) doSummonCreature("Brimstone Bug", pos4) doSummonCreature("Brimstone Bug", pos5) doSummonCreature("Brimstone Bug", pos6) doSummonCreature("Brimstone Bug", pos7) doSummonCreature("Brimstone Bug", pos8) doSummonCreature("Brimstone Bug", pos9) doSummonCreature("Brimstone Bug", pos10) doSummonCreature("Brimstone Bug", pos11) doSummonCreature("Brimstone Bug", pos12) doSummonCreature("Brimstone Bug", pos13) doSummonCreature("Brimstone Bug", pos14) doSummonCreature("Brimstone Bug", pos15) doSummonCreature("Brimstone Bug", pos16) doSummonCreature("Brimstone Bug", pos17) doSummonCreature("Brimstone Bug", pos18) doSummonCreature("Brimstone Bug", pos19) doSummonCreature("Brimstone Bug", pos20) doSummonCreature("Brimstone Bug", pos21) doSummonCreature("Brimstone Bug", pos22) doSummonCreature("Brimstone Bug", pos23) doSummonCreature("Brimstone Bug", pos24) doSummonCreature("Brimstone Bug", pos25) doSummonCreature("Brimstone Bug", pos26) doSummonCreature("Brimstone Bug", pos27) doSummonCreature("Brimstone Bug", pos28) elseif item.uid == 19003 then doSummonCreature("Green Phantom", pos1) doSummonCreature("Green Phantom", pos2) doSummonCreature("Green Phantom", pos3) doSummonCreature("Green Phantom", pos4) doSummonCreature("Green Phantom", pos5) doSummonCreature("Green Phantom", pos6) doSummonCreature("Green Phantom", pos7) doSummonCreature("Green Phantom", pos8) doSummonCreature("Green Phantom", pos9) doSummonCreature("Green Phantom", pos10) doSummonCreature("Green Phantom", pos11) doSummonCreature("Green Phantom", pos12) doSummonCreature("Green Phantom", pos13) doSummonCreature("Green Phantom", pos14) doSummonCreature("Green Phantom", pos15) doSummonCreature("Green Phantom", pos16) doSummonCreature("Green Phantom", pos17) doSummonCreature("Green Phantom", pos18) doSummonCreature("Green Phantom", pos19) doSummonCreature("Green Phantom", pos20) doSummonCreature("Green Phantom", pos21) doSummonCreature("Green Phantom", pos22) doSummonCreature("Green Phantom", pos23) doSummonCreature("Green Phantom", pos24) doSummonCreature("Green Phantom", pos25) doSummonCreature("Green Phantom", pos26) doSummonCreature("Green Phantom", pos27) doSummonCreature("Green Phantom", pos28) está dizendo ai que os monstros ( Phantom Lord, Finger Killer, Brimstone Bug, Green Phantom ) não existem, renomeei esses monstros para o nome dos monstros que vc quer quer nasça na invasão. Vou testar aqui caso funcionar edito esta resposta para avisar EDIT: Funcionou Editado Fevereiro 11, 2018 por BrunodcX Link para o comentário Compartilhar em outros sites More sharing options...
0 Stigal 584 Postado Abril 18, 2018 Share Postado Abril 18, 2018 A questão neste tópico de suporte foi respondida e/ou o autor do tópico resolveu o problema. Este tópico está fechado e foi movido para Suporte - Resolvidos. Se você tiver outras dúvidas, crie um novo tópico. Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
BrunodcX 0
Olá pessoal do Xtibia tudo certo? bem estou com um erro que ao clicar em uma alavanca sumona a invação mas da um erro no console segue o erro:
[Error - Action Interface]
data/actions/scripts/leveraid.lua:onUse
Description:
(luaDoCreateNpc) Npc with name 'Phantom Lord' not found
Caso necessitem de mais informações para auxiliar-me estarei disposto a passar
Link para o comentário
Compartilhar em outros sites
5 respostass a esta questão
Posts Recomendados