Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[REQUEST] VB 6.0 Color aimbot

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
xXxoSmxXx
How do I cheat?
Reputation: 0

Joined: 09 Jun 2010
Posts: 4

PostPosted: Mon Aug 16, 2010 3:04 am    Post subject: [REQUEST] VB 6.0 Color aimbot Reply with quote

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
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Mon Aug 16, 2010 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Aug 16, 2010 4:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Wed Aug 25, 2010 2:18 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Aug 25, 2010 4:05 am    Post subject: Reply with quote

you definitely don't want to use GetPixel(), slowww.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites