• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Scheduled Raid

SnakevL

New Member
Joined
Jun 5, 2008
Messages
71
Reaction score
0
English:
Hey you all from otland.net... I'm back with a dedicated server in USA.
At the moment, i need a script that create automatically raids, with a scheduled time. My Server is 24 hours, if i had this script, i wouldn't worry about start a raid every day in same hour.(8h p.m.). I would turn on the server for example in Monday, and all the whole week, the script may load a raid at the scheduled time, which is, in case, 8h p.m.(every day) :ninja:
Can anybody help me?

(Sorry for bad english, i don't use any translator). :rolleyes:

---------------------------------
Portuguese:

Olá pessoal do otland.net.. Estou voltando à ativa num servidor com dedicado nos EUA, querendo lotar mais um servidor meu.
Estou precisando no momento de um script que crie raids automaticamente numa hora pré-programada. Como o OT é 24 horas, eu não precisaria me preocupar em fazer raids no horário prometido aos players(todo dia, as 20h). Eu ligaria o dedicado por exemplo na segunda-feira e as 20h de todos os dias, a raid seria começada.

Eu consegui uma base de como fazer o script, mas não sei como começar.

Obrigado desde já, abraços!

------------
 
XML:
<globalevent name="raid" time="20:00:00" event="buffer" value="doExecuteRaid('RaidName')"/>
123
 
@Cykotitan,
how can i put random raids to execute in that line?

is something like:
Code:
<globalevent name="raid" time="20:00:00" event="buffer" value="doExecuteRaid('[B][COLOR=#ff0000]Raidname1,RaidName2,RaidName3,RaidName4[/COLOR][/B]')"/>

if not, can u send me the correct one?
 
Code:
doExecuteRaid(({'[B][COLOR="#FF0000"]r1[/COLOR][/B]','[B][COLOR="#FF0000"]r2[/COLOR][/B]','[B][COLOR="#FF0000"]r3[/COLOR][/B]','[B][COLOR="#FF0000"]r4[/COLOR][/B]'})[math.random([B][COLOR="#FF0000"]4[/COLOR][/B])])
 
well, i put this in my OT
<globalevent name="scheduled raid" time="20:00:00" event="buffer" value="doExecuteRaid(({'Morgaroth','Demodras','Ghazbaran','Ferumbras','Necropharus','The Horned Fox','The Old Widow','Tiquandas Revenge','Orshabaal'})[math.random(9)])"/>
and are perfectly working at the moment. So, Thanks very much, Cykotitan !
If the admin wanna close the thread, feel free to do it.
 
Hello, This globalevents found good.
But.... lag my server....
Every X seconds freezes.

Some solution for repair this globalevent??
Thanks ot landers!
 
Back
Top