Исходник Mutiny lby breaker/handle chokes [clean / ready to past]

Пользователь
Статус
Оффлайн
Регистрация
3 Янв 2020
Сообщения
78
Реакции[?]
96
Поинты[?]
0
seen people asking for this and i was bored legit took me like 10 secs to make lol enjoy

make sure to run predict lby then handle chokes then your anti aim

handle chokes
C++:
 void antiaim :: HandleChoke ()
{
    // init max amount to choke
    const int maxChoke = 16;

    if (! m_bShouldChoke && m_bNextShouldChoke)
    {
        m_bShouldChoke = true;
        m_bNextShouldChoke = false;
    }

    // should and can choke
    if (m_bShouldChoke && g_pClientState-> chokedcommands <maxChoke)
        g_send_packet = false;
    else
        g_send_packet = true;

}
lby breaker
C++:
 void antiaim :: PredictLbyUpdate ()
{
    if (! g_pLocalPlayer-> get_alive () || (* g_ppGameRules) -> m_bFreezePeriod ()) // no point running this if we dead
        return;
    // predict lby updates and help with chokes

    const auto ticks // = whatever u want to use

    static float m_flNextLBYUpdateTime = 0.f;

    auto animstate = g_pLocalPlayer-> m_flAnimState ();
    if (! animstate)
        return;

    if (animstate-> m_velocity> 0.1f || fabs (animstate-> flUpVelocity)> 100.f)
        m_flNextLBYUpdateTime = ticks + 0.22f;
    else
    {
        if (ticks> m_flNextLBYUpdateTime) {// break our lby and tell our handle chokes to choke
            m_flNextLBYUpdateTime = ticks + 1.1f;
            SetShouldChoke (true);
            m_bBreakLby = true;
        }
        // we wanna pre break exacly 1 tick after our lby update
        // pre-flick our lby and tell our handle chokes to choke
        else if (! m_bBreakLby && ticks + ticks_to_time (1)> m_flNextLBYUpdateTime) {
            SetShouldChoke (true);
            m_bpreBreak = true;
        }
        // run our fake exacly after our breaks / pre break
        else if (ticks + ticks_to_time (2)> m_flNextLBYUpdateTime)
        {
            SetShouldChoke (false);
        }
    }
}
in the .hpp
C++:
 // handle choke crap
    bool m_bNextShouldChoke = false;
    bool m_bShouldChoke = false;

    void SetNextShouldChoke (bool choke) {m_bNextShouldChoke = choke; }
    bool ShouldChokeNext () const {return m_bNextShouldChoke; }
    void SetShouldChoke (bool choke) {m_bShouldChoke = choke; }
    bool ShouldChoke () const {return m_bShouldChoke; }

    // lby crap
    bool m_bBreakLby;
    bool m_bpreBreak;
 
AntiAim Architect
Пользователь
Статус
Оффлайн
Регистрация
27 Июл 2019
Сообщения
78
Реакции[?]
90
Поинты[?]
0
can i sex you now rimiru?

+rep for quality post
 
Thigh destr0yer
Пользователь
Статус
Оффлайн
Регистрация
25 Ноя 2019
Сообщения
272
Реакции[?]
68
Поинты[?]
0
now this.... this is HOT
 
Участник
Статус
Оффлайн
Регистрация
2 Фев 2020
Сообщения
821
Реакции[?]
380
Поинты[?]
0
зачем... но не плохо
 

Вложения

Забаненный
Статус
Оффлайн
Регистрация
19 Июн 2020
Сообщения
127
Реакции[?]
31
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Good post)
Thx
 
Забаненный
Статус
Оффлайн
Регистрация
22 Июл 2020
Сообщения
112
Реакции[?]
105
Поинты[?]
1K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
So at this point you are just posting open source snippets?
 
Начинающий
Статус
Оффлайн
Регистрация
21 Ноя 2018
Сообщения
68
Реакции[?]
3
Поинты[?]
0
people wanted the desync etc from mutiny so i spent 10 secs doing this cuz the lby part for mutiny is so messy and unclean all they have to do now is the desync part was is not hard at all
"people wanted the desync etc from mutiny"
so you decide to release the lby breaker :openmouth::openmouth::openmouth::openmouth::openmouth:

they wanted the desync from mutiny. therefore i didnt release it, so all they have to do now is the desync part thats not hard at all
 
Сверху Снизу