View Single Post
  #1  
Old 02-19-2013, 11:38 AM
Chrono
Sarnak
 
Join Date: Apr 2002
Posts: 36
Default New Event: EVENT_CAMPED

I think it would be quite a nice feature to have as at the moment I've integrated various player leaderboards on my website, and I couldn't find a way to detect if a player is online or not.

You can use EVENT_CONNECT to see the player is on, however EVENT_DISCONNECT is only on actual disconnects and not camping.

So on EVENT_CONNECT I set a qglobal to say they are online, but it doesn't always get removed, only if a disconnect happens.

Unless there's another workaround I'm missing?

Thanks.
Reply With Quote