-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Createmove.hpp
protect.hpp
doubletap in weave
Код:
if (vars.visuals.clantagspammer)
{
Reset = false;
static float oldTime;
float flCurTime = csgo->local->GetTickBase() * interfaces.global_vars->interval_per_tick;
static float flNextTimeUpdate = 0;
static int iLastTime;
float latency = interfaces.engine->GetNetChannelInfo()->GetLatency(FLOW_INCOMING) + interfaces.engine->GetNetChannelInfo()->GetLatency(FLOW_OUTGOING);
if (int(interfaces.global_vars->curtime * 2 + latency) != iLastTime)
{
if (flNextTimeUpdate <= flCurTime || flNextTimeUpdate - flCurTime > 1.f)
{
switch (int(interfaces.global_vars->curtime * 2.4) % 10) {
case 0: SetClanTag(hs::clantag1::s().c_str(), hs::neverlose::s().c_str()); break;
case 1: SetClanTag(hs::clantag2::s().c_str(), hs::neverlose::s().c_str()); break;
case 2: SetClanTag(hs::clantag3::s().c_str(), hs::neverlose::s().c_str()); break;
case 3: SetClanTag(hs::clantag4::s().c_str(), hs::neverlose::s().c_str()); break;
case 4: SetClanTag(hs::clantag5::s().c_str(), hs::neverlose::s().c_str()); break;
case 5: SetClanTag(hs::clantag6::s().c_str(), hs::neverlose::s().c_str()); break;
case 6: SetClanTag(hs::clantag7::s().c_str(), hs::neverlose::s().c_str()); break;
case 7: SetClanTag(hs::clantag8::s().c_str(), hs::neverlose::s().c_str()); break;
case 8: SetClanTag(hs::clantag9::s().c_str(), hs::neverlose::s().c_str()); break;
case 9: SetClanTag(hs::clantag10::s().c_str(), hs::neverlose::s().c_str()); break;
}
}
iLastTime = int(interfaces.global_vars->curtime * 2 + latency);
}
}
Код:
_(neverlose, "NEVERLOSE");
_(neverlose_logo, " \u267e\n");
doubletap in weave
Код:
void InitDoubleTap()
{
static bool did_shift_before = false;
static int double_tapped = 0;
static int prev_shift_ticks = 0;
static bool reset = false;
static int shot_tick = 0;
static int process_ticks = 0;
static int limit = 14;
CMAntiAim::Get().shot_dt = false;
if (CanDT() /*&& !csgo->game_rules->IsFreezeTime()*/)
{
if (vars.ragebot.double_tap->active)
{
prev_shift_ticks = 0;
auto can_shift_shot = CMAntiAim::Get().can_exploit(16);
auto can_shot = CMAntiAim::Get().can_exploit(abs(-1 - prev_shift_ticks));
if (can_shift_shot || !can_shot && !did_shift_before)
{
prev_shift_ticks = 19;
double_tapped = 0;
}
else {
double_tapped++;
prev_shift_ticks = 0;
}
//if (csgo->send_packet)
{
if (prev_shift_ticks > 0)
{
if (CMAntiAim::Get().can_exploit(prev_shift_ticks))
{
CMAntiAim::Get().shot_dt = true;
if (csgo->cmd->buttons & IN_ATTACK)
{
csgo->m_nTickbaseShift = prev_shift_ticks;
CMAntiAim::Get().did_shot = true;
reset = false;
CMAntiAim::Get().cmd_tick = csgo->cmd->command_number;
CMAntiAim::Get().base_tick = csgo->local->GetTickBase();
}
else
{
if ((!(csgo->cmd->buttons & IN_ATTACK) || !Ragebot::Get().shot) && CMAntiAim::Get().did_shot) {
csgo->dt_charged = true;
csgo->skip_ticks = vars.ragebot.dt_instant ? 19 : 11;
csgo->skip_ticks ? 5 : 3;
CMAntiAim::Get().did_shot = false;
}
}
}
else
{
CMAntiAim::Get().shot_dt = false;
process_ticks = 0;
}
}
did_shift_before = prev_shift_ticks != 0;
}
}
else {
csgo->bShootedFirstBullet = false;
csgo->TickShifted = true;
csgo->nSinceUse = 0;
}
}
}