Para definir a data e o horário desejados da siege (pela primeira vez), você mesmo pode configurar os valores dentro do jogo pelo admin - //admin > aba Residences
Para configurar o agendamento automático para o período das sieges que você precisa - a cada 7 dias ou alterar a data, vá para
gameserver\data\events\siege e como exemplo vamos pegar o arquivo [1] gludio_castle.xml
Nele temos os parâmetros de início e o que eles significam:
<parameter name="siege_schedule" value="0 16 +14:* * 7|0 20 +14:* * 7" />
0 16 +14:* * 7
(0 16) - 16:00
+14 - após quantos dias será a próxima siege, neste exemplo, após 14 dias, ou seja, 2 semanas. Se quiser uma vez por semana, coloque +7
:* * 7 - Dia da semana. No nosso exemplo, será no domingo.
|0 20 +14:* * 7" o segundo parâmetro traz a mesma informação, MAS já para a siege da segunda onda. Como você sabe, alguns castelos iniciam as sieges em ondas diferentes. Existem duas delas.
__________________________________________________________________________
Como fazer uma siege todos os dias
Para configurar o agendamento automático para o período das sieges que você precisa - a cada 7 dias ou alterar a data, vá para
gameserver\data\events\siege e como exemplo vamos pegar o arquivo [1] gludio_castle.xml
Nele temos os parâmetros de início e o que eles significam:
<parameter name="siege_schedule" value="0 16 +14:* * 7|0 20 +14:* * 7" />
0 16 +14:* * 7
(0 16) - 16:00
+14 - após quantos dias será a próxima siege, neste exemplo, após 14 dias, ou seja, 2 semanas. Se quiser uma vez por semana, coloque +7
:* * 7 - Dia da semana. No nosso exemplo, será no domingo.
|0 20 +14:* * 7" o segundo parâmetro traz a mesma informação, MAS já para a siege da segunda onda. Como você sabe, alguns castelos iniciam as sieges em ondas diferentes. Existem duas delas.
__________________________________________________________________________
Como fazer uma siege todos os dias
Code:
1. In order to make sure that the siege was every day, we change the following parameters in the file some_castle_castle.xml:
<parameter name="siege_schedule"
exactly
Of course, you can set the same wave time. But according to the office, the CL can change the time of the siege.
<parameter name="siege_schedule" value="0 16 +1:* * *|0 20 +1:* * *" /> Thus, we get the first wave at 16:00 and the second at 20:00.
If you want you to have a siege only in one wave and the CL cannot rearrange the time of the siege:
<parameter name="siege_schedule" value="0 16 +1:* * *" />
Also, you must change the parameter that is responsible for the delay to which the Clan leader has the right to select a wave, EVEN if it is one and this delay is 24 hours - 86400 seconds. Obviously, for a daily siege, we must reduce this delay by say one minute or more. In the example, I will specify a delay of 1 minute:
<parameter name="next_siege_date_set_delay" value="60" />
2. and in the field
<on time="-86400">
<stop name="registration" />
</on>
Here it is indicated how long before the siege it is possible to register - we must change this because ... by official server registration 24 hours before the siege. With default settings, we won't be able to launch a siege every day. So we change, let's say 30 minutes before the siege, registration is possible:
<on time="-1800">
<stop name="registration" />
</on>