Implemented #20 into hack.hpp now featuring a better entity loop and fixing known bugs while cleaning the code.
Added simple config system to enable team esp, automatic updates, and render distance. Also moved the offsets to the updater namespace and read/writte methods to the offsets.json Implemented Handle Hijacking method requested by #19 to improve the security. Credits to Apxaey on github for the source
This commit is contained in:
@@ -3,17 +3,15 @@
|
||||
#include "json.hpp"
|
||||
#include "auto_updater.hpp"
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
namespace config {
|
||||
const std::string file_path = "config.json";
|
||||
|
||||
extern bool read();
|
||||
extern void save();
|
||||
|
||||
inline std::ptrdiff_t dwLocalPlayer = 0x17DB108;
|
||||
inline std::ptrdiff_t dwEntityList = 0x178C888;
|
||||
inline std::ptrdiff_t dwViewMatrix = 0x187A6E0;
|
||||
|
||||
inline std::ptrdiff_t dwPawnHealth = 0x808;
|
||||
inline std::ptrdiff_t dwPlayerPawn = 0x7FC;
|
||||
inline std::ptrdiff_t dwSanitizedName = 0x720;
|
||||
inline std::ptrdiff_t m_iTeamNum = 0x3bf;
|
||||
inline std::ptrdiff_t m_vecOrigin = 0x1204;
|
||||
inline bool automatic_update = false;
|
||||
inline bool team_esp = false;
|
||||
inline float render_distance = -1.f;
|
||||
}
|
||||
Reference in New Issue
Block a user