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

Double delay if pressed #40

Closed
Hide-User opened this issue Apr 27, 2020 · 10 comments
Closed

Double delay if pressed #40

Hide-User opened this issue Apr 27, 2020 · 10 comments
Labels
enhancement New feature or request

Comments

@Hide-User
Copy link

Hello I propose to implement this option if possible that if a key is pressed this increases the offset temporarily as long as the key is pressed 20 -> 40 this would make the humanization a little more realistic and have X200 combo sometimes in the map

@fs-c fs-c added the enhancement New feature or request label Apr 27, 2020
@fs-c
Copy link
Owner

fs-c commented Apr 27, 2020

So what you're saying is: once any key is pressed the offset for all other keys should be increased for some set amount of time? Would this stack? (Let's call this option one.)

Or are you saying that the user should be able to press a key in order to double the delay? (Option two.)

A way I could see something like option one being implemented: Every time any key is pressed the offset increases by some small value, say 2. Every 2-5 seconds or something this offset would decrease by some value, say 8, until it hits the original offset. The decrease could even be proportional to the "gained" offset.

This would lead to naturally higher delays in very dense areas of the map and return to the regular offset once things are more chill.

@Hide-User
Copy link
Author

Exactly that would make it a little more human because a human makes 200 when it's harder or just by choke.

@Hide-User
Copy link
Author

it also means that we do not have a fixed UR as in this screenshot
screenshot126

@fs-c
Copy link
Owner

fs-c commented Apr 27, 2020

Just created a "Humanization" project, I like this suggestion but I think it deserves some more thought. I'll add issues/notes as I think of stuff, feel free to create issues with more enhancements in regards to humanization and add them to the project. Edit: Looks like only I can add issues to projects so scratch that last part. Do feel free to create issues though!

@fs-c
Copy link
Owner

fs-c commented May 2, 2020

I implemented this suggestion in v0.7.0-alpha, which I marked as an alpha release since I didn't test it very exhaustively.

You can try out the new feature by running maniac with the -x or --exp-humanization option.

$ maniac.exe -x 2:500	# offset increases by 2ms on every keypress and decays by
                        # 2*4ms every 500ms

$ maniac.exe --exp-humanization 2:500 # this is equivalent to the above

I'd really appreciate it if you could play around with the values a bit, let me know what works best for you.

Edit: maniac defaults to the decay being 4 * delay; if you have another suggestion as to how this could be handled or want the option to change the modifier, let me know.

@Meister69
Copy link

I just tried it and couldn't notice anything... Started from low values like 1:1000 and went to the point of trying 50:10000 just to check if it was changing anything at all, and for me at least, it isn't changing the offset. Tried with and without the other parameters and it didn't seem to work either.
Btw, maybe you could add a value from which the offset doesn't drop from?, since the "regen" will set the offset really low in the slow parts.

@fs-c
Copy link
Owner

fs-c commented May 2, 2020

My bad, I deleted a couple of debug logs right before I pushed the new release and accidentally deleted the most important statement (which actually adds the calculated delay to the actions).

This should be fixed with v0.7.0-beta. I'm not particularly happy with the way this works at the moment, but maybe I just haven't found the right settings yet.

@Hide-User
Copy link
Author

Yes it does not work very well because once late maniac does not catch up and dies.

@Meister69
Copy link

Played around the settings for an hour and yeah, It either dies or goes just like without the calculated delay... low regen and delta values tend to miss randomly and it's not far from the normal humanization, and on the other side, high regen and delta values tend to just die in dense parts of the map. It's a really good idea for humanization but it seems complicated to pull off

@fs-c
Copy link
Owner

fs-c commented Jun 2, 2020

I liked the idea, but it looks like it's not really viable in practice. Closing this now, please don't hesitate to create a new issue if you have another idea.

@fs-c fs-c closed this as completed Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants