Bot Running And Going AFK menu

User Tag List

Page 1 of 4 1234 LastLast
Results 1 to 15 of 47
  1. #1
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Bot Running And Going AFK

    Hello,
    Sorry if this is a repost or if its a noob question. Could not find anything in the search engine. When my bot runs it goes afk. It moves with CTM, it jumps, attacks and so on. When it jumps in afk I get the message, "You are no longer afk" and a split second later i get the message, "You are afk". And then it loges me out of the game after some time later. Should I write something to memory to disable afk, or is it something more simple. Its probably a simple problem and I know I will get ridiculed for it. Can I do it with a simple API? Like UnitIsAFK("unit") World of Warcraft API - WoWWiki - Your guide to the World of Warcraft

    Thanks for the help and time!

    Bot Running And Going AFK
  2. #2
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Periodically update LastHardwareAction with the current timestamp.

  3. #3
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    So its as simple as read the TimeStamp (0x00B1D61 and write it to the LastHardwareAction (0x00B499A4)?

  4. #4
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As Apoc just told you, yes. Why don't you try?

  5. #5
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Well I am at work so I cant really try. I try to use all the time I get, even when I am on brake. Thanks for the confirmation! +Rep

    Will +Rep in 24h, used it all on my last post! Thanks!

    ---------- Post added at 06:33 PM ---------- Previous post was at 06:10 PM ----------

    Will it matter how periodic I update the LastHardwareAction with the current timestamp? I do not want to do it to often.

  6. #6
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I typically update it whenever I do something that would actually reset it in game.

    Clicking, 'moving', casting a spell, jumping, facing, etc.

  7. #7
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    That sounds more practical, I was going to set it on a timer but I started to think that warden might take that into account.

  8. #8
    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)
    I just put it in my CTM method:

    Code:
    private static void CGPlayer_C__ClickToMove(Offsets.ClickToMoveType clickToMoveType, ulong guid, Point clickPos, float precision)
            {
                ObjectManager.ResetAfk();
    Works like a charm.

  9. #9
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Nice, looks more clean that way. I will do the same.

  10. #10
    ~Unknown~'s Avatar Contributor
    Reputation
    193
    Join Date
    Jan 2009
    Posts
    211
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Seifer View Post
    I just put it in my CTM method:

    Code:
    private static void CGPlayer_C__ClickToMove(Offsets.ClickToMoveType clickToMoveType, ulong guid, Point clickPos, float precision)
            {
                ObjectManager.ResetAfk();
    Works like a charm.
    Darn...No ObjectManager.ResetAfk() in BlackRain....hehe

  11. #11
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    It is really easy to add into BlackRain

  12. #12
    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)
    Originally Posted by ~Unknown~ View Post
    Darn...No ObjectManager.ResetAfk() in BlackRain....hehe
    No CTM in there, either.

  13. #13
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Small problem, I am reading the TimeStamp and then Writing it to the LastHardwareAction. The problem is that its just speeding up the afk process. It instantly starts logging me out. Any idea why this would happen? What is an average value for a TimeStamp, just so I can compare. I think I am reading the value as the wrong type.

  14. #14
    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)
    Originally Posted by DarkLinux View Post
    Small problem, I am reading the TimeStamp and then Writing it to the LastHardwareAction. The problem is that its just speeding up the afk process. It instantly starts logging me out. Any idea why this would happen? What is an average value for a TimeStamp, just so I can compare. I think I am reading the value as the wrong type.
    For **** sake, tried READING from LastHardwareAction to understand which precision is used? You're probably a factor 1000 off.
    Last edited by Robske; 08-06-2010 at 03:35 PM. Reason: Clarified, I assumed it was obvious enough.
    "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

  15. #15
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    What? I am reading the TimeStamp and writing that value to the LastHardwareAction. I am not read the LastHardwareAction. So I should be reading LastHardwareAction? Why? I dont understand?

Page 1 of 4 1234 LastLast

Similar Threads

  1. [Beta stage][AFK Bot] Simple and well working!
    By [F]ear in forum World of Warcraft Bots and Programs
    Replies: 18
    Last Post: 10-28-2008, 09:50 AM
  2. [Mac] Anti-AFK Bot, undetectable and unbannable. No DL's
    By Viper998 in forum World of Warcraft Bots and Programs
    Replies: 9
    Last Post: 03-24-2008, 12:22 PM
  3. Auto bg joiner and un-afk bots
    By Meister in forum World of Warcraft Bots and Programs
    Replies: 4
    Last Post: 12-14-2006, 01:13 PM
All times are GMT -5. The time now is 11:13 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