This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

LUA timers explanation
#1
Hi everyone and especially @admin

Could you please explain how to implement robust multifunctional timer script to handle all "timer logic"?
In examples there are many different options, what makes it so confusing.

For example, there is scheduled script example,  copas,  os.microtime() with localbusConfusedtep(), localbus:loop(), timerfd, resident script with deltatime and maybe more. By the way localbusConfusedtep() and localbus:loop() receives unclear number parameters, what are they?
Almost every of examples do the same things: timers.

So, is it possible to make simple (or not) and efficient timer to rule them all?
Or point to already existing one if there is one, please.
Reply


Messages In This Thread
LUA timers explanation - by Bitver - 31.07.2024, 05:36
RE: LUA timers explanation - by admin - 31.07.2024, 05:57
RE: LUA timers explanation - by Bitver - 31.07.2024, 06:26
RE: LUA timers explanation - by admin - 02.08.2024, 09:25

Forum Jump: