added some specific playlist items, fix s8-s10 markers because i broke, fixed removing items on aircraft on every version, added thanos stone automatic spawning, fix a bug with lategame, add marshmello stage, fix multiple battle buses, fix teams on large team gamemodes, fix some items not removing automatically
This commit is contained in:
Milxnor
2023-04-21 22:09:20 -04:00
parent a16bb42c01
commit 769dfa08ef
29 changed files with 572 additions and 93 deletions

View File

@@ -447,23 +447,7 @@ void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
CheatManager->Teleport();
CheatManager = nullptr;
}
else if (Command == "setsafezonephase")
{
int NewSafeZonePhase = 1;
try { NewSafeZonePhase = std::stof(Arguments[1]); }
catch (...) {}
auto GameMode = (AFortGameMode*)GetWorld()->GetGameMode();
auto GameState = GameMode->GetGameState();
static auto GameMode_SafeZonePhaseOffset = GameMode->GetOffset("SafeZonePhase");
static auto GameState_SafeZonePhaseOffset = GameState->GetOffset("SafeZonePhase");
GameMode->Get<int>(GameMode_SafeZonePhaseOffset) = NewSafeZonePhase;
GameState->Get<int>(GameState_SafeZonePhaseOffset) = NewSafeZonePhase;
SendMessageToConsole(PlayerController, L"Set safe zone phase!");
SendMessageToConsole(PlayerController, L"Teleported!");
}
else if (Command == "bugitgo")
{