Thread Tools Display Modes
03/29/14, 03:59 PM   #1
Aldazar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 13
Sleep timer

Hi, does anybody know if ESO or any library they provide includes a sleep timer that I can use?
  Reply With Quote
03/29/14, 04:20 PM   #2
Vuelhering
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 169
Originally Posted by Aldazar View Post
Hi, does anybody know if ESO or any library they provide includes a sleep timer that I can use?
I don't remember seeing a sleep timer, although you can make a simple addon that merely checks the time on updates and quickly returns if it's not time to fire yet. That won't add a lot of overhead to each frame.
  Reply With Quote
03/29/14, 07:52 PM   #3
ingeniousclown
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 122
You could try the AceTimer library and use callbacks instead of sleeps.

http://www.esoui.com/downloads/info53-AceTimer.html
  Reply With Quote
03/30/14, 03:59 AM   #4
Aldazar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 13
Thanks for the replies so far. But the timer solution would need some bigger changes to how my addon works >.<
Does anybody know if I can use the socket lib?
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Sleep timer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off