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

Advoidence Timer #52

Open
LanceLake opened this issue Aug 24, 2023 · 5 comments
Open

Advoidence Timer #52

LanceLake opened this issue Aug 24, 2023 · 5 comments

Comments

@LanceLake
Copy link

I recall a popular Mistress mentioned that someone could just keep clenching to avoid the teasing rather than go through it again. This needs to be stopped. :)

Set a JSON value for "AdvoidenceTimerThreshold (INT) - ms" , "AdvoidenceTimerOnMin (INT) - seconds", "AdvoidenceTimerOnMax (INT) - seconds", "AdvoidenceTimerOffMin (INT) - seconds", "AdvoidenceTimerOffMax (INT) - seconds"

When the system detects a clench that last longer than AdvoidenceTimerThreshold, then pick a random number between AdvoidenceTimerMin and AdvoidenceTimerMax and turn on the vibrator and don't check for clenches. Once the timer has run it's course, turn off the vibrator for a random number between AdvoidenceTimerOffMin and AdvoidenceTimerOffMax. Once this is done, return to whatever mode was selected and start checking for clenches again.

This means that if someone tries to hold back the machine by clenching constantly, then the machine would just turn into a random vibrator until it detects that the user isn't constantly clenching.

@B4ben-69
Copy link
Contributor

B4ben-69 commented Nov 2, 2023

i'm thinking of a solution for this. it can adversely affect normal clench detection in my case. I can't edge correctly without the clench feature and go over the edge.

@LanceLake
Copy link
Author

If this would adversely affect the clench stuff, then have this as a separate mode or even better, toggled within the json so that you can have both or one or the other or none. AvoidanceTimerActivated (INT)

@MauAbata
Copy link
Contributor

MauAbata commented Nov 6, 2023

Separate modes and toggles are good ideas. Remember: Everything contributed is an opt-in mode change. This code is shipped to a whole bunch of devices, so changing how it functions to make an edging session work in your case may not work best for the general public.

That said, there's a lot of config and special cases getting added into the code via requests, so I'm working on developing an event-driven plugin system so that things like this don't have to all get hardcoded into the device firmware. Peseudocode and such is fine, but hold off any real code work / PR until that event system is in place.

@B4ben-69
Copy link
Contributor

B4ben-69 commented Nov 6, 2023

i can work on this when you have a stable version out

@B4ben-69
Copy link
Contributor

B4ben-69 commented Nov 9, 2023

i pushed modification to my 'Clench-anti-cheat' branch to resolve this issue if your interested. This feature is not on by default and only applies if turned on in the 'orgasm setting' menu

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