Гайд Mega superior sendmove from counter struk

Участник
Статус
Оффлайн
Регистрация
19 Апр 2020
Сообщения
1,180
Реакции[?]
314
Поинты[?]
152K
C++:
void CL_SendMove( void )
{
    byte data[ MAX_CMD_BUFFER ];
    
    int nextcommandnr = cl.lastoutgoingcommand + cl.chokedcommands + 1;
 
    // send the client update packet
 
    CLC_Move moveMsg;
 
    moveMsg.m_DataOut.StartWriting( data, sizeof( data ) );
 
    // Determine number of backup commands to send along
    int cl_cmdbackup = 2;
    moveMsg.m_nBackupCommands = clamp( cl_cmdbackup, 0, MAX_BACKUP_COMMANDS );
 
    // How many real new commands have queued up
    moveMsg.m_nNewCommands = 1 + cl.chokedcommands;
    moveMsg.m_nNewCommands = clamp( moveMsg.m_nNewCommands, 0, MAX_NEW_COMMANDS );
 
    int numcmds = moveMsg.m_nNewCommands + moveMsg.m_nBackupCommands;
 
    int from = -1;    // first command is deltaed against zeros
 
    bool bOK = true;
 
    for ( int to = nextcommandnr - numcmds + 1; to <= nextcommandnr; to++ )
    {
        bool isnewcmd = to >= (nextcommandnr - moveMsg.m_nNewCommands + 1);
 
        // first valid command number is 1
        bOK = bOK && g_ClientDLL->WriteUsercmdDeltaToBuffer( &moveMsg.m_DataOut, from, to, isnewcmd );
        from = to;
    }
 
    if ( bOK )
    {
        // only write message if all usercmds were written correctly, otherwise parsing would fail
        cl.m_NetChannel->SendNetMsg( moveMsg );
    }
}
First of all, you should use this only in WriteUsercmdDeltaToBuffer hook ( according to this -
Пожалуйста, авторизуйтесь для просмотра ссылки.
)
Secondly, according to
Пожалуйста, авторизуйтесь для просмотра ссылки.
, you need to hook virtual function SendNetMsg from NetChannel -
Пожалуйста, авторизуйтесь для просмотра ссылки.
( probably its index is 42, bcoz it's 7 lines above Transmit, which is 49, but i'm not 100% sure tbh )
And also take a look at global vars like cl in source sdk, which is probably g_pClientState in your pasta

Have a good day
 
шатап книга
Забаненный
Статус
Оффлайн
Регистрация
7 Мар 2020
Сообщения
485
Реакции[?]
119
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
C++:
void CL_SendMove( void )
{
    byte data[ MAX_CMD_BUFFER ];
   
    int nextcommandnr = cl.lastoutgoingcommand + cl.chokedcommands + 1;

    // send the client update packet

    CLC_Move moveMsg;

    moveMsg.m_DataOut.StartWriting( data, sizeof( data ) );

    // Determine number of backup commands to send along
    int cl_cmdbackup = 2;
    moveMsg.m_nBackupCommands = clamp( cl_cmdbackup, 0, MAX_BACKUP_COMMANDS );

    // How many real new commands have queued up
    moveMsg.m_nNewCommands = 1 + cl.chokedcommands;
    moveMsg.m_nNewCommands = clamp( moveMsg.m_nNewCommands, 0, MAX_NEW_COMMANDS );

    int numcmds = moveMsg.m_nNewCommands + moveMsg.m_nBackupCommands;

    int from = -1;    // first command is deltaed against zeros

    bool bOK = true;

    for ( int to = nextcommandnr - numcmds + 1; to <= nextcommandnr; to++ )
    {
        bool isnewcmd = to >= (nextcommandnr - moveMsg.m_nNewCommands + 1);

        // first valid command number is 1
        bOK = bOK && g_ClientDLL->WriteUsercmdDeltaToBuffer( &moveMsg.m_DataOut, from, to, isnewcmd );
        from = to;
    }

    if ( bOK )
    {
        // only write message if all usercmds were written correctly, otherwise parsing would fail
        cl.m_NetChannel->SendNetMsg( moveMsg );
    }
}
First of all, you should use this only in WriteUsercmdDeltaToBuffer hook ( according to this -
Пожалуйста, авторизуйтесь для просмотра ссылки.
)
Secondly, according to
Пожалуйста, авторизуйтесь для просмотра ссылки.
, you need to hook virtual function SendNetMsg from NetChannel -
Пожалуйста, авторизуйтесь для просмотра ссылки.
( probably its index is 42, bcoz it's 7 lines above Transmit, which is 49, but i'm not 100% sure tbh )
And also take a look at global vars like cl in source sdk, which is probably g_pClientState in your pasta

