Greasy Fork is available in English.

Twitch Drop Auto-Claim

Auto-Claims drops, while attempting to evade bot detection and claim quickly.

Autor
Synthetic
Dnevne instalacije
0
Ukupnih instalacija
300
Ocjene
0 0 1
Verzija
0.13
Stvoreno
27.05.2023.
Ažurirano
29.04.2024.
Licenza
MIT
Primjenjuje se

Please note:

_Since 2024-03-28 I'm not sure how necessary these type of scripts will be, as you don't appear to need to wait for one drop to finish to start claiming the next. With the current format (RLCS Copenhagen Major 2024) you can presumably just claim all the drops at the end of the event.


Description

The first time the script finds a progress bar it will record the current time and progress. The script will use a default refresh rate, assuming a drop time of 30m, so the script will first refresh the page assuming it will be a percentage of that time. E.g.: If the progress is 20% the first refresh will be 80x18, or 1440s.

Following a refresh, the script will use the initial time and progress, along with the current time and progress, to calculate the actual rate of the drop, and will calculate the next refresh accordingly.

A minimum refresh time is used, as the longer the timeframe the more accurate the script can calculate when 100% will be reached. Therefore on a 4hr drop the script will still refresh a small number of times, attempting to improve accuracy on each refresh.

On a 4hr drop it will take 144s for the progress to increase 1%. So, when loading the inventory page it may be 144s until the next change, or 1s. In an attempt to work out when the initial progress value actually changed the script will set different refresh periods, and reduce the base time where possible.

When the script calculates that the next refresh should allow it to claim the drop, it will use the stored base time, the progress rate, and the seconds elapsed, to calculate the time remaining as accurately as possible.

In this manner the script will limit the page refreshes it makes, so as not to trigger bot detection, which I was experiencing with other scripts. It should also claim the drop soon after it is available, as it has previously approximated when the progress will reach 100%.

The script relies on knowing that there was a start time and progress value, and that the progress will increase on each refresh. If there is no increase it will start over, as it cannot perform it's calculations otherwise. Therefore, it is best left alone, unless you choose to reset it, with two quick manual refreshes.

Please refer to the console for some relevant information.