Free code since i dont feel like coding WarRock
Addies.h
Code:
#define PlayerPtr 0xC81820
#define ServerPtr 0xB7C198
#define WeaponPtr 0xA26378
#define OFS_NFD 0x0102CC
#define OFS_X 0x0102E4
#define OFS_Y 0x0102F4
#define OFS_Z 0x0102EC
#define NoRecoil1 0x00C43C
#define NoRecoil2 0x00C440
#define NoRecoil3 0x00C444
#define NoSpread 0x9B2A50
#define Pt_Call 0x0C12C2
#define Flo_Vehicle 0xB02ACC
Base.cpp
Code:
#include <windows.h>
#include "Addies.h"
#include "Base.h"
#include "Protection.h"
#pragma message("|-------------------|")
#pragma message("|Special thanks to: |")
#pragma message("|-------------------|")
#pragma message("|------AeroMan------|")
#pragma message("|----TheCamels8-----|")
#pragma message("|-------------------|")
void PlayerHacks(){} //Player hacks -> When _DIF_FOLD_
void ServerHacks(){} //Server Hacks -> When _DIF_FOLD_
void Hax()
{
*(int*)(dwVehicle) = 1; //Vehicle instant lock on
#ifdef _DIF_FOLD_ // #def _DIF_FOLD_ to enable serperated folders
if(dwPlayerPtr!=0){PlayerHacks();} //If we are in a game the playerhacks will be enabled
if(dwServerPtr!=0){ServerHacks();} //If we are in the lobby the serverhacks will be enabled
#endif //end define
}
void Base() //Define Base
{
Caller
{
if(WarRock != 0) //if the game is open
{
Hax(); //Hacks will be enabled
}
if(HackShield != 0) //If hackshield opens
{
/*Your Bypass*/
//MemWrite((VOID *)(HackShield+0xC12C2),(PBYTE)"\xBA\x14",2);
}
if(CTR==0){ Thank_you CTR=1;} //if credits are not showed yet |Credits will be turned off after
}
Sleep(200); //Protect us against cpu over running
}
BOOL WINAPI DllMain(HINSTANCE hDll,DWORD My_Base,LPVOID lpvReserved)
{
if(My_Base == DLL_PROCESS_ATTACH) //If the Dll is atached to a process
{
Call_Base //Let our 'Base thread' Run
}
return true; //Makes the Thread run over again
}
Base.h
Code:
#define USE_Hax void Hacks() //Define our 'Use_Hax'
#define Encrypte (X)|(Z) //Make Encryption allowed
#define DeCrypte (Z)|(X) //Make Decryption allowed
#define Key_Push GetAsyncKeyState //Shortcut for if(GetAsyncKeyState(VK_KEY))
#define Caller for(;;)
#define Call_Base CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)Base,NULL,NULL,NULL);
#define Thank_you MessageBoxA(0,"Thank you for using this hack!","G1-Admin-AeroMan",0);
/*Game Releated*/
long WarRock = (long)GetModuleHandleA("Warrock.exe");
long HackShield = (long)GetModuleHandleA("EHSvc.dll");
DWORD dwPlayerPtr = *(DWORD*)PlayerPtr;
DWORD dwServerPtr = *(DWORD*)ServerPtr;
DWORD dwWeaponPtr = *(DWORD*)WeaponPtr;
/*Base items*/
INT pBase;
INT MON=0;
INT CTR=0;
/*Hack items*/
DWORD dwVehicle = *(DWORD*)Flo_Vehicle;
DWORD dwRecoil1 = *(DWORD*)NoRecoil1;
DWORD dwRecoil2 = *(DWORD*)NoRecoil2;
DWORD dwRecoil3 = *(DWORD*)NoRecoil3;
DWORD dwSpread = *(DWORD*)NoSpread;
DWORD dw_Ofs_Z = *(DWORD*)OFS_Z;
DWORD dw_Ofs_Y = *(DWORD*)OFS_Y;
DWORD dw_Ofs_X = *(DWORD*)OFS_X;
DWORD dwFallDmg = *(DWORD*)OFS_NFD;
/*Credit Releated*/
VOID CRT_ON(){
Thank_you
}
Protection.h
Code:
#include "Addies.h"
//Swh = When
//Ads = Adress
//Mth = Method
DWORD CallBack(DWORD Swh,DWORD Ads,DWORD Mth)
{
Swh = Pt_Call;
if(Swh != 0)
{
memcpy((void *)(Pt_Call),(0),2);
}
return 0;
}