If you do screenshot your images, please make a pull request so I add them to the repository Images in this repository are for the french version of the game, you'll have to replace them with images of the game in your own language for this to work (or put the game in french in bluestacks). Unlock little chests first, so the player have more time to connect back.Read the time above chest so the program connects to the account only to open chests.Connect back to clash royale when connection is interrupted (when connecting to clash with another device).
Then, regularly (every minute now, but this is easily configurable), it checks for there are chests to open, or to start unlock. The script looks for Bluestacks.exe in the list of running processes.