help

Posts 1–4 of 4 · Page 1 of 1
help
were past this code,in dllmain.cpp or stdafx.cpp or mynamehack.cpp

Code:
#include <windows.h>
 
 
#define WeaponMgr 0xA68F90
#define NoReload  0x269C
 
 
//---
DWORD WINAPI H4X(LPVOID)
{
    DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr);
 
 
    if ( pWeaponMgr )
    {
           for ( int i = 0; i < 560; i++ )
           {
               if ( (*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL )
               {
                   // No reload
                   *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.0f;
               }
           }
    }
    return 0;
}
 
 
 
 
//---
bool R2H()
{
    if ( GetModuleHandleA("CShell.dll") != NULL && GetModuleHandleA("ClientFx.fxd") != NULL )
        return 1;
 
 
    return 0;
}
 
 
 
 
//---
DWORD WINAPI W41t(LPVOID)
{
    while ( !R2H()) Sleep(200);
 
 
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)H4X, NULL, NULL, NULL);
 
 
    return 0;
}
 
 
 
 
//---
void New_DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
    DisableThreadLibraryCalls(hDll);
 
 
    if ( dwReason == DLL_PROCESS_ATTACH )
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)W41t, 0, 0, 0);
}
pls help my
Why do ppl response to topics like this... OMFG.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us