meepen / salien-bot

Steam Summer Sale 2018 "Salien" minigame bot - runs in console or browser
MIT License
417 stars 103 forks source link

Playing on a filed that just got captured causes the game to restart, thus forcing a sript re-injection manually #11

Closed CaramelloDido closed 6 years ago

CaramelloDido commented 6 years ago

Since the script prioritizes a square with high progress, it can happen that sometimes you are playing it, and said square gets captured mid-game, if that happens the game cant "report the score" and a "restart the game" pops up.

Rysanlos commented 6 years ago

yes and also randomly, if we go this restqrt error we have to click on play manually and reinject the code to, is it possible to made it fully automatic?

Z4jac commented 6 years ago

I think it is but you will need to add line to script that wil accept game restart and Tampermonkey or something else to inject script after refresh. I'm not a programer so can't realy help :/

ehea617 commented 6 years ago

This could be fixed if it was converted into a Greasemonkey/Tampermonkey script and set to reload the page when the error occurs.

meepen commented 6 years ago

Added grease/tampermonkey support!