Исходник P2C resolver. Easy to paste

Начинающий
Статус
Оффлайн
Регистрация
21 Фев 2019
Сообщения
7
Реакции[?]
2
Поинты[?]
0
Me and my friend wanted to find a new and better way to resolve. And we did indeed find a better way to resolve. After reversing csgo's engine.dll and penguware dump we found some useful stuff and wrote this god tier resolver. After testing and ripping heads we decided to post this. Please do not abuse our resolver too much ty :D

Пожалуйста, авторизуйтесь для просмотра ссылки.

This is my take
Resolver:
    // getting propper values
    auto pAnimstate = pEntity->GetAnimationState(); if (!pAnimstate) return;
    // save old goalfeet yaw
    auto flOldGoalFeetYaw = pAnimstate->flGoalFeetYaw;
    // save old eye angles
    auto angOldEyeAngles = pEntity->GetEyeAngles();
    // get max desync delta
    auto flMaxDesync = CAntiAim::Get().GetMaxDesyncDelta(pAnimstate);
    // get max desync delta when breaking the lower body
    auto flMaxDesyncLby = CAntiAim::Get().GetMaxDesyncDelta(pAnimstate) * 2;
    // check if player has low delta
    auto bHasLowDelta = pEntity->GetVelocity().Length2D() > pEntity->GetMaxSpeed() / 6.99;
   
    // get our weapon
    auto pWeapon = G::pLocal->GetWeapon(); if (pWeapon == nullptr) return;

    // adjusting desync based on delta
    if (bHasLowDelta) flMaxDesync = flMaxDesync / 2;
       
    // adjusting desync based on delta
    if (bHasLowDelta) flMaxDesyncLby = flMaxDesyncLby / 2;
   
    // let's count missed shots
    auto iMissedShots = 0;

    // increment
    if (G::pLocal->CanShoot(static_cast<CWeaponCSBase*>(pWeapon)) && (G::pCmd->iButtons & IN_ATTACK)) iMissedShots = iMissedShots + 1;
   
    // Corrected angles
    auto flCorrectDesyncRange = 0.f; auto flPitchCorrection = 0.f; auto flRollCorrection = 0.f;

    switch (iMissedShots)
    {
    case 0:
            flCorrectDesyncRange = M::RandomFloat(0, CAntiAim::Get().GetMaxDesyncDelta(pAnimstate) * 2 / 4); flMaxDesync = M::RandomFloat(flMaxDesync, flCorrectDesyncRange); // GG Kiddo, you got tapped
        break;
            case 1:
                    flCorrectDesyncRange = M::RandomFloat(0, pEntity->GetMaxSpeed()); if (flCorrectDesyncRange > 32) flMaxDesync = 25.f; if (flCorrectDesyncRange > 82) flMaxDesync = 73.f; if (flCorrectDesyncRange > 132) flMaxDesync = 43.f; if (flCorrectDesyncRange > 50) flMaxDesync = 55.f; if (flCorrectDesyncRange > 250) flMaxDesync = 1.f; flMaxDesync = M::RandomFloat(flMaxDesync, flCorrectDesyncRange);  // GG Kiddo, you lucky bitch, you get tapped this time though
                break;
                    case 2:
                            flPitchCorrection = M::RandomFloat(-1935.f, 1935.f); pEntity->GetEyeAngles().x + flPitchCorrection;// at this point they must be fake pitching so let's fix that
                        break;
                            case 3:
                                    flPitchCorrection = M::RandomFloat(-1935.f, 1935.f); pEntity->GetEyeAngles().x - flPitchCorrection; // ig they are fake pitching in the other direction
                                break;
                                    case 4:
                                            flRollCorrection = M::RandomFloat(-45, 45.); pEntity->GetEyeAngles().z + flRollCorrection; // they are using extended desync cus gey
                                        break;
                                            case 5:
                                                    flRollCorrection = M::RandomFloat(-45, 45.); pEntity->GetEyeAngles().z - flRollCorrection; // they are extending in the other direction
                                                break;
                                                    default:
                                                        pAnimstate->flGoalFeetYaw = flOldGoalFeetYaw; pEntity->GetEyeAngles() = angOldEyeAngles;

    }

    // Reset missed shots
    if (iMissedShots == 6) iMissedShots = 0;

    // esoterik doesn't even stand a chance against this bitch
    if (pAnimstate->flGoalFeetYaw > 1.f) pAnimstate->flGoalFeetYaw = -flMaxDesync;    else if (pAnimstate->flGoalFeetYaw == 0.f) pAnimstate->flGoalFeetYaw = -flMaxDesyncLby;
    if (pAnimstate->flGoalFeetYaw < 1.f) pAnimstate->flGoalFeetYaw = +flMaxDesync; else if (pAnimstate->flGoalFeetYaw == -0.f) pAnimstate->flGoalFeetYaw = +flMaxDesyncLby;
           
    // eso cheat dog tapped ez laff hdf nn fag

    /* if u doing this u minimal need to know basis of c++ and how game works and here i can't be helpful cuz ways of resolve always updates and changes */
