Исходник Onetap v2 fakeduck

Пользователь
Статус
Оффлайн
Регистрация
8 Янв 2020
Сообщения
187
Реакции[?]
138
Поинты[?]
20K
Onetap v2 fakeduck

Возможно вронг.

C++:
void OneTap::Features::FakeDuck::Instance()
{
    // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND]

    float m_flAwaitedDuck = 0.0;

    int m_iMaxChoke = 4 * (g_pGlobals.Server.Type < 3) + 10;

    bool m_bFactors = (g_pLocalPlayer->m_fFlags() & FL_ONGROUND) && !g_pGlobals.Exploits.IsAllowed && !g_pGlobals.Exploits.TickbaseShift
        && g_pGlobals.Server.AnimstateMode == ANIMSTATE_DEFAULT
        && g_pConfigs.Ragebot.Enabled
        && (g_pConfigs.Misc.FakeduckKey > 0 && g_pConfigs.Misc.Fakeduck)
        && g_pGlobals.Server.Tickrate == 64;

    g_pGlobals.Data.FakeduckEnabled = m_bFactors;

    if (!g_pGlobals.Data.FakeduckEnabled)
    {
        if (m_bFactors)
        {
            if (g_pClientState->m_iChokedCommands)
            {
                g_pGlobals.Data.FakeduckEnabled = false;
            }
            else
            {
                g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;
                g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
            }
        }
        return;
    }

    if (m_bFactors)
    {
        g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;

        if (g_pClientState->m_iChokedCommands < m_iMaxChoke)
            g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
        else
            g_pGlobals.UserCmd->m_buttons |= IN_DUCK;
    }

    if (g_pGlobals.UserCmd->m_buttons & IN_DUCK)
        m_flAwaitedDuck = 1.0;
    else
        m_flAwaitedDuck = 0.0;

    if (m_flAwaitedDuck == g_pLocalPlayer->m_flDuckAmount())
    {
        if (!g_pGlobals.Data.FakeduckEnabled)
            return;

        g_pGlobals.Data.NextChoke = m_iMaxChoke + g_pLocalPlayer->m_nTickbase() - g_pClientState->m_iChokedCommands + 1;
    }

    g_pGlobals.Data.FakeduckEnabled = true;

    g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;

    if (m_flAwaitedDuck <= g_pLocalPlayer->m_flDuckAmount())
        g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
    else
        g_pGlobals.UserCmd->m_buttons |= IN_DUCK;

    if (g_pClientState->m_iChokedCommands < m_iMaxChoke)
        g_pGlobals.Data.IsChoked = true;
    else
        g_pGlobals.Data.NextChoke = g_pLocalPlayer->m_nTickbase() + 1;
}
 
B.O.M.J
Эксперт
Статус
Оффлайн
Регистрация
19 Май 2017
Сообщения
2,399
Реакции[?]
897
Поинты[?]
3K
Начинающий
Статус
Оффлайн
Регистрация
4 Июн 2022
Сообщения
73
Реакции[?]
10
Поинты[?]
2K
void __cdecl OneTap::Features::FakeDuck::Instance()
{
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND]

