View Single Post
09/10/18, 05:02 PM   #1
Coorbin
AddOn Author - Click to view addons
Join Date: Sep 2018
Posts: 15
Guild member online/offline status?

The "documentation" is pretty terrible for all the zillions of Lua functions we can in theory call (apparently, it's "look at the list of functions and guess the semantics"), so I was wondering if anyone could point me to the right functions for this...

Basically the high-level idea is to periodically save the current list of online players (@handles) in my guild, and save them to saved vars file. Then I'll write an out of band program to upload that and gather some statistics we're interested in.

The data I would need to take a snapshot of periodically would be:
  • Current time
  • All logged-in @handles, or just every @handle and their current online/offline status
  • Ideally, also their rank name in the guild or rank index

I can probably figure out a timestamp, but what about the latter two items? Are these data even available to a Lua addon? Thanks!
  Reply With Quote