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 


[C++] PostmessageA
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ElectroFusion
Grandmaster Cheater
Reputation: 0

Joined: 17 Dec 2006
Posts: 786

PostPosted: Thu Jun 12, 2008 3:04 pm    Post subject: [C++] PostmessageA Reply with quote

How do I bypass postMessageA? using it for a maplestory bot.
_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
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: Thu Jun 12, 2008 3:05 pm    Post subject: Reply with quote

By looking halfway down the main page
http://forum.cheatengine.org/viewtopic.php?t=244745

_________________
Back to top
View user's profile Send private message
ElectroFusion
Grandmaster Cheater
Reputation: 0

Joined: 17 Dec 2006
Posts: 786

PostPosted: Thu Jun 12, 2008 3:09 pm    Post subject: Reply with quote

In this case, I need PMX.dll? Because lbot has credits to "sphere90/x0r" for postmessageA bypass, and sphere90 and x0r made PMX.dll
_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
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: Thu Jun 12, 2008 3:23 pm    Post subject: Reply with quote

Yes, you need PMX or an dll like it. The thread has a link for it.
_________________
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Thu Jun 12, 2008 3:29 pm    Post subject: Reply with quote

Rot1 Made PMX.dll by copying x0r/sphere90's method to a dll and exporting it as a symbol.
And No, you do not need the DLL to bypass the function as long as you have inline assembly capabilities in the language your programming in.

_________________
Back to top
View user's profile Send private message
ElectroFusion
Grandmaster Cheater
Reputation: 0

Joined: 17 Dec 2006
Posts: 786

PostPosted: Thu Jun 12, 2008 3:33 pm    Post subject: Reply with quote

nother question. are .rc for the GUIs of dlls? if so how do I open them. if not, how do I change how my dll gui looks? im tired of having a trainer with no gui
_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Thu Jun 12, 2008 3:41 pm    Post subject: Reply with quote

You can make a GUI with the resource editor and then call DialogBox in your code to open it and then handle all your messages from the Dialog Procedure. Either that or create your own window like my bot does using WNDCLASSEX and CreateWindowEx and Just use ShowWindow to the assigned hWnd you gave to your GUI Main Form.
_________________
Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Thu Jun 12, 2008 4:29 pm    Post subject: Reply with quote

Ya what lurc said...u donnt need a .dll to bypass game guard.
Back to top
View user's profile Send private message Send e-mail
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jun 12, 2008 5:02 pm    Post subject: Reply with quote

Here's an example of bypassing PostMessageA (from 1gaz's source of hBot.cpp).

Code:

void LoadUser32()
{
   hpInst = LoadLibrary("User32.Dll");
   pmDLLFunc = NULL;
   if (hpInst != NULL)
      pmDLLFunc = (DWORD)GetProcAddress(hpInst,"PostMessageA");
   if (pmDLLFunc != NULL)
      pmDLLFunc += 5;
}

__declspec(naked) BOOL WINAPI PostMessageX(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
{
   __asm
   {
      mov edi,edi
      push ebp
      mov ebp,esp
      jmp dword ptr ds:[pmDLLFunc]
   }
}

//more coding

LPARAM lParam = (MapVirtualKey(0x5A, NULL) << 16);
PostMessageX(hMS, WM_KEYDOWN, 0x5A, lParam);

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ElectroFusion
Grandmaster Cheater
Reputation: 0

Joined: 17 Dec 2006
Posts: 786

PostPosted: Thu Jun 12, 2008 5:14 pm    Post subject: Reply with quote

lurc wrote:
You can make a GUI with the resource editor and then call DialogBox in your code to open it and then handle all your messages from the Dialog Procedure. Either that or create your own window like my bot does using WNDCLASSEX and CreateWindowEx and Just use ShowWindow to the assigned hWnd you gave to your GUI Main Form.


Resource editor?

EDIT : I get cannot open file when i click app.rc

_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jun 12, 2008 6:21 pm    Post subject: Reply with quote

Google ResEdit.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Thu Jun 12, 2008 6:52 pm    Post subject: Reply with quote

Microsoft Visual C++ / Visual Studio includes a Resource editor... Add the .rc to the project and open it in the project.

Or yea, use ResEdit

_________________
Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Thu Jun 12, 2008 7:26 pm    Post subject: Reply with quote

Sorry to say this but this post should belong in the Anti-Cheat bypassing section.
Back to top
View user's profile Send private message Send e-mail
ElectroFusion
Grandmaster Cheater
Reputation: 0

Joined: 17 Dec 2006
Posts: 786

PostPosted: Fri Jun 13, 2008 10:44 pm    Post subject: Reply with quote

Question.

BAD NOOB question but yea.

How would I send ctrl to maple? I already bypassed it.

this might help i dunno

pTrampolinePMA(cHandle, WM_KEYDOWN, NULL, lparam);

_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
Back to top
View user's profile Send private message
Cx
Master Cheater
Reputation: 0

Joined: 27 Jul 2007
Posts: 367

PostPosted: Sat Jun 14, 2008 12:24 am    Post subject: Reply with quote

Irwin which OS/SP don't have the 5-byte hotpatch?
_________________

armed with this small butterfly net
i will face the world alone
& never be lonely.
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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