From 4bbb4d05d86f68db689c8423f959bb9907beb738 Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Thu, 2 Apr 2020 01:03:50 -0400 Subject: [PATCH] Moved --- Classic/scripts/autoexec/ExploitPatches.cs | 13 +++++++++++++ Classic/scripts/server.cs | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Classic/scripts/autoexec/ExploitPatches.cs b/Classic/scripts/autoexec/ExploitPatches.cs index 55af0ea..c18aa03 100644 --- a/Classic/scripts/autoexec/ExploitPatches.cs +++ b/Classic/scripts/autoexec/ExploitPatches.cs @@ -12,3 +12,16 @@ memPatch("43CDEA","E941F65F00"); //Nope...Try Agian fix - telnet memPatch("756076","6169"); + +// Thanks Turkeh +// TraversalRoot Console spam fix +function suppressTraversalRootPatch() +{ + if($tvpatched) + return; + + warn("Patching traversal root error..."); + memPatch("56AD8A", "90909090909090909090909090909090909090909090"); + memPatch("56D114", "90909090909090909090909090909090909090909090"); + $tvpatched = 1; +} \ No newline at end of file diff --git a/Classic/scripts/server.cs b/Classic/scripts/server.cs index 45fb63f..28d2577 100644 --- a/Classic/scripts/server.cs +++ b/Classic/scripts/server.cs @@ -236,19 +236,6 @@ function CreateServer(%mission, %missionType) suppressTraversalRootPatch(); } -// Thanks Turkeh -// TraversalRoot Console spam fix -function suppressTraversalRootPatch() -{ - if($tvpatched) - return; - - warn("Patching traversal root error..."); - memPatch("56AD8A", "90909090909090909090909090909090909090909090"); - memPatch("56D114", "90909090909090909090909090909090909090909090"); - $tvpatched = 1; -} - function initGameBots( %mission, %mType ) { echo( "adding bots..." );