Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;CSGO Auto queue start/accept by serge (Skype: UCSerge)
- ;Install AutoIt3 from Official webpage - https://www.autoitscript.com/site/autoit/
- ;Create new AutoIt script and paste the source and run
- ;CSGO required video options for pixel-search+coordinates to match - https://postimg.org/image/8dq9lvwzl/
- #NoTrayIcon
- #RequireAdmin
- Global $mode = 0
- Opt("MouseCoordMode", $mode)
- Opt("PixelCoordMode", $mode)
- Opt("WinTitleMatchMode", 1)
- Opt("MouseClickDownDelay", 25)
- Opt("MouseClickDelay", 10)
- Opt("SendKeyDownDelay", 25)
- Opt("SendKeyDelay", 10)
- Global $CheckFail = 0
- Global $Status = "AFK - END key [Off]/On"
- Global $Alive
- Beep(800,200)
- HotKeySet("{End}", "Afk")
- HotKeySet("{Del}", "EndApp")
- While 1
- Sleep(100)
- $Status = "AFK - END key [Off]"
- ToolTip(" ",@DesktopWidth /1.55, @DesktopHeight /50, "Status: " & $Status, "0")
- WEnd
- Func Afk()
- $Status = "AFK - END key [On]"
- ToolTip(" ",@DesktopWidth /1.55, @DesktopHeight /50, "Status: " & $Status, "0")
- $Alive = Not $Alive
- While $Alive
- Sleep(3000)
- $number1 = 0 ;Start Queue button
- If WinActive("Counter-Strike: Global Offensive") Then $number1 += 1
- $coord1 = PixelSearch(578, 571, 747, 591, 0x297351, 3); Start Queue Button
- If Not @error Then $number1 += 2
- Switch $number1
- Case 3
- MouseClick("left",662, 579,1,8)
- MouseMove(117, 82, 8)
- EndSwitch
- $number2 = 0 ;Start Queue button
- If WinActive("Counter-Strike: Global Offensive") Then $number2 += 1
- $coord2 = PixelSearch(23, 110, 241, 224, 0x195540, 3); Match Found
- If Not @error Then $number2 += 2
- Switch $number2
- Case 3
- MouseClick("left",133, 148,1,8)
- MouseMove(117, 82, 8)
- EndSwitch
- WEnd
- EndFunc
- Func EndApp()
- Beep(400,700)
- Exit 0
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement