This repository was archived by the owner on Jul 22, 2019. It is now read-only.
Auto-restart capability for repeating bot-loop exceptions#907
Open
rraumberger wants to merge 2 commits intojabbink:developfrom
rraumberger:develop
Open
Auto-restart capability for repeating bot-loop exceptions#907rraumberger wants to merge 2 commits intojabbink:developfrom rraumberger:develop
rraumberger wants to merge 2 commits intojabbink:developfrom
rraumberger:develop
Conversation
|
When the bot restarts, does it go back to the starting lat/lon? Because if the last position was, say, 3km away from the starting position, then teleporting back to the starting position might result in a soft ban. Maybe add a delay based on distance from starting position? I see there's an autoRestartPeriod setting that might suffice, even if it is just a fixed number. User could just configure the bot to never walk more than (60km/hr * autoRestartPeriod / 3600) km away from the starting location. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed issue:
Provides a possible workaround for most "my bot crashed after 2h for no reason" issues.
Changes made: