Skip to content

Commit e3f69b4

Browse files
author
Github Actions
committed
Merge 3.3.5 to 3.3.5-base_patch
2 parents 12f8706 + ea41228 commit e3f69b4

114 files changed

Lines changed: 3870 additions & 2118 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sql/base/auth_database.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ CREATE TABLE `account` (
4545
`mutereason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
4646
`muteby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
4747
`locale` tinyint unsigned NOT NULL DEFAULT '0',
48-
`os` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
48+
`os` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
4949
`timezone_offset` smallint NOT NULL DEFAULT '0',
5050
`recruiter` int unsigned NOT NULL DEFAULT '0',
5151
PRIMARY KEY (`id`),
@@ -2532,7 +2532,8 @@ INSERT INTO `updates` VALUES
25322532
('2024_11_22_00_auth.sql','F2C1D1572A3968E9E9D778EF7DC82778DF3EF887','ARCHIVED','2024-11-22 23:18:14',0),
25332533
('2025_02_14_00_auth.sql','4A30E92FF519BB41C520CDBF90019291217C26A2','ARCHIVED','2025-02-14 17:20:00',0),
25342534
('2025_10_21_00_auth.sql','1A221989F98337CB285B4328E791F5531CFD2454','ARCHIVED','2025-10-21 18:16:45',0),
2535-
('2026_01_12_00_auth.sql','91644588146896CA04E6B8FEDEB34CF4FEB64EEF','RELEASED','2026-01-12 21:26:18',0);
2535+
('2026_01_12_00_auth.sql','91644588146896CA04E6B8FEDEB34CF4FEB64EEF','RELEASED','2026-01-12 21:26:18',0),
2536+
('2026_05_15_00_auth.sql','652E7EEDF5E2BBB426564B866B61307C45E43680','RELEASED','2026-05-15 13:56:56',0);
25362537
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
25372538
UNLOCK TABLES;
25382539

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `account` CHANGE `os` `os` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';

src/common/Common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ enum LocaleConstant : uint8
6262
#define DEFAULT_LOCALE LOCALE_enUS
6363

6464
#define MAX_LOCALES 8
65-
#define MAX_ACCOUNT_TUTORIAL_VALUES 8
6665

6766
TC_COMMON_API extern char const* localeNames[TOTAL_LOCALES];
6867

src/server/game/AI/CoreAI/UnitAI.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@ void UnitAI::DoMeleeAttackIfReady()
7575
}
7676
}
7777

78-
bool UnitAI::DoSpellAttackIfReady(uint32 spell)
78+
bool UnitAI::DoSpellAttackIfReady(uint32 spellId)
7979
{
8080
if (me->HasUnitState(UNIT_STATE_CASTING) || !me->isAttackReady())
8181
return true;
8282

83-
if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spell))
83+
if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId))
8484
{
8585
if (me->IsWithinCombatRange(me->GetVictim(), spellInfo->GetMaxRange(false)))
8686
{
87-
me->CastSpell(me->GetVictim(), spell, false);
87+
me->CastSpell(me->GetVictim(), spellId, false);
8888
me->resetAttackTimer();
8989
return true;
9090
}

src/server/game/AI/CoreAI/UnitAI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ class TC_GAME_API UnitAI
247247
virtual bool ShouldSparWith(Unit const* /*target*/) const { return false; }
248248

249249
void DoMeleeAttackIfReady();
250-
bool DoSpellAttackIfReady(uint32 spell);
250+
bool DoSpellAttackIfReady(uint32 spellId);
251251

252252
static AISpellInfoType* AISpellInfo;
253253
static void FillAISpellInfo();

src/server/game/Achievements/AchievementMgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2474,7 +2474,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaData()
24742474
uint32 dataType = fields[1].GetUInt8();
24752475
std::string scriptName = fields[4].GetString();
24762476
uint32 scriptId = 0;
2477-
if (scriptName.length()) // not empty
2477+
if (!scriptName.empty())
24782478
{
24792479
if (dataType != ACHIEVEMENT_CRITERIA_DATA_TYPE_SCRIPT)
24802480
TC_LOG_ERROR("sql.sql", "Table `achievement_criteria_data` contains a ScriptName for non-scripted data type (Entry: {}, type {}), useless data.", criteria_id, dataType);

src/server/game/Battlegrounds/Battleground.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ class TC_GAME_API Battleground
396396
virtual void EndBattleground(uint32 winner);
397397
void BlockMovement(Player* player);
398398

399-
void SendWarningToAll(uint32 entry, ...);
400399
void SendMessageToAll(uint32 entry, ChatMsg type, Player const* source = nullptr);
401400
void PSendMessageToAll(uint32 entry, ChatMsg type, Player const* source, ...);
402401

0 commit comments

Comments
 (0)