Core/Misc: Update CURRENT_EXPANSION to Midnight

This commit is contained in:
Shauren
2026-03-03 22:08:13 +01:00
parent 436fd27443
commit 592e6381a9
4 changed files with 10 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ CREATE TABLE `account` (
`lock_country` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00',
`last_login` timestamp NULL DEFAULT NULL,
`online` tinyint unsigned NOT NULL DEFAULT '0',
`expansion` tinyint unsigned NOT NULL DEFAULT '10',
`expansion` tinyint unsigned NOT NULL DEFAULT '11',
`mutetime` bigint NOT NULL DEFAULT '0',
`mutereason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`muteby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
@@ -4092,7 +4092,8 @@ INSERT INTO `updates` VALUES
('2026_02_25_00_auth.sql','2AEEEB944DDF38A11AB353F34AF51F3FBA683F6E','RELEASED','2026-02-25 19:43:49',0),
('2026_02_25_01_auth.sql','CBCC2B6C82C81E99C7F68B6C80C06A8CA3F05567','RELEASED','2026-02-25 22:40:44',0),
('2026_02_27_00_auth.sql','8B58DE791107448F19E87A01445DE609CE9CF5FA','RELEASED','2026-02-27 21:19:42',0),
('2026_03_02_00_auth.sql','D1F233FE66AC4DE17A02B2421FE2064C803828AD','RELEASED','2026-03-02 00:02:26',0);
('2026_03_02_00_auth.sql','D1F233FE66AC4DE17A02B2421FE2064C803828AD','RELEASED','2026-03-02 00:02:26',0),
('2026_03_03_00_auth.sql','96385972B7941EF26ABBC15D3ABB02F06740EFF9','RELEASED','2026-03-03 20:14:21',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;

View File

@@ -0,0 +1,3 @@
ALTER TABLE `account` MODIFY `expansion` tinyint unsigned NOT NULL DEFAULT '11';
UPDATE `account` SET `expansion`=11 WHERE `expansion`=10;

View File

@@ -104,7 +104,7 @@ enum Expansions
MAX_ACCOUNT_EXPANSIONS
};
#define CURRENT_EXPANSION EXPANSION_THE_WAR_WITHIN
#define CURRENT_EXPANSION EXPANSION_MIDNIGHT
constexpr uint32 GetMaxLevelForExpansion(uint32 expansion)
{

View File

@@ -702,7 +702,8 @@ DeclinedNames = 0
# Expansion
# Description: Allow server to use content from expansions. Checks for expansion-related
# map files, client compatibility and class/race character creation.
# Default: 10 - (Expansion 10)
# Default: 11 - (Expansion 11)
# 10 - (Expansion 10)
# 9 - (Expansion 9)
# 8 - (Expansion 8)
# 7 - (Expansion 7)
@@ -714,7 +715,7 @@ DeclinedNames = 0
# 1 - (Expansion 1)
# 0 - (Disabled, Ignore and disable expansion content (maps, races, classes)
Expansion = 10
Expansion = 11
#
# MinPlayerName