-
Notifications
You must be signed in to change notification settings - Fork 2
/
RageBot.h
45 lines (38 loc) · 1.01 KB
/
RageBot.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
Syn's AyyWare Framework 2015
*/
#pragma once
#include "Hacks.h"
class CRageBot : public CHack
{
public:
void Init();
void Draw();
void Move(CUserCmd *pCmd, bool &bSendPacket);
private:
// Targetting
int GetTargetCrosshair();
int GetTargetDistance();
int GetTargetHealth();
bool TargetMeetsRequirements(IClientEntity* pEntity);
float FovToPlayer(Vector ViewOffSet, Vector View, IClientEntity* pEntity, int HitBox);
int HitScan(IClientEntity* pEntity);
bool AimAtPoint(IClientEntity* pLocal, Vector point, CUserCmd *pCmd, bool &bSendPacket);
// Functionality
void DoAimbot(CUserCmd *pCmd, bool &bSendPacket);
void DoNoRecoil(CUserCmd *pCmd);
void PositionAdjustment(CUserCmd* pCmd);
// AntiAim
void DoAntiAim(CUserCmd *pCmd, bool&bSendPacket);
//bool EdgeAntiAim(IClientEntity* pLocalBaseEntity, CUserCmd* cmd, float flWall, float flCornor);
//bool bEdge;
// AimStep
bool IsAimStepping;
Vector LastAimstepAngle;
Vector LastAngle;
// Aimbot
bool IsLocked;
int TargetID;
int HitBox;
Vector AimPoint;
};