aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/miscclientfixes.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-30 18:09:36 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-30 18:09:36 +0000
commite123245200cb6619467b8859c488b39f9cb2f38f (patch)
treed07ed5b649cdc890d62823e68dc0d805d2c36e76 /NorthstarDedicatedTest/miscclientfixes.cpp
parent2770beb6af1a3bcf4d303f9a10ebaaefd15f01ce (diff)
downloadNorthstarLauncher-e123245200cb6619467b8859c488b39f9cb2f38f.tar.gz
NorthstarLauncher-e123245200cb6619467b8859c488b39f9cb2f38f.zip
move to server auth token system for verifying gameserver auth messages, rather than ip
Diffstat (limited to 'NorthstarDedicatedTest/miscclientfixes.cpp')
-rw-r--r--NorthstarDedicatedTest/miscclientfixes.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/miscclientfixes.cpp b/NorthstarDedicatedTest/miscclientfixes.cpp
index d9fab647..dc68d18c 100644
--- a/NorthstarDedicatedTest/miscclientfixes.cpp
+++ b/NorthstarDedicatedTest/miscclientfixes.cpp
@@ -37,4 +37,10 @@ void InitialiseMiscClientFixes(HMODULE baseAddress)
// will say i have about 0 clue what exactly these functions do, testing this it doesn't even seem like they do much of anything i can see tbh
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x5A92D0, &CrashingWeaponActivityFunc0Hook, reinterpret_cast<LPVOID*>(&CrashingWeaponActivityFunc0));
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x5A9310, &CrashingWeaponActivityFunc1Hook, reinterpret_cast<LPVOID*>(&CrashingWeaponActivityFunc1));
+
+ // experimental: allow cl_extrapolate to be enabled without cheats
+ {
+ void* ptr = (char*)baseAddress + 0x275F9D9;
+ *((char*)ptr) = (char)0;
+ }
} \ No newline at end of file