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

TFS 1.X+ Raid Intervals

Kubakos

Well-Known Member
Joined
Mar 3, 2010
Messages
965
Solutions
2
Reaction score
56
Hello, I am using TFS 1.2 on tibia 10.99. I need an explaination of raid timers, they are in intervals and I don't know how the engine calculate them.

For exemple:

<raid name="Mutated" file="niverus/mutated.xml" interval2="5300000" margin="14"/>
 
Solution
setting it to 25 hours should work just fine, saves dont matter
only interval2 exists
margin is added to the last time the raid ended
C++:
if (now >= (getLastRaidEnd() + raid->getMargin())) {
it starts the raid if the current time is more than the last raid end + margin
Lol so actually Mutated raid is launched every 5300000 minutes? :eek:

Are intervals taking in case global saves, for exemple if I set that Rat raid is started each 25 hours, it will never starts?

What does mean, Interval1, Interval2, Interval3 etc?

What about margin?
 
setting it to 25 hours should work just fine, saves dont matter
only interval2 exists
margin is added to the last time the raid ended
C++:
if (now >= (getLastRaidEnd() + raid->getMargin())) {
it starts the raid if the current time is more than the last raid end + margin
 
Solution
Back
Top