Thread: Help Please!

Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    fvestrgenrl's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    172
    Reputation
    9
    Thanks
    26

    Help Please!

    Okay so i followed the tutorial above and it works but i disconnect after about 5 minutes of play time, here is my code if someone could help me out:
    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }	
    void main()
    {
    while(true)
    {
    PushToConsole("SkelModelStencil 1");
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function
    { 
        DWORD dwOrgProtect = NULL; 
        if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
            return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    I added the last part because someone said i should do that, but i still have the same problem.

  2. #2
    ^...,^'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    New Zealand,Auckland
    Posts
    698
    Reputation
    4
    Thanks
    90
    My Mood
    Lonely
    Quote Originally Posted by fvestrgenrl View Post
    Okay so i followed the tutorial above and it works but i disconnect after about 5 minutes of play time, here is my code if someone could help me out:
    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }	
    void main()
    {
    while(true)
    {
    I Cant Say Much But Its In There.

  3. #3
    carterv's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    51
    Reputation
    10
    Thanks
    3
    My Mood
    Devilish
    Try updating your LTClient.

  4. #4
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,086
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    the hook is bad
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  5. #5
    hairystick's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    3
    My Mood
    Brooding
    From what I saw on the posts there it is detected is it not?

  6. #6
    remusrowle34's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    A coke Machine
    Posts
    37
    Reputation
    10
    Thanks
    13
    My Mood
    Inspired
    Quote Originally Posted by zmansquared View Post
    the hook is bad

    Yes, what he said. The hook is bad meaning it is detected. You will have to wait till next patch or learn a better hooking method.

  7. #7
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    there is no hook in hotkey hack

  8. #8
    remusrowle34's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    A coke Machine
    Posts
    37
    Reputation
    10
    Thanks
    13
    My Mood
    Inspired
    Quote Originally Posted by whit View Post
    there is no hook in hotkey hack
    oh well fail on my part then. Regardless its still detected.

  9. #9
    Beatz's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    In your head.
    Posts
    2,118
    Reputation
    66
    Thanks
    321
    My Mood
    Stressed
    Quote Originally Posted by carterv View Post
    Try updating your LTClient.
    The LTClient he has is up to date.
    Don't Talk If You Can't Do.


  10. #10
    wjaga's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    I did not understand anything

  11. #11
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,704
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    I'm on vacation. Did the LTC Lient update?

    I don't think so...

  12. #12
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,086
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    it didnt. ca is gonna update soon, i can feel it!!!
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  13. #13
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void PushToConsole(const char* Command) 
    {
    DWORD JDEEZYLULZ = 0x007d9200;
    void* Send = ( void* )*( DWORD* )(JDEEZYLULZ);
    __asm
    {
    push Command;
    call Send; 
    add esp, 4;
    }
    }  
    void main()
    {
    while(true)
    {
    PushToConsole("SkelModelStencil 1");
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function
    { 
        DWORD dwOrgProtect = NULL; 
        if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
            return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    Try that out, (note: only thing I changed was your PTC, it's now using CoderNevers' shizniz from his latest thread, that seemed to work for me (I take no credits lulz)

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  14. #14
    fvestrgenrl's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    172
    Reputation
    9
    Thanks
    26
    i tried a few other hooks, but they all D/C on connecting...
    anything else i should try?

    Quote Originally Posted by J-Deezy View Post
    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void PushToConsole(const char* Command) 
    {
    DWORD JDEEZYLULZ = 0x007d9200;
    void* Send = ( void* )*( DWORD* )(JDEEZYLULZ);
    __asm
    {
    push Command;
    call Send; 
    add esp, 4;
    }
    }  
    void main()
    {
    while(true)
    {
    PushToConsole("SkelModelStencil 1");
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function
    { 
        DWORD dwOrgProtect = NULL; 
        if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
            return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    Try that out,
    Okay ill try it out Thanks dude!


    Edit:
    Didn't work... it D/C's as soon ad it gets past loading. Nice try though
    Last edited by fvestrgenrl; 07-19-2010 at 03:55 AM.

  15. #15
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    Replace your entire code with this (It uses my new Console Method)

    Code:
    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void ConsolePush(const char* Command) {
    DWORD CNADDIE = 0x007d9200;
    void* Send = ( void* )*( DWORD* )(CNADDIE);
    __asm
    {
    /* CREDITS TO CN */
    push Command;
    call Send; 
    add esp, -3-1+2+6;
    }
    }  	
    void main()
    {
    while(true)
    {
    ConsolePush("SkelModelStencil 1");
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function
    { 
        DWORD dwOrgProtect = NULL; 
        if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
            return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    J beat me! xD lol look what you renamed the Dword to! xD
    Last edited by CoderNever; 07-19-2010 at 03:55 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help Request] Help Please ! Crossfire PH or whatever
    By maek0witzki33 in forum CrossFire Help
    Replies: 10
    Last Post: 05-28-2013, 08:18 PM
  2. [Help Request] Black Cipher Help [please help]
    By zubni in forum Combat Arms Help
    Replies: 25
    Last Post: 05-14-2011, 07:50 PM
  3. [Help Request] New. Help Please :)
    By xclutchx in forum Vindictus Help
    Replies: 8
    Last Post: 05-05-2011, 01:52 PM
  4. [Help Request] help please
    By alpha3po in forum Combat Arms Help
    Replies: 6
    Last Post: 05-01-2011, 04:29 PM
  5. [Help Request] [ANSWERED]crossfire Help Please.
    By ownedpjer in forum CrossFire Help
    Replies: 2
    Last Post: 04-30-2011, 02:53 AM