-
-
Notifications
You must be signed in to change notification settings - Fork 914
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
AntiAFK Look/Follow/Wander modes and general improvements #5082
base: master
Are you sure you want to change the base?
Conversation
Also make jump and sneak usable while their settings are active
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no point in having jumpRate
, swingRate
, sneakRate
, strafeRate
, and lookRate
having a minimum of zero when they also have a boolean setting toggling them
setting the minimums to 1 would also remove several if (xRate.get() > 0) {
conditions everywhere
fyi, i'm unsure if this is intentional or not, but |
Yes this was intentional, I mostly just kept the bounds used in the previous version of the Module for the random fallbacks.
I should probably have clarified the main motivation behind this PR a bit better. AntiAFK currently performs its actions on a random delay that cannot be configured, and is quite fast ( Using Meteor's AntiAFK is annoying because it has me constantly swinging which is an eyesore imo, so I need to consciously enable/disable AntiAFK when I want to go afk. On the other hand, with something like Rusherhack's AntiAFK I can set the swing delay manually, leave the module on 24/7, not even notice it, and also never get kicked. So the The look mode(s) were just something I had fun throwing together on-the-spot while I was tinkering. |
Main post was edited to add some additional context. |
Type of change
Description
EDIT - Context:
AntiAFK currently performs its actions on a random delay that is not configurable, which is unnecessarily restrictive and annoying.
For example, on 2b2t you must only send a single hand swing packet every ~15 minutes to avoid being kicked for AFK. This means that with the ability to configure your swing delay, you could leave AntiAFK on 24/7 without having to notice or think about it, and still never get kicked for being afk. With the current version of Meteor's AntiAFK, however, your only option is to watch your player throw hands every few seconds at all times, or otherwise explicitly enable/disable the module when you "plan" on going AFK for a bit.
I do understand that some people might like/want/need the random delay so I have left it as the default behavior for most actions that already used it. I have also added a fun Look mode with some simple but satisfying-to-use follow/wander modes.
Additions
Fixes
Related issues
Probably #3944
Twerking for #2175
How Has This Been Tested?
In singleplayer and on 2b2t.
Checklist: