ryandometal
Guitarist!
Hello everybody,
I tried to make the raids like in Tibia RL, but there is a problem ...
There is a percentage chance of a raid run, boss in POI for example, every 50 minutes. Let's assume that appeared a Massacre, 50 minutes passed and he remained there, nobody killed, and another raid happens so that it appears another Massacre in the same place, how to the server check if the boss is already in that position and prevent the two raids same happen?
Ahh, there is some form of a boss like Ghazbaran or Morgaroth disappear 30 minutes after the raid be carried out if no one defeat?
Look my raids.xml:
I use TFS 0.2 mystic spirit, 8.42
Rep++ if someone help me with this
I tried to make the raids like in Tibia RL, but there is a problem ...
There is a percentage chance of a raid run, boss in POI for example, every 50 minutes. Let's assume that appeared a Massacre, 50 minutes passed and he remained there, nobody killed, and another raid happens so that it appears another Massacre in the same place, how to the server check if the boss is already in that position and prevent the two raids same happen?
Ahh, there is some form of a boss like Ghazbaran or Morgaroth disappear 30 minutes after the raid be carried out if no one defeat?
Look my raids.xml:
PHP:
<raids>
<raid name="demodras" file="demodras.xml" chance="6" interval2="50" margin="54" enabled="1"/>
<raid name="ferumbras" file="ferumbras.xml" chance="3" interval2="50" margin="60" enabled="0"/>
<raid name="morgaroth" file="morgaroth.xml" chance="3" interval2="50" margin="60" enabled="1"/>
<raid name="orshabaal" file="orshabaal.xml" chance="3" interval2="50" margin="60" enabled="1"/>
<raid name="massacre" file="massacre.xml" chance="4" interval2="50" margin="56" enabled="1"/>
<raid name="ron" file="ron.xml" chance="6" interval2="50" margin="53" enabled="1"/>
<raid name="mrpunish" file="mrpunish.xml" chance="4" interval2="50" margin="56" enabled="1"/>
<raid name="theplasmother" file="theplasmother.xml" chance="4" interval2="50" margin="56" enabled="1"/>
<raid name="dracola" file="dracola.xml" chance="4" interval2="50" margin="56" enabled="1"/>
<raid name="imperor" file="imperor.xml" chance="4" interval2="50" margin="56" enabled="1"/>
<raid name="handmaiden" file="handmaiden.xml" chance="4" interval2="50" margin="56" enabled="1"/>
<raid name="countess" file="countess.xml" chance="4" interval2="50" margin="56" enabled="1"/>
<raid name="necropharus" file="necropharus.xml" chance="10" interval2="50" margin="56" enabled="1"/>
<raid name="ghazbaran" file="ghazbaran.xml" chance="3" interval2="50" margin="60" enabled="0"/>
<raid name="zoralurk" file="zoralurk.xml" chance="2" interval2="50" margin="60" enabled="0"/>
<raid name="hornedfox" file="hornedfox.xml" chance="10" interval2="50" margin="54" enabled="1"/>
<raid name="general" file="general.xml" chance="10" interval2="50" margin="54" enabled="1"/>
<raid name="tiquandas" file="tiquandas.xml" chance="10" interval2="50" margin="54" enabled="1"/>
<raid name="thecount" file="thecount.xml" chance="10" interval2="50" margin="55" enabled="1"/>
<raid name="sirvalorcrest" file="sirvalorcrest.xml" chance="10" interval2="50" margin="55" enabled="1"/>
</raids>
I use TFS 0.2 mystic spirit, 8.42
Rep++ if someone help me with this