AFK Quit
This addon will call ForceQuit() right before you are supposed to be logged out for being Idle. This will return you back to your OS instead of going to the character selection screen and then being dropped back to the login screen.
The idea is to avoid running your graphics card at 100% GPU all night when you fall asleep without logging out. It also allows your OS to start its screen saver or power down the monitor (and other hardware devices)
[ADDON_ACTION_FORBIDDEN] AddOn 'AfkQuit' tried to call the protected function 'ForceQuit()'.
The latest patch unfortunately broke this addon. Is a fix possible?
how to do invasion :D
I definatly need this, I leave wow running all the time. Thanks =D
Thanks for allt the nice posts! :)
I am currently on a break from wow, but my account still works on the PTR. Verified that this still works with 5.4.7.17807 and pushed a new version!
thanks!
No more forgetting to turn off wow only to wake up during the night to a fan that screams for help xD
Thanks man!!!!
Excellent addon. Highly recommended.
@angrysteel
You most likely were just disconnected from the game due to a network connectivity issue. An addon cannot account for such an occurrence.
Using version R: 2.0, i am 50-50 with the addon actually working. Out of 4 afks only 2 of them completely shut the game down. The other 2 times the game shut down as normal and was left at the login screen.
Thanks!
I've confirmed this works in and out of cities.
I was playing around with that in an earlier version, but it only worked outside of a city. When in a city, that message never appeared.
Did you try this in a city, or outside?
I was able to do some testing today and I discovered that my previous code wouldn't work because the CAMP StaticPopup is the same as the one presented to you when you do a normal logout.
However, I found a solution. When the system message that warns you are about to logged out is sent, I triggered a ForceQuit(). I've tested this.
Perhaps this will work?
A dialog window pops up to warn you right before the game logs you out. I would imagine that it would be trivial to watch for this window instead of creating your own timer. This would prevent the problems with the AFK CVar.
Yea, this is nice addon, since my VGA almost burned at WoW logon screen once.