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

Raid schedule question.

BahamutxD

Jack of all trades, master of none
Joined
Jun 8, 2009
Messages
925
Solutions
19
Reaction score
521
Location
Spain
I'm having a hard time with raids, is there any way to make raids execute every X hours and picked randomly from a list of avaiable raids?

This is the raid.xml I made for testing purpose, only the first raid "Orshabaal" is being executed if I set different interval2 for every raid.

Code:
	<raid name="Orshabaal" file="Orshabaal.xml" interval2="3" margin="0" enabled="yes"/>
	<raid name="Demodras" file="Demodras.xml" interval2="4" margin="0" enabled="yes"/>
	<raid name="The Old Widow" file="The Old Widow.xml" interval2="5" margin="0" enabled="yes"/>
	<raid name="Pirates" file="Pirates.xml" interval2="6" margin="0" enabled="yes"/>
	<raid name="Barbarian" file="Barbarian.xml" interval2="7" margin="0" enabled="yes"/>
	<raid name="Apocalypse" file="Apocalypse.xml" interval2="8" margin="0" enabled="yes"/>

Another example.

If I use interval2=3 for every raid, the first raid will be executed most of the times.

Can anyone please help me or explain me like if I where stupid what does interval2 and margin exactly mean?

Thanks!
 
The interval2 means how much minutes that this raid will have a chance to start.

If you want RANDOM RAID to be executed every x hours from this list, just set the interval2 equal of the quantity of x hours (for example 120 is every two hours) and add the field chance="" on each raid, putting a value from 1-100 (percentage). Getting you raid file, look below for an example:

PHP:
<raid name="Orshabaal" file="Orshabaal.xml" chance="10" interval2="120" margin="0" enabled="yes"/>
<raid name="Demodras" file="Demodras.xml" chance="20" interval2="120" margin="0" enabled="yes"/>
<raid name="The Old Widow" file="The Old Widow.xml" chance="15" interval2="120" margin="0" enabled="yes"/>
<raid name="Pirates" file="Pirates.xml" chance="30" interval2="120" margin="0" enabled="yes"/>
<raid name="Barbarian" file="Barbarian.xml" chance="50" interval2="120" margin="0" enabled="yes"/>
<raid name="Apocalypse" file="Apocalypse.xml" chance="5" interval2="120" margin="0" enabled="yes"/>

Regards,
 
The interval2 means how much minutes that this raid will have a chance to start.

If you want RANDOM RAID to be executed every x hours from this list, just set the interval2 equal of the quantity of x hours (for example 120 is every two hours) and add the field chance="" on each raid, putting a value from 1-100 (percentage). Getting you raid file, look below for an example:

PHP:
<raid name="Orshabaal" file="Orshabaal.xml" chance="10" interval2="120" margin="0" enabled="yes"/>
<raid name="Demodras" file="Demodras.xml" chance="20" interval2="120" margin="0" enabled="yes"/>
<raid name="The Old Widow" file="The Old Widow.xml" chance="15" interval2="120" margin="0" enabled="yes"/>
<raid name="Pirates" file="Pirates.xml" chance="30" interval2="120" margin="0" enabled="yes"/>
<raid name="Barbarian" file="Barbarian.xml" chance="50" interval2="120" margin="0" enabled="yes"/>
<raid name="Apocalypse" file="Apocalypse.xml" chance="5" interval2="120" margin="0" enabled="yes"/>

Regards,

I'll try that out, thanks for your help!
 
Back
Top