1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

add official T4/WaW support for issue #178

CoD4x parser tweak to parse full guid as decimal
This commit is contained in:
RaidMax
2020-12-13 20:33:37 -06:00
parent 9e87b136fb
commit 5a81d5b214
7 changed files with 54 additions and 10 deletions

View File

@ -235,7 +235,7 @@ namespace SharedLibraryCore
/// <summary>
/// Specifies the game time offset as printed in the log
/// </summary>
public int? GameTime { get; set; }
public long? GameTime { get; set; }
public EFClient Origin;
public EFClient Target;
public EFClient ImpersonationOrigin { get; set; }

View File

@ -366,7 +366,8 @@ namespace SharedLibraryCore
/// <returns>true if is bot guid, otherwise false</returns>
public static bool IsBotGuid(this string guid)
{
return guid.Contains("bot") || guid == "0";
// todo: revisit this magic number for cod5 bot guid
return guid.Contains("bot") || guid == "0" || guid == "1075569476";
}
/// <summary>