mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-11-30 22:57:48 +00:00
feat: compile project with clang (with vs on Windows)
This commit is contained in:
@@ -24,9 +24,10 @@ game::dvar_t* cl_exploit;
|
||||
* On the server side the msg_t structure processed as follows:
|
||||
* The first 4 bytes are read but not processed (offset 0)
|
||||
* The following 2 bytes are read but not processed (offset 4)
|
||||
* The following 1 byte is read and corresponds to the client_t.serverId (offset 6)
|
||||
* The following 4 bytes are read and correspond to the client_t.messageAcknowledge (offset 7)
|
||||
* The following 4 bytes are read and correspond to the client_t.reliableAcknowledge (offset 11)
|
||||
* The following 1 byte is read and corresponds to the client_t.serverId (offset
|
||||
* 6) The following 4 bytes are read and correspond to the
|
||||
* client_t.messageAcknowledge (offset 7) The following 4 bytes are read and
|
||||
* correspond to the client_t.reliableAcknowledge (offset 11)
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -80,8 +81,12 @@ public:
|
||||
add_exploit_commands();
|
||||
add_key_hooks();
|
||||
|
||||
utils::hook(0x420B76, write_message_sequence, HOOK_CALL).install()->quick();
|
||||
utils::hook(0x420B86, write_command_sequence, HOOK_CALL).install()->quick();
|
||||
utils::hook(0x420B76, HOOK_CAST(write_message_sequence), HOOK_CALL)
|
||||
.install() // hook*
|
||||
->quick();
|
||||
utils::hook(0x420B86, HOOK_CAST(write_command_sequence), HOOK_CALL)
|
||||
.install() // hook*
|
||||
->quick();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user