Commit Graph

460 Commits

Author SHA1 Message Date
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
Shauren
f895d04b7d Core/Database: Fixed WITH_COREDEBUG + WITH_DYNAMIC_LINKING incompatibility on windows 2024-07-05 13:28:09 +02:00
Meji
d51d6b0abe Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead (#30042) 2024-06-23 20:41:18 +02:00
Shauren
2b4c7dec29 Core/Database: Rewrite QueryCallback with std::variant 2024-06-12 23:39:27 +02:00
Shauren
7fcb126fcb Core/Database: Remove future/promise typedefs from a public header (these are internal to database project) 2024-06-12 21:41:29 +02:00
Shauren
1c3268155d Core/AreaTriggers: Implement height check for polygon db2 areatriggers 2024-05-27 18:53:47 +02:00
Meji
b070e63fa8 Core/AreaTriggers: Fix triggering of client areatriggers for some shapes 2024-05-27 18:53:47 +02:00
Shauren
468a06baf0 Core: Update to 10.2.7 2024-05-08 20:55:51 +02:00
Shauren
a39d0db9ec Core/Spells: Implemented evoker empower spell mechanic 2024-05-01 22:26:53 +02:00
Shauren
cc92417844 Core/Items: Implemented packets setting up inventory cleanup parameters 2024-04-29 00:06:02 +02:00
Shauren
69da702b93 Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline 2024-04-12 00:18:20 +02:00
Gosha
8c274a8e8d Core/Items: Fix loading secondaryItemModifiedAppearanceSpec5 (#29917) 2024-04-11 22:45:02 +02:00
Meji
2ce4068459 Core/SAI: Added support for StringIds to creature and gameobject targets (#29910)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-04-11 10:15:46 +02:00
Shauren
404bb5b3c2 Core/DBLayer: Support retrieving DATE/DATETIME/TIMESTAMP column values directly without casting in sql 2024-04-10 13:59:19 +02:00
Meji
def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01:00
Shauren
c2ac37125b Core/Players: Use CharBaseInfo.db2 data to determine appropriate race for mercenary mode transforms 2024-03-28 21:11:59 +01:00
Shauren
ac5aee6a98 Core: Updated to 10.2.6.53840 2024-03-21 21:07:23 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Shauren
5c44ac1787 Core/Database: Silence deprecation warning on mysql_stmt_bind_param 2024-03-01 11:29:09 +01:00
Ovahlord
c541eda54d Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags (#29541)
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
2024-02-29 14:43:37 +01:00
Shauren
f70a5817e1 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting 2024-01-30 21:29:55 +01:00
Shauren
25dc8de3eb Core/Bnet: Prevent crashes cauised be invalid values in salt column in battlenet_accounts 2024-01-16 14:16:31 +01:00
ModoX
12186ef857 Core/Waypoints: Refactor to split data into path and node related info in db (#29506) 2024-01-05 17:56:19 +01:00
Shauren
a2be97414b Core/Database: Fixed a shutdown crash happening if worldserver did not fully start up (for example applying a db update failed) 2023-12-29 00:31:55 +01:00
Shauren
88a7886e0d Fix bfbda8dcce 2023-12-28 19:40:48 +01:00
Shauren
3a9cbd217a Core/Database: Replace union with std::variant in Transaction 2023-12-27 00:14:12 +01:00
Shauren
623202d68e Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in battlenet_accounts to separate salt and verifier columns
* passwords can now be case sensitive and up to 128 characters long
2023-12-26 14:55:15 +01:00
Shauren
b130995814 Core/Database: Fixed worldserver hanging if opening a connection to database failed 2023-12-21 00:04:14 +01:00
Shauren
acb5fbd48b Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere 2023-12-17 23:21:10 +01:00
Shauren
d958bfd0f3 Core/Database: Replace DatabaseWorker with asio io_context 2023-12-15 12:06:59 +01:00
Shauren
5c59e2a248 Core/Database: Refactor MySQLConnection constructors and async thread creation 2023-12-14 17:00:58 +01:00
Jeremy
da0ec4f830 Core/Battleground: Rework BattlegroundScore (#29438) 2023-12-12 05:10:17 +01:00