C++ Supremacy [Legacy] OnRenderStart Fix

Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
Supremacy has a problem with OnRenderStart, pasters seem to have no clue how to fix the crashing if scoped and in warmup so here is a fix.


C++:
void Hooks::OnRenderStart() {
    g_hooks.m_view_render.GetOldMethod<OnRenderStart_t>(CViewRender::ONRENDERSTART)(this);

    if (g_menu.main.visuals.fov.get()) {
        if (g_cl.m_local && g_cl.m_local->m_bIsScoped()) {
            if (g_menu.main.visuals.fov_scoped.get()) {
                Weapon* activeWeapon = g_cl.m_local->GetActiveWeapon();
                if (activeWeapon) {
                    int zoomLevel = activeWeapon->m_zoomLevel();
                    if (zoomLevel != 2) {
                        g_csgo.m_view_render->m_view.m_fov = g_menu.main.visuals.fov_amt.get();
                    }
                    else {
                        g_csgo.m_view_render->m_view.m_fov += 45.f;
                    }
                }
            }
        }
        else {
            g_csgo.m_view_render->m_view.m_fov = g_menu.main.visuals.fov_amt.get();
        }
    }

    if (g_menu.main.visuals.viewmodel_fov.get()) {
        g_csgo.m_view_render->m_view.m_viewmodel_fov = g_menu.main.visuals.viewmodel_fov_amt.get();
    }
}
 
Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
this has been leaked for like 2 years lol
Now this is funny because I created that code? Maybe other fixes like mine but I haven't seen a single fix in any of the pasted sources out here.


OnRenderView seems to not Crash
If you habe the base OnRenderView and go in to a server that is on warmup have FOV on and scope then die you will crash. This is a fix for it.
 
Участник
Статус
Оффлайн
Регистрация
8 Ноя 2019
Сообщения
1,091
Реакции[?]
202
Поинты[?]
10K
??? Insane fix all you did was add weapon check and now you're flexing about 'creating that code' lol man you're really lame
 
Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
??? Insane fix all you did was add weapon check and now you're flexing about 'creating that code' lol man you're really lame
It fixes the problem? Super simple I know but yet not a single public supremacy paste have a fix for this? I have much more code I might release so these supremacy pasters can make their cheat look cool and perform good.
 
Участник
Статус
Оффлайн
Регистрация
8 Ноя 2019
Сообщения
1,091
Реакции[?]
202
Поинты[?]
10K
It fixes the problem? Super simple I know but yet not a single public supremacy paste have a fix for this? I have much more code I might release so these supremacy pasters can make their cheat look cool and perform good.
Godhook already had that fixed. And you're paster on your own seeming so. You didn't even think about using g_cl.m_weapon instead of redefiniting the weapon check. Would be easier x100.
 
Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
Godhook already had that fixed. And you're paster on your own seeming so. You didn't even think about using g_cl.m_weapon instead of redefiniting the weapon check. Would be easier x100.
Godhook? Must be your shit paste cus I've never heard of it. Using g_cl.m_weapon is just another way do achieve the same thing but there is no improvement to the code at all but sure. I'll let you pasters paste in my code for then to insult me, it's ok I already know your using my code...

You comment allot on code with nothing more then just words. You've produced to give allot of wrong answers and not seeming to understand the basics of code nor csgo cheats. So I wish you all the luck in this world paster.
 
Эксперт
Статус
Оффлайн
Регистрация
7 Сен 2019
Сообщения
2,106
Реакции[?]
984
Поинты[?]
88K
Godhook? Must be your shit paste cus I've never heard of it. Using g_cl.m_weapon is just another way do achieve the same thing but there is no improvement to the code at all but sure. I'll let you pasters paste in my code for then to insult me, it's ok I already know your using my code...

