It gives an example for a 30 minute raid already inside the raids.xmltfs 1.3
<!--
<raid name="Testraid" file="testraid.xml" interval2="30" margin="0" />
executed on average once every 30 minutes
-->
It gives an example for a 30 minute raid already inside the raids.xml
so interval2 controls it in minutes.XML:<!-- <raid name="Testraid" file="testraid.xml" interval2="30" margin="0" /> executed on average once every 30 minutes -->
it does't workIt gives an example for a 30 minute raid already inside the raids.xml
so interval2 controls it in minutes.XML:<!-- <raid name="Testraid" file="testraid.xml" interval2="30" margin="0" /> executed on average once every 30 minutes -->
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.it does't work
my raids.xml: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.
<?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.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>
so how to do a few 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.