Phr33d0m / NW-Profession-Bot

Automatically selects professions for empty slots
12 stars 31 forks source link

Trying to post more than 3 assignments #234

Closed Izmotus closed 8 years ago

Izmotus commented 8 years ago

Since the patch last Thursday, the script loops and tries to select a 4th of the same type. The scripts tries to refresh, but the result is the same. Eventually, the browser crashes

BigRedBot commented 8 years ago

I have noticed this as well. I am wondering if any of the recent changes may be at fault.

Phr33d0m commented 8 years ago

This has been happening since ever (at least for me), thus I have an auto-refresh plugin installed in Chrome which refreshes the Tab each 20min (for example). I doubt any of the recent changes might be at fault here.

Izmotus commented 8 years ago

true, after testing. it seems if all nine slots are available, the script will attempt to start 4 of the same tasks. Gateway only allows for three. This is after a refresh and/or closing of the browser

Phr33d0m commented 8 years ago

In my case it doesn't matter if I have 9 out of 9 or 4 out of 7 free slots. Either way refreshing the page makes the script work as expected.

Izmotus commented 8 years ago

ok, thank you

SummerBear12 commented 8 years ago

FYI I've noticed that even pausing the script and going in manually the gateway still ALLOWS for me to select the 4th version of the same profession. I actually don't know if the bot itself is at fault or if the gateway is not updating to show that 3 of a similar task is active as the website itself says I should be able to start the task. I'm guessing by refreshing the page it is pulling the new details down from the server and the gateway itself is then removing access to the 4th activity

Phr33d0m commented 8 years ago

I can confirm @SummerBear12's use case. The gateway is at fault here for not working as intended.

I'm going to close this issue as it's not something we can solve although here's an idea for any kind of future improvement of this script: set a per-task value of max. number of iterations for that task and have an internal counter for every task and the times it has been set. If any such development takes place, please open a new issue for help or discussion, I'd be glad to help :-).