Results 1 to 3 of 3
  1. #1
    detroyd's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    38
    Reputation
    10
    Thanks
    10

    What is the problem?

    I create a hack using that code but when i click at any hotkey the hack is not activated, did someone can help me?

    [PHP]// THIS CODE IS MADE BY =_FAITH_=
    #include <windows.h>
    #include <shellapi.h>
    #pragma comment(lib,"shell32.lib")
    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTCient = ( DWORD* )( 0x377FD9F0 );
    void* CONoff = ( void* )*( DWORD* )( *LTCient + 0x208 );

    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll" ) != NULL
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL
    && GetModuleHandleA( "CShell.dll" ) != NULL )
    return true;

    return false;
    }
    void MemCopy(void* Dest, const void* Src, int Len)
    {
    DWORD OldProtect;
    DWORD OldProtect2;
    VirtualProtect(Dest, Len, PAGE_EXECUTE_READWRITE, &OldProtect);
    memcpy(Dest, Src, Len);
    VirtualProtect(Dest, Len, OldProtect, &OldProtect2);
    FlushInstructionCache(GetCurrentProcess(), Dest, Len);
    }
    void main()
    {
    MessageBoxA(NULL," detroydcoding.********.com ","Detroyd Hotkeys 1.0",MB_OK);
    while (!IsGameReadyForHook()){
    Sleep(20);
    }
    bool boxes = false;
    bool fps = false;
    while(true){
    if(GetAsyncKeyState(VK_NUMPAD1)<0){
    if(boxes){
    PushToConsole("ModelDebug_DrawBoxes 0");
    PushToConsole("SkelModelStencil 0");
    boxes = false;
    } else {
    PushToConsole("ModelDebug_DrawBoxes 1");
    PushToConsole("SkelModelStencil 1");
    boxes = true;
    }
    }
    if(GetAsyncKeyState(VK_NUMPAD3)<0){
    if(fps){
    PushToConsole("ShowFps 1");
    fps = false;
    } else {
    PushToConsole("ShowFps 0");
    fps = true;
    }
    }
    Sleep(20);
    }
    }
    BOOL APIENTRY DllMain( HMODULE hModule,
    DWORD ul_reason_for_call,
    LPVOID lpReserved
    )
    {
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
    ShellExecute;
    CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
    break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return TRUE;
    }[/PHP]
    [PHP]1>------ Build started: Project: test], Configuration: Debug Win32 ------
    1>Compiling...
    1>base.cpp
    1>c:\users\usuario\desktop\test]\test]\base.cpp(75) : warning C4551: function call missing argument list
    1>Linking...
    1>LINK : C:\Users\usuario\Desktop\test]\Debug\test].dll not found or not built by the last incremental link; performing full link
    1>Embedding manifest...
    1>Build log was saved at "file://c:\Users\usuario\Desktop\test]\test]\Debug\BuildLog.htm"
    1>test] - 0 error(s), 1 warning(s)
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped =========/PHP]

    Srry for the english, google tradutor sucks!

  2. #2
    EDWINSEE's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Arkansas
    Posts
    125
    Reputation
    10
    Thanks
    127
    My Mood
    Angelic
    This part in u hack is perm. patched:
    Code:
    void __cdecl PushToConsole( const char* szCommand )
    {
        DWORD *LTCient = ( DWORD* )( 0x377FD9F0 );
        void* CONoff = ( void* )*( DWORD* )( *LTCient + 0x208 );
     
        __asm
        {
            push szCommand;
            call CONoff;
            add esp, 4;
        }
    }
    try this:
    Code:
    }
    //ptc method
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
    RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t)0x00485E10;// engine addy
    void main()
    {
    next time search and u hacks still will not turn on u got to find a way to bypass nexon scanners.

  3. #3
    Boomdocks's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    JAJAJ
    Posts
    195
    Reputation
    15
    Thanks
    35
    My Mood
    Aggressive
    ModelDebug_DrawBoxes 0
    Is patched so long time ago...
    " The Ground Is Above, This Noobs Have Mastered Gravity " - Aeir/Boomdocks
    Started Hacking in 2009, don't be too quick to say your a pro... ok theirs many of us who retired.. call us legends, if it was not for them... most of hacks & d3d designs won't be around ok.. #RespectOldNiggas