Protocol version changes
This commit is contained in:
parent
ecf6e5bf9c
commit
f4469089f9
@ -173,7 +173,8 @@ namespace Components
|
|||||||
// Dependencies
|
// Dependencies
|
||||||
Maps::AddDependency("oilrig", "mp_subbase");
|
Maps::AddDependency("oilrig", "mp_subbase");
|
||||||
Maps::AddDependency("gulag", "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()
|
Maps::~Maps()
|
||||||
|
@ -10,6 +10,17 @@ namespace Components
|
|||||||
|
|
||||||
QuickPatch::QuickPatch()
|
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)
|
// remove system pre-init stuff (improper quit, disk full)
|
||||||
Utils::Hook::Set<BYTE>(0x411350, 0xC3);
|
Utils::Hook::Set<BYTE>(0x411350, 0xC3);
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#define PROTOCOL 0x92
|
||||||
|
|
||||||
namespace Game
|
namespace Game
|
||||||
{
|
{
|
||||||
typedef enum
|
typedef enum
|
||||||
|
Loading…
Reference in New Issue
Block a user