Have a good day
ура! запостил хуйню которая в паблике лежит еще со времен мамонтов!
 
Забаненный
Статус
Оффлайн
Регистрация
16 Янв 2022
Сообщения
68
Реакции[?]
9
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
selfcoded? :roflanBuldiga:
 
(\ /) _ ($ __ $ ) _ (\ /)
Пользователь
Статус
Оффлайн
Регистрация
22 Окт 2021
Сообщения
368
Реакции[?]
92
Поинты[?]
24K
C++:
void CL_SendMove( void )
{
    byte data[ MAX_CMD_BUFFER ];
   
    int nextcommandnr = cl.lastoutgoingcommand + cl.chokedcommands + 1;

    // send the client update packet

    CLC_Move moveMsg;

    moveMsg.m_DataOut.StartWriting( data, sizeof( data ) );

    // Determine number of backup commands to send along
    int cl_cmdbackup = 2;
    moveMsg.m_nBackupCommands = clamp( cl_cmdbackup, 0, MAX_BACKUP_COMMANDS );

    // How many real new commands have queued up
    moveMsg.m_nNewCommands = 1 + cl.chokedcommands;
    moveMsg.m_nNewCommands = clamp( moveMsg.m_nNewCommands, 0, MAX_NEW_COMMANDS );

    int numcmds = moveMsg.m_nNewCommands + moveMsg.m_nBackupCommands;

    int from = -1;    // first command is deltaed against zeros

    bool bOK = true;

    for ( int to = nextcommandnr - numcmds + 1; to <= nextcommandnr; to++ )
    {
        bool isnewcmd = to >= (nextcommandnr - moveMsg.m_nNewCommands + 1);

        // first valid command number is 1
        bOK = bOK && g_ClientDLL->WriteUsercmdDeltaToBuffer( &moveMsg.m_DataOut, from, to, isnewcmd );
        from = to;
    }

    if ( bOK )
    {
        // only write message if all usercmds were written correctly, otherwise parsing would fail
        cl.m_NetChannel->SendNetMsg( moveMsg );
    }
}
First of all, you should use this only in WriteUsercmdDeltaToBuffer hook ( according to this -
Пожалуйста, авторизуйтесь для просмотра ссылки.
)
Secondly, according to
Пожалуйста, авторизуйтесь для просмотра ссылки.
, you need to hook virtual function SendNetMsg from NetChannel -
Пожалуйста, авторизуйтесь для просмотра ссылки.
( probably its index is 42, bcoz it's 7 lines above Transmit, which is 49, but i'm not 100% sure tbh )
And also take a look at global vars like cl in source sdk, which is probably g_pClientState in your pasta

Have a good day
Зачем ты высрал 1 в 1 сообщение вилки?
 
