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 


Disable file dialog
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Sun Oct 19, 2008 5:39 pm    Post subject: Reply with quote

Eh, I haven't messed around with windows too much, so I don't know all the functions. The same should hold true for DialogBoxParam.
He may not necessarily have to fix the stack if the program has decent exception handling. but whether or not any of this works dpends on the exe and what you're actually trying to do.

_________________
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon Oct 20, 2008 7:22 pm    Post subject: Reply with quote

HalfPrime wrote:
Eh, I haven't messed around with windows too much, so I don't know all the functions. The same should hold true for DialogBoxParam.
He may not necessarily have to fix the stack if the program has decent exception handling. but whether or not any of this works dpends on the exe and what you're actually trying to do.


I agree with what you say about it depends on the application.
Perhaps it is very simple, or more complex, we wont know until this guy post what it is, if he will ever return to the thread :S.

I hate when they burn off like that and not return. Thus is why one of my rules are, if you ask for help on something. Say what it is your working on.
Maybe this needs to be enforced a little more strictly so we could at least have seen this software and posted how to do it if possible by any of us here. So other could see the shit, and learn from it.
Agree?
Back to top
View user's profile Send private message
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Tue Oct 21, 2008 2:46 am    Post subject: Reply with quote

^ I'm all for that. Annoys me...grrrr Neutral
Back to top
View user's profile Send private message
DeadAge
Newbie cheater
Reputation: 0

Joined: 25 Sep 2008
Posts: 19

PostPosted: Tue Oct 21, 2008 3:54 pm    Post subject: Reply with quote

HalfPrime wrote:
Attach olly and find MessageBoxA/W in user32.dll. Just have it retn and you shouldn't have any dialogue boxes come up. Although you'll probably have to fix the stack, too.


Thanks for this, it helps me very much.Now I have dialog box address.If I want to disable this dialog what I need to do?

Here is screenshot of testing program and ollydbg(address, etc)
=> img49.imageshack.us/my.php?image=olyydbgea2.jpg
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Tue Oct 21, 2008 4:15 pm    Post subject: Reply with quote

The easiest way would probably to go to where it's called then change the call to messagebox and the push's before it to NOP's.
_________________
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed Oct 22, 2008 8:57 am    Post subject: Reply with quote

DeadAge wrote:
It`s classical exe file application, no game.I will be really very happy for some ideas how to disable this dialog box.


Now this is what im talking about.
He clearly said it wasnt a game.

Now in the image with olly you clearly see this game is Soldat.

People not wanting to give the information others need to help them answer the questions that have been asked.

If you do not provide application names or proper information. How do you expect anyone to fully know what your wanting to get done, or issues your facing. Unless they can get the same application and see first hand what is being dealt with.

So after all of this, it turns out to be a game. And it is definitely a message box and not a dialog box.
Back to top
View user's profile Send private message
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Wed Oct 22, 2008 9:06 am    Post subject: Reply with quote

Nothing so complex as modifying Win32 API's...what a way to send beginners! Anyway i'll not digress..

Simply using stringrefs, we can force a conditonal jump past that messagebox (so MessageBoxA never gets called):



I'm not sure what the point is of doing anything without a config file, but i'm sure you have you're reasons... Are these thread(s) done now Razz

~Psy
Back to top
View user's profile Send private message
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Wed Oct 22, 2008 10:33 am    Post subject: Reply with quote

NOPing lines out in Windows dlls is not smart. This is never the way patches and fixes are done. So... I'll just alter that API in its module and royally screw up all other MessageBox calls we might need?... umm no. I know you couldn't have known that jump was there, neither did I until I took a look, but its not rocket-science, and it goes back to what I said before. No I won't 'fuck-off', what kind of reply is that. I would suggest you keep it cool in here my friend...
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed Oct 22, 2008 11:11 am    Post subject: Reply with quote

Im wondering why you would want to bypass the check for the config file anyways?
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Wed Oct 22, 2008 5:19 pm    Post subject: Reply with quote

Omg, [Psych], you are totally 100% right. I definitely shouldn't've tried to help him. And there's no way my crazy idea could've helped him anyways. Thanks for setting me straight, my friend. Sorry about the 'tude. It just irks me when someone argues with me when I tihnk they don't know what I'm talking about. But, obviously, you're sooooo much smarter than I am, so there was no point in arguing.
Since I don't want to confuse anyone else with my obviously ridiculous ideas, I'll just leave this section in the trust of you and your enormous brain which makes you better than me.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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