You comment allot on code with nothing more then just words. You've produced to give allot of wrong answers and not seeming to understand the basics of code nor csgo cheats. So I wish you all the luck in this world paster.
Talking shit whilst being a paster on ur own... You're mentally insane. If you have not heard of godhook then you're a literal newfag, the cheat was famous, and was actually good before it got leaked.


Even though he gave wrong answers about a few topics with code that means nothing. Well as you're as much as a good coder, why do we not see your actual good posts with actually selfcoded code, and not some 1 line fixes? Why are you acting big when you're shitting urself ? You're literal insane paster. Stop talking.

Just so you know. You don't even have sanity checks in ur hooks. Enjoy crashes. Paster;
 
Участник
Статус
Оффлайн
Регистрация
6 Апр 2021
Сообщения
338
Реакции[?]
207
Поинты[?]
113K
I still cant understand you people, ok i caught you, you can write a line of code to fix a simple crash, thats the most basic stuff ever you could do, any paster can do a simple check, stop acting like a coder when you cant even code a simple aimbot or anything else, thats all i had to say
 
Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
Talking shit whilst being a paster on ur own... You're mentally insane. If you have not heard of godhook then you're a literal newfag, the cheat was famous, and was actually good before it got leaked.


Even though he gave wrong answers about a few topics with code that means nothing. Well as you're as much as a good coder, why do we not see your actual good posts with actually selfcoded code, and not some 1 line fixes? Why are you acting big when you're shitting urself ? You're literal insane paster. Stop talking.

Just so you know. You don't even have sanity checks in ur hooks. Enjoy crashes. Paster;
Calling me a new fag xD Yougame is to funny pasters with nothing more then just words always profiles with 0 code commenting shit, fixing something that no supremacy paste have to help people of course I have no clue what I'm doing. Maybe I released a 1 line fix cuz that's all that's needed? I have sanity checks on my hooks but why would I release that here? It's another topic? Pasters have such a big mouth before even thinking. This thread is just for people who have this exact crash problem nothing more.

Next time think before you start typing...

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


I still cant understand you people, ok i caught you, you can write a line of code to fix a simple crash, thats the most basic stuff ever you could do, any paster can do a simple check, stop acting like a coder when you cant even code a simple aimbot or anything else, thats all i had to say
I have done multipole cheats from scratch I've created code that allot of people to this day still use I go under a new name and release something I've seen no one has in their cheat. Maybe some few cheats that are private have a fix for this problem but 99% of the pastes out here don't. I'll never understand Yougame pasters not understanding that this thread is just for this specific thing.

This is why I usually only post on unknowncheats where all normal people are but there is no legacy there but there is here.
 
@extrapink tg
Забаненный
Статус
Оффлайн
Регистрация
24 Окт 2019
Сообщения
256
Реакции[?]
139
Поинты[?]
9K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Calling me a new fag xD Yougame is to funny pasters with nothing more then just words always profiles with 0 code commenting shit, fixing something that no supremacy paste have to help people of course I have no clue what I'm doing. Maybe I released a 1 line fix cuz that's all that's needed? I have sanity checks on my hooks but why would I release that here? It's another topic? Pasters have such a big mouth before even thinking. This thread is just for people who have this exact crash problem nothing more.

Next time think before you start typing...

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




I have done multipole cheats from scratch I've created code that allot of people to this day still use I go under a new name and release something I've seen no one has in their cheat. Maybe some few cheats that are private have a fix for this problem but 99% of the pastes out here don't. I'll never understand Yougame pasters not understanding that this thread is just for this specific thing.

This is why I usually only post on unknowncheats where all normal people are but there is no legacy there but there is here.
sorry not sorry, but he indeed has code related comments :flushed: as example: https://yougame.biz/threads/224112/ https://yougame.biz/threads/226988/
hehe now you can simply shut ur mouth since you're a lame paster flexing sanity checks saying 'why would i release it here' :cry: lamee search for a grip buddy
ah yes about '200iq fix xD' you can't even take common sense jokes... well you're indeed lame and conversation with you is useless. nolife paster.
sad thing that anton chaplin made more money and also code content than ur family in ur entire existence...
 
Последнее редактирование:
Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
sorry not sorry, but he indeed has code related comments :flushed: as example: https://yougame.biz/threads/224112/ https://yougame.biz/threads/226988/ hehe now you can simply shut ur mouth since you're a lame paster flexing sanity checks saying 'why would i release it here' :cry: lamee search for a grip buddy ah yes about '200iq fix xD' you can't even take common sense jokes... well you're indeed lame and conversation with you is useless. nolife paster. sad thing that anton chaplin made more money and also code content than ur family in ur entire existence...
so you referred shit pastes with shit code that is crazy my guy! Next time get some reps on unkowncheats before you start talking xD and the comment he made was 100% serious. Imagine trying to defend a paster cuz no one of you could fix this crash problem before me sad.

" you're a lame paster flexing sanity checks saying 'why would i release it here" Yeah why would I you know how to read? right? does it say supremacy sanity checks for hooks in title? No? oh shit...

Пожалуйста, авторизуйтесь для просмотра ссылки.
oh it's this guy xD imagine having IDA file and you have no clue how to use it.


C++:
    if (g_cl.m_weapon_id == GLOCK || g_cl.m_weapon_id == P2000 || g_cl.m_weapon_id == USPS || g_cl.m_weapon_id == ELITE || g_cl.m_weapon_id == P250 || g_cl.m_weapon_id == TEC9 || g_cl.m_weapon_id == CZ75A)
        hc = g_config.i["pistols_hc"];
    else if (g_cl.m_weapon_id == SSG08)
        hc = g_config.i["scout_hc"];
    else if (g_cl.m_weapon_id == G3SG1 || g_cl.m_weapon_id == SCAR20)
        hc = g_config.i["autosniper_hc"];
    else if (g_cl.m_weapon_id == AWP)
        hc = g_config.i["awp_hc"];
    else if (g_cl.m_weapon_id == DEAGLE || g_cl.m_weapon_id == REVOLVER)
        hc = g_config.i["heavy_pistols_hc"];
    else
        hc = g_config.i["general_hc"];
I found some more of your code


