aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcat_or_not <41955154+catornot@users.noreply.github.com>2024-04-03 19:04:07 -0400
committerGitHub <noreply@github.com>2024-04-04 01:04:07 +0200
commite334f49f28c70fa9a309de9d7dbf0f9e7008aaad (patch)
tree01c03c8a16f8c84da9c801e5550307658cb1ad16
parent8c624cbd87d5081341618a87be84285a0b8c6aa3 (diff)
downloadNorthstarLauncher-fix-invalid-cvar-replication3.tar.gz
NorthstarLauncher-fix-invalid-cvar-replication3.zip
please work
-rw-r--r--primedev/shared/exploit_fixes/exploitfixes.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/primedev/shared/exploit_fixes/exploitfixes.cpp b/primedev/shared/exploit_fixes/exploitfixes.cpp
index b71b9158..1b3069f5 100644
--- a/primedev/shared/exploit_fixes/exploitfixes.cpp
+++ b/primedev/shared/exploit_fixes/exploitfixes.cpp
@@ -135,8 +135,9 @@ bool, __fastcall, (void* pMsg)) // 48 8B D1 48 8B 49 18 48 8B 01 48 FF 60 10
if (!pVar->IsFlagSet(FCVAR_REPLICATED))
{
- return BLOCKED_INFO(
- "Invalid flags (" << std::hex << "0x" << pVar->m_ConCommandBase.m_nFlags << "), var is " << entry->name);
+ spdlog::warn(
+ "Blocking replication of remote cvar {} from server (server's var has flag REPLICATED, while ours does not)",
+ entry->name);
// don't block, as non-malicious servers might send bad cvars, and we still want those clients to be able to
// connect