-
Notifications
You must be signed in to change notification settings - Fork 0
/
RageBot.h
52 lines (39 loc) · 1.34 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
46
47
48
49
50
51
52
#pragma once
#include "Hacks.h"
extern float autowalldmgtest[65];
extern bool antiAimSide;
class CRageBot : public CHack
{
public:
void Init();
void Draw();
bool EntityIsValid(int i);
void Move(CUserCmd *pCmd, bool &bSendPacket);
private:
int GetTargetCrosshair();
int GetTargetDistance();
int GetTargetNextShot();
int GetTargetThreat(CUserCmd * pCmd);
int GetTargetHealth();
bool TargetMeetsRequirements(IClientEntity* pEntity);
void aimAtPlayer(CUserCmd * pCmd);
float FovToPlayer(Vector ViewOffSet, Vector View, IClientEntity* pEntity, int HitBox);
int HitScan(IClientEntity* pEntity);
void PositionAdjustment(CUserCmd * pCmd);
bool AimAtPoint(IClientEntity* pLocal, Vector point, CUserCmd *pCmd, bool &bSendPacket);
void AutoZeus(CUserCmd * pCmd, IClientEntity * pEntity, bool & bSendPacket);
void DoAimbot(CUserCmd *pCmd, bool &bSendPacket);
void Prediction(CUserCmd * pCmd, IClientEntity * LocalPlayer);
void DoNoRecoil(CUserCmd *pCmd);
bool freestanding(CUserCmd * m_pcmd, bool packet);
void DoAntiAim(CUserCmd *pCmd, bool&bSendPacket);
void Fakelag(CUserCmd * pCmd, bool & bSendPacket);
bool IsAimStepping;
Vector LastAimstepAngle;
Vector LastAngle;
bool IsLocked;
int TargetID;
int HitBox;
Vector AimPoint;
};
void b1gJoplinSwitch(CUserCmd *pCmd, bool &bSendPacket);