Commit Graph

491 Commits

Author SHA1 Message Date
Ovahlord
166aec66ba Core/Misc: dropped several db2 storages which are empty/unused in classic and removed many unused opcode handlers and packet classes 2024-06-25 20:20:09 +02:00
Ovahlord
dc67de6b1b Core/Items: dropped artifact weapon implementation 2024-06-25 18:08:28 +02:00
Meji
e3f27a5beb Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead (#30042)
(cherry picked from commit d51d6b0abe)
2024-06-24 20:11:30 +02:00
Shauren
6f04a08ed9 Core/Database: Rewrite QueryCallback with std::variant
(cherry picked from commit 2b4c7dec29)
2024-06-20 01:20:05 +02:00
Shauren
296b0c91b3 Core/Database: Remove future/promise typedefs from a public header (these are internal to database project)
(cherry picked from commit 7fcb126fcb)
2024-06-20 01:20:00 +02:00
Antonio Martín Berti
50eb64d331 Core/Misc: Remove separate storage for custom messages in exception types and store it directly in base class from <stdexcept> (#30012)
(cherry picked from commit 15e995b3b3)
2024-06-20 01:13:27 +02:00
Shauren
0608cf31c2 Core/AreaTriggers: Implement height check for polygon db2 areatriggers
(cherry picked from commit 1c3268155d)
2024-06-20 01:07:34 +02:00
Meji
889abca362 Core/AreaTriggers: Fix triggering of client areatriggers for some shapes
(cherry picked from commit b070e63fa8)

# Conflicts:
#	sql/updates/auth/cata_classic/2024_05_27_00_hotfixes.sql
2024-06-20 01:07:04 +02:00
Ovahlord
8a58c75b67 Core/DataStores: named new columns in ChrCustomizationOption which have been added in 11.x 2024-06-18 19:41:09 +02:00
Ovahlord
23135b198c Core/DataStores: update DB2 structures to 55141 2024-06-18 18:11:11 +02:00
Ovahlord
0d9df719ef Core/Player: dropped PvP talent implementation 2024-06-05 22:06:25 +02:00
Ovahlord
ae23dd46b1 Core/Datastores: load new glyph and talent related db2 files 2024-06-02 16:51:26 +02:00
Ovahlord
57c36d758f Core/Items: implement reforging items 2024-06-01 19:32:24 +02:00
Ovahlord
72ef4ccf77 Core/Datastores: named unknown fields for CurrencyTypes 2024-05-28 22:28:22 +02:00
Shauren
d7cb383134 Core/Updater: Fix gcc build (this time for older gcc versions that didn't trigger the warning fixed in previous commit)
(cherry picked from commit 78aef0bd75)
2024-05-28 16:55:05 +02:00
Shauren
97191e2a11 Core/Updater: Fix gcc warning
(cherry picked from commit b288fceb79)
2024-05-28 16:55:01 +02:00
Shauren
78805e49c0 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-05-28 16:43:54 +02:00
Shauren
139d80373d Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline
(cherry picked from commit 69da702b93)

# Conflicts:
#	sql/base/characters_database.sql
2024-05-28 16:41:52 +02:00
Gosha
a1d892195f Core/Items: Fix loading secondaryItemModifiedAppearanceSpec5 (#29917)
(cherry picked from commit 8c274a8e8d)
2024-05-28 16:41:30 +02:00
Meji
2c56ee9ce1 Core/SAI: Added support for StringIds to creature and gameobject targets (#29910)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 2ce4068459)
2024-05-28 16:40:53 +02:00
Shauren
2d1c2c79ab Core/DBLayer: Support retrieving DATE/DATETIME/TIMESTAMP column values directly without casting in sql
(cherry picked from commit 404bb5b3c2)
2024-05-28 16:40:35 +02:00
Meji
382eb5063f Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
(cherry picked from commit def601b4ff)
2024-05-28 16:31:42 +02:00
Ovahlord
9d6e3e54ab Core/Datastores: updated DB2 structures to 4.4.0.54737 2024-05-23 21:18:10 +02:00
Shauren
9a0414c79e Core/Objects: Implemented vignettes
(cherry picked from commit fccf6fb72b)
2024-03-25 20:12:21 +01:00
Ovahlord
c16e24fd7f Core/DataStores: updated DB2 structures to 4.4.0.53750 2024-03-14 03:48:48 +01:00
Ovahlord
4aae7887d0 Core/Creatures: added PetSpellDataId and Civilian fields to creature_template, replaced level delta fields with MinLevel and MaxLevel in creature_template_difficulty and backported creature_classlevel_stats from 4.3.4 2024-03-13 22:34:49 +01:00
MaxtorCoder
cfc9cc9ec2 Core/PacketIO: Update to 4.4.0.53627 (#29805)
* Core/PacketIO: Update to 4.4.0.53627

* Core/IO: Remove duplicate declaration of PetSpellDataID

* Core/IO: Assign STATUS_UNHANDLED to some azerite packets
2024-03-13 21:16:18 +01:00
Ovahlord
8dea56b9db Core/Maps: dropped Garrison implementation 2024-03-12 22:27:47 +01:00
Ovahlord
d9ffc33724 Core/DataStores: duc-taped build 2024-03-10 02:39:59 +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
ModoX
3f6f683ce4 Core/Waypoints: Drop waypoint_scripts table (#29437) 2023-11-24 21:08:00 +01:00
Shauren
b888b1b09f Core/Calendar: Implement different timezone support for ingame calendar
Closes #8390
Closes #29427
2023-11-21 12:25:22 +01:00
Shauren
1eea1d11b1 Core: Update to 10.2.0 2023-11-09 13:33:26 +01:00
Meji
b8ce70d528 Core/SAI: Moved event_flags for difficulties to new field Difficulties (#29377) 2023-10-30 09:53:52 +01:00
Shauren
e161874695 Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2 2023-10-05 23:57:25 +02:00
Keramat Jokar
5b4b1892b4 Core/Players: Implement mastery and versatility in character_stats (#29342) 2023-09-30 16:41:03 +02:00
Shauren
8efeb202a5 Core: Update to 10.1.7 2023-09-07 01:10:07 +02:00