Quote Originally Posted by Kuutamo View Post
Wonder if is possible to code a pop up where you have to type a confirmation that you are not afk. Therefore people who are afk can't type it and they are the only ones logged out
Those don't work. That's why most captchas are just "click if you're not a robot" boxes now. What it does is send a challenge-respond thing so that bots can't simply use the API to activate it, it has to actually do some calculation before it says OK. Though most machine-on-machine virtualization makes this not meaningful either.

The most direct approach is to just boot players that are exploiting anti-AFK measures (eg walking into walls, or running in circles, in instances like the inn, apartment, undersized dungeons, GC recruits room, etc) It's easy enough to see that they haven't left the instance in a reasonable amount of time.