diff --git a/Live/CWX_DebuggingTool/BotmonClass.cs b/Live/CWX_DebuggingTool/BotmonClass.cs index 6e07386..16ca895 100644 --- a/Live/CWX_DebuggingTool/BotmonClass.cs +++ b/Live/CWX_DebuggingTool/BotmonClass.cs @@ -1,7 +1,6 @@ using Comfort.Common; using EFT; using EFT.UI; -using System; using System.Collections.Generic; using System.Linq; using UnityEngine; @@ -83,7 +82,7 @@ namespace CWX_DebuggingTool _playerRoleAndDiff.Add(player.ProfileId, GetBotRoleAndDiffClass(player.Profile.Info)); }; - // Sub to event to gget and remove Bot when they despawn + // Sub to event to get and remove Bot when they despawn _botGame.BotsController.BotSpawner.OnBotRemoved += owner => { var player = owner.GetPlayer; @@ -117,12 +116,19 @@ namespace CWX_DebuggingTool if (_guiContent == null) { _guiContent = new GUIContent(); + _content = string.Empty; + } + + if (Mode >= BotMonitorMode.DelayedSpawn) + { + _content += $"Alive & Loading = {_botGame.BotsController.BotSpawner.AliveAndLoadingBotsCount}\n"; + _content += $"Delayed Bots = {_botGame.BotsController.BotSpawner.BotsDelayed}\n"; + _content += $"All Bots With Delayed = {_botGame.BotsController.BotSpawner.AllBotsWithDelayed}\n"; } // If Mode Greater than or equal to Total show total if (Mode >= BotMonitorMode.Total) { - _content = string.Empty; _content += $"Total = {_gameWorld.AllAlivePlayersList.Count - 1}\n"; } diff --git a/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj b/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj index 013ec13..0f17b18 100644 --- a/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj +++ b/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj @@ -8,39 +8,39 @@ - ..\..\EscapeFromTarkov_Data\Managed\Aki.Common.dll + ..\shared\Aki.Common.dll - ..\..\EscapeFromTarkov_Data\Managed\Aki.Reflection.dll + ..\shared\Aki.Reflection.dll - ..\..\EscapeFromTarkov_Data\Managed\Assembly-CSharp.dll + ..\shared\Assembly-CSharp.dll - ..\..\BepInEx\Core\BepInEx.dll + ..\shared\BepInEx.dll - ..\..\EscapeFromTarkov_Data\Managed\bsg.console.core.dll + ..\shared\bsg.console.core.dll - ..\..\EscapeFromTarkov_Data\Managed\Comfort.dll + ..\shared\Comfort.dll - ..\..\EscapeFromTarkov_Data\Managed\UnityEngine.dll + ..\shared\UnityEngine.dll - ..\..\EscapeFromTarkov_Data\Managed\UnityEngine.CoreModule.dll + ..\shared\UnityEngine.CoreModule.dll - ..\..\EscapeFromTarkov_Data\Managed\UnityEngine.IMGUIModule.dll + ..\shared\UnityEngine.IMGUIModule.dll - ..\..\EscapeFromTarkov_Data\Managed\UnityEngine.TextRenderingModule.dll + ..\shared\UnityEngine.TextRenderingModule.dll - + diff --git a/Live/CWX_DebuggingTool/Models/BotMonitorMode.cs b/Live/CWX_DebuggingTool/Models/BotMonitorMode.cs index 24dc33a..df297e2 100644 --- a/Live/CWX_DebuggingTool/Models/BotMonitorMode.cs +++ b/Live/CWX_DebuggingTool/Models/BotMonitorMode.cs @@ -16,6 +16,8 @@ namespace CWX_DebuggingTool.Models [Description("Total and Per Zone Total")] PerZoneTotal = 2, [Description("Total, Per Zone Total, and Bot List")] - FullList = 3 + FullList = 3, + [Description("Total, Per Zone Total, bot list, with delayed spawns")] + DelayedSpawn = 4 } }