Simple AFK Detection Library
i may create a vote kick rather than auto kick if in demand.
unsure if the ever-increasing integer variables will cause lag. may have a work around for that if that causes problems in long games
default works like this: 25 seconds of not clicking mouse buttons or pressing a keyboard key will prompt AFK Kick warnings on player. if player remains afk for 10 seconds while this message is playing, he will be defeated.
if you encounter any issues (this has been under only light testing) PM me or comment on this page, and ill see what i can do to resolve it
@ImperialGood: Go
@one player down: the end game thing was more or less a placeholder for "what you do with them" actions.
@NetTraffic: yeah i had a feeling that was the case, ill see about lowering that
@bathroombreak: tbh i would just pause the game, but i guess ill add something for that
Most pointless system ever. So instead of having an AFK player you are now 1 player down. Good luck taking a bathroom break.
Unless you can get Hero of the Storm style live rejoin working as part of the system (how they handle AFK), you should rather just share control and to optionally allow people vote on kicking the person.
This system is highly inefficient in that it causes a massive amount of net traffic to be generated. Every key press and mouse press of all players is synchronized all the time. This will likely lead to lag or degraded responsiveness of UI events important to gameplay.
@JacktheArcher: Go
Thanks, ive re-uploaded it as a zip now so it should work now
@joey101d: Go
You HAVE to upload the file as a .zip otherwise it's removed by curse.
@Rohime: Go
thank you for bring this to my attention. i have included a link to a thread where the file is downloadable
File seems to be dead / gone already ! Im interested in looking at it. please return or update link Thanks.