This is my friend's take at it
Resolver:
    auto AnimState = pPlayer->m_PlayerAnimStateCSGO();

    if (!AnimState)
        return;

    auto flOldGoalFootYaw = AnimState->m_flFootYaw;
    auto flOldEyeAngles = pPlayer->m_angEyeAngles();
    // Fetching proper values from CS:GO CODE!
    float maximum_desync = pPlayer->GetAbsoluteMaximumDesync();

    float maximum_desync_lby = pPlayer->GetAbsoluteMaximumDesync() * 2;
    auto low_delta = pPlayer->m_vecVelocity().Length() > pPlayer->GetMaxPlayerSpeed() / 6.99;

    // superior low_delta check, adjusting desync based on delta!
    if (low_delta)
        maximum_desync = maximum_desync / 2;
    if (low_delta)
        maximum_desync_lby = maximum_desync_lby / 2;



    auto missed_shots = 0;

    if (g_sdk.local->CanFire(true))
        missed_shots = missed_shots +1;


    switch (missed_shots)
    {
    case 0:
        float random_value = g_Tools->RandomFloat(0, pPlayer->GetAbsoluteMaximumDesync() * 2 / 4); // proper checks!
        maximum_desync = g_Tools->RandomFloat(maximum_desync, random_value); // gg kiddo, dont even need case 1;
        break;
    case 1:
        float random_value = g_Tools->RandomFloat(0, pPlayer->GetMaxPlayerSpeed()); // proper checks!
        if (random_value > 33)
            maximum_desync = 25.f;
        if (random_value > 82)
            maximum_desync = 73.f;
        if (random_value > 132)
            maximum_desync = 43.f;
        if (random_value > 50)
            maximum_desync = 55.f;
        if (random_value > 250)
            maximum_desync = 1.f;
        break;
    case 2:
        float flPitchCorrection = g_Tools->RandomFloat(-1935.f, 1935.f); // their fake pitching, proper fix here.
        pPlayer->m_angEyeAngles().pitch + flPitchCorrection;
        break;
    case 3:
        float flPitchCorrection = g_Tools->RandomFloat(-1935.f, 1935.f); // their faking pitching, the fake pitch!
        pPlayer->m_angEyeAngles().pitch - flPitchCorrection;
        break;
    case 4:
        float flRollCorrection = g_Tools->RandomFloat(-45.f, 45.f); // their rolling, like toilet paper
        pPlayer->m_angEyeAngles().roll + flRollCorrection;
        break;
    case 5:
        float flRollCorrection = g_Tools->RandomFloat(-45.f, 45.f); // they paper rolled the other way!
        pPlayer->m_angEyeAngles().roll - flRollCorrection;
        break;
    default:
        pPlayer->m_angEyeAngles() = flOldEyeAngles;
        AnimState->m_flFootYaw = flOldGoalFootYaw;
        break;
    }


    if (missed_shots == 69)
        missed_shots = 0;

    // dont touch its superior checks!
        //if negative
    if (AnimState->m_flFootYaw > 1.f)
        AnimState->m_flFootYaw = -maximum_desync;
    else if (AnimState->m_flFootYaw == 0.f)
        AnimState->m_flFootYaw = -maximum_desync_lby;
    // dont touch its superior checks!
        //if positive
    if (AnimState->m_flFootYaw < 1.f)
        AnimState->m_flFootYaw = +maximum_desync;
    else if (AnimState->m_flFootYaw == -0.f)
        AnimState->m_flFootYaw = +maximum_desync_lby;


    //     WHERE YOU AT ESO?, 1v1 ME!
 
кто читает тот умрет
Участник
Статус
Оффлайн
Регистрация
29 Июл 2019
Сообщения
696
Реакции[?]
541
Поинты[?]
154K
bRO YOu Are sO fUNNY PosTEd CrInGE WiTh RandOm vAlUes fOr TrOLL sTo000pid NEwCOmmerS oMg ReallY hOt :roflanEbalo:
 
