Another anti afk auto hot key script with bells and whistles? menu

These ads disappear when you log in.

Results 1 to 5 of 5
  1. #1
    fastlaneqt's Avatar Member
    Reputation
    1
    Join Date
    Dec 2019
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)

    Another anti afk auto hot key script with bells and whistles?

    Code:
        #SingleInstance force
        #NoEnv
        SetWorkingDir %A_ScriptDir%
       
        values:=["space","a","d"]
        SetTimer, Idle, 300000  ; <-------- Set idle time (1000 = 1 sec)
        return
         
        Idle:
            random, rand2, 300000, 600000
        	While (A_TimeIdle > rand2) ; 5 to 10 min wait time.
        	{
        	; loop start here
        	random, rand, 1, 3
            Random, rsleep, 28, 50
            SetTitleMatchMode, 2
            WinActivate, Warcraft ;<- activate the game window
            Stopped = 0 ; turn off the stopped flag
        	SendInput, % "{" values[rand] " down}"
        	Sleep %rsleep%
        	SendInput, % "{" values[rand] " up}"
        	Sleep %rsleep%
        	; loop end here
        	}
        	return
            
         
        End:: ; press End key to forcefully suspend scipt
        Suspend, Toggle
        Pause, Toggle, 1
        return
    This will at random times between 5 and 10 min maximize the wow client if no input is detected then pick a random key that's either "space bar", "a" or "d" then press the key for a split second, then it waits 28ms to 50ms and depresses the key, then waits again 28ms to 50ms, then the script loops again in 5 to 10 min if no activity is detected. Everything Is random pretty much, just felt like making something! merry Christmas!

    *edit*

    So I played with the above for a few hours and turned it into this

    Code:
      #SingleInstance force
        #NoEnv
        SetWorkingDir %A_ScriptDir%
       
        values:=["a","d"]
        SetTimer, Idle, 15000  ; <-------- Set idle time (1000 = 1 sec)
        SetTimer, Dclick, 15000
        return
         
        Idle:
            random, rand2, 15000, 50000
        	While (A_TimeIdle > rand2) ; 1 to 2 min 
        	{
        	; loop start here
        	random, rand, 1, 2
            Random, rsleep, 28, 50
            SetTitleMatchMode, 2
            WinActivate, Warcraft ;<- activate the game window
            Stopped = 0 ; turn off the stopped flag
        	SendInput, % "{" values[rand] " down}"
        	Sleep %rsleep%
        	SendInput, % "{" values[rand] " up}"
        	Sleep %rsleep%
        	; loop end here
        	}
         return
    
      Dclick:
            random, rand4, 15000, 50000
            While (A_timeIdle > rand4)
            {
            ;
            Random, xsleep, 100, 400
            Random, Queclick, 5000, 10000
            MouseClick, Left, 252, 665, 1, 0.1
            Sleep %Queclick%
            MouseClick, right, 1758, 200, 1, 0.1
            Sleep %xsleep%
            MouseClick, Left, 1807, 271, 1, 0.1
            Sleep %xsleep%
            MouseClick, Left, 975, 752, 1, 0.1
            ;
            }
            return
            
         
        End:: ; press End key to forcefully suspend scipt
        Suspend, Toggle
        Pause, Toggle, 1
        return
    Okay, So this seems to break if you change either of the SetTimer's from something the other is not, I am still playing with it but this works. It turns your character using "a" or "d" every 50 sec to 2min (this is because it's trying to play both scripts I think? It should be set to 15 secs to 50 secs).
    The script then sends your mouse around the screen to que you into battlegrounds and such! So how it works is when you go to the Alterac mountains to que up for AV, you walk into the Instance portal and the battleque appears. You then just run the script and It will take anywhere from 50 secs to 2 min but It will click join battle, then 5 to 10 secs latter (because instant que pops For The Alliance!!) It will click the mini map and then click enter battle, right after that it will click where the scoreboard leave battleground button will be eventually after the bg is over. When you exit the bg If you qued in Alterac mountains the battleque will automatically pop up, then the script over. You may need to adjust the cords I set as default, Im using a 1920x1080p screen that's 17 inches right now. If this is the case just edit my script with the correct cords. To find cords just make another script and put this in it

    Code:
     CoordMode, Mouse, Screen
    Loop
    {
    	MouseGetPos, x, y
    	ToolTip, % x "," y
    	Sleep 50
    }
    In theory, you could que av all night while you slept with this script running :thinking:
    I am probably going to try to make this work better tomorrow but it's late so Im done for now! enjoy!
    Last edited by fastlaneqt; 4 Weeks Ago at 04:47 AM. Reason: Added more code

    These ads disappear when you log in.

  2. #2
    PhoenixTV's Avatar Member
    Reputation
    1
    Join Date
    Aug 2017
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    ill prob try before korraks ends but a thing ppl dont really know is that you get xp every minute inside korrak meaning when the bg ends theres 3 mins u can just afk for extra xp

  3. #3
    fastlaneqt's Avatar Member
    Reputation
    1
    Join Date
    Dec 2019
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    My buddy did some testing he said he was able to que into 7 AV's before the script stopped working, I think that I need to add #Persistent at the top. I also made another script today, This one is kinda funny, because it's pretty much for watching anime/tv. So what It does is it sends "a" or "d" to the wow client every 2 min to 4 min. But only if the window is NOT active! So you can alt tab with out fear of going AFK or getting logged out while watching the witcher : ]
    Code:
    #SingleInstance force
        #NoEnv
        #Persistent
        SetWorkingDir %A_ScriptDir%
       
        values:=["a","d"]
        SetTimer, afk, 60000
        return
     afk:
            IfWinnotActive, World of Warcraft
        	{
            random, rand, 1, 2
            random, rsleep, 28, 50
            random, afk, 60000, 240000
            sleep %afk%
        	WinGet, wowid, list, World of Warcraft
            ControlSend,, % "{" values[rand] " down}", ahk_id %wowid1%
            Sleep %rsleep%
            ControlSend,, % "{" values[rand] " up}", ahk_id %wowid1%
            Sleep %rsleep%
        	}
        	return
            
         
        Home:: ; press home key to forcefully suspend scipt
        Suspend, Toggle
        Pause, Toggle, 1
        return
    *edit* there seems to be some sort of issue with this script that it will still move your character in game after you tab back in sometimes, not sure why XD
    Last edited by fastlaneqt; 4 Weeks Ago at 04:46 AM.

  4. #4
    Justdoingdeals's Avatar Member
    Reputation
    1
    Join Date
    May 2015
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    doesn't work at all in minimized 1920

  5. #5
    Royraj's Avatar Member
    Reputation
    1
    Join Date
    Dec 2019
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Is it really working?

Similar Threads

  1. [Question] Autohot key anti afk + auto loot ? vanilla wow server private
    By kolovez in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 04-15-2019, 03:13 AM
  2. Anti afk & auto loot script ? for Vanilla wow private server
    By kolovez in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 04-14-2019, 04:49 AM
  3. UPDATED! AFK auto requeue bot! works with WoW 2.0.1 easier to use! guide inside! Q&A
    By ragingazn628 in forum World of Warcraft Bots and Programs
    Replies: 19
    Last Post: 01-05-2007, 10:59 PM
  4. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft General
    Replies: 22
    Last Post: 11-03-2006, 02:30 PM
  5. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft Bots and Programs
    Replies: 21
    Last Post: 10-28-2006, 05:52 PM
All times are GMT -5. The time now is 02:13 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search