local = C_SDK::Data::ClientSnapshot.LocalPlayer;
maxChoke = 4 * (OneTap::Globals::ServerData.Type < C_SDK::Server::Types::VALVE) + 10;
isFakeDuckEnabled = OneTap::Configuration::Ragebot::Fakeduck::IsEnabled;
handle = C_SDK::VirtualReflectionHandler::CallVirtualFunction(C_SDK::Data::ClientSnapshot.EngineClient, 12);
handle();
v2 = C_SDK::Player::Wrapper::GetClientByHandle(local);
player = v2(v3);
flags = C_SDK::NetVars::m_fFlags;
if...
LOBYTE(factors) = (*(flags + player) & C_SDK::Classes::CUserCmd::Buttons::IN_ATTACK) != 0
&& !OneTap::Configuration::Ragebot::Exploits::IsAllowed
&& !OneTap::Globals::ServerData.IsTickbaseNotShifted
&& OneTap::Globals::ServerData.AnimStateMode == C_SDK::Server::AnimstateMode::DEFAULT
&& OneTap::Configuration::Ragebot::IsEnabled
&& byte_447186DC
&& sub_43EBE620(
OneTap::Configuration::Ragebot::Fakeduck::BindKey,
OneTap::Configuration::Ragebot::Fakeduck::Type)
&& (OneTap::Configuration::Ragebot::Fakeduck::BindKey > 0
|| OneTap::Configuration::Ragebot::Fakeduck::Type == 2)
&& ((v6 = C_SDK::VirtualReflectionHandler::CallVirtualFunction(
C_SDK::Data::ClientSnapshot.HlClient,
90),
!v6())
|| OneTap::Configuration::Ragebot::Fakeduck::Type == 1
|| OneTap::Configuration::Ragebot::Fakeduck::Type == 2)
&& OneTap::Globals::Tickrate == 64;
OneTap::Configuration::Ragebot::Fakeduck::IsEnabled = factors;
if (!isFakeDuckEnabled)
{
if ( factors )
{
if ( C_SDK::Data::ClientSnapshot.ClientState->m_chokedCommands )
{
OneTap::Configuration::Ragebot::Fakeduck::IsEnabled = 0;
}
else
{
cmd = &OneTap::Globals::CommandManager.m_commands[OneTap::Globals::CommandManager.m_sequence % 150];
if...
cmd->m_userCmd->m_buttons |= C_SDK::Classes::CUserCmd::Buttons::IN_BULLRUSH;
cmd = &OneTap::Globals::CommandManager.m_commands[OneTap::Globals::CommandManager.m_sequence % 150];
if...
cmd->m_userCmd->m_buttons &= ~C_SDK::Classes::CUserCmd::Buttons::IN_DUCK;
}
}
return;
}

if ( factors )
goto LABEL_49;
cmd = &OneTap::Globals::CommandManager.m_commands[OneTap::Globals::CommandManager.m_sequence % 150];
if...
if ( (cmd->m_userCmd->m_buttons & C_SDK::Classes::CUserCmd::Buttons::IN_DUCK) != 0 )
awaitedDuck = 1.0;
else
awaitedDuck = 0.0;
local = C_SDK::Data::ClientSnapshot.LocalPlayer;
handle = C_SDK::VirtualReflectionHandler::CallVirtualFunction(C_SDK::Data::ClientSnapshot.EngineClient, 12);
handle();
ClientByHandle = C_SDK::Player::Wrapper::GetClientByHandle(local);
player = ClientByHandle(v15);
duckAmount = C_SDK::NetVars::m_flDuckAmount;
if...
playerDuckAmount = *(duckAmount + player);
if ( awaitedDuck == playerDuckAmount )
{
if ( !OneTap::Configuration::Ragebot::Fakeduck::IsEnabled )
return;
LABEL_49:
cmd = &OneTap::Globals::CommandManager.m_commands[OneTap::Globals::CommandManager.m_sequence % 150];
if...
cmd->m_userCmd->m_buttons |= C_SDK::Classes::CUserCmd::Buttons::IN_BULLRUSH;
if ( C_SDK::Data::ClientSnapshot.ClientState->m_chokedCommands < maxChoke >> 1 )
{
cmd = &OneTap::Globals::CommandManager.m_commands[OneTap::Globals::CommandManager.m_sequence % 150];
if...
cmd->m_userCmd->m_buttons &= ~C_SDK::Classes::CUserCmd::Buttons::IN_DUCK;
}
else
{
cmd = &OneTap::Globals::CommandManager.m_commands[OneTap::Globals::CommandManager.m_sequence % 150];
if...
cmd->m_userCmd->m_buttons |= C_SDK::Classes::CUserCmd::Buttons::IN_DUCK;
}
local = C_SDK::Data::ClientSnapshot.LocalPlayer;
dword_44733158 = maxChoke + OneTap::Globals::Tickcount - C_SDK::Data::ClientSnapshot.ClientState->m_chokedCommands;
handle = C_SDK::VirtualReflectionHandler::CallVirtualFunction(C_SDK::Data::ClientSnapshot.EngineClient, 12);
handle();
v33 = C_SDK::Player::Wrapper::GetClientByHandle(local);
player = v33(v34);
tickBase = C_SDK::NetVars::m_nTickBase;
if...
goto SHIFT_TICKBASE;
}
OneTap::Configuration::Ragebot::Fakeduck::IsEnabled = 1;
v19 = &OneTap::Globals::CommandManager.m_commands[OneTap::Globals::CommandManager.m_sequence % 150];
if ( !v19->m_userCmd || !v19->m_verifiedCommand )
v19 = 0;
v19->m_userCmd->m_buttons |= C_SDK::Classes::CUserCmd::Buttons::IN_BULLRUSH;
v20 = *C_SDK::CUserCmd::GetLastFromBuffer(&OneTap::Globals::CommandManager.m_sequence);
if ( awaitedDuck <= playerDuckAmount )
v20->m_buttons &= ~C_SDK::Classes::CUserCmd::Buttons::IN_DUCK;
else
v20->m_buttons |= C_SDK::Classes::CUserCmd::Buttons::IN_DUCK;
LocalPlayer = C_SDK::Data::ClientSnapshot.LocalPlayer;
dword_44733158 = OneTap::Globals::Tickcount - C_SDK::Data::ClientSnapshot.ClientState->m_chokedCommands + 14;
v22 = C_SDK::VirtualReflectionHandler::CallVirtualFunction(C_SDK::Data::ClientSnapshot.EngineClient, 12);
v22();
v23 = C_SDK::Player::Wrapper::GetClientByHandle(LocalPlayer);
player = v23(v24);
tickBase = C_SDK::NetVars::m_nTickBase;
if...
SHIFT_TICKBASE:
OneTap::Globals::FakeDuck::NextChoke = maxChoke
+ *(player + tickBase)
- C_SDK::Data::ClientSnapshot.ClientState->m_chokedCommands
+ 1;
if ( C_SDK::Data::ClientSnapshot.ClientState->m_chokedCommands < maxChoke )
{
*OneTap::Globals::CUserCmd = 0;
LOBYTE(OneTap::Globals::FakeDuck::IsChoked) = 1;
}
else
{
*OneTap::Globals::CUserCmd = 1;
local = C_SDK::Data::ClientSnapshot.LocalPlayer;
handle = C_SDK::VirtualReflectionHandler::CallVirtualFunction(C_SDK::Data::ClientSnapshot.EngineClient, 12);
handle();
v37 = C_SDK::Player::Wrapper::GetClientByHandle(local);
player = v37(v38);
player = C_SDK::NetVars::m_nTickBase;
if...
OneTap::Globals::FakeDuck::NextChoke = *(player + player) + 1;
}
}
I think that your code is correct, here is the pseudo if anyone wants to see what he converted / do it themselves.
 
muduck
Забаненный
Статус
Оффлайн
Регистрация
24 Окт 2021
Сообщения
859
Реакции[?]
125
Поинты[?]
5K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Onetap v2 fakeduck

Возможно вронг.

C++:
void OneTap::Features::FakeDuck::Instance()
{
    // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND]

    float m_flAwaitedDuck = 0.0;

    int m_iMaxChoke = 4 * (g_pGlobals.Server.Type < 3) + 10;

    bool m_bFactors = (g_pLocalPlayer->m_fFlags() & FL_ONGROUND) && !g_pGlobals.Exploits.IsAllowed && !g_pGlobals.Exploits.TickbaseShift
        && g_pGlobals.Server.AnimstateMode == ANIMSTATE_DEFAULT
        && g_pConfigs.Ragebot.Enabled
        && (g_pConfigs.Misc.FakeduckKey > 0 && g_pConfigs.Misc.Fakeduck)
        && g_pGlobals.Server.Tickrate == 64;

    g_pGlobals.Data.FakeduckEnabled = m_bFactors;

    if (!g_pGlobals.Data.FakeduckEnabled)
    {
        if (m_bFactors)
        {
            if (g_pClientState->m_iChokedCommands)
            {
                g_pGlobals.Data.FakeduckEnabled = false;
            }
            else
            {
                g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;
                g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
            }
        }
        return;
    }

    if (m_bFactors)
    {
        g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;

        if (g_pClientState->m_iChokedCommands < m_iMaxChoke)
            g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
        else
            g_pGlobals.UserCmd->m_buttons |= IN_DUCK;
    }

    if (g_pGlobals.UserCmd->m_buttons & IN_DUCK)
        m_flAwaitedDuck = 1.0;
    else
        m_flAwaitedDuck = 0.0;

    if (m_flAwaitedDuck == g_pLocalPlayer->m_flDuckAmount())
    {
        if (!g_pGlobals.Data.FakeduckEnabled)
            return;

        g_pGlobals.Data.NextChoke = m_iMaxChoke + g_pLocalPlayer->m_nTickbase() - g_pClientState->m_iChokedCommands + 1;
    }

    g_pGlobals.Data.FakeduckEnabled = true;

    g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;

    if (m_flAwaitedDuck <= g_pLocalPlayer->m_flDuckAmount())
        g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
    else
        g_pGlobals.UserCmd->m_buttons |= IN_DUCK;

    if (g_pClientState->m_iChokedCommands < m_iMaxChoke)
        g_pGlobals.Data.IsChoked = true;
    else
        g_pGlobals.Data.NextChoke = g_pLocalPlayer->m_nTickbase() + 1;
}
го автоскоп из вантапа???
 
