Thread: nx chams

Results 1 to 4 of 4
  1. #1
    brohizi's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    1

    nx chams

    i have a simple hotkey hack.... press 1 for nx chams.It injects fine but just doesnt activate the hacks when i press 1. does anyone know whats wrong?

    #include <windows.h>
    #define Engine 0x492CF0

    bool IsGameReadyForHook()
    {
    if (GetModuleHandleA("d3d9.dll") != NULL
    && GetModuleHandleA("ClientFX.fxd") != NULL
    && GetModuleHandleA("CShell.dll") != NULL)
    return true;
    return false;
    }
    void __cdecl PushToConsole(char *szCommand)
    {
    DWORD *LTClient = (DWORD*)(0x379E7D5C);
    void* CONoff = (void*)*(DWORD*)(*LTClient + 0x1000);

    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }


    void main()
    {


    while (!IsGameReadyForHook()){
    Sleep(200);
    }


    bool nxChams = false;
    if (GetAsyncKeyState(VK_NUMPAD1)&1)
    {
    if (nxChams)
    {
    PushToConsole("SkelModelStencil -1");
    nxChams = false;
    }
    else
    {
    PushToConsole("SkelModelStencil 0" );
    }
    }

    }

    DWORD WINAPI dwHackThread(LPVOID) {
    while (!IsGameReadyForHook())
    Sleep(300);
    main();
    return 0;
    }
    BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
    DisableThreadLibraryCalls(hDll);
    if (dwReason == DLL_PROCESS_ATTACH)
    MessageBoxA(NULL, "hack nx chams|\n" "press 1", "meee|||||", MB_YESNO | MB_ICONWARNING);
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }


    - - - Updated - - -

    i fixed some things but now when i press 1 to activate the hack, it lags then crashes... any errors?

    #include <windows.h>
    #define Engine 0x492CF0

    bool IsGameReadyForHook()
    {
    if (GetModuleHandleA("d3d9.dll") != NULL
    && GetModuleHandleA("ClientFX.fxd") != NULL
    && GetModuleHandleA("CShell.dll") != NULL)
    return true;
    return false;
    }
    void __cdecl PushToConsole(char *szCommand)
    {
    DWORD *LTClient = (DWORD*)(0x379E7D5C);
    void* CONoff = (void*)*(DWORD*)(*LTClient + 0x1000);

    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }


    void main()
    {


    while (true)
    {
    bool nxChams = false;
    if (GetAsyncKeyState(VK_NUMPAD1)<0)
    {
    if (nxChams)
    {
    PushToConsole("SkelModelStencil -1");
    nxChams = false;
    }
    else
    {
    PushToConsole("SkelModelStencil 0");
    }
    }
    }

    }

    DWORD WINAPI dwHackThread(LPVOID) {
    while (!IsGameReadyForHook())
    Sleep(300);
    main();
    return 0;
    }
    BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
    DisableThreadLibraryCalls(hDll);
    if (dwReason == DLL_PROCESS_ATTACH)
    MessageBoxA(NULL, "hack nx chams|\n" "press 1", "meee|||||", MB_YESNO | MB_ICONWARNING);
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }

  2. #2
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    1,853
    Reputation
    200
    Thanks
    7,421
    You need a hook to use PTC
    Member Level 1 since November, 2011
    Contributor since March, 2015

     

  3. #3
    brohizi's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    1
    oohh thanks so much... i got to figure out how to make a hook now... thanks

  4. #4
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    1,853
    Reputation
    200
    Thanks
    7,421
    Okay.. problem solved

    @Flengo
    @maddoggy00
    Member Level 1 since November, 2011
    Contributor since March, 2015

     

Similar Threads

  1. ESP/Chams For BHD 1.5.0.5 Arugs 1.2m: Undetected
    By sf0d in forum General Game Hacking
    Replies: 1
    Last Post: 11-05-2008, 03:31 PM
  2. anyone give me free cham?
    By warpebble in forum Trade Accounts/Keys/Items
    Replies: 2
    Last Post: 05-24-2007, 11:03 AM
  3. Chams Ftw
    By ballin22 in forum WarRock Korea Hacks
    Replies: 5
    Last Post: 05-22-2007, 09:13 AM
  4. Does chams work here?
    By Spoking in forum WarRock Korea Hacks
    Replies: 0
    Last Post: 05-18-2007, 02:10 AM
  5. Chams!
    By Underglow450 in forum WarRock - International Hacks
    Replies: 50
    Last Post: 03-17-2007, 06:19 AM