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 


Adding a button to a game? Fog of War?Advanced game hacking?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Mar 01, 2017 6:23 pm    Post subject: Adding a button to a game? Fog of War?Advanced game hacking? Reply with quote

Is it possible to add a button to a game's menu? If so, is it extremely hard to do that? I'm basically talking about changing the UI of a game, and make it interactive with events.

If it's doable, what are the approaches or steps in order to achieve that goal? I did some basic research, and it seems ActiveX has to be involved? And I have no idea what it is....

Where should I start? I want to create a button in a game's menu and make it respond to clicks, or eventually I want to add fog of war to a game, stuff like that. I'm clueless right now. Sad

_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
Nibelton
Master Cheater
Reputation: 1

Joined: 18 Mar 2011
Posts: 265

PostPosted: Thu Mar 02, 2017 4:20 am    Post subject: Reply with quote

impossibru.
you will better chances just editing the files.
to change ui of the game you need to undestand the code that the game was made on,engine,system and other factors otherwise all you'll achive is crashing or breaking it.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Mar 02, 2017 4:46 am    Post subject: Reply with quote

well, you could try the d3d hook in ce. Then detect when the menu is being shown, and if that case is true, let the d3dhook render a button at a given position and handle mouse down events for it
_________________
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
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Thu Mar 02, 2017 5:38 am    Post subject: Reply with quote

Dark Byte wrote:
well, you could try the d3d hook in ce. Then detect when the menu is being shown, and if that case is true, let the d3dhook render a button at a given position and handle mouse down events for it


@Nibelton Got it, thnx. Smile



@Dark Byte
Thanks, I will look into that, I haven't used d3d hook before. Is there a tutorial for it? I couldn't find any good one online. Sad

Update:
http://forum.cheatengine.org/viewtopic.php?t=552281

The code posted by Dark Byte in the link above doesn't work. I copied it to the Lua Script and clicked execute, nothing happened. Did I do something wrong?

_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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