Исходник Weave dt

Забаненный
Статус
Оффлайн
Регистрация
20 Янв 2021
Сообщения
33
Реакции[?]
22
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Код:
int get_max_tickbase_shift()
{
    auto idx = csgo->local->GetWeapon()->GetItemDefinitionIndex();
    auto max_tickbase_shift = 0;

    switch (idx)
    {
    case WEAPON_M249:
    case WEAPON_MAC10:
    case WEAPON_P90:
    case WEAPON_MP5SD:
    case WEAPON_NEGEV:
    case WEAPON_MP9:
        max_tickbase_shift = 5;
        break;
    case WEAPON_DUALBERETTA:
    case WEAPON_UMP45:
    case WEAPON_BIZON:
    case WEAPON_TEC9:
    case WEAPON_MP7:
        max_tickbase_shift = 6;
        break;
    case WEAPON_AK47:
    case WEAPON_AUG:
    case WEAPON_FAMAS:
    case WEAPON_GALIL:
    case WEAPON_M4A1:
    case WEAPON_M4A1S:
    case WEAPON_CZ75:
        max_tickbase_shift = 7;
        break;
    case WEAPON_FIVESEVEN:
    case WEAPON_GLOCK:
    case WEAPON_P250:
    case WEAPON_SG553:
        max_tickbase_shift = 8;
        break;
    case p2000:
    case WEAPON_USPS:
        max_tickbase_shift = 9;
        break;
    case WEAPON_DEAGLE:
    case WEAPON_SSG08:
        max_tickbase_shift = 13;
        break;
    case WEAPON_G3SG1:
    case WEAPON_SCAR20:
        max_tickbase_shift = 14;
        break;
    }

    return max_tickbase_shift;
}
Код:
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;
    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(get_max_tickbase_shift());
            auto can_shot = CMAntiAim::Get().can_exploit(abs(-1 - prev_shift_ticks));

            if (can_shift_shot || !can_shot && !did_shift_before)
            {
                prev_shift_ticks = get_max_tickbase_shift();
                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 = false;
                                csgo->skip_ticks = vars.ragebot.dt_instant ? get_max_tickbase_shift() : 10;
                                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 = false;
            csgo->nSinceUse = 0;
        }
    }
}
 
Забаненный
Статус
Оффлайн
Регистрация
20 Дек 2020
Сообщения
178
Реакции[?]
35
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Пользователь
Статус
Оффлайн
Регистрация
7 Фев 2020
Сообщения
76
Реакции[?]
33
Поинты[?]
0
Код:
int get_max_tickbase_shift()
{
    auto idx = csgo->local->GetWeapon()->GetItemDefinitionIndex();
    auto max_tickbase_shift = 0;

    switch (idx)
    {
    case WEAPON_M249:
    case WEAPON_MAC10:
    case WEAPON_P90:
    case WEAPON_MP5SD:
    case WEAPON_NEGEV:
    case WEAPON_MP9:
        max_tickbase_shift = 5;
        break;
    case WEAPON_DUALBERETTA:
    case WEAPON_UMP45:
    case WEAPON_BIZON:
    case WEAPON_TEC9:
    case WEAPON_MP7:
        max_tickbase_shift = 6;
        break;
    case WEAPON_AK47:
    case WEAPON_AUG:
    case WEAPON_FAMAS:
    case WEAPON_GALIL:
    case WEAPON_M4A1:
    case WEAPON_M4A1S:
    case WEAPON_CZ75:
        max_tickbase_shift = 7;
        break;
    case WEAPON_FIVESEVEN:
    case WEAPON_GLOCK:
    case WEAPON_P250:
    case WEAPON_SG553:
        max_tickbase_shift = 8;
        break;
    case p2000:
    case WEAPON_USPS:
        max_tickbase_shift = 9;
        break;
    case WEAPON_DEAGLE:
    case WEAPON_SSG08:
        max_tickbase_shift = 13;
        break;
    case WEAPON_G3SG1:
    case WEAPON_SCAR20:
        max_tickbase_shift = 14;
        break;
    }

    return max_tickbase_shift;
}
Код:
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;
    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(get_max_tickbase_shift());
            auto can_shot = CMAntiAim::Get().can_exploit(abs(-1 - prev_shift_ticks));

            if (can_shift_shot || !can_shot && !did_shift_before)
            {
                prev_shift_ticks = get_max_tickbase_shift();
                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 = false;
                                csgo->skip_ticks = vars.ragebot.dt_instant ? get_max_tickbase_shift() : 10;
                                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 = false;
            csgo->nSinceUse = 0;
        }
    }
}
переиграл всех
 
Сверху Снизу