Advertisement
Guest User

Untitled

a guest
Jun 7th, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; --- Login all six accounts
  2. !^+l:: ; --- Use ctrl+alt+shift+l to login
  3.     CoordMode, Mouse, Screen
  4.     ; --- I used sequential account names e.g., user1, user2, ...
  5.     ; --- If you don't have sequential accounts, create an array.
  6.     user = accountnamegoeshere
  7.     pass = passwordgoeshere
  8.     acct := 0
  9.     temp = %user%
  10.     ; --- Main loop to login all accounts.
  11.     Loop, 6
  12.     {
  13.         ; -- Just to be sure that no window is in the way.
  14.         WinMinimizeAll
  15.         Sleep, 1000
  16.         ; --- Start an "ao.bat" (text file) file in the AO direcctory that contains only:
  17.         ; --- START Anarchy.exe
  18.         ; --- as a work around if you can't run it directly.
  19.         Run, ao.bat, C:\Program Files (x86)\Steam\steamapps\common\Anarchy Online
  20.         Sleep, 3000
  21.         ; --- Click accept button
  22.         Click, left, 758, 702, 2, 10
  23.         Sleep, 3000
  24.         ; --- Click play button
  25.         Click, left, 1316, 737, 2, 10
  26.         Sleep, 3000
  27.         ; --- Click username textfield
  28.         Click, left, 987, 506, 2, 10
  29.         Sleep, 1000
  30.         ; --- Loop backspace to erase username
  31.         Loop, 15
  32.             Send, {Backspace}
  33.         Sleep, 1000
  34.         ; --- Paste the username
  35.         Send, %temp%
  36.         Sleep, 2000
  37.         ; --- Click the password textfield
  38.         Click, left, 987, 531, 2, 10
  39.         Sleep, 1000
  40.         ;Type password
  41.         Send, %pass%
  42.         Sleep, 2000
  43.         ; --- Click the login button
  44.         Click, left, 875, 566, 2, 10
  45.         Sleep, 2000
  46.         ; --- Click the login character button
  47.         Click, left, 965, 892, 2, 10
  48.         Sleep, 1000
  49.         temp =  %user%%acct%
  50.         acct := acct+1
  51.     }
  52.     WinMinimizeAll
  53.     Sleep, 1000
  54.     CoordMode, Mouse, Window
  55. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement