• 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!

How to make a raid that repeats every 30 minutes?

It gives an example for a 30 minute raid already inside the raids.xml
XML:
    <!--
        <raid name="Testraid" file="testraid.xml" interval2="30" margin="0" />
        executed on average once every 30 minutes
    -->
so interval2 controls it in minutes.
It gives an example for a 30 minute raid already inside the raids.xml
XML:
    <!--
        <raid name="Testraid" file="testraid.xml" interval2="30" margin="0" />
        executed on average once every 30 minutes
    -->
so interval2 controls it in minutes.
it does't work :(
 
Did you remove the comment out bits? And does your testraid.xml actually have the right positions and is set up properly? The default tfs raid system does work, you're definitely overlooking something.
my raids.xml:

Lua:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
    <!--
        <raid name="Testraid" file="testraid.xml" interval2="30" margin="0" />
        executed on average once every 30 minutes
    -->
        <raid name="orshabaal" file="orshabaal.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="ferumbras" file="ferumbras.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="morgaroth" file="morgaroth.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="ghazbaran" file="ghazbaran.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="gazha" file="gazha.xml" interval2="99999" margin="0" reftype="single" ref="no"/>
        <raid name="demodras" file="demodras.xml" interval2="1" chance="100" margin="0" />
        <raid name="hide" file="hide.xml" interval2="1" margin="0" chance="100" />
</raids>
 
my raids.xml:

Lua:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
    <!--
        <raid name="Testraid" file="testraid.xml" interval2="30" margin="0" />
        executed on average once every 30 minutes
    -->
        <raid name="orshabaal" file="orshabaal.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="ferumbras" file="ferumbras.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="morgaroth" file="morgaroth.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="ghazbaran" file="ghazbaran.xml" interval2="99999" margin="0" reftype="single" ref="yes"/>
        <raid name="gazha" file="gazha.xml" interval2="99999" margin="0" reftype="single" ref="no"/>
        <raid name="demodras" file="demodras.xml" interval2="1" chance="100" margin="0" />
        <raid name="hide" file="hide.xml" interval2="1" margin="0" chance="100" />
</raids>
The example one claims it's every 30 minutes, and the interval2 is set to 30. Makes sense. So why are you setting yours to 99999 then? And idk what is up with the ref type.

Sorry to be rude but I don't feel like you're actually even thinking about it.
 
First of all, if you have unmodified TFS the chance, reftype and ref fields are not doing anything.

interval2 is the time it takes to execute the raid (this won't happen always, its a chance, and its aproximate time not 100% accurate)

margin is the time needed since the last raid to execute a new raid.

Seeing your code, setting such low interval2 for some of your raids won't make those raids execute every minute and are most likely blocking other raids from executing as the server won't execute several raids at the same time.
 
First of all, if you have unmodified TFS the chance, reftype and ref fields are not doing anything.

interval2 is the time it takes to execute the raid (this won't happen always, its a chance, and its aproximate time not 100% accurate)

margin is the time needed since the last raid to execute a new raid.

Seeing your code, setting such low interval2 for some of your raids won't make those raids execute every minute and are most likely blocking other raids from executing as the server won't execute several raids at the same time.
so how to do a few raids at the same time?
 
Back
Top