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 


Preventing a window from being closed

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

Joined: 27 Nov 2010
Posts: 2

PostPosted: Sat Nov 27, 2010 5:19 pm    Post subject: Preventing a window from being closed Reply with quote

I need to stop a game from automatically closing a window. I know the class name and the window title, is this possible?

I tried using ShowWindow() with C#, but the game is actually closing the window, not just hiding it.
Back to top
View user's profile Send private message
phpscriptcoder
How do I cheat?
Reputation: 0

Joined: 27 Nov 2010
Posts: 2

PostPosted: Sun Nov 28, 2010 2:39 pm    Post subject: Reply with quote

Any suggestions?

I found the address where the window handle is stored and changed it to point to another window. The window doesn't close, but then the game crashes immediately after.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sun Nov 28, 2010 2:51 pm    Post subject: Reply with quote

If You have found the function which is closing the window, try to nop it. It may work. But it is depending on the program.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Mon Nov 29, 2010 11:32 am    Post subject: Reply with quote

usually this is being done by TerminateProcess api function.
the easiest way for you would be using ollydbg with "Hide Debugger" plugin installed or you can hook the api inside of the game if you know how to.
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 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