Commit Graph

491 Commits

Author SHA1 Message Date
Shauren
6b4ff53187 Core/Misc: Mark some functions noexcept to reduce size of compiled code 2026-01-09 12:14:36 +01:00
Shauren
38886d5f01 Core/Misc: Hashing update
* Update hash_combine with latest version from boost
* Change most std::hash specializations to simply hash all of the input bytes instead of combining their hashes
2026-01-08 00:41:16 +01:00
Shauren
d93f1a63c0 Core/Objects: Added new visible object type - bnet account with HousingStorageData 2025-12-29 00:28:20 +01:00
Shauren
bd2b12fa36 Core: Updated to 11.2.7 2025-12-16 00:09:26 +01:00
Shauren
90be8fafb3 Core/Misc: Use std::scoped_lock instead of unique_lock where possible (and old lock_guard) 2025-11-30 14:25:32 +01:00
Shauren
7c95937a67 Core/Database: Escape "OFFSET" MariaDB keyword in prepared statements
Closes #31357
2025-10-10 19:06:21 +02:00
Shauren
53068a94e8 Core: Updated to 11.2.5.63704 2025-10-10 16:21:55 +02:00
Shauren
203ad17560 Core/Objects: Preserve phaseUseFlags, terrainSwapMap, ScriptName and StringId columns when saving creature and gameobject spawns in database
Closes #31291
2025-09-21 00:45:27 +02:00
Shauren
55687670c8 Core/Database: Remove warning suppression for mysql_stmt_bind_param, it has been undeprecated by MySQL 2025-08-30 19:52:32 +02:00
Shauren
b386971229 Dep/MySQL: Move required version checks to CMake, raise required version to 8.0.34 and remove strict compiled<->runtime version match requirement from non-Windows platforms 2025-08-30 19:25:47 +02:00
Shauren
5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
Shauren
b4f7948dfb Core/Database: Add Empty and CancelAll functions to AsyncCallbackProcessor and enable callback concept check 2025-07-09 20:14:21 +02:00
Shauren
60400d25f5 Core/Players: Implemented PlayerDataElementAccount, PlayerDataElementCharacter, PlayerDataFlagAccount and PlayerDataFlagCharacter 2025-06-27 15:29:30 +02:00
Shauren
247c25abc9 Core/Database: Improve code generated by DEFINE_FIELD_ACCESSOR_CACHE 2025-06-25 13:38:28 +02:00
Shauren
e284dc0a80 Core/Commands: Waypoint command fixes
* .wp add will now add data to waypoint_path table
* .wp reload will no longer crash the server
* Replace deprecated command handler arguments
2025-06-25 12:16:03 +02:00
Shauren
d89ebc125c Core/Database: Add new member functions to Field class that return empty optionals if database result was NULL 2025-06-24 15:41:25 +02:00
Shauren
c896303577 Core/Database: Fixed DEFINE_FIELD_ACCESSOR_CACHE_ANONYMOUS macro arguments 2025-06-21 00:26:11 +02:00
Shauren
ceb8d561b4 Core: Updated to 11.1.7 2025-06-18 11:37:07 +02:00
Shauren
dcb2857f38 Core/Database: Update PCH content to include most commonly used headers 2025-06-11 20:41:47 +02:00
Shauren
6a20d3181d Core/Chat: Support new 11.1.5 chat link color format and more chat link types 2025-04-27 17:09:17 +02:00
Shauren
f9bf082be9 Core: Updated to 11.1.5 2025-04-25 22:50:11 +02:00
Shauren
29a680a1c2 Core/Database: Added very simple macro to create named query result field accessors 2025-04-25 19:54:38 +02:00
Shauren
caf9e8e3e8 Core/Database: Fix duplicate query column aliases 2025-03-13 21:10:36 +01:00
Shauren
d997e821dd Core/Database: Improve assertion message on duplicate column aliases in queries 2025-03-13 20:48:27 +01:00
Shauren
f5d71b2b92 Core/Database: Optimize named query result field access 2025-03-13 12:41:00 +01:00
Ovahlord
6de1e51a2f Core/Database: Implement accessing query result fields by name 2025-03-13 12:41:00 +01:00
Shauren
29e0327076 Core/Players: Implement warband scene collection 2025-03-04 13:52:20 +01:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Meji
c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren
27860c3316 Core/Database: Added std::span based functions to Field and PreparedStatement 2025-01-03 13:04:19 +01:00
Shauren
4f7079f471 Core: Updated to 11.0.7 2024-12-18 22:50:33 +01:00
Shauren
ed666e4e8c Core/Misc: Fixed build with c++23 enabled
Closes #30511
2024-12-16 11:56:03 +01:00
Ovahlord
e721334828 Core/Database: removed more duplicate aliases from prepared statements 2024-12-14 22:50:34 +01:00
Shauren
1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren
6dd5fb9d88 Core/Auras: Implemented mount equipment 2024-11-19 21:40:49 +01:00
Shauren
af4dcc93ed Core/Networking: Support IPv6 2024-11-12 13:54:43 +01:00
Shauren
b0352ef78e Core/DataStores: Updated db2 structures to 11.0.5 2024-10-30 14:40:23 +01:00
Shauren
1a41281e37 Core/Misc: Replace std::ostringstream based formatting with Trinity::StringFormat where possible in common and database projects 2024-10-16 18:58:45 +02:00
Traesh
adbe74a1a4 Core/DataStores: Load FlightCapability.db2 2024-10-06 14:36:32 +02:00
Shauren
49ab2bbe38 Core/Players: Prevent creation of characters with duplicate names
Closes #30299
2024-10-03 12:22:22 +02:00
Shauren
726412d983 Core/Database: Fix database connections failing to open over named pipes for users using caching_sha2_password authentication plugin if this is the first time this user attempts to log in since starting MySQL server 2024-09-25 10:46:46 +02:00
Shauren
11a832fa8b Core/Database: Change database async thread shutdown to fix some corner cases leading to servers being stuck on shutdown (for example with exit() call) 2024-09-19 13:38:49 +02:00
Shauren
3e28ee080a Core/Loot: Implemented currency loot 2024-08-26 15:02:22 +02:00
Shauren
c4b710446d Core/Realms: Realmlist refactors
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9
2024-08-18 18:59:58 +02:00
Shauren
df1ec76d54 Core: Updated to 11.0.2 2024-08-16 00:03:22 +02:00
Shauren
d1ffe61727 Core/Players: Implemented hero talents 2024-08-10 12:01:47 +02:00
Shauren
a7c8ac3505 Core/Players: Fixed trait configs getting into invalid state after talent tree changes between client patches
Closes #29398
2024-08-04 18:24:10 +02:00
Shauren
df51150381 Core/DataStores: Updated to 11.0.0 2024-08-02 14:40:12 +02:00
Shauren
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Shauren
d4998bd04a Core/DBLayer: Add field metadata getters to query result classes 2024-07-14 14:54:51 +02:00