Эксперт
Статус
Оффлайн
Регистрация
30 Дек 2019
Сообщения
1,967
Реакции[?]
958
Поинты[?]
19K
// get max desync delta when breaking the lower body auto flMaxDesyncLby = CAntiAim::Get().GetMaxDesyncDelta(pAnimstate) * 2;
Что это? С каких пор лбу равен макс дельте * 2?
auto bHasLowDelta = pEntity->GetVelocity().Length2D() > pEntity->GetMaxSpeed() / 6.99;
Детектить лоудельту по велосити, ммммм... дайте две
if (G::pLocal->CanShoot(static_cast<CWeaponCSBase*>(pWeapon)) && (G::pCmd->iButtons & IN_ATTACK)) iMissedShots = iMissedShots + 1;
Это вообще пиздец, а если ты нашел правильный угол и не убил первой пулей?
switch (iMissedShots) { case 0: flCorrectDesyncRange = M::RandomFloat(0, CAntiAim::Get().GetMaxDesyncDelta(pAnimstate) * 2 / 4); flMaxDesync = M::RandomFloat(flMaxDesync, flCorrectDesyncRange); // GG Kiddo, you got tapped break; case 1: flCorrectDesyncRange = M::RandomFloat(0, pEntity->GetMaxSpeed()); if (flCorrectDesyncRange > 32) flMaxDesync = 25.f; if (flCorrectDesyncRange > 82) flMaxDesync = 73.f; if (flCorrectDesyncRange > 132) flMaxDesync = 43.f; if (flCorrectDesyncRange > 50) flMaxDesync = 55.f; if (flCorrectDesyncRange > 250) flMaxDesync = 1.f; flMaxDesync = M::RandomFloat(flMaxDesync, flCorrectDesyncRange); // GG Kiddo, you lucky bitch, you get tapped this time though break; case 2: flPitchCorrection = M::RandomFloat(-1935.f, 1935.f); pEntity->GetEyeAngles().x + flPitchCorrection;// at this point they must be fake pitching so let's fix that break; case 3: flPitchCorrection = M::RandomFloat(-1935.f, 1935.f); pEntity->GetEyeAngles().x - flPitchCorrection; // ig they are fake pitching in the other direction break; case 4: flRollCorrection = M::RandomFloat(-45, 45.); pEntity->GetEyeAngles().z + flRollCorrection; // they are using extended desync cus gey break; case 5: flRollCorrection = M::RandomFloat(-45, 45.); pEntity->GetEyeAngles().z - flRollCorrection; // they are extending in the other direction break; default: pAnimstate->flGoalFeetYaw = flOldGoalFeetYaw; pEntity->GetEyeAngles() = angOldEyeAngles; }
пиздец...
 
gone
Забаненный
Статус
Оффлайн
Регистрация
8 Апр 2021
Сообщения
285
Реакции[?]
166
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Me and my friend wanted to find a new and better way to resolve. And we did indeed find a better way to resolve. After reversing csgo's engine.dll and penguware dump we found some useful stuff and wrote this god tier resolver. After testing and ripping heads we decided to post this. Please do not abuse our resolver too much ty :D

Пожалуйста, авторизуйтесь для просмотра ссылки.

This is my take
Resolver:
    // getting propper values
    auto pAnimstate = pEntity->GetAnimationState(); if (!pAnimstate) return;
    // save old goalfeet yaw
    auto flOldGoalFeetYaw = pAnimstate->flGoalFeetYaw;
    // save old eye angles
    auto angOldEyeAngles = pEntity->GetEyeAngles();
    // get max desync delta
    auto flMaxDesync = CAntiAim::Get().GetMaxDesyncDelta(pAnimstate);
    // get max desync delta when breaking the lower body
    auto flMaxDesyncLby = CAntiAim::Get().GetMaxDesyncDelta(pAnimstate) * 2;
    // check if player has low delta
    auto bHasLowDelta = pEntity->GetVelocity().Length2D() > pEntity->GetMaxSpeed() / 6.99;
  
    // get our weapon
    auto pWeapon = G::pLocal->GetWeapon(); if (pWeapon == nullptr) return;

    // adjusting desync based on delta
    if (bHasLowDelta) flMaxDesync = flMaxDesync / 2;
      
    // adjusting desync based on delta
    if (bHasLowDelta) flMaxDesyncLby = flMaxDesyncLby / 2;
  
    // let's count missed shots
    auto iMissedShots = 0;

    // increment
    if (G::pLocal->CanShoot(static_cast<CWeaponCSBase*>(pWeapon)) && (G::pCmd->iButtons & IN_ATTACK)) iMissedShots = iMissedShots + 1;
  
    // Corrected angles
    auto flCorrectDesyncRange = 0.f; auto flPitchCorrection = 0.f; auto flRollCorrection = 0.f;

    switch (iMissedShots)
    {
    case 0:
            flCorrectDesyncRange = M::RandomFloat(0, CAntiAim::Get().GetMaxDesyncDelta(pAnimstate) * 2 / 4); flMaxDesync = M::RandomFloat(flMaxDesync, flCorrectDesyncRange); // GG Kiddo, you got tapped
        break;
            case 1:
                    flCorrectDesyncRange = M::RandomFloat(0, pEntity->GetMaxSpeed()); if (flCorrectDesyncRange > 32) flMaxDesync = 25.f; if (flCorrectDesyncRange > 82) flMaxDesync = 73.f; if (flCorrectDesyncRange > 132) flMaxDesync = 43.f; if (flCorrectDesyncRange > 50) flMaxDesync = 55.f; if (flCorrectDesyncRange > 250) flMaxDesync = 1.f; flMaxDesync = M::RandomFloat(flMaxDesync, flCorrectDesyncRange);  // GG Kiddo, you lucky bitch, you get tapped this time though
                break;
                    case 2:
                            flPitchCorrection = M::RandomFloat(-1935.f, 1935.f); pEntity->GetEyeAngles().x + flPitchCorrection;// at this point they must be fake pitching so let's fix that
                        break;
                            case 3:
                                    flPitchCorrection = M::RandomFloat(-1935.f, 1935.f); pEntity->GetEyeAngles().x - flPitchCorrection; // ig they are fake pitching in the other direction
                                break;
                                    case 4:
                                            flRollCorrection = M::RandomFloat(-45, 45.); pEntity->GetEyeAngles().z + flRollCorrection; // they are using extended desync cus gey
                                        break;
                                            case 5:
                                                    flRollCorrection = M::RandomFloat(-45, 45.); pEntity->GetEyeAngles().z - flRollCorrection; // they are extending in the other direction
                                                break;
                                                    default:
                                                        pAnimstate->flGoalFeetYaw = flOldGoalFeetYaw; pEntity->GetEyeAngles() = angOldEyeAngles;

    }

    // Reset missed shots
    if (iMissedShots == 6) iMissedShots = 0;

    // esoterik doesn't even stand a chance against this bitch
    if (pAnimstate->flGoalFeetYaw > 1.f) pAnimstate->flGoalFeetYaw = -flMaxDesync;    else if (pAnimstate->flGoalFeetYaw == 0.f) pAnimstate->flGoalFeetYaw = -flMaxDesyncLby;
    if (pAnimstate->flGoalFeetYaw < 1.f) pAnimstate->flGoalFeetYaw = +flMaxDesync; else if (pAnimstate->flGoalFeetYaw == -0.f) pAnimstate->flGoalFeetYaw = +flMaxDesyncLby;
          
    // eso cheat dog tapped ez laff hdf nn fag

    /* if u doing this u minimal need to know basis of c++ and how game works and here i can't be helpful cuz ways of resolve always updates and changes */
This is my friend's take at it
Resolver:
    auto AnimState = pPlayer->m_PlayerAnimStateCSGO();

    if (!AnimState)
        return;

    auto flOldGoalFootYaw = AnimState->m_flFootYaw;
    auto flOldEyeAngles = pPlayer->m_angEyeAngles();
    // Fetching proper values from CS:GO CODE!
    float maximum_desync = pPlayer->GetAbsoluteMaximumDesync();

    float maximum_desync_lby = pPlayer->GetAbsoluteMaximumDesync() * 2;
    auto low_delta = pPlayer->m_vecVelocity().Length() > pPlayer->GetMaxPlayerSpeed() / 6.99;

    // superior low_delta check, adjusting desync based on delta!
    if (low_delta)
        maximum_desync = maximum_desync / 2;
    if (low_delta)
        maximum_desync_lby = maximum_desync_lby / 2;



    auto missed_shots = 0;

    if (g_sdk.local->CanFire(true))
        missed_shots = missed_shots +1;


    switch (missed_shots)
    {
    case 0:
        float random_value = g_Tools->RandomFloat(0, pPlayer->GetAbsoluteMaximumDesync() * 2 / 4); // proper checks!
        maximum_desync = g_Tools->RandomFloat(maximum_desync, random_value); // gg kiddo, dont even need case 1;
        break;
    case 1:
        float random_value = g_Tools->RandomFloat(0, pPlayer->GetMaxPlayerSpeed()); // proper checks!
        if (random_value > 33)
            maximum_desync = 25.f;
        if (random_value > 82)
            maximum_desync = 73.f;
        if (random_value > 132)
            maximum_desync = 43.f;
        if (random_value > 50)
            maximum_desync = 55.f;
        if (random_value > 250)
            maximum_desync = 1.f;
        break;
    case 2:
        float flPitchCorrection = g_Tools->RandomFloat(-1935.f, 1935.f); // their fake pitching, proper fix here.
        pPlayer->m_angEyeAngles().pitch + flPitchCorrection;
        break;
    case 3:
        float flPitchCorrection = g_Tools->RandomFloat(-1935.f, 1935.f); // their faking pitching, the fake pitch!
        pPlayer->m_angEyeAngles().pitch - flPitchCorrection;
        break;
    case 4:
        float flRollCorrection = g_Tools->RandomFloat(-45.f, 45.f); // their rolling, like toilet paper
        pPlayer->m_angEyeAngles().roll + flRollCorrection;
        break;
    case 5:
        float flRollCorrection = g_Tools->RandomFloat(-45.f, 45.f); // they paper rolled the other way!
        pPlayer->m_angEyeAngles().roll - flRollCorrection;
        break;
    default:
        pPlayer->m_angEyeAngles() = flOldEyeAngles;
        AnimState->m_flFootYaw = flOldGoalFootYaw;
        break;
    }


    if (missed_shots == 69)
        missed_shots = 0;

    // dont touch its superior checks!
        //if negative
    if (AnimState->m_flFootYaw > 1.f)
        AnimState->m_flFootYaw = -maximum_desync;
    else if (AnimState->m_flFootYaw == 0.f)
        AnimState->m_flFootYaw = -maximum_desync_lby;
    // dont touch its superior checks!
        //if positive
    if (AnimState->m_flFootYaw < 1.f)
        AnimState->m_flFootYaw = +maximum_desync;
    else if (AnimState->m_flFootYaw == -0.f)
        AnimState->m_flFootYaw = +maximum_desync_lby;


    //     WHERE YOU AT ESO?, 1v1 ME!
no wonder agony and exp0sure were a mistake, the dev himself is a mistake
 
Начинающий
Статус
Оффлайн
Регистрация
17 Дек 2018
Сообщения
116
Реакции[?]
5
Поинты[?]
0
Что это? С каких пор лбу равен макс дельте * 2?

Детектить лоудельту по велосити, ммммм... дайте две

Это вообще пиздец, а если ты нашел правильный угол и не убил первой пулей?

пиздец...
1. The post is a troll post, idk why you're replying.
2. The post is in english, why tf are you replying in russian?
 
Начинающий
Статус
Оффлайн
Регистрация
17 Дек 2018
Сообщения
116
Реакции[?]
5
Поинты[?]
0
sure man. The post is in english which means that the poster does not know russian. Why reply and criticize in Russian then? Why does it matter if the forum is Russian or not? What's the point of quoting the poster and giving criticism if the poster can't understand it?
 
gone
Забаненный
Статус
Оффлайн
Регистрация
8 Апр 2021
Сообщения
285
Реакции[?]
166
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Эксперт
Статус
Оффлайн
Регистрация
30 Дек 2019
Сообщения
1,967
Реакции[?]
958
Поинты[?]
19K
The post is in english, why tf are you replying in russian?
Dude, that russian forum, and i am can replying in russian
Or do you disagree?
sure man. The post is in english which means that the poster does not know russian. Why reply and criticize in Russian then? Why does it matter if the forum is Russian or not? What's the point of quoting the poster and giving criticism if the poster can't understand it?
This is his problem, he doesn’t understand, let him translate, I can also ask why he writes in English, maybe I don’t understand him?
1. The post is a troll post, idk why you're replying.
Where did you get the idea that you need to post this here? This is not a group with memes

Ебать я инглиш мен канешн
 
Последнее редактирование:
gone
Забаненный
Статус
Оффлайн
Регистрация
8 Апр 2021
Сообщения
285
Реакции[?]
166
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
gone
Забаненный
Статус
Оффлайн
Регистрация
8 Апр 2021
Сообщения
285
Реакции[?]
166
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Сверху Снизу