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 


online game (possible?)

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

Joined: 03 Aug 2012
Posts: 2

PostPosted: Fri Aug 03, 2012 1:38 am    Post subject: online game (possible?) Reply with quote

i guess it's not possible but :

i got an online game in 3D first person, that spawn sprite randomly,

there is good box to shoot and bad one, my crosshair is gray when i'm not looking a box, green when i look at a good one, and red when i look at a bad one,

i'd like to have a program running in background, that allow me to shoot when my cross hair is green and only when it's green (like a if i clic and crosshair is green then clic, else do nothing)

i guess it's gonna be hard to get the adress where my crosshair color is (i don't even know if it's 2 booleen or a 4 bit var), and, when i'm going to launch the game a second time, the adress is gonna be different,

i guess i need to make a procedure like i look at a green then a red etc...

then i need to make a program running in background of my game, that "block" my clic if my crosshair isn't green,
can i make a program that say to my game i use my mouse/keyboard?
(something like, in my game i say i use "A" to shoot, and in my program i say, if i press space bar and my crosshair is green, say to my game/windows i press "A")
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25832
Location: The netherlands

PostPosted: Fri Aug 03, 2012 4:49 am    Post subject: Reply with quote

It's possible.
Easiest method: Configure your game controls so that pressing Q shoots, and left clicking does nothing.

Then write hook that checks if the mouse button is pressed, and if so, check if the pixel in the center of the screen is green, and if so, press Q on the keyboard (doesn't work on dinput8 games)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
necropaul
How do I cheat?
Reputation: 0

Joined: 03 Aug 2012
Posts: 2

PostPosted: Fri Aug 03, 2012 4:58 am    Post subject: Reply with quote

ok thanks,

but for testing the pixel i can't, i have different crosshair depending of my firerate (cross for slow and circle for fast), i'm trying to find the pointer that change the color, but without success,

maybe if i put a very specific color instead of the green then test an area...

i saw that there is D3D tools on CE now, any link to a tuto? (maybe if i can extract the 2D tex used...)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25832
Location: The netherlands

PostPosted: Fri Aug 03, 2012 7:39 am    Post subject: Reply with quote

The d3d tools in 6.2 are very limited right now. It's main purpose is to render a gui to the screen and some basic stuff like disabling z buffer and wireframe.


perhaps you could get a group of pixels from the center and calculate if the overal color is greenish ?

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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