Closed Frouk3 closed 4 years ago
Use "max aim inaccuracy" and "max shot inaccuracy", they work kind of like a timer but based on the current recoil. try a value of 0.02000 in both fields to see what im talking about. (when using AK-47 for example with autoshoot etc. enabled) (you can hold Control Key and press mouse1 on a field with a numeric value to edit it by text not slider)
When i toogle on autoshoot aimbot spent all ammo
this is because autoshoot doesnt check if there is an entity infront of the crosshair
an ugly code shotdelay for autoshot
in aimbot.cpp
if (config->aimbot[weaponIndex].autoShot && activeWeapon->nextPrimaryAttack() <= memory->globalVars->serverTime() && !clamped && ((config->aimbot[weaponIndex].shotdelay > 0 && (lastTime + config->aimbot[weaponIndex].shotdelay / 1000.f) <= now) || !(config->aimbot[weaponIndex].shotdelay > 0)))
above void aimbot::run
static auto lastTime = 0.0f;
in config.cpp
if (aimbotJson.isMember("Shot Delay")) aimbotConfig.shotdelay = aimbotJson["Shot Delay"].asInt(); aimbotJson["Shot Delay"] = aimbotConfig.shotdelay;
config.h
int shotdelay {0};
gui.cpp
ImGui::InputInt("Shot Delay", &config->aimbot[currentWeapon].shotdelay);
an ugly code shotdelay for autoshot
in aimbot.cpp
if (config->aimbot[weaponIndex].autoShot && activeWeapon->nextPrimaryAttack() <= memory->globalVars->serverTime() && !clamped && ((config->aimbot[weaponIndex].shotdelay > 0 && (lastTime + config->aimbot[weaponIndex].shotdelay / 1000.f) <= now) || !(config->aimbot[weaponIndex].shotdelay > 0)))
above void aimbot::run
static auto lastTime = 0.0f;
in config.cpp
if (aimbotJson.isMember("Shot Delay")) aimbotConfig.shotdelay = aimbotJson["Shot Delay"].asInt(); aimbotJson["Shot Delay"] = aimbotConfig.shotdelay;
config.h
int shotdelay {0};
gui.cpp
ImGui::InputInt("Shot Delay", &config->aimbot[currentWeapon].shotdelay);
const auto now = memory->globalVars->realtime;
When i toogle on autoshoot aimbot spent all ammo