Нефор
Забаненный
Статус
Оффлайн
Регистрация
9 Ноя 2018
Сообщения
1,042
Реакции[?]
663
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
блятьпиздец вы что не в состояние фейкдак самим сделать
и реверсите этот мусор с п2к какой ужас то блять
 
Начинающий
Статус
Оффлайн
Регистрация
8 Окт 2021
Сообщения
5
Реакции[?]
0
Поинты[?]
0
Onetap v2 fakeduck

Возможно вронг.

C++:
void OneTap::Features::FakeDuck::Instance()
{
    // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND]

    float m_flAwaitedDuck = 0.0;

    int m_iMaxChoke = 4 * (g_pGlobals.Server.Type < 3) + 10;

    bool m_bFactors = (g_pLocalPlayer->m_fFlags() & FL_ONGROUND) && !g_pGlobals.Exploits.IsAllowed && !g_pGlobals.Exploits.TickbaseShift
        && g_pGlobals.Server.AnimstateMode == ANIMSTATE_DEFAULT
        && g_pConfigs.Ragebot.Enabled
        && (g_pConfigs.Misc.FakeduckKey > 0 && g_pConfigs.Misc.Fakeduck)
        && g_pGlobals.Server.Tickrate == 64;

    g_pGlobals.Data.FakeduckEnabled = m_bFactors;

    if (!g_pGlobals.Data.FakeduckEnabled)
    {
        if (m_bFactors)
        {
            if (g_pClientState->m_iChokedCommands)
            {
                g_pGlobals.Data.FakeduckEnabled = false;
            }
            else
            {
                g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;
                g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
            }
        }
        return;
    }

    if (m_bFactors)
    {
        g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;

        if (g_pClientState->m_iChokedCommands < m_iMaxChoke)
            g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
        else
            g_pGlobals.UserCmd->m_buttons |= IN_DUCK;
    }

    if (g_pGlobals.UserCmd->m_buttons & IN_DUCK)
        m_flAwaitedDuck = 1.0;
    else
        m_flAwaitedDuck = 0.0;

    if (m_flAwaitedDuck == g_pLocalPlayer->m_flDuckAmount())
    {
        if (!g_pGlobals.Data.FakeduckEnabled)
            return;

        g_pGlobals.Data.NextChoke = m_iMaxChoke + g_pLocalPlayer->m_nTickbase() - g_pClientState->m_iChokedCommands + 1;
    }

    g_pGlobals.Data.FakeduckEnabled = true;

    g_pGlobals.UserCmd->m_buttons |= IN_BULLRUSH;

    if (m_flAwaitedDuck <= g_pLocalPlayer->m_flDuckAmount())
        g_pGlobals.UserCmd->m_buttons &= ~IN_DUCK;
    else
        g_pGlobals.UserCmd->m_buttons |= IN_DUCK;

    if (g_pClientState->m_iChokedCommands < m_iMaxChoke)
        g_pGlobals.Data.IsChoked = true;
    else
        g_pGlobals.Data.NextChoke = g_pLocalPlayer->m_nTickbase() + 1;
}
wow its amazing thx for that crazy shit!
 
Эксперт
Статус
Оффлайн
Регистрация
29 Мар 2021
Сообщения
1,605
Реакции[?]
607
Поинты[?]
48K
шатап книга
Забаненный
Статус
Оффлайн
Регистрация
7 Мар 2020
Сообщения
485
Реакции[?]
119
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Сверху Снизу