This is the public version of my hack that i will be updating when i see fit. All the code here is the same as my own hack at one point.
Join the discord: https://discord.io/f12017
- silent / non silent
- distance / aimbot targeting
- engine prediction
- projectile aimbot
- box / 3d box
- health (and health bar)
- name
- guuid
- index
- view
- hitbox or hitgroup
- zoomed only
- Friend
- Enemy
- Aimbot target
Unless it is already part of the hack, modules can be added in the following way
Module header file:
class Module : IHack<Module> // Module needs to be the same in both
{
// potential member variables
F1_ConVar<Switch> moduleSwitch("module", false);
F1_ConVar<int> moduleInt(" - int", default, min, max, step);
F1_ConVar<bool> moduleBool("- bool", startingValue);
F1_ConVar<float> moduleFloat(" - float", default, min, max, step);
// called in createmove after local player prediction
void processCommand(CUserCmd *pUserCmd);
// called in createmove after local player prediction
void processCommandBeforePred(CUserCmd *pUserCmd);
// called in painttraverse
bool paint();
// called in the entity loop in painttraverse
void processEntity(CBaseEntity *pBaseEntity)
// called when the menu updates
void menuUpdate(F1_IConVar **menuArray, int &currIndex);
}
extern Module gModule;
Module cpp file:
#include <Module.h>
Module gModule
void Module::processCommand(CUserCmd *pUserCmd)
{
// do stuff
}
void Module::processCommandBeforePred(CUserCmd *pUserCmd)
{
// do stuff
}
bool Module::paint()
{
// do stuff
return false;
}
void Module::processEntity(CBaseEntity *pBaseEntity)
{
// do stuff
}
void Module::menuUpdate(F1_IConVar **menuArray, int &currIndex)
{
menuArray[currIndex++] = moduleSwitch;
if(moduleSwitch.getValue() == true )
{
menuArray[currIndex++] = moduleInt;
menuArray[currIndex++] = moduleFloat;
menuArray[currIndex++] = moduleBool;
}
}
In order to make the hack active, add it to the active hacks definition in CHack.h:
#define ACTIVE_HACKS \
gAimbot, gAnnouncer, gAntiaim, *CAntiSmac::getInst(), \
gAutoAirblast, /*gBackstab,*/ gEsp, /*gGlow, gNokick, */gPlayerManager, \
gPureBypass, gRadar, gTrigger, gMisc, gHack, gModule
creater of the darkstorm base and the noisemaker spam code
source sdk and leaked sdk
netvar class that i have used in all my projects
all of the steam/ directory