Makelin1 89 Postado Maio 3, 2012 Share Postado Maio 3, 2012 Opa fala xtibia !! vinho trazer o /invasao comando e simples o god fala /invasao e nasci os bixos que ele escolher !! ate agr sao 3 monstros pra qerer por mas se qerer add novos pessa no topico que edito pra vcs !! entao vamos ! primeiro va em data / talkactions / scripts / e renome qualqer arquivo.lua para invasao e add isso tudo la dentro function onSay(cid, words, param) position = {x= 179, y= 59, z= 7} --A Position que todos os monsters iram nascer local name = "Demon" --Monster que vai apareçer quando o god usar o comando local name1 = "Ferumbras" --Monster que vai apareçer quando o god usar o comando local name2 = "Morgaroth" --Monster que vai apareçer quando o god usar o comando doSummonCreature(name, position) doSummonCreature(name1, position) doSummonCreature(name2, position) return TRUE end e dps em talkactions.xml add essa tag la <talkaction log="yes" words="/invasao" access="5" event="script" value="invasao.lua"/> e salve e dps de "/reload talkactions" no seu ot Ou "Reinicie" entao so isso !! Duvidas Comente ao topico Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/ Compartilhar em outros sites More sharing options...
Delaks 83 Postado Maio 3, 2012 Share Postado Maio 3, 2012 Muito bom esse script como sempre vc evoluindo porem paraçe ser mt facil esse script ai que vc crio ! entao REP + breve botarei no meu subwat kamikaze Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1253593 Compartilhar em outros sites More sharing options...
Makelin1 89 Postado Maio 3, 2012 Autor Share Postado Maio 3, 2012 opa obrigado pelo o elogio se vc qerer posso acresentar mas os monsters pra vc so deixar mas resposta ate Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1253613 Compartilhar em outros sites More sharing options...
Subwat 405 Postado Maio 5, 2012 Share Postado Maio 5, 2012 eles vão nascer todos na mesma posição o que faz com que possa bugar o comando se botar mts bixos para nascer, o que torna quase inutil o comando quando se tem raids no servidor. Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1254369 Compartilhar em outros sites More sharing options...
Makelin1 89 Postado Maio 5, 2012 Autor Share Postado Maio 5, 2012 sim mas eles nao nascem um dentro do outro akilo akela a position e aonde so o primeiro monster nasce o resto vai nascendo no lado eu testei o script ate Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1254477 Compartilhar em outros sites More sharing options...
Dantarrix 8 Postado Maio 5, 2012 Share Postado Maio 5, 2012 I like much more /raid command, that is on TFS distribution... Sorry for write in English, I dont know portuguese.... For the ones that dont have /raid command, here it is.... function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end if(not executeRaid(param)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Could not execute raid. (Raid does not exist or other raid is already running)") return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Raid started.") return true end You only need to say /raid name name is the name of the raid in raids/raids.xml file..... Kind regards... Dantarrix Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1254650 Compartilhar em outros sites More sharing options...
Makelin1 89 Postado Maio 5, 2012 Autor Share Postado Maio 5, 2012 I like much more /raid command, that is on TFS distribution... Sorry for write in English, I dont know portuguese.... For the ones that dont have /raid command, here it is.... function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end if(not executeRaid(param)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Could not execute raid. (Raid does not exist or other raid is already running)") return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Raid started.") return true end You only need to say /raid name name is the name of the raid in raids/raids.xml file..... Kind regards... Dantarrix kra fala direito nao entendo nada dessas linguas ai ¬¬ Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1254679 Compartilhar em outros sites More sharing options...
Zmovir 41 Postado Maio 5, 2012 Share Postado Maio 5, 2012 Aquele script ali e pra executar um raid Smart usa tabela nos seus scripts fica melhor Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1254729 Compartilhar em outros sites More sharing options...
20cm 70 Postado Maio 6, 2012 Share Postado Maio 6, 2012 (editado) I like much more /raid command, that is on TFS distribution... Sorry for write in English, I dont know portuguese.... For the ones that dont have /raid command, here it is.... function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end if(not executeRaid(param)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Could not execute raid. (Raid does not exist or other raid is already running)") return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Raid started.") return true end You only need to say /raid name name is the name of the raid in raids/raids.xml file..... Kind regards... Dantarrix kra fala direito nao entendo nada dessas linguas ai ¬¬ Isso é repugnante, ele falou direito do jeito que ele aprendeu c#ralho. Aliás, você fala mais errado que ele. Mas de boa, ignorância é f#da mesmo. function onSay(cid, words, param) local table = { ["Rat"] = {x=24,y=31,z=14}, ["Demon"] = {x=14,y=49,z=97}, ["Morgaroth"] = {x=13,y=49,z=94} } for x, y in pairs (table) do doSummonCreature(x, y) end return TRUE end edit# porra dei rep+ pra tu '-' era pro gringo, vi o quote e mosquei .________. Editado Maio 6, 2012 por 20cm Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1255097 Compartilhar em outros sites More sharing options...
Dantarrix 8 Postado Maio 6, 2012 Share Postado Maio 6, 2012 @up: Sorry, but as I said before, I dont understand portuguese..... Your script is better than the first one.... Maybe you can improve it to summon random number of monsters in a random area, fromPos, toPos..... xD Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1255198 Compartilhar em outros sites More sharing options...
20cm 70 Postado Maio 6, 2012 Share Postado Maio 6, 2012 (editado) @up: Sorry, but as I said before, I dont understand portuguese..... Your script is better than the first one.... Maybe you can improve it to summon random number of monsters in a random area, fromPos, toPos..... xD I said he is ignorant (Smartbox) because he said that you should speak right. There's no right language to speak, he was dumb saying that. And he doesn't even know how to speak portuguese right... And I gave him rep+ but it was for you . CyA Editado Maio 6, 2012 por 20cm Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1255202 Compartilhar em outros sites More sharing options...
Makelin1 89 Postado Maio 6, 2012 Autor Share Postado Maio 6, 2012 @up: Sorry, but as I said before, I dont understand portuguese..... Your script is better than the first one.... Maybe you can improve it to summon random number of monsters in a random area, fromPos, toPos..... xD I said he is ignorant (Smartbox) because he said that you should speak right. There's no right language to speak, he was dumb saying that. And he doesn't even know how to speak portuguese right... And I gave him rep+ but it was for you . CyA velho se for pra ficar conversando com gringo ai chileno fale por pvt que os 2 se amam faza isso por mim '-' Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1255207 Compartilhar em outros sites More sharing options...
20cm 70 Postado Maio 6, 2012 Share Postado Maio 6, 2012 @up: Sorry, but as I said before, I dont understand portuguese..... Your script is better than the first one.... Maybe you can improve it to summon random number of monsters in a random area, fromPos, toPos..... xD I said he is ignorant (Smartbox) because he said that you should speak right. There's no right language to speak, he was dumb saying that. And he doesn't even know how to speak portuguese right... And I gave him rep+ but it was for you . CyA velho se for pra ficar conversando com gringo ai chileno fale por pvt que os 2 se amam faza isso por mim '-' E em português pode ? Cara, quantos anos você tem ? Chileno ? Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1255210 Compartilhar em outros sites More sharing options...
Dantarrix 8 Postado Maio 6, 2012 Share Postado Maio 6, 2012 @up: Thank you... I thought it was for me what you said.... Im chileno... From Chile xD Link para o comentário https://xtibia.com/forum/topic/185537-invasao-command/#findComment-1255248 Compartilhar em outros sites More sharing options...
Posts Recomendados