@Xblaster12
lol Xblaster, it doesnt work cuz you need to define LTclient --'
& dont make ur bool same as ur name of defined addie(norload)
make ur bool noreload1 or sht like that
Code:
bool reload = false, ;
totally wrong my bro, first you have also one feature noreload make it then ; not , --'
and not the same
make sure you made this:
Code:
DWORD pLtClient = *(DWORD*)(CShell+0xA2A7E8);
LtClient define it --'
Code:
#define LtClient 0xA2A7E8
lol you doesnt know what you are writing in ur base dude.
full code Fixed
Code:
#include<windows.h>
#define reload 0x2424
#define LtClient 0xA2A7E8
DWORD WINAPI Hacks(LPVOID)
{
bool reload1 = false;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell+0xA2A7E8);
if(GetAsyncKeyState(VK_F3) || GetAsyncKeyState(VK_F3) &1) { reload1 = true; Beep(512, 100); }
if(reload1)
{
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) = 100;
}
}
}
Sleep(80);
}
}
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, "Xblaster12 Fix by Nolife","Credits: No-Life ;)", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}