Chris (NuII on UC) resolver [NEW]

Начинающий
Статус
Оффлайн
Регистрация
9 Сен 2019
Сообщения
3
Реакции[?]
6
Поинты[?]
0
C++:
    auto anim_state = ent->AnimState();

    auto layer = ent->AnimOverlays();

    static bool side[65];

    staticfloat_t old_weight[65];

    float resolve_yaw;

    auto eye_yaw = anim_state->m_flEyeYaw;

    if (layer[3].m_flCycle == 0.f && layer[3].m_flWeight == 0.f)

        resolve_yaw = eye_yaw + 60;

    if (layer[3].m_flCycle == 0.012329f && layer[3].m_flWeight == 0.043137f)

        resolve_yaw = eye_yaw - 60;

    if (anim_state->speed_2d > 0.1f) {

        old_weight[ent->EntIndex()] = layer[6].m_flWeight;

        if (layer[6].m_flWeight = !old_weight[ent->EntIndex()])

            resolve_yaw = eye_yaw + 60;

    }

    if (resolve_yaw == 0) {

        resolve_yaw = eye_yaw + (side ? desync_delta(ent) : -desync_delta(ent));

        if (obam::globals::missed_last_shot)

            side[ent->EntIndex()] = !side[ent->EntIndex()];

    }
    else anim_state->m_flGoalFeetYaw = resolve_yaw;
 
Последнее редактирование модератором:
Пользователь
Статус
Оффлайн
Регистрация
12 Янв 2018
Сообщения
54
Реакции[?]
116
Поинты[?]
1K
this code has some antipasta, will not work at all when player moving
 
Последнее редактирование:
Новичок
Статус
Оффлайн
Регистрация
8 Июл 2018
Сообщения
2
Реакции[?]
0
Поинты[?]
0
[QUOTE = "anarh1st47, post: 1057894, member: 61394"]
this code has some antipasta, will not work at all when player moving
[/ QUOTE]
Yep, but also this entire resolver (for the most part) is antipaste, this was made in about 5 minutes to give an example to a friend. And doesn't work well, quantiom decided to hack his own friend and download his DMs. This is what I get for trying to help someone by giving them a few magic nums.
 
Начинающий
Статус
Оффлайн
Регистрация
9 Сен 2019
Сообщения
3
Реакции[?]
6
Поинты[?]
0
[QUOTE = "NuII, post: 1057999, member: 86188"]
[QUOTE = "anarh1st47, post: 1057894, member: 61394"]
this code has some antipasta, will not work at all when player moving
[/ QUOTE]
Yep, but also this entire resolver (for the most part) is antipaste, this was made in about 5 minutes to give an example to a friend. And doesn't work well, [USER = 73963] quantiom [/ USER] decided to hack his own friend and download his DMs. This is what I get for trying to help someone by giving them a few magic nums.
[/ QUOTE]
Wrong. This is NuII on UC "Chris" Resolver, not you.
 
Сверху Снизу