mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-01 10:53:37 +00:00
TraversalRoot spam fix
This commit is contained in:
parent
f3e94b1e35
commit
678b9d5708
3 changed files with 18 additions and 0 deletions
|
|
@ -227,7 +227,23 @@ function CreateServer(%mission, %missionType)
|
|||
|
||||
// load the mission...
|
||||
loadMission(%mission, %missionType, true);
|
||||
|
||||
// TraversalRoot Console spam fix
|
||||
if($Host::ClassicSuppressTraversalRootError)
|
||||
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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue