Bot changes to a less good planet
Closed this issue · 3 comments
I moved to a new planet where all levels (low / mid / hard) are available but the bot moves back to a planet where only low levels are available.
I am using the browser script in chrome with tampermonkey and i am currently level 11.
The console in the dev tools says something like that:
Greetz
D4rkiii
I have a guess about this one...
Even without a script, I cannot enter that zone (top left corner). Maybe that is where a boss will spawn in the future and it is currently locked. I can run the script on other zones of that planet if I start it just as the game is starting in another zone, but it errors out when the game ends. So, when the script cannot read that planet (because of the bad zone), it defaults to another planet, maybe the oldest planet? And that planet only has "Low" zones left. So the solution should be an error check. If a planet returns a bad zone, skip it.
my temporary fix:
add that in function
Line 149 in 27cb7d2
after the bracket in if (zone.boss) {
// temporary fix
// the affect zone index is 0 and progress for it is 0
if (idx == 0 && zone.progress == 0.0) {
continue;
}