Results 1 to 1 of 1
  1. #1
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,221
    Thanks
    211
    Thanked 2,224 Times in 289 Posts
    Rep Power
    10

    Autoclicker for games with GameGuard

    Autoclicker for games with GameGuard
    Fairly simple, you don't need a lot of knowlegde to be able to use this.

    Gameguard puts a 5 byte hook on the Postmessage API, that's why you are unable to send messages to the game with Postmessage if you don't bypass the hook.
    But since there is a public method for that, there is no problem.

    Download PMX.dll from the attachement. (it also includes a list of virtual keys)
    The source for it is public too, but that's not of any importance for now.

    Okay, first we are going to 'load' the .dll so we can use PostMessageX instead of PostMessage.
    They both do exactly the same thing, the only difference is that you can send messages to games with GameGuard with PostMessageX.

    Add this under
    {$R *.dfm}:
     function PostMessageX(hWnd:HWND; MSG:UINT; WPARAM:wParam; LPARAM:lParam):BOOL;stdcall; 
    external 'PMX.dll' name 'PostMessageX'

    Now add a timer to your project. (under the system tab)
    We are going to use this one for the hotkeys.
    You can choose to use 1 hotkey for enabling the timer (we're going to add that after this) and 1 for disabling it, or you can use 1 to enable and disable.
    Now let's say you want to use F1 to enable the timer, and F2 to disable it, then add this part of code to the timer:
     begin
    if odd(GetAsyncKeyState(VK_F1)) then
    Timer2.Enabled:=true;
    if odd(GetAsyncKeyState(VK_F2)) then
    Timer2.Enabled:=false;
    end;

    This timer is timer1, timer2 will be the timer we add the code for sending the message to.

    If you want to use 1 timer to enable and disable timer2, then add this code to the timer:
     begin
    if odd (GetAsyncKeyState(VK_F1)
    then
    if timer2.enabled := false then
    timer2.enabled := true
    else
    timer1.enabled := false;
    end;

    Now add another timer, that will be timer2.
    Also add an edit box.

    First add the following variables:
    • var
      h:hwnd;
      Point:TPoint;
      x,y:integer;

    Then add the following code:
     begin
    GetCursorPos(Point);
    x:=Point.X;
    y:=Point.Y;
    A:=FindWindowA('MapleStoryClass',0);
    if A<>0 then
    begin
    PostMessageX(A,WM_LBUTTONDBLCLK,0,MakeLong(X,Y)) ;
    PostMessageX(A,WM_LBUTTONUP,0,MakeLong(X,Y));
    Application.ProcessMessages;
    end;
    end;

    Now this is what the source should look like:
     unit Unit1;
    interface

    uses
    Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    Dialogs, ExtCtrls;

    type
    TForm1 = class(TForm)
    Timer1: TTimer;
    Timer2: TTimer;
    procedure Timer1Timer(Sender: TObject);
    procedure Timer2Timer(Sender: TObject);
    private
    { Private declarations }
    public
    { Public declarations }
    end;

    var
    Form1: TForm1;

    implementation

    {$R *.dfm}

    function PostMessageX(hWnd:HWND; MSG:UINT; WPARAM:wParam; LPARAM:lParam):BOOL;stdcall;
    external 'PMX.dll' name 'PostMessageX'

    procedure TForm1.Timer1Timer(Sender: TObject);
    begin
    if odd (GetAsyncKeyState(VK_F1)
    then
    if timer2.enabled := false then
    timer2.enabled := true
    else
    timer1.enabled := false;
    end;

    procedure TForm1.Timer2Timer(Sender: TObject);
    begin
    GetCursorPos(Point);
    x:=Point.X;
    y:=Point.Y;
    A:=FindWindowA('MapleStoryClass',0);
    if A<>0 then
    begin
    PostMessageX(A,WM_LBUTTONDBLCLK,0,MakeLong(X,Y)) ;
    PostMessageX(A,WM_LBUTTONUP,0,MakeLong(X,Y));
    Application.ProcessMessages;
    end;
    end;
    end.


    Now press F9 to compile, and use the autoclicker on, in this case, MapleStory.
    This will only click in MapleStory, not outside it.
    Author: Micheltjuh

    Please register or login to download attachments.

    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  2. The Following User Says Thank You to Dwar For This Useful Post:


Similar Threads

  1. GameGuard Analysis
    By Dwar in forum Anti-Cheat Systems
    Replies: 13
    Last Post: 2016-09-26, 03:18 PM
  2. Runtime for GameGuard
    By Dwar in forum Anti-Cheat Systems
    Replies: 3
    Last Post: 2012-07-03, 10:00 AM
  3. what to do with gameguard..
    By S4R4H in forum Anti-Cheat Systems
    Replies: 3
    Last Post: 2011-11-19, 03:01 PM
  4. Gameguard Issues im having
    By explosionsinthe in forum Anti-Cheat Systems
    Replies: 13
    Last Post: 2011-04-19, 01:24 AM
  5. [Hack] Anyone know AsdaStory of disable gameguard?
    By mizurocf in forum Other MMO
    Replies: 0
    Last Post: 2011-03-23, 04:04 AM
Visitors found this page by searching for:

delphi gameguard

auto clicker for games

auto clicker gameguard

gameguard clicker

autoclicker for games

delphi auto clicker

autoclick gameguard

delphi autoclicker

gameguard auto clicker

autoclicker for game

delphi dll gameguard

autoclick .dll

clicker gameguard

autoclick for gamedll autoclick auto clicker for gameauto clicker not detected by gameguardAutoclicker gamesdelphi automausklickeruse a autoclicker on gameguardauto clicker delphi automausklicker delphiautoclicker delphigameguard auto clickersgame guard delphi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •