Вопрос Телепорт

Начинающий
Статус
Оффлайн
Регистрация
5 Сен 2022
Сообщения
7
Реакции[?]
0
Поинты[?]
0
Я фикшу лв вставить и у меня не срабатывает телепорт при включение експлоитов
Нереальные лаги выключаются
CreateMove fixed
cinput fixed

C++:
#include "..\hooks.hpp"

#include "..\..\features\ragebot\antiaim.h"
#include "..\..\features\visuals\other_esp.h"
#include "..\..\features\misc\fakelag.h"
#include "..\..\features\misc\prediction_system.h"
#include "..\..\features\ragebot\aim.h"
#include "..\..\features\legitbot\legitbot.h"
#include "..\..\features\misc\bunnyhop.h"
#include "..\..\features\misc\airstrafe.h"
#include "..\..\features\misc\spammers.h"
#include "..\..\features\fakewalk\slowwalk.h"
#include "..\..\features\misc\misc.h"
#include "..\..\features\misc\logs.h"
#include "..\..\features\visuals\GrenadePrediction.h"
#include "..\..\features\ragebot\knifebot.h"
#include "..\..\features\ragebot\zeusbot.h"
#include "..\..\features\lagcompensation\local_animations.h"
#include "..\..\features\lagcompensation\animation_system.h"


