Basically I would like to see people that go on pause for more than 15 minutes or so, get automatically set as away from keyboard, so you can check /afklist instead of PMing them and getting no response.
Announcement
Collapse
No announcement yet.
/afk
Collapse
X
-
Basically if rick want to and can add a check code that runs interval of player updates, it's possible to implement the pause system.
See the following similar suggestion and information about the pause thing.
http://forum.gamerxserver.com/showth...ighlight=pause
http://forum.gamerxserver.com/showth...ighlight=pause
It's too odd, but let me explain again how it is:
Can server technically check if the game frame is paused? No.
Can server check if player pressed ESC key? No.
Can server check if player pressed alt+tab key? No.
Can server determine if player is really away from keyboard (in real life, you don't sit infront of your desk)? No.
(You can afk when you are idle, but you can also still infront of your keyboard when you are not idle, you can pause your game, but still that doesnt mean you are idle, or you can idle without pausing the game)
What server can do?
There is an equivalent (not equal) way to determine if player is away, more accurately to see if player is idle or not doing any activities/respond to the server from the synchronization ticks that send updates to other player and server. (This is what other server do)
Pros:
Server can mark player as in "idle" state which indicates that the player has no send any request or respond to the server.
Cons:
It may mismatch the information on lag/desynchronized/bugged players, especially if they are being disconnected/timeouted with the server.
It need to run interval of player updates which is frequently run at server update tick rate around 30 milliseconds which increases server usage depending on the player count.
It does not immediately mark the player as idle, server need to calculate between inactive times till acceptable ticks to be marked as idle.
It does not mean player paused their game (with ESC/alt+tab), the player might be just inactive. Not all keys are detectable, player may still marked "idle" by server when they are typing a client command or client key in their game (even just moving mouse).
So it's not 100% accurate.
Almost the same for the client feature "name-tag status". It will show when the player or the target lost synchronization, You may notice then when you are playing and then you get unstable connection before timeouted, you will see other players having the "hour-glass" indicator next to their name, and so they will also see you with that. So it's wrong to call those name-tag status indicator as "AFK/PAUSE" indicator.Last edited by Robo; 17-03-17, 11:05 AM.
Comment
There is currently 0 user online. 0 members and 0 guests.
Most users ever online was 15,681 at 08:23 AM on 17-06-20.
Comment