- Check if usage of
std::shared_ptr
has effect on performance. If so then instantiate classes using pointers withdelete
to discard them manually. - Decrease amount of
WPM
andRPM
calls where possible to make code more efficient. - Initialize private data of classes in the public constructor (to e.g. nullptr or 0) in classes the dont do that.
- Initialization of
CsgoCheats
can be done better maybe?
- Make the cheats in main functions (e.g. aimbot, glow etc...) toggelable instead of exiting the cheat.
- Prevent using
64
as in the loops and store only enemies in astd::vector
for example and loop through it. Also check whether max players can be fetched from memory. - IMPORTANT TODO: Aimbot sometimes flicks to enemy without me pressing the left button of the mouse. Uncommenting isSpotted() check in aimbot fixes this, but slows down the aimbot AFAIK.
- Remove unnecessary code from e.g. Maths.h (as many implementation are not needed for external cheat).
- Make glow depending on health of enemy (going from green color to yellow to red upon damaging the enemy).
- Make all functions in
CsgoCheats
classconst
. So like thisDWORD getPlayer(...) *const*
.