heres my base without addys
xxxx = addy / value
if you use my base give me credits =)Code:#include<windows.h> #define WeaponMgr xxxxxx #define NoReload xxxxxx #define WeaponDamage xxxxxx #define singlefire xxxxxx #define range xxxxxx #define dmg xxxxxx DWORD WINAPI Hacks(LPVOID) { bool Change = false, reload = false, single = false, gunrange = false, ammodmg = false; while(1) { DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll"); DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr); if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) { Change = true; Beep(512, 100); } if(GetAsyncKeyState(VK_F3) || GetAsyncKeyState(VK_F3) &1) { reload = true; Beep(512, 100); } if(GetAsyncKeyState(VK_F4) || GetAsyncKeyState(VK_F4) &1) { single = true; Beep(512, 100); } if(GetAsyncKeyState(VK_F5) || GetAsyncKeyState(VK_F5) &1) { gunrange = true; Beep(512, 100); } if(GetAsyncKeyState(VK_F6) || GetAsyncKeyState(VK_F6) &1) { ammodmg = true; Beep(512, 100); } if(Change) { if (pWeaponMgr) { for(int i=0; i<445; i++) { if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL) *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + WeaponDamage) = xxx; } } } if(ammodmg) { if (pWeaponMgr) { for(int i=0; i<445; i++) { if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL) *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + dmg) = xxx; } } } if(gunrange) { if (pWeaponMgr) { for(int i=0; i<445; i++) { if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL) *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + range) = xxx; } } } if(single) { if (pWeaponMgr) { for(int i=0; i<445; i++) { if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL) *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + singlefire) = xxx; } } } if(reload) { if (pWeaponMgr) { for(int i=0; i<445; i++) { if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL) *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload) = xxx; } } } Sleep(100); } } bool Ready2Hook() { if(GetModuleHandleA("CShell.dll") != NULL && GetModuleHandleA("ClientFx.fxd") != NULL) return 1; return 0; } DWORD WINAPI Wait(LPVOID) { while(!Ready2Hook()) Sleep(200); CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL); return 0; } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { MessageBoxA(0, "Msg Text","Msg Titel", 0); CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0); } return 1; }


General








Reply With Quote




