how do i find the ltClient
Code:
#include <stdio.h>
#include <windows.h>
// Pointers
#define Playerpointer 0xC62388
// Offsets
#define OFS_NORECOIL1 0x1C
#define OFS_NORECOIL2 0x20
#define OFS_NORECOIL3 0x24
HANDLE Warrock;
DWORD *ingame= (DWORD*)Playerpointer;
DWORD *outgame= (DWORD*)Serverpointer;
// No Recoil
void NoRecoil()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;
}
}
//Any other hacks you decide to add go above here
//Hack are put into the game here
void snip()
{
for(;; )
{
if(*ingame) // Player hacks go here.
{
NoRecoil();
}
if(*outgame) // Server hacks all go in this section.
{
}
Sleep(200); // Prevent overload.
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "DLL was injected successfully.", "SeptFicelle", MB_OK); // Success message.
MessageBoxA(NULL, "Thanks for using my source code. =)", "SeptFicelle", MB_OK); // Thanks message.
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)snip, 0, 0, 0); // Initiate the hack thread.
}
return TRUE;
}