aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Handlers/CharacterHandler.cpp11
-rw-r--r--src/server/game/Server/Packets/SystemPackets.cpp23
-rw-r--r--src/server/game/Server/Packets/SystemPackets.h31
3 files changed, 41 insertions, 24 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp
index 6f4bf4e2091..ea688b97740 100644
--- a/src/server/game/Handlers/CharacterHandler.cpp
+++ b/src/server/game/Handlers/CharacterHandler.cpp
@@ -1345,8 +1345,15 @@ void WorldSession::SendFeatureSystemStatus()
features.EuropaTicketSystemStatus->ThrottleState.PerMilliseconds = 60000;
features.EuropaTicketSystemStatus->ThrottleState.TryCount = 1;
features.EuropaTicketSystemStatus->ThrottleState.LastResetTimeBeforeNow = 111111;
+
features.TutorialsEnabled = true;
- features.NPETutorialsEnabled = true;
+ features.WarModeFeatureEnabled = true;
+ features.QuestSessionEnabled = true;
+ features.WarGamesEnabled = true;
+ features.CanShowSetRoleButton = true;
+
+ features.GuildEventsEditsEnabled = true;
+ features.GuildTradeSkillsEnabled = false; // currently disabled on 4.4.1
features.AddonChatThrottle.MaxTries = 10;
features.AddonChatThrottle.TriesRestoredPerSecond = 1;
@@ -1365,8 +1372,6 @@ void WorldSession::SendFeatureSystemStatus()
features.BpayStoreEnabled = sWorld->getBoolConfig(CONFIG_FEATURE_SYSTEM_BPAY_STORE_ENABLED);
features.IsMuted = !CanSpeak();
- features.TextToSpeechFeatureEnabled = false;
-
features.IsLFDEnabled = sLFGMgr->isOptionEnabled(lfg::LFG_OPTION_ENABLE_DUNGEON_FINDER);
features.IsLFREnabled = sLFGMgr->isOptionEnabled(lfg::LFG_OPTION_ENABLE_RAID_FINDER);
features.IsPremadeGroupEnabled = sLFGMgr->isOptionEnabled(lfg::LFG_OPTION_ENABLE_PREMADE_GROUP);
diff --git a/src/server/game/Server/Packets/SystemPackets.cpp b/src/server/game/Server/Packets/SystemPackets.cpp
index c14bc777465..bd533bb8c60 100644
--- a/src/server/game/Server/Packets/SystemPackets.cpp
+++ b/src/server/game/Server/Packets/SystemPackets.cpp
@@ -136,25 +136,27 @@ WorldPacket const* FeatureSystemStatus::Write()
_worldPacket << Bits<1>(ChatDisabledByPlayer);
_worldPacket << Bits<1>(LFGListCustomRequiresAuthenticator);
_worldPacket << Bits<1>(AddonsDisabled);
- _worldPacket << Bits<1>(TimerunningEnabled);
_worldPacket << Bits<1>(WarGamesEnabled);
- _worldPacket << Bits<1>(ContentTrackingEnabled);
- _worldPacket << Bits<1>(IsSellAllJunkEnabled);
+ _worldPacket << OptionalInit(RaceClassExpansionLevels);
+ _worldPacket << Bits<1>(Unknown_441_0);
+ _worldPacket << Bits<1>(Unknown_441_1);
+ _worldPacket << Bits<1>(Unknown_441_2);
+ _worldPacket << Bits<1>(Unknown_441_3);
_worldPacket << Bits<1>(IsGroupFinderEnabled);
_worldPacket << Bits<1>(IsLFDEnabled);
_worldPacket << Bits<1>(IsLFREnabled);
_worldPacket << Bits<1>(IsPremadeGroupEnabled);
_worldPacket << Bits<1>(CanShowSetRoleButton);
- _worldPacket << Bits<1>(false); // unused 10.2.7
+ _worldPacket << Bits<1>(PetHappinessEnabled);
+
_worldPacket << Bits<1>(GuildEventsEditsEnabled);
_worldPacket << Bits<1>(GuildTradeSkillsEnabled);
-
_worldPacket << BitsSize<7>(Unknown1027);
_worldPacket << Bits<1>(BNSendWhisperUseV2Services);
-
_worldPacket << Bits<1>(BNSendGameDataUseV2Services);
- _worldPacket << Bits<1>(IsAccountCurrencyTransferEnabled);
+ _worldPacket << Bits<1>(Unknown_441_4);
+ _worldPacket << Bits<1>(Unknown_441_5);
_worldPacket.FlushBits();
@@ -191,6 +193,13 @@ WorldPacket const* FeatureSystemStatus::Write()
_worldPacket << int32(SessionAlert->DisplayTime);
}
+ if (RaceClassExpansionLevels)
+ {
+ _worldPacket << uint32(RaceClassExpansionLevels->size());
+ if (!RaceClassExpansionLevels->empty())
+ _worldPacket.append(RaceClassExpansionLevels->data(), RaceClassExpansionLevels->size());
+ }
+
_worldPacket.WriteString(Unknown1027);
{
diff --git a/src/server/game/Server/Packets/SystemPackets.h b/src/server/game/Server/Packets/SystemPackets.h
index 8c1ff5f18e5..a13c5ef288d 100644
--- a/src/server/game/Server/Packets/SystemPackets.h
+++ b/src/server/game/Server/Packets/SystemPackets.h
@@ -144,11 +144,10 @@ namespace WorldPackets
bool WillKickFromWorld = false;
bool RestrictedAccount = false;
bool TutorialsEnabled = false;
- bool NPETutorialsEnabled = false;
bool KioskModeEnabled = false;
bool CompetitiveModeEnabled = false;
bool TokenBalanceEnabled = false;
- bool WarModeFeatureEnabled = true;
+ bool WarModeFeatureEnabled = false;
bool ClubsEnabled = false;
bool ClubsBattleNetClubTypeAllowed = false;
bool ClubsCharacterClubTypeAllowed = false;
@@ -165,21 +164,25 @@ namespace WorldPackets
bool ChatDisabledByPlayer = false;
bool LFGListCustomRequiresAuthenticator = false;
bool AddonsDisabled = false;
- bool TimerunningEnabled = false;
- bool WarGamesEnabled = false; // classic only
- bool ContentTrackingEnabled = false;
- bool IsSellAllJunkEnabled = false;
- bool IsGroupFinderEnabled = true; // classic only
- bool IsLFDEnabled = true; // classic only
- bool IsLFREnabled = true; // classic only
- bool IsPremadeGroupEnabled = true; // classic only
- bool CanShowSetRoleButton = true;
- bool GuildEventsEditsEnabled = true;
- bool GuildTradeSkillsEnabled = true;
+ bool WarGamesEnabled = false;
+ bool Unknown_441_0 = false;
+ bool Unknown_441_1 = false;
+ bool Unknown_441_2 = false;
+ bool Unknown_441_3 = false;
+ bool IsGroupFinderEnabled = false;
+ bool IsLFDEnabled = false;
+ bool IsLFREnabled = false;
+ bool IsPremadeGroupEnabled = false;
+ bool CanShowSetRoleButton = false;
+ bool PetHappinessEnabled = false;
+ bool GuildEventsEditsEnabled = false;
+ bool GuildTradeSkillsEnabled = false;
bool BNSendWhisperUseV2Services = true; ///< BNSendWhisper will send to v2.WhisperService instead of v1.NotificationService
bool BNSendGameDataUseV2Services = true; ///< BNSendGameData will send to v2.NotificationService instead of v1.NotificationService
- bool IsAccountCurrencyTransferEnabled = false;
+ bool Unknown_441_4 = false;
+ bool Unknown_441_5 = false;
+ Optional<std::vector<uint8>> RaceClassExpansionLevels;
SocialQueueConfig QuickJoinConfig;
SquelchInfo Squelch;
RafSystemFeatureInfo RAFSystem;