Hi guys im new to hacking , and this is my NoReload Base it's get hack tool detected by the injector is not detected !
Code :
[HTML]#include<windows.h>
//addies 01/07/2013
#define WeaponMgr 0xCB9984
#define Nreload 0x3C8
//prevent noob leecher from hex editing
char Msg[] = {'M','a','d','e',' ','b','y',' ','J','a','d','e','r',0 };
char Title[] = {'C','r','o ','s','s',' ','F','i','r','e',0 };
DWORD WINAPI Hacks(LPVOID)
{
bool reload = true;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
//no reload
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))) + Nreload) = 100;
}
}
}
}
Sleep(100);
}
bool Ready2Go()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}
DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Go()) 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 )
{
//optional
MessageBoxA(0, Msg,Title, 0);
system("start http://mpgh.net/");
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}[/HTML]
Help please !
Credits
Swiftdude - Swiftdude base