Session Time (/played)
Posted: Fri Jul 03, 2009 6:09 pm
Might have mentioned this before, but here's another feature I am ready to start using along side Stats and other data.
I'd like to start tracking when a character was first created, when it logs in to when it logs out (/played and how long current session), and last updated/saved. I think we do the latter already with an ON UPDATE statement. I was thinking the total time played could be a Player Stat that we update on the stat cycle... but current session length is something we do not yet have, and that's what I'm after - because I am interested in the step that follows, auto-disconnect on idle - which will come at a later time as a custom option.
Anyway, any coders intrigued by this request? Let me know what you need DB-side to support the data.
I'd like to start tracking when a character was first created, when it logs in to when it logs out (/played and how long current session), and last updated/saved. I think we do the latter already with an ON UPDATE statement. I was thinking the total time played could be a Player Stat that we update on the stat cycle... but current session length is something we do not yet have, and that's what I'm after - because I am interested in the step that follows, auto-disconnect on idle - which will come at a later time as a custom option.
Anyway, any coders intrigued by this request? Let me know what you need DB-side to support the data.