modded class ArmaReforgerScripted { protected float m_ERRManagerNext; override void OnUpdate(BaseWorld world, float timeslice) { super.OnUpdate(world, timeslice); m_ERRManagerNext -= timeslice; if (m_ERRManagerNext > 0 || Replication.IsServer()) return; m_ERRManagerNext = 5; ERR_GameMode mode = ERR_GameMode.Get(); if (!mode || !mode.ERR_TerrainTakenOver()) return; ChimeraWorld chimera = ChimeraWorld.CastFrom(GetWorld()); PrintFormat("ERR NATIVE POINTERS: faction=%1 loadouts=%2 perception=%3 chat=%4 radio=%5", GetFactionManager(), GetLoadoutManager(), GetPerceptionManager(), GetChat(), chimera.GetRadioManager()); SCR_AdditionalGameModeSettingsComponent settings = SCR_AdditionalGameModeSettingsComponent.GetInstance(); SCR_PerceivedFactionManagerComponent perceived = SCR_PerceivedFactionManagerComponent.GetInstance(); SCR_PlayerListedAdminManagerComponent admins = SCR_PlayerListedAdminManagerComponent.GetInstance(); SCR_IdentityManagerComponent identity = SCR_IdentityManagerComponent.GetInstance(); SCR_EntityCatalogManagerComponent catalog = SCR_EntityCatalogManagerComponent.GetInstance(); PrintFormat("ERR MANAGER PROOF: settings=%1 perceived=%2 admins=%3 identity=%4 catalog=%5 factions=%6 loadouts=%7 perception=%8 chat=%9", settings && settings.GetOwner() == mode, perceived && perceived.GetOwner() == mode, admins && admins.GetOwner() == mode, identity && identity.GetOwner() == mode, catalog && catalog.GetOwner() == mode, GetFactionManager() && GetFactionManager().GetName() == "Factions", GetLoadoutManager() && GetLoadoutManager().GetName() == "Loadouts", GetPerceptionManager() && GetPerceptionManager().GetName() == "Perception", GetChat() && GetChat().GetName() == "Chat"); } }