Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanner Alert - It does not always alert. #418

Open
vincentkenny01 opened this issue Oct 5, 2023 · 6 comments
Open

Scanner Alert - It does not always alert. #418

vincentkenny01 opened this issue Oct 5, 2023 · 6 comments

Comments

@vincentkenny01
Copy link

vincentkenny01 commented Oct 5, 2023

I don't know if this is built-in phenomena but this has happened on a few occasions.

Scanner sleep window is 29 seconds.

Today, a surprise bag from my favourite store came online as they generally drop them at the same time everyday weekdays. I was on the app and I managed to grab the bag but the scanner did not notify me at all that a bag was available.
My question:
Is there a minimum time threshold that a bag is available for before the scanner alerts you?

Or does it only when there's a bag during scan?

Just wondering whether I need to run it for every 5 second interval or even less to grab most popular bags?

This has happened before as well where the bag is dropped and is sold within seconds but scanner does not alert.

I am using it under docker with telegram.

Just try to understand if there is a limit for how long the bag should be available for before it alerts you.

@vincentkenny01
Copy link
Author

Also does anyone know what's the lowest interval you can use without getting blocked. I went down to 5seconds and got banned for 24hours. But 60 second sleep is too long for bags I want which disappear within seconds and there is no alert.

@lars-devs
Copy link
Contributor

There’s no minimum threshold that triggers notification; more precisely, the scanner notifies You at any occasion when the items available count rises from zero to more than zero. This can be due to another user’s cancellation or regular daily increase. But still, the scanner recognizes any change - You can see that in Your output, while You won’t get notified about changes from e.g. 3 items to 2 items, as well as changes from 1 item to 2 items (due to cancellation), since there’s still at least one item available.

From my observations over the last couple of months, there’s no recognizable pattern according to which a TGTG scanner will be banned. Sometimes my scanner ran for two weeks without rate limit, sometimes just a few days. Same goes for the time it takes to unban. Just 29 seconds seems to be way too low in my opinion, since it is more likely to trigger the rate limit than my 10 minutes frequency. Sorry to hear that Your desired bag is sold so fast.

In conclusion, possible reasons for this behaviour might be:

  • Possible rate limit due to low frequency (sometimes the unban happened without need to restart for me. You might not notice the rate limit at all)
  • Bag was sold just seconds before the scanner scanned availablity, or
  • You bought the item in Your app seconds before the scanner could see it.

@vincentkenny01
Copy link
Author

vincentkenny01 commented Oct 31, 2023 via email

@lars-devs
Copy link
Contributor

You're right, using SleepTime sets the time in seconds, see config.sample.ini:

## Time to wait till next scan in seconds - default 60 seconds
## The Scanner will randomize the wait time by +/- 10%

10 minutes is the value I personally use and suits for me. Fortunately, I don't watch magic bags that get sold so fast.

Btw, I'm not the project's owner, I just contribute ^^.

@oryinchan
Copy link

How's 29 sec performance, do u still get ban fast?

@vincentkenny01
Copy link
Author

vincentkenny01 commented Feb 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants