i try to make the hack from post Hack Base for NooBs
i have make some changes but i can't find the others addys and what is the Value to freeze and what to put there?(noobic questions but i am begginer)
Code:
#include<windows.h>
#define LtClient yyyy
#define reload 0x2424
#define change yyyy
#define singlefire yyyy
#define range yyyy
#define dmg yyyy
DWORD WINAPI Hacks(LPVOID)
{
bool Change = false,
reload = false,
single = false,
gunrange = false,
ammodmg = false;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell + LtClient);
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 (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + change) = 172200.0f;
}
}
}
if(ammodmg)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg) =
}
}
}
if(gunrange)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + range) = xxxx;
}
}
}
if(single)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + singlefire) = xxxx;
}
}
}
if(reload)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + reload) = xxxx;
}
}
}
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, "Happy Hacking","Injected", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
}
return 1;
}