4 Commits

Author SHA1 Message Date
trickerer
94b17227ec fix(Core/WorldSession) Allow automatic session DBC locale selection from available locales (#23706) 2025-11-24 13:13:28 +01:00
Razor2142
dc160d6378 fix(Cmake/FindMySQL): corrected registry hints on windows (#23303) 2025-11-24 13:09:32 +01:00
github-actions[bot]
4bf18bfe06 chore(DB): import pending files
Referenced commit(s): 56dc563394
2025-11-24 11:58:00 +00:00
sogladev
56dc563394 fix(DB/Creature): update gossip for pilgrims bounty cooking trainers (#23873) 2025-11-24 12:56:57 +01:00
3 changed files with 8 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
-- DB update 2025_11_23_00 -> 2025_11_24_00
--
-- Set GOSSIP flag
UPDATE `creature_template` SET `npcflag` = `npcflag` | 1 WHERE (`entry` IN (34712, 34713, 34714, 34786, 34785));
-- 10568 -- Hello, $N. If you're looking for cooking training, you've come to the right place. I usually get lots of new students when Pilgrim's Bounty rolls around.
UPDATE `creature_template` SET `gossip_menu_id` = 10568 WHERE (`entry` IN (34708, 34712, 34713, 34714, 34786, 34785, 34711));

View File

@@ -137,7 +137,6 @@ if(WIN32)
)
list(SORT _MYSQL_ROOT_HINTS_SUBKEYS COMPARE NATURAL ORDER DESCENDING)
set(_MYSQL_ROOT_HINTS_REGISTRY_LOCATIONS)
foreach(subkey IN LISTS _MYSQL_ROOT_HINTS_SUBKEYS)
cmake_host_system_information(
RESULT
@@ -147,7 +146,7 @@ if(WIN32)
"HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\${subkey}" VALUE "Location"
VIEW BOTH
)
list(APPEND _MYSQL_ROOT_HINTS_REGISTRY_LOCATIONS ${_MYSQL_ROOT_HINTS_REGISTRY_LOCATION})
list(APPEND _MYSQL_ROOT_HINTS ${_MYSQL_ROOT_HINTS_REGISTRY_LOCATION})
endforeach()
file(GLOB _MYSQL_ROOT_PATHS_VERSION_SUBDIRECTORIES

View File

@@ -125,7 +125,7 @@ WorldSession::WorldSession(uint32 id, std::string&& name, uint32 accountFlags, s
m_playerLogout(false),
m_playerRecentlyLogout(false),
m_playerSave(false),
m_sessionDbcLocale(sWorld->GetDefaultDbcLocale()),
m_sessionDbcLocale(sWorld->GetAvailableDbcLocale(locale)),
m_sessionDbLocaleIndex(locale),
m_latency(0),
m_TutorialsChanged(false),