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

Forgotten Raid-System

bomba

Member
Joined
Feb 26, 2008
Messages
635
Reaction score
7
Location
Brazil
I had a great idea for future versions of the Forgotten.
I will show some examples of how to be better:
*old raids.XML:
Code:
<raids>
<raid name="deadAlives" file="undeadBridge.xml" [COLOR="Red"]interval2="30"[/COLOR] margin="0" />
</raids>

*new raids.XML:
Code:
<raids>
<raid name="deadAlives" file="undeadBridge.xml" [COLOR="red"]chance="3/100"[/COLOR] margin="0" />
</raids>
--
3/100 = 3% of chance to execute a Raid.



I hope that Talaturen or else give a repaired in this system.
Sorry, but I'm using translator.
*If the topic is in the wrong section, please move.
 
Great idea, it would be a good place to limit invasions by day. What could be configured or how the stages.xml in the first row. eg <config maxinvasion="3"/> or in config.lua

= p
 
okay so what 3% chance? how often would it check the 3% chance? if anything it should be

Code:
<raids>
<raid name="deadAlives" file="undeadBridge.xml" interval2="30" chance="3" margin="0" />
</raids>

btw wrong place to suggest stuff like this

request it here: http://otland.net/project.php?projectid=2
TFS project board is here:http://otland.net/f55/
 
okay so what 3% chance? how often would it check the 3% chance? if anything it should be

Code:
<raids>
<raid name="deadAlives" file="undeadBridge.xml" interval2="30" chance="3" margin="0" />
</raids>

btw wrong place to suggest stuff like this

request it here: http://otland.net/project.php?projectid=2
TFS project board is here:The Forgotten Server


Tested, look what happened.


raids.xml
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
<raid name="orc" file="invasions/orc.xml" interval2="1" chance="1" margin="0"/>
<raid name="troll" file="invasions/troll.xml" interval2="1" chance="2" margin="0"/>
</raids>

orc.xml
PHP:
<?xml version="1.0" encoding="utf-8"?>
<raid>
  <announce delay="30" type="Event" message="Orc Invasion!" />
  <areaspawn delay="5" fromx="264" fromy="225" fromz="7" tox="300" toy="261" toz="7">
    <monster name="Orc" amount="10" />
  </areaspawn>
</raid>

[27/09/2008 13:35:32] > Broadcasted message: "Orc Invasion!".
[27/09/2008 13:36:32] > Broadcasted message: "Orc Invasion!".
[27/09/2008 13:37:32] > Broadcasted message: "Orc Invasion!".
[27/09/2008 13:38:32] > Broadcasted message: "Orc Invasion!".
[27/09/2008 13:39:32] > Broadcasted message: "Orc Invasion!".


only Orc invasion
 
Back
Top