aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/ExploitFixes.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-11 16:03:35 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-11 16:03:35 +0100
commit8205f96ceb7da38c15ef6f1af30ea1bbbeede1bf (patch)
tree74394f63da507a6e4ee474aa74bb6df5371dea8c /NorthstarDedicatedTest/ExploitFixes.cpp
parente82d6661912c3010ba77958fc977d8db1e7bc769 (diff)
downloadNorthstarLauncher-8205f96ceb7da38c15ef6f1af30ea1bbbeede1bf.tar.gz
NorthstarLauncher-8205f96ceb7da38c15ef6f1af30ea1bbbeede1bf.zip
formatting changes
Diffstat (limited to 'NorthstarDedicatedTest/ExploitFixes.cpp')
-rw-r--r--NorthstarDedicatedTest/ExploitFixes.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/NorthstarDedicatedTest/ExploitFixes.cpp b/NorthstarDedicatedTest/ExploitFixes.cpp
index 3250f3b8..935e3f63 100644
--- a/NorthstarDedicatedTest/ExploitFixes.cpp
+++ b/NorthstarDedicatedTest/ExploitFixes.cpp
@@ -365,13 +365,6 @@ void DoBytePatches()
NSMem::BytePatch(engineBase + 0x4FB65, "EB 11");
NSMem::BytePatch(engineBase + 0x4FBAC, "EB 16");
- // disconnect concommand
- {
- uintptr_t addr = engineBase + 0x5ADA2D;
- int val = *(int*)addr | FCVAR_SERVER_CAN_EXECUTE;
- NSMem::BytePatch(addr, (BYTE*)&val, sizeof(int));
- }
-
{ // Dumb ANTITAMPER patches (they negatively impact performance and security)
constexpr const char* ANTITAMPER_EXPORTS[] = {
@@ -393,7 +386,6 @@ void DoBytePatches()
{
// Just return, none of them have any args or are userpurge
NSMem::BytePatch(address, "C3");
-
spdlog::info("Patched AntiTamper function export \"{}\"", exportName);
}
}