Disable AFK menu

User Tag List

Thread: Disable AFK

Results 1 to 13 of 13
  1. #1
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Disable AFK

    Hey,

    is there any safe way to disabling auto AFK? Safe as in not detouring engine functions or patching them. I've done some reversing on how the player is marked AFK: one part is some global at 0x00C4D49C, and if that is set to AFK WoW will subsequently add a flag to the LocalPlayer, too. Now I could reset those whenever I go AFK, but then the notification would've been sent to the realm already and there would be a small time frame in which I'm marked AFK.
    Any hints on where to look and is it even possible without modifying engine functions? What I'd ideally be looking at is the place where WoW stores the time I've been idle so far, haven't found that yet though.

    Greetings

    Disable AFK
  2. #2
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Search please...
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  3. #3
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by caytchen View Post
    Hey,

    is there any safe way to disabling auto AFK? Safe as in not detouring engine functions or patching them. I've done some reversing on how the player is marked AFK: one part is some global at 0x00C4D49C, and if that is set to AFK WoW will subsequently add a flag to the LocalPlayer, too. Now I could reset those whenever I go AFK, but then the notification would've been sent to the realm already and there would be a small time frame in which I'm marked AFK.
    Any hints on where to look and is it even possible without modifying engine functions? What I'd ideally be looking at is the place where WoW stores the time I've been idle so far, haven't found that yet though.

    Greetings

    Dunno if you call that detouring or patchting but you could update last hardware action by a simple read/write. Also I have no idea how safe it is but it works for me.

    Code:
            public static void UpdateLastHardwareAction()
            {
                Bot.Memory.Write<uint>(Statics.LastHardwareAction, Bot.Memory.Read<uint>(Statics.TimeStamp));
            }
    Here the addresses
    LastHardwareAction = 0x00CB8E08
    TimeStamp = 0x00A6C750

  4. #4
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    Search please...
    Sorry, the search is quite unforgiving with anything <= 3 characters and I didn't really know what to look for ('afk' aside).

    @Azzie2k8: Thanks, that's exactly what I've been searching for since Idle seems to work off the last hardware action.

  5. #5
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by caytchen View Post
    Sorry, the search is quite unforgiving with anything <= 3 characters and I didn't really know what to look for ('afk' aside).

    @Azzie2k8: Thanks, that's exactly what I've been searching for since Idle seems to work off the last hardware action.


    okay just to prove a point here...I searched for anti afk and at least 2 threads on the first page deal with the topic...

    anyways if you want to make it look real just call it whenever the client would do it too. Updating it every 10 minutes might be obvious. So just update it when you are moving/interacting/fighting and so on...

  6. #6
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, working fine now. For anyone interested, the exact check for the 5 minutes is around 0x0072C28F. No idea how I missed that earlier :/
    About updating it when you actually do something ingame: from what I've heard, Warden Guy is lazy, so I don't think we'll be seeing that kind of heuristic anytime soon. Since I'm in-process, I think there are only two possible ways to detect this: checking the call stack on PerformanceCounter or protecting the memory from writes and catching the exception.
    Last edited by caytchen; 04-29-2010 at 02:44 PM.

  7. #7
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by caytchen View Post
    Okay, working fine now. For anyone interested, the exact check for the 5 minutes is around 0x0072C28F. No idea how I missed that earlier :/
    About updating it when you actually do something ingame: from what I've heard, Warden Guy is lazy, so I don't think we'll be seeing that kind of heuristic anytime soon. Since I'm in-process, I think there are only two possible ways to detect this: checking the call stack on PerformanceCounter or protecting the memory from writes and catching the exception.
    I was thinking about something like it would be strange to kill mobs for half an hour with only one hardware action...that could at least raise a flag....

    I am just calling this on those events so it looks more real...

  8. #8
    WannaBeProgrammer's Avatar Member
    Reputation
    2
    Join Date
    Feb 2009
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Azzie2k8 View Post
    I was thinking about something like it would be strange to kill mobs for half an hour with only one hardware action...that could at least raise a flag....

    I am just calling this on those events so it looks more real...

    Got a simple question, are you updating the hardware action every action you do or just when u use CTM or in-game API function?

  9. #9
    b3vad's Avatar Master Sergeant
    Reputation
    13
    Join Date
    Feb 2010
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [AutoIt] [Relase] advaced anti afk :P

    use this with AutoIt
    --no memory read/write
    --not detectable i think
    --with hot-key (pause break)
    --fun
    --editable (you can add you actions instead of that {SPACE} thing to do)
    Code:
    Global $Paused
    HotKeySet("{PAUSE}", "TogglePause")
    Opt("SendKeyDelay", 50)
    while 1
    sleep(60000) ;delay time (def is 1 min)
    $var = Random(1,22,1)
    Select
    	Case $var = 1
    		ControlSend("World of Warcraft", "", "", "{Left}")
    		ControlSend("World of Warcraft", "", "", "{RIGHT}")
    	Case $var = 2
    		ControlSend("World of Warcraft", "", "", "{RIGHT}")
    		ControlSend("World of Warcraft", "", "", "{Left}")
    	Case $var = 3
    		ControlSend("World of Warcraft", "", "", "{ENTER}/lol  {ENTER}")
    	case $var = 4
    		ControlSend("World of Warcraft", "", "", "{ENTER} lol  {ENTER}")
    	case $var = 5
    		ControlSend("World of Warcraft", "", "", "{ENTER} i like this place  {ENTER}")
    	case $var = 6
    		ControlSend("World of Warcraft", "", "", "{ENTER} aa  {ENTER}")
    	case $var = 7
    		ControlSend("World of Warcraft", "", "", "{ENTER} nahh..  {ENTER}")
    	case $var = 8
    		ControlSend("World of Warcraft", "", "", "{ENTER} ZzZzZz  {ENTER}")
    	case $var = 9
    		ControlSend("World of Warcraft", "", "", "{ENTER}/g im AFK now - its my anti AFK bot massege  {ENTER}")
    	case $var = 10
    		ControlSend("World of Warcraft", "", "", "{ENTER}/dance  {ENTER}")
    	case $var = 11
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 12
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 13
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 14
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 15
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 16
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 17
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 18
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 19
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 20
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	case $var = 21
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	Case Else
    		ControlSend("World of Warcraft", "", "", "{SPACE}")
    	EndSelect
    	ControlSend("", "", "", "", 0) ;Clear
    WEnd
    Func TogglePause()
        $Paused = NOT $Paused
        While $Paused
            sleep(100)
            ToolTip('Anti AFK is OFF',0,0)
        WEnd
        ToolTip("")
    EndFunc
    if you need something / or have any suggestion just say
    remember : emotions doesn't clear your AFK
    and i can make an .exe file out of it for you but its safer that you do it by yourself
    (please some1 change the color style of PHP code)
    Last edited by b3vad; 05-04-2010 at 03:01 AM.

  10. #10
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Simply refresh LastHardwareAction (0xCB8E0 every 4.9 minutes by refreshing its timestamp.

  11. #11
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by b3vad View Post
    case $var = 9
    ControlSend("World of Warcraft", "", "", "{ENTER}/g im AFK now - its my anti AFK bot massege {ENTER}")

    (please some1 change the color style of PHP code)
    Use the CODE tag, not PHP. What you posted is not PHP.

    And FYI if you are actually investigated by a GM they will be able to see this message in your history.

  12. #12
    b3vad's Avatar Master Sergeant
    Reputation
    13
    Join Date
    Feb 2010
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by namreeb View Post
    Use the CODE tag, not PHP. What you posted is not PHP.

    And FYI if you are actually investigated by a GM they will be able to see this message in your history.
    well cod doesn't have colors and makes reading hard

  13. #13
    adaephon's Avatar Active Member
    Reputation
    76
    Join Date
    May 2009
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by b3vad View Post
    well cod doesn't have colors and makes reading hard
    I think it's generally expected in this forum that members have at least progressed beyond colourful picture books, and that one's reading comprehension level is sufficiently high that monotone text doesn't prove a significant obstacle.

    And the nicely contrasting monotone of the code block is significantly easier to read than that awfully coloured mess of the php block.

Similar Threads

  1. AFK Tools for BG's (AV, WSG, AB)
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 26
    Last Post: 12-21-2006, 03:18 PM
  2. [Program] WoW AV AFK Bot
    By Cypher in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 05-22-2006, 05:04 AM
  3. AutoIt Macro for WoW AFK Bot
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 8
    Last Post: 04-06-2006, 06:01 AM
  4. AFK Out of BG without deserter buff
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 03-29-2006, 09:51 AM
All times are GMT -5. The time now is 06:03 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search