diff --git a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/gifts.json b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/gifts.json index a7e1d966..cccd20c2 100644 --- a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/gifts.json +++ b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/gifts.json @@ -9955,6 +9955,24 @@ "collectionTimeHours": 48, "associatedEvent": "Promo", "maxToSendPlayer": 5 + }, + "IL2CPP": { + "items": [ + { + "_id": "69247732af29b6d0d8b9eb42", + "_tpl": "686666db646d47fec3018925", + "slotId": "main", + "upd": { + "StackObjectsCount": 1 + }, + "parentId": "6924774ab8d5c1c95931186f" + } + ], + "sender": "System", + "messageText": "It was good while it lasted", + "collectionTimeHours": 96, + "associatedEvent": "Promo", + "maxToSendPlayer": 1 } } } diff --git a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs index 516336a6..6e9f299f 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs @@ -59,7 +59,7 @@ public class ProfileSptCommand(ISptLogger logger, MailSendSer var result = _commandRegex.Match(request.Text); - var command = result.Groups["command"].Length > 0 ? result.Groups["command"].Captures[0].Value : null; + var command = isExamine ? "examine" : (result.Groups["command"].Length > 0 ? result.Groups["command"].Captures[0].Value : null); var skill = result.Groups["skill"].Length > 0 ? result.Groups["skill"].Captures[0].Value : null; var quantity = int.Parse(result.Groups["quantity"].Length > 0 ? result.Groups["quantity"].Captures[0].Value : "0"); diff --git a/SPTarkov.Server/Program.cs b/SPTarkov.Server/Program.cs index baaa6f6c..62058cbc 100644 --- a/SPTarkov.Server/Program.cs +++ b/SPTarkov.Server/Program.cs @@ -44,19 +44,22 @@ public static class Program { if (e.Message.Contains("could not load file or assembly", StringComparison.InvariantCultureIgnoreCase)) { - var requirementName = e.Message; Console.WriteLine( "=========================================================================================================" ); Console.BackgroundColor = ConsoleColor.DarkRed; Console.ForegroundColor = ConsoleColor.Black; Console.WriteLine( - "You may have forgotten to install a requirement for one of your mods, please check the mod page again and install any requirements listed. Read the error message below CAREFULLY for the name of the mod you need to install" + "You may have forgotten to install a requirement for one of your mods, please check the mod page again and install any dependencies listed. Read the below error message CAREFULLY to find the name of the mod you need to install" ); + Console.ResetColor(); + Console.WriteLine(e); Console.WriteLine( "=========================================================================================================" ); + + return; } Console.WriteLine("=========================================================================================================");