Sometimes lol cant connect and a message window "Failed to connect" shows up, causing the bot stuck at waiting game round '1-1'.
So I made this function to detect this message window, click cancel to close the game(directly click reconnect button wont help), and then reconnect using api.
Sometimes lol cant connect and a message window "Failed to connect" shows up, causing the bot stuck at waiting game round '1-1'. So I made this function to detect this message window, click cancel to close the game(directly click reconnect button wont help), and then reconnect using api.