From 743d0158d609f5065c41d7448e2419ecb53366ee Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 17 Feb 2022 17:20:40 -0500 Subject: [PATCH] Core/PacketIO: updated SMSG_FEATURE_SYSTEM_STATUS Port From (https://github.com/TrinityCore/TrinityCore/commit/931ca1e54675a6c1fc5d4a30e65a650807022eb4) --- Source/Framework/Constants/SharedConst.cs | 7 +++++++ Source/Game/Handlers/CharacterHandler.cs | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Source/Framework/Constants/SharedConst.cs b/Source/Framework/Constants/SharedConst.cs index 629cd1e3f..8ca619ec7 100644 --- a/Source/Framework/Constants/SharedConst.cs +++ b/Source/Framework/Constants/SharedConst.cs @@ -2931,4 +2931,11 @@ namespace Framework.Constants Normal = 0, PetBattle = 1 } + + public enum ComplaintStatus + { + Disabled = 0, + EnabledWithoutAutoIgnore = 1, + EnabledWithAutoIgnore = 2 + } } diff --git a/Source/Game/Handlers/CharacterHandler.cs b/Source/Game/Handlers/CharacterHandler.cs index 2cd4193c1..3c12304c7 100644 --- a/Source/Game/Handlers/CharacterHandler.cs +++ b/Source/Game/Handlers/CharacterHandler.cs @@ -1081,7 +1081,7 @@ namespace Game FeatureSystemStatus features = new(); // START OF DUMMY VALUES - features.ComplaintStatus = 2; + features.ComplaintStatus = (byte)ComplaintStatus.EnabledWithAutoIgnore; features.ScrollOfResurrectionRequestsRemaining = 1; features.ScrollOfResurrectionMaxRequestsPerDay = 1; features.TwitterPostThrottleLimit = 60; @@ -1097,7 +1097,6 @@ namespace Game features.EuropaTicketSystemStatus.Value.ThrottleState.PerMilliseconds = 60000; features.EuropaTicketSystemStatus.Value.ThrottleState.TryCount = 1; features.EuropaTicketSystemStatus.Value.ThrottleState.LastResetTimeBeforeNow = 111111; - features.ComplaintStatus = 0; features.TutorialsEnabled = true; features.NPETutorialsEnabled = true; // END OF DUMMY VALUES