шатап книга
Забаненный
Статус
Оффлайн
Регистрация
7 Мар 2020
Сообщения
485
Реакции[?]
119
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Эксперт
Статус
Оффлайн
Регистрация
30 Дек 2019
Сообщения
1,967
Реакции[?]
958
Поинты[?]
19K
C++:
void CL_SendMove( void )
{
    byte data[ MAX_CMD_BUFFER ];
   
    int nextcommandnr = cl.lastoutgoingcommand + cl.chokedcommands + 1;

    // send the client update packet

    CLC_Move moveMsg;

    moveMsg.m_DataOut.StartWriting( data, sizeof( data ) );

    // Determine number of backup commands to send along
    int cl_cmdbackup = 2;
    moveMsg.m_nBackupCommands = clamp( cl_cmdbackup, 0, MAX_BACKUP_COMMANDS );

    // How many real new commands have queued up
    moveMsg.m_nNewCommands = 1 + cl.chokedcommands;
    moveMsg.m_nNewCommands = clamp( moveMsg.m_nNewCommands, 0, MAX_NEW_COMMANDS );

    int numcmds = moveMsg.m_nNewCommands + moveMsg.m_nBackupCommands;

    int from = -1;    // first command is deltaed against zeros

    bool bOK = true;

    for ( int to = nextcommandnr - numcmds + 1; to <= nextcommandnr; to++ )
    {
        bool isnewcmd = to >= (nextcommandnr - moveMsg.m_nNewCommands + 1);

        // first valid command number is 1
        bOK = bOK && g_ClientDLL->WriteUsercmdDeltaToBuffer( &moveMsg.m_DataOut, from, to, isnewcmd );
        from = to;
    }

    if ( bOK )
    {
        // only write message if all usercmds were written correctly, otherwise parsing would fail
        cl.m_NetChannel->SendNetMsg( moveMsg );
    }
}
First of all, you should use this only in WriteUsercmdDeltaToBuffer hook ( according to this -
Пожалуйста, авторизуйтесь для просмотра ссылки.
)
Secondly, according to
Пожалуйста, авторизуйтесь для просмотра ссылки.
, you need to hook virtual function SendNetMsg from NetChannel -
Пожалуйста, авторизуйтесь для просмотра ссылки.
( probably its index is 42, bcoz it's 7 lines above Transmit, which is 49, but i'm not 100% sure tbh )
And also take a look at global vars like cl in source sdk, which is probably g_pClientState in your pasta

Have a good day
Зепостнул с гитхаба и сидит
 
Забаненный
Статус
Оффлайн
Регистрация
28 Фев 2022
Сообщения
24
Реакции[?]
5
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
C++:
void CL_SendMove( void )
{
    byte data[ MAX_CMD_BUFFER ];
   
    int nextcommandnr = cl.lastoutgoingcommand + cl.chokedcommands + 1;

    // send the client update packet

    CLC_Move moveMsg;

    moveMsg.m_DataOut.StartWriting( data, sizeof( data ) );

    // Determine number of backup commands to send along
    int cl_cmdbackup = 2;
    moveMsg.m_nBackupCommands = clamp( cl_cmdbackup, 0, MAX_BACKUP_COMMANDS );

    // How many real new commands have queued up
    moveMsg.m_nNewCommands = 1 + cl.chokedcommands;
    moveMsg.m_nNewCommands = clamp( moveMsg.m_nNewCommands, 0, MAX_NEW_COMMANDS );

    int numcmds = moveMsg.m_nNewCommands + moveMsg.m_nBackupCommands;

    int from = -1;    // first command is deltaed against zeros

    bool bOK = true;

    for ( int to = nextcommandnr - numcmds + 1; to <= nextcommandnr; to++ )
    {
        bool isnewcmd = to >= (nextcommandnr - moveMsg.m_nNewCommands + 1);

        // first valid command number is 1
        bOK = bOK && g_ClientDLL->WriteUsercmdDeltaToBuffer( &moveMsg.m_DataOut, from, to, isnewcmd );
        from = to;
    }

    if ( bOK )
    {
        // only write message if all usercmds were written correctly, otherwise parsing would fail
        cl.m_NetChannel->SendNetMsg( moveMsg );
    }
}
First of all, you should use this only in WriteUsercmdDeltaToBuffer hook ( according to this -
Пожалуйста, авторизуйтесь для просмотра ссылки.
)
Secondly, according to
Пожалуйста, авторизуйтесь для просмотра ссылки.
, you need to hook virtual function SendNetMsg from NetChannel -
Пожалуйста, авторизуйтесь для просмотра ссылки.
( probably its index is 42, bcoz it's 7 lines above Transmit, which is 49, but i'm not 100% sure tbh )
And also take a look at global vars like cl in source sdk, which is probably g_pClientState in your pasta

Have a good day
hello bro, u are dont send real and fake commands
this send move not fully for other exploits
useless post.
 
Сверху Снизу