Isso era pra ser em segundos mesmo: 7200 = 60 * 60 * 2
8400000 talvez seja 2 horas + 20 min certo? se for, está em milissegundos: 8400000 = 1000 * 60 * 60 * 2 + 1000 * 60 * 20
info
Grupo: Cavaleiro
Registrado: 22/10/05
Posts: 196
Reputação: 0

Isso era pra ser em segundos mesmo: 7200 = 60 * 60 * 2
8400000 talvez seja 2 horas + 20 min certo? se for, está em milissegundos: 8400000 = 1000 * 60 * 60 * 2 + 1000 * 60 * 20
info
Grupo: Campones
Registrado: 02/03/11
Posts: 0
Reputação: 0
Bom dia, gostaria de saber se alguem pode me informar como funciona o sistema de interval do forgotten server?
exemplo.: <globalevent name="Lotery" interval="7200" event="script" value="lotery.lua"/>
Erro no server:
05:22 [1ST PLACE] Winner: Hakeshou, Reward: 2 crystal coin, Congratulations!
05:22 [2ST PLACE] Winner: Batman, Reward: 1 stealth ring, Congratulations!
05:22 (Next Lottery in 3 hours.)
05:22 [1ST PLACE] Winner: [Vip] [Hoster] Alk, Reward: 1 stealth ring, Congratulations!
05:22 [2ST PLACE] Winner: Robinn, Reward: 2 crystal coin, Congratulations!
05:22 (Next Lottery in 3 hours.)
05:22 [1ST PLACE] Winner: Batman, Reward: 2 crystal coin, Congratulations!
05:22 [2ST PLACE] Winner: Hakeshou, Reward: 1 stealth ring, Congratulations!
05:22 (Next Lottery in 3 hours.)
05:22 [1ST PLACE] Winner: Hakeshou, Reward: 2 crystal coin, Congratulations!
05:22 [2ST PLACE] Winner: Batman, Reward: 2 crystal coin, Congratulations!
05:22 (Next Lottery in 3 hours.)
05:23 [1ST PLACE] Winner: Robinn, Reward: 2 crystal coin, Congratulations!
05:23 [2ST PLACE] Winner: Batman, Reward: 2 crystal coin, Congratulations!
05:23 (Next Lottery in 3 hours.)
Pelo que entendi nos foruns, inclusive no do sistema da lottery dizem que 7200 equivale a 2 horas, no meu server estou tendo que usar esse interval (
<globalevent name="Lotery" interval="8400000" event="script" value="lotery.lua"/>) para ficar aproximadamente 2 horas.
Se alguem puder me ajudar, agradeço com rep+ e mais a minha gratidão