Auto AFK and Auto-Dismiss Pet upon AFK
I think it would be nice to setup an Auto-AFK feature. The opcode 0x6a5f could be used as it is currently unused and it comes in exactly 15 minutes after no activity has been made in the EQ window (including mouse movement). As soon as anything is done in the window again, the 0x6a5f opcode comes in again, almost as if it is for removing AFK status.
If possible, I think it would be nice to use this opcode to set AFK automatically and maybe have a new AFK message of it's own to signify that it is auto-AFK and not just normal /afk. Something like "Auto-AFK is enabled." could be the reply to anyone that sends them a tell. It would also be nice if normal /afk would override the auto-afk so that it isn't automatically removed if there is activity in the EQ window.
The main reason I would like to see Auto-AFK added is because it could then have added features like dismissing a pet upon /afk or Auto-AFK. This would keep people from abusing pets to gain experience while AFK. The pets on my server are probably stronger than most servers, but I bet AFK exping with pets is something that could probably be done on many servers. This would be a nice way to reduce or completely stop that from happening.
I will eventually try to look into how to start coding this (if it is even possible). But, I thought I would post the feature request in case any coders out there liked the idea and might want to work on it.
I think the opcode 0x6a5f has some good potential for things other than what I described here. It could even be used as an auto kick feature to keep players from AFKing on the server for hours and using up server bandwidth for no reason. The server could watch for that opcode to come in and then set some sort of timer (probably defined or disabled in a rule) in a table and once they reach the timer limit, they get kicked. So, if server ops set the rule to 45 minutes, it would add 45 minutes to the 15 minutes that the player had already been AFK when the opcode came in, which would equal an hour total of AFK. Then that player would get kicked. I am sure that there are other potential uses for it too.
|