diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-23 02:32:18 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-23 02:32:18 +0100 |
commit | 23a1dafcde70822a9899e9aab190f36521c1aedd (patch) | |
tree | 58292b4d3abfa22742c9d8e8fcff208c9c6b2475 /NorthstarDedicatedTest/dedicated.cpp | |
parent | 8564c36b49f5f0451be5036371e421a44425b02e (diff) | |
download | NorthstarLauncher-23a1dafcde70822a9899e9aab190f36521c1aedd.tar.gz NorthstarLauncher-23a1dafcde70822a9899e9aab190f36521c1aedd.zip |
add basic vpk file replacement
Diffstat (limited to 'NorthstarDedicatedTest/dedicated.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dedicated.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/dedicated.cpp b/NorthstarDedicatedTest/dedicated.cpp index d526fb1b..80ab4002 100644 --- a/NorthstarDedicatedTest/dedicated.cpp +++ b/NorthstarDedicatedTest/dedicated.cpp @@ -81,7 +81,7 @@ void InitialiseDedicated(HMODULE engineAddress) *ptr = (intptr_t)doublePtr; // extra potential patches: - // nop engine.dll+1c67cd1 and +1c67d8 to skip videomode creategamewindow + // nop engine.dll+1c67d1 and +1c67d8 to skip videomode creategamewindow // also look into launcher.dll+d381, seems to cause renderthread to get made // this crashes HARD if no window which makes sense tbh // also look into materialsystem + 5B344 since it seems to be the base of all the renderthread stuff @@ -108,8 +108,8 @@ void RunServer(CDedicatedExports* dedicated) Sys_Printf(dedicated, (char*)"CDedicatedServerAPI::RunServer(): map mp_lobby"); // allow us to hit CHostState::FrameUpdate - *((int*)((char*)cEnginePtr + 12)) = 2; - *((int*)((char*)cEnginePtr + 16)) = 2; + //*((int*)((char*)cEnginePtr + 12)) = 2; + //*((int*)((char*)cEnginePtr + 16)) = 2; while (true) { |