C++:
    if (g_cl.m_weapon_id == GLOCK || g_cl.m_weapon_id == P2000 || g_cl.m_weapon_id == USPS || g_cl.m_weapon_id == ELITE || g_cl.m_weapon_id == P250 || g_cl.m_weapon_id == TEC9 || g_cl.m_weapon_id == CZ75A)
        float scale = g_config.i["aimbot_pistols_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == SSG08)
        float scale = g_config.i["aimbot_scout_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == G3SG1 || g_cl.m_weapon_id == SCAR20)
        float scale = g_config.i["aimbot_scar_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == AWP)
        float scale = g_config.i["aimbot_awp_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == DEAGLE || g_cl.m_weapon_id == REVOLVER)
        float scale = g_config.i["aimbot_heavy_pistols_multipoint_scale"] / 100.f;
    else
        float scale = g_config.i["aimbot_general_multipoint_scale"] / 100.f;

    // big inair fix.
    if (!(record->m_pred_flags & FL_ONGROUND))
        scale = 0.7f;

    float bscale = 0.f;

    if (g_cl.m_weapon_id == GLOCK || g_cl.m_weapon_id == P2000 || g_cl.m_weapon_id == USPS || g_cl.m_weapon_id == ELITE || g_cl.m_weapon_id == P250 || g_cl.m_weapon_id == TEC9 || g_cl.m_weapon_id == CZ75A)
        float bscale = g_config.i["aimbot_pistols_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == SSG08)
        float bscale = g_config.i["aimbot_scout_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == G3SG1 || g_cl.m_weapon_id == SCAR20)
        float bscale = g_config.i["aimbot_scar_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == AWP)
        float bscale = g_config.i["aimbot_awp_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == DEAGLE || g_cl.m_weapon_id == REVOLVER)
        float bscale = g_config.i["aimbot_heavy_pistols_body_scale"] / 100.f;
    else
        float bscale = g_config.i["aimbot_general_body_scale"] / 100.f;
Let's check your crash problem?!

C++:
    // call og.
    g_hooks.m_view_render.GetOldMethod< OnRenderStart_t >( CViewRender::ONRENDERSTART )( this );

    if( g_config.b[XOR("effects_fov")]) {
        if( g_cl.m_local && g_cl.m_local->m_bIsScoped( ) ) {
            if(g_config.b[XOR("effects_fov_scoped")]) {
                if( g_cl.m_local->GetActiveWeapon( )->m_zoomLevel( ) != 2 ) {
                    g_csgo.m_view_render->m_view.m_fov = g_config.i[XOR("effects_fov_value")];
                }
                else {
                    g_csgo.m_view_render->m_view.m_fov += 45.f;
                }
            }
        }

        else g_csgo.m_view_render->m_view.m_fov = g_config.i[XOR("effects_fov_value")];
    }

    if( g_config.b[XOR("effects_viewmodel_fov")])
        g_csgo.m_view_render->m_view.m_viewmodel_fov = g_config.i[XOR("effects_viewmodel_fov_value")];

}
OHOH Looks like your supremacy needs a fixcuz we crashing!


C++:
    if (g_cl.m_weapon_id == ZEUS) {
        dmg = pendmg = 110; // 100 and less can have som bugs
        pen = false; // we won't autowall with zeus
    }
    else {

        if (g_aimbot.damage_override) {
            dmg = g_config.i["rage_damageovv_amount"];
            pendmg = g_config.i["rage_damageovv_amount_pen"];
            pen = g_config.b["aimbot_penetration"];
        }

        if (g_cl.m_weapon_id == GLOCK || g_cl.m_weapon_id == P2000 || g_cl.m_weapon_id == USPS || g_cl.m_weapon_id == ELITE || g_cl.m_weapon_id == P250 || g_cl.m_weapon_id == TEC9 || g_cl.m_weapon_id == CZ75A ) {
            dmg = g_config.i["aimbot_minimal_pistols_dmg"];
            if (g_config.b["aimbot_pistols_minimal_dmg_scale"])
                dmg = std::ceil((dmg / 100.f) * hp);

            pendmg = g_config.i["aimbot_minimal_pistols_dmg_pen"];
            if (g_config.b["aimbot_pistols_minimal_dmg_pen_scale"])
                pendmg = std::ceil((pendmg / 100.f) * hp);

            pen = g_config.b["aimbot_penetration"];
        }
        else if (g_cl.m_weapon_id == SSG08) {
            dmg = g_config.i["aimbot_minimal_scout_dmg"];
            if (g_config.b["aimbot_scout_minimal_dmg_scale"])
                dmg = std::ceil((dmg / 100.f) * hp);

            pendmg = g_config.i["aimbot_minimal_scout_dmg_pen"];
            if (g_config.b["aimbot_scout_minimal_dmg_pen_scale"])
                pendmg = std::ceil((pendmg / 100.f) * hp);

            pen = g_config.b["aimbot_penetration"];
        }
        else if (g_cl.m_weapon_id == G3SG1 || g_cl.m_weapon_id == SCAR20) {
            dmg = g_config.i["aimbot_minimal_scar_dmg"];
            if (g_config.b["aimbot_scar_minimal_dmg_scale"])
                dmg = std::ceil((dmg / 100.f) * hp);

            pendmg = g_config.i["aimbot_minimal_scar_dmg_pen"];
            if (g_config.b["aimbot_scar_minimal_dmg_pen_scale"])
                pendmg = std::ceil((pendmg / 100.f) * hp);

            pen = g_config.b["aimbot_penetration"];
        }
        else if (g_cl.m_weapon_id == AWP) {
            dmg = g_config.i["aimbot_minimal_awp_dmg"];
            if (g_config.b["aimbot_awp_minimal_dmg_scale"])
                dmg = std::ceil((dmg / 100.f) * hp);

            pendmg = g_config.i["aimbot_minimal_awp_dmg_pen"];
            if (g_config.b["aimbot_awp_minimal_dmg_pen_scale"])
                pendmg = std::ceil((pendmg / 100.f) * hp);

            pen = g_config.b["aimbot_penetration"];
        }
        else if (g_cl.m_weapon_id == DEAGLE || g_cl.m_weapon_id == REVOLVER) {
            dmg = g_config.i["aimbot_heavy_pistols_minimal_dmg"];
            if (g_config.b["aimbot_heavy_pistols_minimal_dmg_scale"])
                dmg = std::ceil((dmg / 100.f) * hp);

            pendmg = g_config.i["aimbot_heavy_pistols_minimal_dmg_pen"];
            if (g_config.b["aimbot_heavy_pistols_minimal_dmg_pen_scale"])
                pendmg = std::ceil((pendmg / 100.f) * hp);

            pen = g_config.b["aimbot_penetration"];
        }
        else {
            dmg = g_config.i["aimbot_minimal_general_dmg"];
            if (g_config.b["aimbot_general_minimal_dmg_scale"])
                dmg = std::ceil((dmg / 100.f) * hp);

            pendmg = g_config.i["aimbot_minimal_general_dmg_pen"];
            if (g_config.b["aimbot_general_minimal_dmg_pen_scale"])
                pendmg = std::ceil((pendmg / 100.f) * hp);

            pen = g_config.b["aimbot_penetration"];
        }
    }
Some more of YOUGAMES FINEST WORK! xD These are the type of kids commenting on a simple but yet effective fix...xD


C++:
void Movement::QuickStop() {
    if (!(g_cl.m_local->m_fFlags() & FL_ONGROUND))
        return;

    // convert velocity to angular momentum.
    ang_t angle;
    math::VectorAngles(g_cl.m_local->m_vecVelocity(), angle);

    // get our current speed of travel.
    vec3_t vel = g_cl.m_local->m_vecVelocity();
    float speed = vel.length();

    // fix direction by factoring in where we are looking.
    angle.y = g_cl.m_view_angles.y - angle.y;

    // convert corrected angle back to a direction.
    vec3_t direction;
    math::AngleVectors(angle, &direction);

    vec3_t stop = direction * -speed;

    if (g_cl.m_speed < 0.1f)
    {
        g_cl.m_cmd->m_forward_move = 0.f;
        g_cl.m_cmd->m_side_move = 0.f;
        return;
    }

    static auto sv_accelerate = g_csgo.m_cvar->FindVar(HASH("sv_accelerate"));
    float accel = sv_accelerate->GetFloat();
    float max_speed = g_cl.m_local->GetActiveWeapon()->GetWpnData()->m_max_player_speed;

    if (g_cl.m_local->m_bIsScoped()) {
        max_speed = g_cl.m_local->GetActiveWeapon()->GetWpnData()->m_max_player_speed_alt;
    }

    max_speed = std::min< float >(max_speed, 250.f);

    float surf_friction = 1.f;
    float max_accelspeed = accel * g_csgo.m_globals->m_interval * max_speed * surf_friction;

    float wishspeed{ };

    if (speed - max_accelspeed <= -1.f) {
        wishspeed = max_accelspeed / (speed / (accel * g_csgo.m_globals->m_interval));
    }
    else {
        wishspeed = max_accelspeed;
    }

    vec3_t ndir = math::vector_angles(vel * -1.f);
    ndir.y = g_cl.m_cmd->m_view_angles.y - ndir.y;
    ndir = math::angle_vectors(ndir);

    g_cl.m_cmd->m_forward_move = ndir.x * wishspeed * (0.25);
    g_cl.m_cmd->m_side_move = ndir.y * wishspeed * (0.25);
}
WHY EVEN CHECK OUR REAL FRICTION?! Such a waste right?!

It's not like we can do that in supremacy right?

C++:
 friction = g_csgo.sv_friction->GetFloat() * g_cl.m_local->m_surfaceFriction();
Fucking paster...

isn't this your code right?

The point is I did a simple fix SUPER SIMPLE that YOUR cheat doesn't even have and I tested(I CRASHED). So before commenting FIX YOUR SHIT! I didn't even want to start this but you did. I can do the same with anton caplin to!
 
Последнее редактирование:
Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
BLUD, if you have done cheats from scratch you wouldn't be fixing supremacy now would ya?
Of course I would? I got started from doing things like this way back in the days so why not help other people, I have work and so much more in my life today and I've seen legacy and supremacy pastes are a big thing now? So why not in my spare time just have some fun again in fake angles?

This is all to give back to people and yet you have ELSE IF people just spamming your thread begging for more as they don't know shit but instead of asking nice and being like "I have this problem" all these pasters say shit like "WtF MaN YoU No GiBeee SaNiTy ForRR HoKKSS" like wtf man, I fixed a problem I saw allot of these pastes were having?

There are so many more ways you can fix this problem but I saw this and fixed it fast in a way that is reliable and won't really bother anything else is a super simple fix? Not all code have to be 1337 ELiTE PrO Assembly. When pasters and csgo developers understand that that's when you get good cheats like NL and GS with developers who know what they're doing and not just trying to impress that they made an aimbot in 1 line with 1000 characters?
 
@extrapink tg
Забаненный
Статус
Оффлайн
Регистрация
24 Окт 2019
Сообщения
256
Реакции[?]
139
Поинты[?]
9K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Of course I would? I got started from doing things like this way back in the days so why not help other people, I have work and so much more in my life today and I've seen legacy and supremacy pastes are a big thing now? So why not in my spare time just have some fun again in fake angles?

This is all to give back to people and yet you have ELSE IF people just spamming your thread begging for more as they don't know shit but instead of asking nice and being like "I have this problem" all these pasters say shit like "WtF MaN YoU No GiBeee SaNiTy ForRR HoKKSS" like wtf man, I fixed a problem I saw allot of these pastes were having?

There are so many more ways you can fix this problem but I saw this and fixed it fast in a way that is reliable and won't really bother anything else is a super simple fix? Not all code have to be 1337 ELiTE PrO Assembly. When pasters and csgo developers understand that that's when you get good cheats like NL and GS with developers who know what they're doing and not just trying to impress that they made an aimbot in 1 line with 1000 characters?
wrong reverse -rep 1692660007315.png
 
Начинающий
Статус
Оффлайн
Регистрация
10 Апр 2023
Сообщения
77
Реакции[?]
2
Поинты[?]
2K
so you referred shit pastes with shit code that is crazy my guy! Next time get some reps on unkowncheats before you start talking xD and the comment he made was 100% serious. Imagine trying to defend a paster cuz no one of you could fix this crash problem before me sad.

" you're a lame paster flexing sanity checks saying 'why would i release it here" Yeah why would I you know how to read? right? does it say supremacy sanity checks for hooks in title? No? oh shit...

Пожалуйста, авторизуйтесь для просмотра ссылки.
oh it's this guy xD imagine having IDA file and you have no clue how to use it.


C++:
    if (g_cl.m_weapon_id == GLOCK || g_cl.m_weapon_id == P2000 || g_cl.m_weapon_id == USPS || g_cl.m_weapon_id == ELITE || g_cl.m_weapon_id == P250 || g_cl.m_weapon_id == TEC9 || g_cl.m_weapon_id == CZ75A)
        hc = g_config.i["pistols_hc"];
    else if (g_cl.m_weapon_id == SSG08)
        hc = g_config.i["scout_hc"];
    else if (g_cl.m_weapon_id == G3SG1 || g_cl.m_weapon_id == SCAR20)
        hc = g_config.i["autosniper_hc"];
    else if (g_cl.m_weapon_id == AWP)
        hc = g_config.i["awp_hc"];
    else if (g_cl.m_weapon_id == DEAGLE || g_cl.m_weapon_id == REVOLVER)
        hc = g_config.i["heavy_pistols_hc"];
    else
        hc = g_config.i["general_hc"];
I found some more of your code


C++:
    if (g_cl.m_weapon_id == GLOCK || g_cl.m_weapon_id == P2000 || g_cl.m_weapon_id == USPS || g_cl.m_weapon_id == ELITE || g_cl.m_weapon_id == P250 || g_cl.m_weapon_id == TEC9 || g_cl.m_weapon_id == CZ75A)
        float scale = g_config.i["aimbot_pistols_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == SSG08)
        float scale = g_config.i["aimbot_scout_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == G3SG1 || g_cl.m_weapon_id == SCAR20)
        float scale = g_config.i["aimbot_scar_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == AWP)
        float scale = g_config.i["aimbot_awp_multipoint_scale"] / 100.f;
    else if (g_cl.m_weapon_id == DEAGLE || g_cl.m_weapon_id == REVOLVER)
        float scale = g_config.i["aimbot_heavy_pistols_multipoint_scale"] / 100.f;
    else
        float scale = g_config.i["aimbot_general_multipoint_scale"] / 100.f;

    // big inair fix.
    if (!(record->m_pred_flags & FL_ONGROUND))
        scale = 0.7f;

    float bscale = 0.f;

    if (g_cl.m_weapon_id == GLOCK || g_cl.m_weapon_id == P2000 || g_cl.m_weapon_id == USPS || g_cl.m_weapon_id == ELITE || g_cl.m_weapon_id == P250 || g_cl.m_weapon_id == TEC9 || g_cl.m_weapon_id == CZ75A)
        float bscale = g_config.i["aimbot_pistols_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == SSG08)
        float bscale = g_config.i["aimbot_scout_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == G3SG1 || g_cl.m_weapon_id == SCAR20)
        float bscale = g_config.i["aimbot_scar_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == AWP)
        float bscale = g_config.i["aimbot_awp_body_scale"] / 100.f;
    else if (g_cl.m_weapon_id == DEAGLE || g_cl.m_weapon_id == REVOLVER)
        float bscale = g_config.i["aimbot_heavy_pistols_body_scale"] / 100.f;
    else
        float bscale = g_config.i["aimbot_general_body_scale"] / 100.f;
Fucking paster...

isn't this your code right?

The point is I did a simple fix SUPER SIMPLE that YOUR cheat doesn't even have and I tested(I CRASHED). So before commenting FIX YOUR SHIT! I didn't even want to start this but you did. I can do the same with anton caplin to!
Would you like to explain what's wrong with that code? WOW, he used if & else instead of switch cases. Your fix is wrong, add g_cl.m_local->alive() check.
Would you like to explain what's wrong with that code? WOW, he used if & else instead of switch cases. Your fix is wrong, add g_cl.m_local->alive() check.
i correct myself, i saw g_cl.weapon instead of m_local
 
Начинающий
Статус
Оффлайн
Регистрация
3 Авг 2023
Сообщения
20
Реакции[?]
2
Поинты[?]
5K
Would you like to explain what's wrong with that code? WOW, he used if & else instead of switch cases. Your fix is wrong, add g_cl.m_local->alive() check.

i correct myself, i saw g_cl.weapon instead of m_local
If you don't know what's wrong with this (else if) multi config all are doing then I would refer you to
Пожалуйста, авторизуйтесь для просмотра ссылки.
.


How is my fix wrong when it works? and 99% of all supremacy pastes crash in the specific action I said in the thread beginning?
 
Сверху Снизу