Comments (5)
What changes did you specifically make?
You must be running in debug mode (should be in release) and on a toaster.
My hardware is pretty old and I run this on constant 70 FPS even while recording, proof: https://www.youtube.com/watch?v=0Su_ytp4-7I&feature=youtu.be
I am using moveTo and not moveSmoothAuto in that video
It takes me 50ms to scan 1920x1080 pixels for a target. Proof: http://i.imgur.com/XxgJS9U.jpg
I've included a timer class to measure this in the code itself. Most of the time taken is to capture the screenshot itself because the main algorithm (finding the target) only takes 8ms out of the 50ms.
If you want to improve this you can get a screenshot by reading directly from the back buffer by hooking into EndScene, I'd however imagine this to drain your FPS even more so it might not be for you. You can also modify it to only scan for a particular area/FOV; currently it scans for the whole screen.
I've tried openCV by converting the image to HSV and using canny and findcontours to find the primary target without the need for health bars but I haven't found a way to fully exclude clusters of red pixels in the background and I haven't got the time to continue anyway.
from overwatch-aim-assist.
It is in debug mode, in release ends up giving several errors.
I took the source without any changes, the only change was:
//====== AIMBOT ======//
if (screeny.findPlayer(x, y, false)) { //set to true if you aim headshots
//mousey.moveSmoothAuto(x, y); //use moveTo for aimbot like movements
cout << x << " " << y;
}
I caught soldier 76 and hit several, back in 'cmd' and nothing appeared.
my test OpenCV:
http://i.imgur.com/ZURYA9Z.gif
thx
from overwatch-aim-assist.
STL is really slow in debug mode because it can generate an insane amount of overhead. It is not crippling in my experience, but release builds are about 2x faster.
What errors are you obtaining? The only thing that comes to mind is using _CRT_SECURE_NO_WARNINGS in the preprocessor definitions because I like to use the old CRT functions which are depracated in VS.
from overwatch-aim-assist.
http://i.imgur.com/28n1r2R.png
using _CRT_SECURE_NO_WARNINGS in the preprocessor definitions:
http://i.imgur.com/h9x6Dow.png
the first image are the functions that I changed the first time.:
FindWindow to FindWindowA
It found the ow, but does not work as it should.
from overwatch-aim-assist.
The latter is happening because your project is being built for UNICODE and is by default referencing the FindWindowW function. You can use the FindWindowA function as you just did but or go to Properties -> Config Properties -> General and change it from the "Character Set" field.
Are you running the game in borderless windowed mode? Without this the captured screenshot would be all black - I should include a function to check for all black screenshots but I'm assuming that people know how to read.
Are you firing the first shot? It needs the health bar to appear before it assists you with your aim.
Does it print any x and y coordinates with the cout function that you included?
You should also uncomment the mouse movement function otherwise it does nothing.
If this is not the case you'll have to go in debug mode and see why it's not detecting health bars or border points; for instance, maybe you're playing in colour blind mode and the colours are completely different.
from overwatch-aim-assist.
Related Issues (20)
- Getting in trouble,please send me compiled version HOT 2
- Issue with aim assist. HOT 3
- Could you make it run for Ana? HOT 1
- building error HOT 9
- localtime HOT 2
- issue with aim assist HOT 3
- Issue with performance
- Do there needs specific resolution? HOT 1
- aim HOT 2
- Switch to a faster method of capturing the screen. HOT 1
- Request for updating the aimbot
- Donation HOT 1
- Error E0144 Debugging
- mouse_event() get detected and screenshots are blocked! HOT 6
- Hey can we get in contact?
- I've met some problems with a similar cheat i wrote myself HOT 8
- Question about switching between game modes-关于切换快速模式之后失效的问题 HOT 4
- Screen Lock doubt HOT 1
- _CRT_SECURE_NO_WARNINGS HOT 2
- How do I aim my teammates? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overwatch-aim-assist.