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..." );