Protocol version changes
This commit is contained in:
parent
ecf6e5bf9c
commit
f4469089f9
@ -173,7 +173,8 @@ namespace Components
|
||||
// Dependencies
|
||||
Maps::AddDependency("oilrig", "mp_subbase");
|
||||
Maps::AddDependency("gulag", "mp_subbase");
|
||||
Maps::AddDependency("^(?!mp_).*", "mp_subbase"); // All maps not starting with "mp_"
|
||||
Maps::AddDependency("invasion", "mp_rust");
|
||||
//Maps::AddDependency("^(?!mp_).*", "mp_subbase"); // All maps not starting with "mp_"
|
||||
}
|
||||
|
||||
Maps::~Maps()
|
||||
|
@ -10,6 +10,17 @@ namespace Components
|
||||
|
||||
QuickPatch::QuickPatch()
|
||||
{
|
||||
// protocol version (workaround for hacks)
|
||||
Utils::Hook::Set<int>(0x4FB501, PROTOCOL);
|
||||
|
||||
// protocol command
|
||||
Utils::Hook::Set<int>(0x4D36A9, PROTOCOL);
|
||||
Utils::Hook::Set<int>(0x4D36AE, PROTOCOL);
|
||||
Utils::Hook::Set<int>(0x4D36B3, PROTOCOL);
|
||||
|
||||
// internal version is 99, most servers should accept it
|
||||
Utils::Hook::Set<int>(0x463C61, 208);
|
||||
|
||||
// remove system pre-init stuff (improper quit, disk full)
|
||||
Utils::Hook::Set<BYTE>(0x411350, 0xC3);
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#define PROTOCOL 0x92
|
||||
|
||||
namespace Game
|
||||
{
|
||||
typedef enum
|
||||
|
Loading…
Reference in New Issue
Block a user