using CreateMove_t = void(__stdcall*)(int, float, bool);
void __stdcall hooks::hooked_createmove(int sequence_number, float input_sample_frametime, bool active, bool& send_packet)
{
    static auto original_fn = client_hook->get_func_address <CreateMove_t>(22);
    original_fn(sequence_number, input_sample_frametime, active);
    g_ctx.local((player_t*)m_entitylist()->GetClientEntity(m_engine()->GetLocalPlayer()), true);

    auto m_pcmd = m_input()->GetUserCmd(sequence_number);
    auto verified = m_input()->GetVerifiedUserCmd(sequence_number);



    g_ctx.globals.in_createmove = false;

    if (!m_pcmd)
        return;

    if (!m_pcmd->m_command_number)
        return    ;

    if (original_fn)
    {
        m_prediction()->SetLocalViewAngles(m_pcmd->m_viewangles);
        m_engine()->SetViewAngles(m_pcmd->m_viewangles);
    }


    if (!g_ctx.available())
        return;

    misc::get().rank_reveal();

    if (!g_ctx.local()->is_alive())
        return;

    uintptr_t* frame_ptr;
    __asm mov frame_ptr, ebp;

    g_ctx.globals.weapon = g_ctx.local()->m_hActiveWeapon().Get();

    if (!g_ctx.globals.weapon)
        return;

    g_ctx.globals.in_createmove = true;
    g_ctx.set_command(m_pcmd);

    if (menu_open && g_ctx.globals.focused_on_input)
    {
        m_pcmd->m_buttons = 0;
        m_pcmd->m_forwardmove = 0.0f;
        m_pcmd->m_sidemove = 0.0f;
        m_pcmd->m_upmove = 0.0f;
    }

    static auto should_recharge = false;

    if (should_recharge)
    {
        ++g_ctx.globals.ticks_allowed;

        m_pcmd->m_tickcount = INT_MAX;
        m_pcmd->m_buttons &= ~IN_ATTACK;

        if (g_ctx.globals.ticks_allowed >= 16)
        {
            should_recharge = false;
            g_ctx.send_packet = true;
        }
        else
            g_ctx.send_packet = false;

        return;
    }

    if (g_ctx.globals.ticks_allowed < 16 && (misc::get().double_tap_enabled && misc::get().double_tap_key || misc::get().hide_shots_enabled && misc::get().hide_shots_key))
        should_recharge = true;

    g_ctx.globals.backup_tickbase = g_ctx.local()->m_nTickBase();

    if (g_ctx.globals.next_tickbase_shift)
        g_ctx.globals.fixed_tickbase = g_ctx.local()->m_nTickBase() - g_ctx.globals.next_tickbase_shift;
    else
        g_ctx.globals.fixed_tickbase = g_ctx.globals.backup_tickbase;

    if (menu_open)
    {
        m_pcmd->m_buttons &= ~IN_ATTACK;
        m_pcmd->m_buttons &= ~IN_ATTACK2;
    }

    if (m_pcmd->m_buttons & IN_ATTACK2 && g_cfg.ragebot.enable && g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER)
        m_pcmd->m_buttons &= ~IN_ATTACK2;

    if (g_cfg.ragebot.enable && !g_ctx.globals.weapon->can_fire(true))
    {
        if (m_pcmd->m_buttons & IN_ATTACK && !g_ctx.globals.weapon->is_non_aim() && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_REVOLVER)
            m_pcmd->m_buttons &= ~IN_ATTACK;
        else if ((m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2) && (g_ctx.globals.weapon->is_knife() || g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER) && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_HEALTHSHOT)
        {
            if (m_pcmd->m_buttons & IN_ATTACK)
                m_pcmd->m_buttons &= ~IN_ATTACK;

            if (m_pcmd->m_buttons & IN_ATTACK2)
                m_pcmd->m_buttons &= ~IN_ATTACK2;
        }
    }

    if (m_pcmd->m_buttons & IN_FORWARD && m_pcmd->m_buttons & IN_BACK)
    {
        m_pcmd->m_buttons &= ~IN_FORWARD;
        m_pcmd->m_buttons &= ~IN_BACK;
    }

    if (m_pcmd->m_buttons & IN_MOVELEFT && m_pcmd->m_buttons & IN_MOVERIGHT)
    {
        m_pcmd->m_buttons &= ~IN_MOVELEFT;
        m_pcmd->m_buttons &= ~IN_MOVERIGHT;
    }

    g_ctx.send_packet = true;
    g_ctx.globals.tickbase_shift = 0;
    g_ctx.globals.double_tap_fire = false;
    g_ctx.globals.force_send_packet = false;
    g_ctx.globals.exploits = misc::get().double_tap_key && g_ctx.globals.weapon->can_double_tap() || misc::get().hide_shots_key;
    g_ctx.globals.current_weapon = g_ctx.globals.weapon->get_weapon_group(g_cfg.ragebot.enable);
    g_ctx.globals.slowwalking = false;
    g_ctx.globals.original_forwardmove = m_pcmd->m_forwardmove;
    g_ctx.globals.original_sidemove = m_pcmd->m_sidemove;

    antiaim::get().breaking_lby = false;

    auto wish_angle = m_pcmd->m_viewangles;

    misc::get().fast_stop(m_pcmd);

    bunnyhop::get().create_move();

    misc::get().SlideWalk(m_pcmd);

    misc::get().NoDuck(m_pcmd);

    misc::get().AutoCrouch(m_pcmd);

    GrenadePrediction::get().Tick(m_pcmd->m_buttons);

    engineprediction::get().prediction_data.reset();
    engineprediction::get().setup();

    engineprediction::get().predict(m_pcmd);
    local_animations::get().update_prediction_animations();

    g_ctx.globals.eye_pos = g_ctx.local()->get_shoot_position();

    if (g_cfg.misc.airstrafe)
        airstrafe::get().create_move(m_pcmd);

    if (key_binds::get().get_key_bind_state(19) && engineprediction::get().backup_data.flags & FL_ONGROUND && !(g_ctx.local()->m_fFlags() & FL_ONGROUND))
        m_pcmd->m_buttons |= IN_JUMP;

    if (key_binds::get().get_key_bind_state(21))
        slowwalk::get().create_move(m_pcmd);

    if (g_cfg.ragebot.enable && !g_ctx.globals.weapon->is_non_aim() && engineprediction::get().backup_data.flags & FL_ONGROUND && g_ctx.local()->m_fFlags() & FL_ONGROUND)
        slowwalk::get().create_move(m_pcmd, 0.5f + 0.32f * (16 - m_clientstate()->iChokedCommands));

    if (g_ctx.local()->is_alive())
    {
        if (g_cfg.ragebot.enable && key_binds::get().get_key_bind_state(21) && engineprediction::get().backup_data.flags & FL_ONGROUND && g_ctx.local()->m_fFlags() & FL_ONGROUND)
        {
            *(float*)((uintptr_t)g_ctx.local()->get_animation_state() + 292) = 0;
        }
    }

    if (!should_recharge)
        fakelag::get().Createmove();

    g_ctx.globals.aimbot_working = false;
    g_ctx.globals.revolver_working = false;

    auto backup_velocity = g_ctx.local()->m_vecVelocity();
    auto backup_abs_velocity = g_ctx.local()->m_vecAbsVelocity();

    g_ctx.local()->m_vecVelocity() = engineprediction::get().backup_data.velocity;
    g_ctx.local()->m_vecAbsVelocity() = engineprediction::get().backup_data.velocity;

    g_ctx.globals.weapon->update_accuracy_penality();

    g_ctx.local()->m_vecVelocity() = backup_velocity;
    g_ctx.local()->m_vecAbsVelocity() = backup_abs_velocity;

    g_ctx.globals.inaccuracy = g_ctx.globals.weapon->get_inaccuracy();
    g_ctx.globals.spread = g_ctx.globals.weapon->get_spread();

    aim::get().run(m_pcmd);
    legit_bot::get().createmove(m_pcmd);

    zeusbot::get().run(m_pcmd);
    knifebot::get().run(m_pcmd);

    misc::get().automatic_peek(m_pcmd, wish_angle.y);

    antiaim::get().desync_angle = 0.0f;
    antiaim::get().create_move(m_pcmd);

    if (m_gamerules()->m_bIsValveDS() && m_clientstate()->iChokedCommands >= 6)
    {
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }
    else if (!m_gamerules()->m_bIsValveDS() && m_clientstate()->iChokedCommands >= 16)
    {
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }

    if (g_ctx.globals.should_send_packet)
    {
        g_ctx.globals.force_send_packet = true;
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }

    if (g_ctx.globals.should_choke_packet)
    {
        g_ctx.globals.should_choke_packet = false;
        g_ctx.globals.should_send_packet = true;
        g_ctx.send_packet = false;
    }

    if (!g_ctx.globals.weapon->is_non_aim())
    {
        auto double_tap_aim_check = false;

        if (m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.double_tap_aim_check)
        {
            double_tap_aim_check = true;
            g_ctx.globals.double_tap_aim_check = false;
        }

        auto revolver_shoot = g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER && !g_ctx.globals.revolver_working && (m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2);

        if (m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_REVOLVER || revolver_shoot)
        {
            static auto weapon_recoil_scale = m_cvar()->FindVar(crypt_str("weapon_recoil_scale"));

            if (g_cfg.ragebot.enable)
                m_pcmd->m_viewangles -= g_ctx.local()->m_aimPunchAngle() * weapon_recoil_scale->GetFloat();

            if (!g_ctx.globals.fakeducking)
            {
                g_ctx.globals.force_send_packet = true;
                g_ctx.globals.should_choke_packet = true;
                g_ctx.send_packet = true;
                fakelag::get().started_peeking = false;
            }

            aim::get().last_shoot_position = g_ctx.globals.eye_pos;

            if (!double_tap_aim_check)
                g_ctx.globals.double_tap_aim = false;
        }
    }
    else if (!g_ctx.globals.fakeducking && g_ctx.globals.weapon->is_knife() && (m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2))
    {
        g_ctx.globals.force_send_packet = true;
        g_ctx.globals.should_choke_packet = true;
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }

    if (g_ctx.globals.fakeducking)
        g_ctx.globals.force_send_packet = g_ctx.send_packet;

    for (auto& backup : aim::get().backup)
        backup.adjust_player();

    auto backup_ticks_allowed = g_ctx.globals.ticks_allowed;

    if (misc::get().double_tap(m_pcmd))
        misc::get().hide_shots(m_pcmd, false);
    else
    {
        g_ctx.globals.ticks_allowed = backup_ticks_allowed;
        misc::get().hide_shots(m_pcmd, true);
    }

    if (!g_ctx.globals.weapon->is_non_aim())
    {
        auto double_tap_aim_check = false;

        if (m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.double_tap_aim_check)
        {
            double_tap_aim_check = true;
            g_ctx.globals.double_tap_aim_check = false;
        }

        auto revolver_shoot = g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER && !g_ctx.globals.revolver_working && (m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2);

        if (!double_tap_aim_check && m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_REVOLVER || revolver_shoot)
            g_ctx.globals.double_tap_aim = false;
    }

    if (m_globals()->m_tickcount - g_ctx.globals.last_aimbot_shot > 16)
    {
        g_ctx.globals.double_tap_aim = false;
        g_ctx.globals.double_tap_aim_check = false;
    }

    engineprediction::get().finish();

    if (g_ctx.globals.loaded_script)
        for (auto current : c_lua::get().hooks.getHooks(crypt_str("on_createmove")))
            current.func();

    if (g_cfg.misc.anti_untrusted)
        math::normalize_angles(m_pcmd->m_viewangles);
    else
    {
        m_pcmd->m_viewangles.y = math::normalize_yaw(m_pcmd->m_viewangles.y);
        m_pcmd->m_viewangles.z = 0.0f;
    }

    util::movement_fix(wish_angle, m_pcmd);

    if (should_recharge)
        g_ctx.send_packet = true;

    static auto previous_ticks_allowed = g_ctx.globals.ticks_allowed;

    if (g_ctx.send_packet && m_clientstate()->pNetChannel)
    {
        auto choked_packets = m_clientstate()->pNetChannel->m_nChokedPackets;

        if (choked_packets >= 0)
        {
            auto ticks_allowed = g_ctx.globals.ticks_allowed;
            auto command_number = m_pcmd->m_command_number - choked_packets;

            do
            {
                auto command = &m_input()->m_pCommands[m_pcmd->m_command_number - MULTIPLAYER_BACKUP * (command_number / MULTIPLAYER_BACKUP) - choked_packets];

                if (!command || command->m_tickcount > m_globals()->m_tickcount + 72)
                {
                    if (--ticks_allowed < 0)
                        ticks_allowed = 0;

                    g_ctx.globals.ticks_allowed = ticks_allowed;
                }

                ++command_number;
                --choked_packets;
            } while (choked_packets >= 0);
        }
    }

    if (g_ctx.globals.ticks_allowed > 17)
        g_ctx.globals.ticks_allowed = math::clamp(g_ctx.globals.ticks_allowed - 1, 0, 17);

    if (previous_ticks_allowed && !g_ctx.globals.ticks_allowed)
        g_ctx.globals.ticks_choke = 16;

    previous_ticks_allowed = g_ctx.globals.ticks_allowed;

    if (g_ctx.globals.ticks_choke)
    {
        g_ctx.send_packet = g_ctx.globals.force_send_packet;
        --g_ctx.globals.ticks_choke;
    }

    auto& correct = g_ctx.globals.data.emplace_front();

    correct.command_number = m_pcmd->m_command_number;
    correct.choked_commands = m_clientstate()->iChokedCommands + 1;
    correct.tickcount = m_globals()->m_tickcount;

    if (g_ctx.send_packet)
        g_ctx.globals.choked_number.clear();
    else
        g_ctx.globals.choked_number.emplace_back(correct.command_number);

    while (g_ctx.globals.data.size() > (int)(2.0f / m_globals()->m_intervalpertick))
        g_ctx.globals.data.pop_back();

    auto& out = g_ctx.globals.commands.emplace_back();

    out.is_outgoing = g_ctx.send_packet;
    out.is_used = false;
    out.command_number = m_pcmd->m_command_number;
    out.previous_command_number = 0;

    while (g_ctx.globals.commands.size() > (int)(1.0f / m_globals()->m_intervalpertick))
        g_ctx.globals.commands.pop_front();

    if (!g_ctx.send_packet && !m_gamerules()->m_bIsValveDS())
    {
        auto net_channel = m_clientstate()->pNetChannel;

        if (net_channel->m_nChokedPackets > 0 && !(net_channel->m_nChokedPackets % 4))
        {
            auto backup_choke = net_channel->m_nChokedPackets;
            net_channel->m_nChokedPackets = 0;

            net_channel->send_datagram();
            --net_channel->m_nOutSequenceNr;

            net_channel->m_nChokedPackets = backup_choke;
        }
    }

    if (g_ctx.send_packet && !g_ctx.globals.should_send_packet && (!g_ctx.globals.should_choke_packet || (!misc::get().hide_shots_enabled && !g_ctx.globals.double_tap_fire)))
    {
        local_animations::get().local_data.fake_angles = m_pcmd->m_viewangles;
        local_animations::get().local_data.real_angles = local_animations::get().local_data.stored_real_angles;
    }

    if (!antiaim::get().breaking_lby)
        local_animations::get().local_data.stored_real_angles = m_pcmd->m_viewangles;

    if (g_ctx.send_packet && g_ctx.globals.should_send_packet)
        g_ctx.globals.should_send_packet = false;

    if (g_cfg.misc.buybot_enable && g_ctx.globals.should_buy)
    {
        --g_ctx.globals.should_buy;

        if (!g_ctx.globals.should_buy)
        {
            std::string buy;

            switch (g_cfg.misc.buybot1)
            {
            case 1:
                buy += crypt_str("buy g3sg1; ");
                break;
            case 2:
                buy += crypt_str("buy awp; ");
                break;
            case 3:
                buy += crypt_str("buy ssg08; ");
                break;
            }

            switch (g_cfg.misc.buybot2)
            {
            case 1:
                buy += crypt_str("buy elite; ");
                break;
            case 2:
                buy += crypt_str("buy deagle; buy revolver; ");
                break;
            }

            if (g_cfg.misc.buybot3[BUY_ARMOR])
                buy += crypt_str("buy vesthelm; buy vest; ");

            if (g_cfg.misc.buybot3[BUY_TASER])
                buy += crypt_str("buy taser; ");

            if (g_cfg.misc.buybot3[BUY_GRENADES])
                buy += crypt_str("buy molotov; buy hegrenade; buy smokegrenade; ");

            if (g_cfg.misc.buybot3[BUY_DEFUSER])
                buy += crypt_str("buy defuser; ");

            m_engine()->ExecuteClientCmd(buy.c_str());
        }
    }

    g_ctx.globals.in_createmove = false;

    send_packet = g_ctx.send_packet;

    verified->m_cmd = *m_pcmd;
    verified->m_crc = m_pcmd->GetChecksum();
}

