| View previous topic :: View next topic |
| Author |
Message |
xXxoSmxXx How do I cheat?
Reputation: 0
Joined: 09 Jun 2010 Posts: 4
|
Posted: Mon Aug 16, 2010 3:04 am Post subject: [REQUEST] VB 6.0 Color aimbot |
|
|
I'm making a UrT 4.1 hack, with vb 6.0
So far I have a wallhack and a 3rd person hack.
I need to know, basically how to make the mouse aim at a specific color?
If anyone knows how to, please share.
Thanks!
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Mon Aug 16, 2010 4:11 am Post subject: |
|
|
Well, I haven't played the game you are so I can't tell you what to do exactly, but i'm assuming that you'll need to obtain the mouses coodinates, and set it to your target, and if you can find your targets coordinates, all you need to do is set it to that.
If you use SetCursorPos() that probably won't work, because the game coordinates differ from the screen coordinates. Not unless you can convert the game coordinates to the screens coordinates with D3D I assume, then use SetCursorPos() to set your mouses position.
Or, you can grab the addresses of the mouse from the games memory (i'm sure it stores the mouse position somewhere) then instead of using SetCursorPos(), change the values of the addresses you find to your preferred value.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Aug 16, 2010 4:33 pm Post subject: |
|
|
the mouse is probably 'locked' to the center of the screen when the game has focus. i'd assume it takes how far you managed to move it each time it updates and sets it back to the center.
if you have the player locations in the world then it's probably simple enough to point yourself in the right direction.
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Wed Aug 25, 2010 2:18 am Post subject: |
|
|
This method does sound a litte bit odd but just bare with me.
You can use GetPixel() and scan an array of pixels to see if they match what your looking far, there you'll have the coordinates of the color. You can multi-thread a functions that scan a certain size from the game and look for the pixels your scanning for, that way its faster.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Wed Aug 25, 2010 4:05 am Post subject: |
|
|
| you definitely don't want to use GetPixel(), slowww.
|
|
| Back to top |
|
 |
|