question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Catch limiter makes bot stop moving

See original GitHub issue

Expected Behavior

  • When Catch limiter is initiated by balls_on_hand < min_balls, the bot should only stop catching and move around to collect balls.

Actual Behavior

  • Bot stops moving, so the bot cannot collect balls. This makes the bot fall in an infinite loop of ‘Stop because you have no balls, because you have stopped no more balls’.

Output when issue occurred

  • All catch tasks disabled until balls on hand (15) > threshold. is output over and over again.

Steps to Reproduce

  • Set a high min_balls value for CatchLimiter

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ChiefM3commented, Jul 28, 2017

I am on dev branch. I will investigate further and report back. Thanks for the feedback!

0reactions
ChiefM3commented, Jul 28, 2017

This is weird. I reset the bot location and the bot works fine. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Discord API Rate Limiting: A Troubleshooting Guide - Fusebit
The rate limit's there so that hackers or bots don't abuse it, because if they send too many requests quickly, it could break...
Read more >
How to Stop Web Scraping Bots from Stealing Your ... - YouTube
You've worked hard generating incredible content for your site, and now bots are scraping your hard work and publishing it on spammy sites....
Read more >
How to Lock a Bot to a Single Channel on Discord - YouTube
In this video, I show you how you can make a bot to only be able to speak in a single text channel...
Read more >
How to Effectively Stop Scalper Bots & Scalping - DataDome
A scalper bot is an automated program that performs scalping—purchasing limited-edition goods (such as event tickets) to resell at a higher ...
Read more >
Everything You Need to Know About Preventing Sneaker Bots
Sneaker bots plague releases. How did we get here? Will legislation fix things? What can be done? This blog answers these sneaker bots...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found