__declspec(naked) void __stdcall hooks::hooked_createmove_proxy(int sequence_number, float input_sample_frametime, bool active)
{
    __asm
    {
        push ebx
        push esp
        push dword ptr[esp + 20]
        push dword ptr[esp + 0Ch + 8]
        push dword ptr[esp + 10h + 4]
        call hooked_createmove
        pop ebx
        retn 0Ch
    }
}
 
Забаненный
Статус
Оффлайн
Регистрация
19 Апр 2020
Сообщения
95
Реакции[?]
18
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
C++:
        if (g_cfg.ragebot.slow_teleport)
        {
            cmd->m_forwardmove = 0.0f;
            cmd->m_sidemove = 0.0f;
        }
        else
        {
            if (abs(cmd->m_sidemove) > 10.f)
                cmd->m_sidemove = copysignf(450.f, cmd->m_sidemove);
            else
                cmd->m_sidemove = 0.f;

            if (abs(cmd->m_sidemove) > 10.f)
                cmd->m_sidemove = copysignf(450.f, cmd->m_sidemove);
            else
                cmd->m_sidemove = 0.f;
        }
 
Начинающий
Статус
Оффлайн
Регистрация
5 Сен 2022
Сообщения
7
Реакции[?]
0
Поинты[?]
0
C++:
        if (g_cfg.ragebot.slow_teleport)
        {
            cmd->m_forwardmove = 0.0f;
            cmd->m_sidemove = 0.0f;
        }
        else
        {
            if (abs(cmd->m_sidemove) > 10.f)
                cmd->m_sidemove = copysignf(450.f, cmd->m_sidemove);
            else
                cmd->m_sidemove = 0.f;

            if (abs(cmd->m_sidemove) > 10.f)
                cmd->m_sidemove = copysignf(450.f, cmd->m_sidemove);
            else
                cmd->m_sidemove = 0.f;
        }
