aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/gameutils.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-13 20:02:28 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-13 20:02:28 +0100
commitf425377e5b15dc97ce8caa484b3e282ec5df529c (patch)
treec3d9a27cb8be758839a90ca85b045144f39b8616 /NorthstarDedicatedTest/gameutils.cpp
parent9a3e1ec2daf753106ee95d53719d94921d3b051f (diff)
downloadNorthstarLauncher-f425377e5b15dc97ce8caa484b3e282ec5df529c.tar.gz
NorthstarLauncher-f425377e5b15dc97ce8caa484b3e282ec5df529c.zip
add local http server for auth
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r--NorthstarDedicatedTest/gameutils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp
index 1cf919fb..fc6b2dc7 100644
--- a/NorthstarDedicatedTest/gameutils.cpp
+++ b/NorthstarDedicatedTest/gameutils.cpp
@@ -15,6 +15,9 @@ ConVar* Cvar_hostport;
// playlist stuff
GetCurrentPlaylistType GetCurrentPlaylistName;
+// uid
+char* g_LocalPlayerUserID;
+
void InitialiseEngineGameUtilFunctions(HMODULE baseAddress)
{
Cbuf_GetCurrentPlayer = (Cbuf_GetCurrentPlayerType)((char*)baseAddress + 0x120630);
@@ -22,7 +25,9 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress)
g_GameCHostStateSingleton = (CHostState*)((char*)baseAddress + 0x7CF180);
- Cvar_hostport = (ConVar*)((char*)baseAddress + 0x1FA6070);
+ Cvar_hostport = (ConVar*)((char*)baseAddress + 0x13FA6070);
GetCurrentPlaylistName = (GetCurrentPlaylistType)((char*)baseAddress + 0x18C640);
+
+ g_LocalPlayerUserID = (char*)baseAddress + 0x13F8E688;
}