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

[Feature]: Configuration for manually recording pattern values #7

Open
isvktt opened this issue Apr 12, 2024 · 12 comments
Open

[Feature]: Configuration for manually recording pattern values #7

isvktt opened this issue Apr 12, 2024 · 12 comments
Labels
feature I have an idea for improving this project

Comments

@isvktt
Copy link

isvktt commented Apr 12, 2024

Could you create a config for us to manually set the recoil angles?
example :
ak 47 = 40, 20, 10, 120, 60
m4a1s = 5, 20, 50, 13, 19

@RedMemories
Copy link

if you check the code on c++ there are patterns, you just have to understand the coordinates as they go

@DeniedAccessLife
Copy link
Owner

Yes, that's right, changing the mouse movement coordinates is not a difficult action at all.

If you have a better option for the coordinates, you could share them, I would globally update these constants.

@isvktt
Copy link
Author

isvktt commented Apr 13, 2024

I know there is a pattern
I'm saying put the weapons pattern in a config file
it would be very useful

@Kablonet
Copy link

Assigning the macro directly to the mouse1 button can cause gameplay issues in the game. For instance, the macro triggers even when throwing a flashbang. To avoid such issues, you can directly assign the macro to the mouse4 button. Alternatively, you can make the macro activate only when mouse1 is pressed while holding down the mouse4 button. I believe this will provide a more comfortable gaming experience.

@DeniedAccessLife
Copy link
Owner

Assigning the macro directly to the mouse1 button can cause gameplay issues in the game. For instance, the macro triggers even when throwing a flashbang. To avoid such issues, you can directly assign the macro to the mouse4 button. Alternatively, you can make the macro activate only when mouse1 is pressed while holding down the mouse4 button. I believe this will provide a more comfortable gaming experience.

Yes, you correctly pointed out this situation. Personally, before throwing a grenade, I always disable the script using a hotkey. This might not be very convenient, as I have to constantly press keys and monitor the script’s status.

As for your suggestion, what if I use voice chat bound to the MOUSE5 or MOUSE4 button?

@DeniedAccessLife
Copy link
Owner

An update has been released, and the ability to install an optional key to confirm the operation of the recoil control has been added.

@Kablonet
Copy link

What exactly should we write for 'confirmation key (0/VK_CODE)?' If I had a choice, I would want the macro to be activated when I press and hold the mouse1 button while holding down the mouse4 button.

@DeniedAccessLife
Copy link
Owner

For your case:
MOUSE4 (XBUTTON1): 0x05
MOUSE5 (XBUTTON2): 0x06
The list of other constants is available on the Microsoft website.

@Kablonet
Copy link

The last update you made was very nice. Thank you. Additionally, I have one more request. I set the mouse sensitivity to 2 in the software settings. I also make the other necessary adjustments. However, when the weapon recoil control starts, there's a jitter at the crosshair on the screen. The weapon spray has become a bit harsh. If you could make this softer, it would be great. Sometimes the weapon spray behaves erratically, pulling the mouse down very quickly. The crosshair moves abruptly.

@DeniedAccessLife
Copy link
Owner

The sensitivity in the software is set relative to the game CS2, ranging from 1 to 8. Make sure the program's sensitivity matches the game's sensitivity to avoid abrupt movements during weapon recoil control. If the program's sensitivity differs from the game's sensitivity, it could cause unpredictable crosshair behavior.

@DeniedAccessLife DeniedAccessLife added the feature I have an idea for improving this project label Nov 6, 2024
@DeniedAccessLife DeniedAccessLife changed the title Config [Feature]: Configuration for manually recording pattern values Nov 6, 2024
@Kablonet
Copy link

Kablonet commented Nov 8, 2024

It keeps giving the following error: Error checking available data: 6
Error checking available data: 6
Error checking available data: 6
Error checking available data: 6
Error checking available data: 6
Error checking available data: 6

@DeniedAccessLife
Copy link
Owner

How long have you been experiencing this error: 'Error checking available data: 6'? Did the code work for you before, or has this been a problem from the very beginning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature I have an idea for improving this project
Projects
None yet
Development

No branches or pull requests

4 participants