нет
 
ЧВК EB_LAN
Эксперт
Статус
Онлайн
Регистрация
26 Янв 2021
Сообщения
1,553
Реакции[?]
519
Поинты[?]
189K
Я фикшу лв вставить и у меня не срабатывает телепорт при включение експлоитов
Нереальные лаги выключаются
CreateMove fixed
cinput fixed

C++:
#include "..\hooks.hpp"

#include "..\..\features\ragebot\antiaim.h"
#include "..\..\features\visuals\other_esp.h"
#include "..\..\features\misc\fakelag.h"
#include "..\..\features\misc\prediction_system.h"
#include "..\..\features\ragebot\aim.h"
#include "..\..\features\legitbot\legitbot.h"
#include "..\..\features\misc\bunnyhop.h"
#include "..\..\features\misc\airstrafe.h"
#include "..\..\features\misc\spammers.h"
#include "..\..\features\fakewalk\slowwalk.h"
#include "..\..\features\misc\misc.h"
#include "..\..\features\misc\logs.h"
#include "..\..\features\visuals\GrenadePrediction.h"
#include "..\..\features\ragebot\knifebot.h"
#include "..\..\features\ragebot\zeusbot.h"
#include "..\..\features\lagcompensation\local_animations.h"
#include "..\..\features\lagcompensation\animation_system.h"


