Forums / DQ: Horizons / General Discussions / Player Online or Offline
Posted ByMessage
Emperor L
[ Posts : 1237 ]
[Post Date: 20-Dec-2008 02:31]

Is it possible to display somewhere (maybe for alliance members only) if a player is online (curently logged in) or not? It would be useful for planning attacks etc. Maybe in profile page, have option to show status or not, incase players dont want others to know.



This message was edited by Emperor L
Maverick
[ Posts : 1331 ]
[Post Date: 20-Dec-2008 15:34]

Quote
Is it possible to display somewhere (maybe for alliance members only) if a player is online (curently logged in) or not? It would be useful for planning attacks etc. Maybe in profile page, have option to show status or not, incase players dont want others to know.



This message was edited by Emperor L
It is not possible to know if a player is online at a specific time. It is possible to know when he/she last loggedin/selected empire. This info will be used for marking inactive empires only. I don't want a strategy based on players beeing online or not.

Currently last login time is shown in alliance members list.

Emperor L
[ Posts : 1237 ]
[Post Date: 20-Dec-2008 17:50]

Quote
It is not possible to know if a player is online at a specific time. It is possible to know when he/she last loggedin/selected empire. This info will be used for marking inactive empires only.


Is it not possible to just check if a login session curently exists for selected empire?

Quote
I don't want a strategy based on players beeing online or not.


It isnt really for strategy, just that if you want to talk to an ally, then you can see if they are curently online. It should only display for allies, not for any other empire, because players could wait for one to logout before attacking, and that could be a problem.

For allies though, its useful to agree a set time for an attack and wait for other to login first before attacking. Also when sending messages etc. Right now we have been sending messages just saying 'Are you Online?', where an indicator would solve this.




Maverick
[ Posts : 1331 ]
[Post Date: 20-Dec-2008 18:27]

Quote
Quote
It is not possible to know if a player is online at a specific time. It is possible to know when he/she last loggedin/selected empire. This info will be used for marking inactive empires only.


Is it not possible to just check if a login session curently exists for selected empire?
As far as I know there is no clear way of finding who is online. I cannot check all sessions on server side each time and even if I could it just shows how long in the past was the last request. So even if a player logged in 2 minutes ago you cannot be 100% sure he is still online. We can only suppose it. This is very similar with what we already have. Last loggin time for a user is shown. Enstead of last login time I can put last empire selection time.

Emperor L
[ Posts : 1237 ]
[Post Date: 20-Dec-2008 19:42]

Quote
As far as I know there is no clear way of finding who is online. I cannot check all sessions on server side each time and even if I could it just shows how long in the past was the last request. So even if a player logged in 2 minutes ago you cannot be 100% sure he is still online. We can only suppose it. This is very similar with what we already have. Last loggin time for a user is shown. Enstead of last login time I can put last empire selection time.



Ok...but assuming players always log out before exiting game (some won't, but most probably do). If a player logged in, but has not logged out), then it is ok to assume they are online. As soon as they click log out, then session ends, and they are offline.

If after set time (same as session time out) no request has been made, then they automaticaly log out (this happens anyway automaticaly), then same for online status, mark them as offline.

It isnt perfect, but is a reasonable indicator


Maverick
[ Posts : 1331 ]
[Post Date: 21-Dec-2008 00:24]

Quote
Ok...but assuming players always log out before exiting game
Most one don't So everything is relative. Usually if you have no clear way of finding if a player is online it is not worth the effort to make a subsytem to "guess" if a player is online.
Emperor L
[ Posts : 1237 ]
[Post Date: 21-Dec-2008 00:53]

Quote
Most one don't So everything is relative. Usually if you have no clear way of finding if a player is online it is not worth the effort to make a subsytem to "guess" if a player is online.


Ok