Исходник Onetap adaptive fakelags

Участник
Участник
Статус
Оффлайн
Регистрация
30 Дек 2020
Сообщения
398
Реакции
293
onetap adaptive fakelags reversed

C++:
Expand Collapse Copy
bool should_choke = false;
const float units_per_tick = std::ceilf(68.0f / TICKS_TO_TIME(g_sdk.m_local->get_velocity().length()));

if (units_per_tick > 0 && units_per_tick < 14) {
    int choked_ticks;
    if (g_sdk.m_local->get_velocity().length_2d() > 0.15f) {
        if (g_sdk.m_local->get_velocity().length_2d_sqr() > 4096.f) {
            choked_ticks = 14;
            g_sdk.m_broke_lc = true;
        }
        else {
            choked_ticks = units_per_tick ? 14 - 1 : 15;
        }
    }
    else {
        choked_ticks = g_cfg->m_lag_limit;
    }

    if (choked_ticks > 0 && choked_ticks <= 14)
        should_choke = false;
    else
        should_choke = true;
}

c_packet_manager::get()->get_send_packet() = should_choke;
1651867949444.png
1651867956710.png
1651867969277.png
credits: me, @movebx, @llama
 
monkey coder, just steal break LC code from UC and paste better
 
Назад
Сверху Снизу