using CreateMove_t = void(__stdcall*)(int, float, bool);
void __stdcall hooks::hooked_createmove(int sequence_number, float input_sample_frametime, bool active, bool& send_packet)
{
    static auto original_fn = client_hook->get_func_address <CreateMove_t>(22);
    original_fn(sequence_number, input_sample_frametime, active);
    g_ctx.local((player_t*)m_entitylist()->GetClientEntity(m_engine()->GetLocalPlayer()), true);

    auto m_pcmd = m_input()->GetUserCmd(sequence_number);
    auto verified = m_input()->GetVerifiedUserCmd(sequence_number);



    g_ctx.globals.in_createmove = false;

    if (!m_pcmd)
        return;

    if (!m_pcmd->m_command_number)
        return    ;

    if (original_fn)
    {
        m_prediction()->SetLocalViewAngles(m_pcmd->m_viewangles);
        m_engine()->SetViewAngles(m_pcmd->m_viewangles);
    }


    if (!g_ctx.available())
        return;

    misc::get().rank_reveal();

    if (!g_ctx.local()->is_alive())
        return;

    uintptr_t* frame_ptr;
    __asm mov frame_ptr, ebp;

    g_ctx.globals.weapon = g_ctx.local()->m_hActiveWeapon().Get();

    if (!g_ctx.globals.weapon)
        return;

    g_ctx.globals.in_createmove = true;
    g_ctx.set_command(m_pcmd);

    if (menu_open && g_ctx.globals.focused_on_input)
    {
        m_pcmd->m_buttons = 0;
        m_pcmd->m_forwardmove = 0.0f;
        m_pcmd->m_sidemove = 0.0f;
        m_pcmd->m_upmove = 0.0f;
    }

    static auto should_recharge = false;

    if (should_recharge)
    {
        ++g_ctx.globals.ticks_allowed;

        m_pcmd->m_tickcount = INT_MAX;
        m_pcmd->m_buttons &= ~IN_ATTACK;

        if (g_ctx.globals.ticks_allowed >= 16)
        {
            should_recharge = false;
            g_ctx.send_packet = true;
        }
        else
            g_ctx.send_packet = false;

        return;
    }

    if (g_ctx.globals.ticks_allowed < 16 && (misc::get().double_tap_enabled && misc::get().double_tap_key || misc::get().hide_shots_enabled && misc::get().hide_shots_key))
        should_recharge = true;

    g_ctx.globals.backup_tickbase = g_ctx.local()->m_nTickBase();

    if (g_ctx.globals.next_tickbase_shift)
        g_ctx.globals.fixed_tickbase = g_ctx.local()->m_nTickBase() - g_ctx.globals.next_tickbase_shift;
    else
        g_ctx.globals.fixed_tickbase = g_ctx.globals.backup_tickbase;

    if (menu_open)
    {
        m_pcmd->m_buttons &= ~IN_ATTACK;
        m_pcmd->m_buttons &= ~IN_ATTACK2;
    }

    if (m_pcmd->m_buttons & IN_ATTACK2 && g_cfg.ragebot.enable && g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER)
        m_pcmd->m_buttons &= ~IN_ATTACK2;

    if (g_cfg.ragebot.enable && !g_ctx.globals.weapon->can_fire(true))
    {
        if (m_pcmd->m_buttons & IN_ATTACK && !g_ctx.globals.weapon->is_non_aim() && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_REVOLVER)
            m_pcmd->m_buttons &= ~IN_ATTACK;
        else if ((m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2) && (g_ctx.globals.weapon->is_knife() || g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER) && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_HEALTHSHOT)
        {
            if (m_pcmd->m_buttons & IN_ATTACK)
                m_pcmd->m_buttons &= ~IN_ATTACK;

            if (m_pcmd->m_buttons & IN_ATTACK2)
                m_pcmd->m_buttons &= ~IN_ATTACK2;
        }
    }

    if (m_pcmd->m_buttons & IN_FORWARD && m_pcmd->m_buttons & IN_BACK)
    {
        m_pcmd->m_buttons &= ~IN_FORWARD;
        m_pcmd->m_buttons &= ~IN_BACK;
    }

    if (m_pcmd->m_buttons & IN_MOVELEFT && m_pcmd->m_buttons & IN_MOVERIGHT)
    {
        m_pcmd->m_buttons &= ~IN_MOVELEFT;
        m_pcmd->m_buttons &= ~IN_MOVERIGHT;
    }

    g_ctx.send_packet = true;
    g_ctx.globals.tickbase_shift = 0;
    g_ctx.globals.double_tap_fire = false;
    g_ctx.globals.force_send_packet = false;
    g_ctx.globals.exploits = misc::get().double_tap_key && g_ctx.globals.weapon->can_double_tap() || misc::get().hide_shots_key;
    g_ctx.globals.current_weapon = g_ctx.globals.weapon->get_weapon_group(g_cfg.ragebot.enable);
    g_ctx.globals.slowwalking = false;
    g_ctx.globals.original_forwardmove = m_pcmd->m_forwardmove;
    g_ctx.globals.original_sidemove = m_pcmd->m_sidemove;

    antiaim::get().breaking_lby = false;

    auto wish_angle = m_pcmd->m_viewangles;

    misc::get().fast_stop(m_pcmd);

    bunnyhop::get().create_move();

    misc::get().SlideWalk(m_pcmd);

    misc::get().NoDuck(m_pcmd);

    misc::get().AutoCrouch(m_pcmd);

    GrenadePrediction::get().Tick(m_pcmd->m_buttons);

    engineprediction::get().prediction_data.reset();
    engineprediction::get().setup();

    engineprediction::get().predict(m_pcmd);
    local_animations::get().update_prediction_animations();

    g_ctx.globals.eye_pos = g_ctx.local()->get_shoot_position();

    if (g_cfg.misc.airstrafe)
        airstrafe::get().create_move(m_pcmd);

    if (key_binds::get().get_key_bind_state(19) && engineprediction::get().backup_data.flags & FL_ONGROUND && !(g_ctx.local()->m_fFlags() & FL_ONGROUND))
        m_pcmd->m_buttons |= IN_JUMP;

    if (key_binds::get().get_key_bind_state(21))
        slowwalk::get().create_move(m_pcmd);

    if (g_cfg.ragebot.enable && !g_ctx.globals.weapon->is_non_aim() && engineprediction::get().backup_data.flags & FL_ONGROUND && g_ctx.local()->m_fFlags() & FL_ONGROUND)
        slowwalk::get().create_move(m_pcmd, 0.5f + 0.32f * (16 - m_clientstate()->iChokedCommands));

    if (g_ctx.local()->is_alive())
    {
        if (g_cfg.ragebot.enable && key_binds::get().get_key_bind_state(21) && engineprediction::get().backup_data.flags & FL_ONGROUND && g_ctx.local()->m_fFlags() & FL_ONGROUND)
        {
            *(float*)((uintptr_t)g_ctx.local()->get_animation_state() + 292) = 0;
        }
    }

    if (!should_recharge)
        fakelag::get().Createmove();

    g_ctx.globals.aimbot_working = false;
    g_ctx.globals.revolver_working = false;

    auto backup_velocity = g_ctx.local()->m_vecVelocity();
    auto backup_abs_velocity = g_ctx.local()->m_vecAbsVelocity();

    g_ctx.local()->m_vecVelocity() = engineprediction::get().backup_data.velocity;
    g_ctx.local()->m_vecAbsVelocity() = engineprediction::get().backup_data.velocity;

    g_ctx.globals.weapon->update_accuracy_penality();

    g_ctx.local()->m_vecVelocity() = backup_velocity;
    g_ctx.local()->m_vecAbsVelocity() = backup_abs_velocity;

    g_ctx.globals.inaccuracy = g_ctx.globals.weapon->get_inaccuracy();
    g_ctx.globals.spread = g_ctx.globals.weapon->get_spread();

    aim::get().run(m_pcmd);
    legit_bot::get().createmove(m_pcmd);

    zeusbot::get().run(m_pcmd);
    knifebot::get().run(m_pcmd);

    misc::get().automatic_peek(m_pcmd, wish_angle.y);

    antiaim::get().desync_angle = 0.0f;
    antiaim::get().create_move(m_pcmd);

    if (m_gamerules()->m_bIsValveDS() && m_clientstate()->iChokedCommands >= 6)
    {
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }
    else if (!m_gamerules()->m_bIsValveDS() && m_clientstate()->iChokedCommands >= 16)
    {
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }

    if (g_ctx.globals.should_send_packet)
    {
        g_ctx.globals.force_send_packet = true;
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }

    if (g_ctx.globals.should_choke_packet)
    {
        g_ctx.globals.should_choke_packet = false;
        g_ctx.globals.should_send_packet = true;
        g_ctx.send_packet = false;
    }

    if (!g_ctx.globals.weapon->is_non_aim())
    {
        auto double_tap_aim_check = false;

        if (m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.double_tap_aim_check)
        {
            double_tap_aim_check = true;
            g_ctx.globals.double_tap_aim_check = false;
        }

        auto revolver_shoot = g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER && !g_ctx.globals.revolver_working && (m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2);

        if (m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_REVOLVER || revolver_shoot)
        {
            static auto weapon_recoil_scale = m_cvar()->FindVar(crypt_str("weapon_recoil_scale"));

            if (g_cfg.ragebot.enable)
                m_pcmd->m_viewangles -= g_ctx.local()->m_aimPunchAngle() * weapon_recoil_scale->GetFloat();

            if (!g_ctx.globals.fakeducking)
            {
                g_ctx.globals.force_send_packet = true;
                g_ctx.globals.should_choke_packet = true;
                g_ctx.send_packet = true;
                fakelag::get().started_peeking = false;
            }

            aim::get().last_shoot_position = g_ctx.globals.eye_pos;

            if (!double_tap_aim_check)
                g_ctx.globals.double_tap_aim = false;
        }
    }
    else if (!g_ctx.globals.fakeducking && g_ctx.globals.weapon->is_knife() && (m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2))
    {
        g_ctx.globals.force_send_packet = true;
        g_ctx.globals.should_choke_packet = true;
        g_ctx.send_packet = true;
        fakelag::get().started_peeking = false;
    }

    if (g_ctx.globals.fakeducking)
        g_ctx.globals.force_send_packet = g_ctx.send_packet;

    for (auto& backup : aim::get().backup)
        backup.adjust_player();

    auto backup_ticks_allowed = g_ctx.globals.ticks_allowed;

    if (misc::get().double_tap(m_pcmd))
        misc::get().hide_shots(m_pcmd, false);
    else
    {
        g_ctx.globals.ticks_allowed = backup_ticks_allowed;
        misc::get().hide_shots(m_pcmd, true);
    }

    if (!g_ctx.globals.weapon->is_non_aim())
    {
        auto double_tap_aim_check = false;

        if (m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.double_tap_aim_check)
        {
            double_tap_aim_check = true;
            g_ctx.globals.double_tap_aim_check = false;
        }

        auto revolver_shoot = g_ctx.globals.weapon->m_iItemDefinitionIndex() == WEAPON_REVOLVER && !g_ctx.globals.revolver_working && (m_pcmd->m_buttons & IN_ATTACK || m_pcmd->m_buttons & IN_ATTACK2);

        if (!double_tap_aim_check && m_pcmd->m_buttons & IN_ATTACK && g_ctx.globals.weapon->m_iItemDefinitionIndex() != WEAPON_REVOLVER || revolver_shoot)
            g_ctx.globals.double_tap_aim = false;
    }

    if (m_globals()->m_tickcount - g_ctx.globals.last_aimbot_shot > 16)
    {
        g_ctx.globals.double_tap_aim = false;
        g_ctx.globals.double_tap_aim_check = false;
    }

    engineprediction::get().finish();

    if (g_ctx.globals.loaded_script)
        for (auto current : c_lua::get().hooks.getHooks(crypt_str("on_createmove")))
            current.func();

    if (g_cfg.misc.anti_untrusted)
        math::normalize_angles(m_pcmd->m_viewangles);
    else
    {
        m_pcmd->m_viewangles.y = math::normalize_yaw(m_pcmd->m_viewangles.y);
        m_pcmd->m_viewangles.z = 0.0f;
    }

    util::movement_fix(wish_angle, m_pcmd);

    if (should_recharge)
        g_ctx.send_packet = true;

    static auto previous_ticks_allowed = g_ctx.globals.ticks_allowed;

    if (g_ctx.send_packet && m_clientstate()->pNetChannel)
    {
        auto choked_packets = m_clientstate()->pNetChannel->m_nChokedPackets;

        if (choked_packets >= 0)
        {
            auto ticks_allowed = g_ctx.globals.ticks_allowed;
            auto command_number = m_pcmd->m_command_number - choked_packets;

            do
            {
                auto command = &m_input()->m_pCommands[m_pcmd->m_command_number - MULTIPLAYER_BACKUP * (command_number / MULTIPLAYER_BACKUP) - choked_packets];

                if (!command || command->m_tickcount > m_globals()->m_tickcount + 72)
                {
                    if (--ticks_allowed < 0)
                        ticks_allowed = 0;

                    g_ctx.globals.ticks_allowed = ticks_allowed;
                }

                ++command_number;
                --choked_packets;
            } while (choked_packets >= 0);
        }
    }

    if (g_ctx.globals.ticks_allowed > 17)
        g_ctx.globals.ticks_allowed = math::clamp(g_ctx.globals.ticks_allowed - 1, 0, 17);

    if (previous_ticks_allowed && !g_ctx.globals.ticks_allowed)
        g_ctx.globals.ticks_choke = 16;

    previous_ticks_allowed = g_ctx.globals.ticks_allowed;

    if (g_ctx.globals.ticks_choke)
    {
        g_ctx.send_packet = g_ctx.globals.force_send_packet;
        --g_ctx.globals.ticks_choke;
    }

    auto& correct = g_ctx.globals.data.emplace_front();

    correct.command_number = m_pcmd->m_command_number;
    correct.choked_commands = m_clientstate()->iChokedCommands + 1;
    correct.tickcount = m_globals()->m_tickcount;

    if (g_ctx.send_packet)
        g_ctx.globals.choked_number.clear();
    else
        g_ctx.globals.choked_number.emplace_back(correct.command_number);

    while (g_ctx.globals.data.size() > (int)(2.0f / m_globals()->m_intervalpertick))
        g_ctx.globals.data.pop_back();

    auto& out = g_ctx.globals.commands.emplace_back();

    out.is_outgoing = g_ctx.send_packet;
    out.is_used = false;
    out.command_number = m_pcmd->m_command_number;
    out.previous_command_number = 0;

    while (g_ctx.globals.commands.size() > (int)(1.0f / m_globals()->m_intervalpertick))
        g_ctx.globals.commands.pop_front();

    if (!g_ctx.send_packet && !m_gamerules()->m_bIsValveDS())
    {
        auto net_channel = m_clientstate()->pNetChannel;

        if (net_channel->m_nChokedPackets > 0 && !(net_channel->m_nChokedPackets % 4))
        {
            auto backup_choke = net_channel->m_nChokedPackets;
            net_channel->m_nChokedPackets = 0;

            net_channel->send_datagram();
            --net_channel->m_nOutSequenceNr;

            net_channel->m_nChokedPackets = backup_choke;
        }
    }

    if (g_ctx.send_packet && !g_ctx.globals.should_send_packet && (!g_ctx.globals.should_choke_packet || (!misc::get().hide_shots_enabled && !g_ctx.globals.double_tap_fire)))
    {
        local_animations::get().local_data.fake_angles = m_pcmd->m_viewangles;
        local_animations::get().local_data.real_angles = local_animations::get().local_data.stored_real_angles;
    }

    if (!antiaim::get().breaking_lby)
        local_animations::get().local_data.stored_real_angles = m_pcmd->m_viewangles;

    if (g_ctx.send_packet && g_ctx.globals.should_send_packet)
        g_ctx.globals.should_send_packet = false;

    if (g_cfg.misc.buybot_enable && g_ctx.globals.should_buy)
    {
        --g_ctx.globals.should_buy;

        if (!g_ctx.globals.should_buy)
        {
            std::string buy;

            switch (g_cfg.misc.buybot1)
            {
            case 1:
                buy += crypt_str("buy g3sg1; ");
                break;
            case 2:
                buy += crypt_str("buy awp; ");
                break;
            case 3:
                buy += crypt_str("buy ssg08; ");
                break;
            }

            switch (g_cfg.misc.buybot2)
            {
            case 1:
                buy += crypt_str("buy elite; ");
                break;
            case 2:
                buy += crypt_str("buy deagle; buy revolver; ");
                break;
            }

            if (g_cfg.misc.buybot3[BUY_ARMOR])
                buy += crypt_str("buy vesthelm; buy vest; ");

            if (g_cfg.misc.buybot3[BUY_TASER])
                buy += crypt_str("buy taser; ");

            if (g_cfg.misc.buybot3[BUY_GRENADES])
                buy += crypt_str("buy molotov; buy hegrenade; buy smokegrenade; ");

            if (g_cfg.misc.buybot3[BUY_DEFUSER])
                buy += crypt_str("buy defuser; ");

            m_engine()->ExecuteClientCmd(buy.c_str());
        }
    }

    g_ctx.globals.in_createmove = false;

    send_packet = g_ctx.send_packet;

    verified->m_cmd = *m_pcmd;
    verified->m_crc = m_pcmd->GetChecksum();
}

