MA

/invasao Command

Por Makelin1, 03 de mai. de 2012 em Actions e Talkactions

invasao
command
otserv
tibia
script
14
3.4k
Makelin1M
03 de maio de 2012 às 19:20

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

DelaksD
03 de maio de 2012 às 20:21

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

Makelin1M
03 de maio de 2012 às 20:33

opa obrigado pelo o elogio se vc qerer posso acresentar mas os monsters pra vc so deixar mas resposta

ate

SubwatS
05 de maio de 2012 às 10:33

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.

Makelin1M
05 de maio de 2012 às 13:41

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

DantarrixD
05 de maio de 2012 às 18:33

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

Makelin1M
05 de maio de 2012 às 19:12

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 ¬¬

ZmovirZ
05 de maio de 2012 às 20:03

Aquele script ali e pra executar um raid Smart usa tabela nos seus scripts fica melhor

20cm2
06 de maio de 2012 às 09:32

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 por 20cm

DantarrixD
06 de maio de 2012 às 12:40

@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

20cm2
06 de maio de 2012 às 12:50

@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 icon_mustache.gif .

CyA

Editado Maio 6 por 20cm

Makelin1M
06 de maio de 2012 às 12:55

@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 icon_mustache.gif .

CyA

 

velho se for pra ficar conversando com gringo ai chileno fale por pvt que os 2 se amam faza isso por mim '-'

20cm2
06 de maio de 2012 às 13:02

@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 icon_mustache.gif .

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 ?

DantarrixD
06 de maio de 2012 às 14:32

@up: Thank you... I thought it was for me what you said.... Im chileno... From Chile xD