Every hour and half a hour
#17

Quote:
Originally Posted by Y_Less
Посмотреть сообщение
Why are you using shorter and shorter timers? If you want something to happen once an hour, use a one hour timer:

Код:
task RaceTimer[60 * 60 * 1000]()
{
    // Called once an hour - no messing, no misses!
}
Simple!

Then use the timerfix plugin to improve the accuracy. Don’t use ad-hoc half-baked pawn solutions that just end up vastly more complex code.
but if I start the server at 13:26 and I want the event to start at 13:30, this one-hour timer will not start when the server is opened at 13:26 and the next time it is accessed will be at 14: 26 and I wanted it at 13:30.
Or y_timer library works differently?
Reply


Messages In This Thread
Every hour and half a hour - by GospodinX - 18.07.2018, 12:27
Re: Every hour and half a hour - by Florin48 - 18.07.2018, 12:35
Re: Every hour and half a hour - by GospodinX - 18.07.2018, 12:53
Re: Every hour and half a hour - by Florin48 - 18.07.2018, 12:58
Re: Every hour and half a hour - by Florin48 - 18.07.2018, 13:13
Re: Every hour and half a hour - by GospodinX - 18.07.2018, 13:20
Re: Every hour and half a hour - by Florin48 - 18.07.2018, 15:00
Re: Every hour and half a hour - by GospodinX - 26.07.2018, 13:09
Re: Every hour and half a hour - by JasonRiggs - 26.07.2018, 13:19
Re: Every hour and half a hour - by GospodinX - 26.07.2018, 13:26
Re: Every hour and half a hour - by Florin48 - 26.07.2018, 13:29
Re: Every hour and half a hour - by GospodinX - 26.07.2018, 13:31
Re: Every hour and half a hour - by Florin48 - 26.07.2018, 13:35
Re: Every hour and half a hour - by JasonRiggs - 26.07.2018, 14:02
Re: Every hour and half a hour - by BlackBank - 26.07.2018, 17:07
Re: Every hour and half a hour - by Y_Less - 26.07.2018, 17:52
Re: Every hour and half a hour - by Florin48 - 26.07.2018, 18:42
Re: Every hour and half a hour - by Y_Less - 26.07.2018, 19:36
Re: Every hour and half a hour - by Florin48 - 27.07.2018, 10:33
Re: Every hour and half a hour - by GospodinX - 27.07.2018, 10:41
Re: Every hour and half a hour - by Florin48 - 27.07.2018, 10:45
Re: Every hour and half a hour - by GospodinX - 27.07.2018, 11:04
Re: Every hour and half a hour - by BlackBank - 27.07.2018, 15:03
Re: Every hour and half a hour - by AmigaBlizzard - 27.07.2018, 20:57

Forum Jump:


Users browsing this thread: 8 Guest(s)