Fix private match.
This commit is contained in:
parent
5fb564408b
commit
1e1a415125
@ -36,6 +36,7 @@ namespace Components
|
||||
Command::Execute("exec default_xboxlive.cfg");
|
||||
Command::Execute("xblive_rankedmatch 1");
|
||||
Command::Execute("xblive_privatematch 1");
|
||||
Command::Execute("xblive_privateserver 0");
|
||||
Command::Execute("xstartprivatematch");
|
||||
//Command::Execute("xstartlobby");
|
||||
Command::Execute("sv_network_fps 1000");
|
||||
|
@ -152,6 +152,7 @@ namespace Components
|
||||
|
||||
// Allow xpartygo in public lobbies
|
||||
Utils::Hook::Set<BYTE>(0x5A969E, 0xEB);
|
||||
Utils::Hook::Nop(0x5A96BE, 2);
|
||||
|
||||
// Always open lobby menu when connecting
|
||||
// It's not possible to entirely patch it via code
|
||||
@ -166,9 +167,9 @@ namespace Components
|
||||
Utils::Hook::Set<BYTE>(0x487BB2, 0xEB);
|
||||
|
||||
// Force xblive_privatematch 0 and rename it
|
||||
Utils::Hook::Set<BYTE>(0x420A6A, 4);
|
||||
//Utils::Hook::Set<BYTE>(0x420A6A, 4);
|
||||
Utils::Hook::Set<BYTE>(0x420A6C, 0);
|
||||
Utils::Hook::Set<char*>(0x420A6E, "xblive_privatematch2");
|
||||
Utils::Hook::Set<char*>(0x420A6E, "xblive_privateserver");
|
||||
|
||||
// Enable XP Bar
|
||||
Utils::Hook(0x62A2A7, Party::UIDvarIntStub, HOOK_CALL).Install()->Quick();
|
||||
|
@ -70,6 +70,9 @@ namespace Components
|
||||
// splash logo
|
||||
Utils::Hook::Set<char*>(0x475F9E, "data/images/splash.bmp");
|
||||
|
||||
// Numeric ping
|
||||
Utils::Hook::Set<BYTE>(0x45888E, 1);
|
||||
|
||||
// increase font sizes for chat on higher resolutions
|
||||
static float float13 = 13.0f;
|
||||
static float float10 = 10.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user