-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add RandomAlivePause task #4672
Conversation
@cmezh, thanks for your PR! By analyzing the annotation information on this pull request, we identified @mhdasding, @bruno-kenji and @RedViper9 to be potential reviewers |
So your saying that during paused time, It will move to a fort or something like that but without actually send the info to server and then when pause is over it will be at the location it was last at during the paused time? |
@J-A-B-S Nope. During the pause bot will not execute tasks set in task list after RandomAlivePause. That's why RandomAlivePause must be placed on the top of task list. |
Exactly what i want, thought of doing it myself but thanks to you i don't have to =P 👍 |
Why need alive pause ? In iPhone, if you switch app to background, still packet to server? |
@solderzzc Not all users (and not always) switch app to background when they have a short break for coffee or talk with friends or whatever more. And, in my opinion, the more bot behaviour different, the more it's humanized. |
ok, since it's optional, we can merge for testing, thanks a lot. @cmezh |
Thank you, @solderzzc :) |
if bot was in RandomAlivePause mode, how to cancel or stop ? |
This task keeps bot alive while it paused. Placed on the top of task list it drops execution of following tasks.
During pause it calls heartbeat and set_location for noising coordinates (of course, if noise is set in config).
Based on RandomPause task.
Inspired by (and also closes) #4583