__declspec(naked) void __stdcall hooks::hooked_createmove_proxy(int sequence_number, float input_sample_frametime, bool active)
{
    __asm
    {
        push ebx
        push esp
        push dword ptr[esp + 20]
        push dword ptr[esp + 0Ch + 8]
        push dword ptr[esp + 10h + 4]
        call hooked_createmove
        pop ebx
        retn 0Ch
    }
}
речардж на клмув переведи сначала...
 
ЧВК EB_LAN
Эксперт
Статус
Онлайн
Регистрация
26 Янв 2021
Сообщения
1,553
Реакции[?]
519
Поинты[?]
189K
нахуя?
меня вообще не телепортирует
переведи шифт и речардж на клмув и сделай телепорт на клмуве также само всю манипуляцию дт подправь под клмув
у тебя врайтюзерцмд с старыми оффсетами может быть и поэтому нихуя нету также копи комманд мертвый деф лвшный ваш
 
Последнее редактирование:
ЧВК EB_LAN
Эксперт
Статус
Онлайн
Регистрация
26 Янв 2021
Сообщения
1,553
Реакции[?]
519
Поинты[?]
189K
Hack3r_jopi который пастит мой реверс ресольвера немезиса
АЗХВЫХЗАЫЗХВАЗХЫВЗХА я сижу пандору последнюю ревершу о чём речь чувак? я в жизни не держал ваш дамп немезиса ибо ещё руки даже не дошли до него...
 
Сверху Снизу