Advertisement
snajper23

start of 1 acc NEW

Jul 10th, 2021
8,455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 3.05 KB | None | 0 0
  1. $steam = ("vasya228") ;указываем ваш логин
  2. $sda = ("D:\Program Files\SDA-1.0.10\Steam Desktop Authenticator.exe") ;указываем путь для сда
  3. Run(@ScriptDir & '\' & $steam & '_cs.bat') ; запускаем стим
  4. WinWaitActive("Steam Guard — Необходима авторизация компьютера")
  5. if not WinExists("Steam Desktop Authenticator") Then
  6.    Run($sda) ; запускаем sda
  7.    $b = 0
  8.    While $b = 0
  9.       $d = ControlGetText("Steam Desktop Authenticator", "", "[Class:WindowsForms10.EDIT.app.0.afceb_r9_ad1; INSTANCE:2]")
  10.       If $d <> "" Then
  11.          $b = 1
  12.       EndIf
  13.    WEnd
  14. EndIf
  15. WinActivate("Steam Desktop Authenticator")
  16. WinWaitActive("Steam Desktop Authenticator")
  17. Sleep (300)
  18. WinMove("Steam Desktop Authenticator", "", 1408, 296)
  19. ControlClick("Steam Desktop Authenticator", "", "[Class:WindowsForms10.LISTBOX.app.0.afceb_r9_ad1; INSTANCE:1]")
  20. Sleep (300)
  21. Send("{end}")
  22. $sda = ControlGetText ("Steam Desktop Authenticator", "", "[Class:WindowsForms10.Window.8.app.0.afceb_r9_ad1; INSTANCE:2]")
  23. Send("{home}")
  24. $a = ControlGetText ("Steam Desktop Authenticator", "", "[Class:WindowsForms10.Window.8.app.0.afceb_r9_ad1; INSTANCE:2]")
  25. $b = 0
  26. $c = "Account: " & $steam
  27. if $a = $c Then
  28.    $b = 1
  29. EndIf
  30. While $b <>1
  31.    Send("{down 1}")
  32.    $a = ControlGetText ("Steam Desktop Authenticator", "", "[Class:WindowsForms10.Window.8.app.0.afceb_r9_ad1; INSTANCE:2]")
  33.    if $a = $c Then
  34.       $b = 1
  35.    EndIf
  36.    if $b <> 1 and $a = $sda then
  37.       MsgBox (0, "Ошибка", "Аккаунт отсутствует в SDA" )
  38.       Exit
  39.    EndIf
  40. WEnd
  41. $d = ControlGetText("Steam Desktop Authenticator", "", "[Class:WindowsForms10.EDIT.app.0.afceb_r9_ad1; INSTANCE:2]")
  42. ClipPut($d)
  43. WinSetState("Steam Desktop Authenticator", "", @SW_MINIMIZE)
  44. WinActivate("Steam Guard — Необходима авторизация компьютера")
  45. WinWaitActive("Steam Guard — Необходима авторизация компьютера")
  46. Send('+{INS}')
  47. Send("{enter}")
  48. WinActivate("Counter-Strike: Global Offensive — Steam")
  49. WinWaitActive("Counter-Strike: Global Offensive — Steam")
  50. WinWaitClose("Counter-Strike: Global Offensive — Steam")
  51. WinExists("Counter-Strike: Global Offensive")
  52. WinActivate("Counter-Strike: Global Offensive")
  53. WinWaitActive("Counter-Strike: Global Offensive")
  54. $z = 0
  55. while $z = 0
  56.    $x = WinGetPos("Counter-Strike: Global Offensive")
  57.    if $x[2] < 420 and $x[3] < 420 Then
  58.       $z = 1
  59.    EndIf
  60. WEnd
  61. WinSetTitle("Counter-Strike: Global Offensive", "", "csgo - " & $steam)
  62. $m = 0
  63. While $m = 0
  64.    $k = Winlist()
  65.    for $i = 1 to $k[0][0]
  66.       if StringRegExp($k[$i][0], "csgo - " & $steam) then
  67.          $m = 1
  68.       EndIf
  69.    Next
  70.    if $m = 0 Then
  71.       WinSetTitle("Counter-Strike: Global Offensive", "", "csgo - "& $steam)
  72.    EndIf
  73. WEnd
  74. WinExists("csgo - "& $steam)
  75. WinWaitActive("csgo - "& $steam)
  76. Sleep (3000)
  77. $x = WinGetPos("csgo - "& $steam)
  78. MouseClick('primary', $x[0] + 16, $x[1] + 64, 1)
  79. MouseClick('primary', $x[0] + 169, $x[1] + 79, 1)
  80. MouseClick('primary', $x[0] + 311, $x[1] + 313, 1)
  81. Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement