I looked over the script, and I may not be reading it clearly, but it doesn't look like it ever calls 'Loop' It has a trigger for the login loop, and the end calls up mainloop, but nothing mentions just the regular farming loop. Take a look at the FarmBot script and see if you think that and yours could be integrated. I do like the logon chunk, and the part to activate if the Cryptic Client is running. Those are nice touchesCould you specify what pixel #2 should be? I've been trying to adapt this to a 768 screen and the game itself starts jumping the cursor all over the place.
Also, here's an expansion of the script. Includes:
1. Unselects pop-up window on login.
2. Scans omega particle
3. Starts game
4. Collects rewards
5. Checks you're logged in and haven't been disconnected
6. If you're not logged in, logs you in and logs into your last character (you need to open it in notepad and write your password where it says PASSWORD).
7. Loops back to 1.
View attachment 241