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

Not working I had to manually click on accept this is false #5

Open
amishjha opened this issue Oct 8, 2024 · 5 comments
Open

Not working I had to manually click on accept this is false #5

amishjha opened this issue Oct 8, 2024 · 5 comments

Comments

@amishjha
Copy link

amishjha commented Oct 8, 2024

image
Your script was running in the background the cs2 window was open it did not click on accept automatically i waited for a 10 seconds till i became 0:05 left i clicked on accept manually. How otherwise do you expect this to run?

@Walkoud
Copy link
Owner

Walkoud commented Oct 15, 2024

i will check this night

@michihupf
Copy link

@amishjha do you have a multi-head monitor setup? If so I don't know how pyautogui handles this

@FizzyBubbleMaker104
Copy link

FizzyBubbleMaker104 commented Jan 24, 2025

@amishjha if you're still having issues, I found another solution that might work better for you (and everyone else), you can see it here https://github.com/tsgsOFFICIAL/CS2-AutoAccept

@Walkoud
Copy link
Owner

Walkoud commented Jan 24, 2025

Can you test on this image ?

Image

for me its working

@michihupf
Copy link

michihupf commented Feb 1, 2025

I wrote my own version of an auto acceptor in Rust as all the solutions I found were written in Python and that sucks for installation precedure reasons - I wanted to have a download and run solution. Matching on an image isn't the best, just match using a neighborhood of pixels. If they are all the same shade of green click it. Refer to my implementation: michihupf/cs2-acceptor

That should fix everything. I am not quite sure how pyautogui searches for the button but I am quite certain that is just looks for a part in the screen that looks the same. This is basically impossible as the accept button pulsates slightly and never really has the same color. Taking a stationary screenshot of the button and trying to match that will lead to problems.

I hope I could give some insights :D

(Edit: Just tested it. Your attached image doesn't work either)

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

4 participants