246 Commits

Author SHA1 Message Date
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
af57aa29dc Core/Misc: Fix boost 1.90 compatibility change 2025-12-16 00:08:02 +01:00
Shauren
6d41bf8ee4 Core/Misc: Build fix with boost 1.90 2025-12-15 22:46:55 +01:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren
00223f3bee Core/Misc: Add a bunch of examples for 67418a1aee 2025-02-23 12:10:33 +01:00
Shauren
c85d12fc3f Core/Items: Fixed item spell charge slot indexing
Closes #30585
2025-01-25 22:48:10 +01:00
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
Shauren
8066110756 Core/PacketIO: Named a bunch of unknown/unused fields 2024-11-06 12:17:49 +01:00
Shauren
5b278a4ca7 Core/AuctionHouse: Updated AuctionHouseFilterMask and implemented current expansion filter 2024-11-03 20:53:10 +01:00
Shauren
8ff8dfd620 Core/AuctionHouse: Skip own account commodity listing when buying 2024-11-03 20:52:44 +01:00
Shauren
969be9d33c Core/AuctionHouse: Minor code modernization 2024-11-03 20:52:16 +01:00
Shauren
b83de81a70 Core/AuctionHouse: Fixed use after free
Closes #30128
2024-11-03 20:51:03 +01:00
Shauren
b13b5142f1 Core/Utilities: Extend make_unique_ptr_with_deleter functionality to allow it to create deleters with compile time constant functions (reduces its size to just sizeof(void*)) 2024-10-01 21:03:44 +02:00
Shauren
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +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
Shauren
1f73cf9f19 Core/AuctionHouse: Fixed possible use after free when auctions are removed with offline buyers 2024-03-06 12:05:54 +01:00
Mykhailo Redko
02b977c98e Core/Players: Drop Player::SaveGoldToDB() and move it's code to Player::SaveInventoryAndGoldToDB() (#29582) 2024-02-25 18:58:00 +01:00
Shauren
d9e4eccf92 Core/Auction House: Added missing nullptr check in AuctionHouseObject::SendAuctionInvoice 2023-12-07 10:37:05 +01:00
Shauren
b299902881 Core/Locales: Set active code page and locale used by c string functions to utf8
Closes #29455
2023-11-24 20:01:17 +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
b98df50add Core/Auction House: Fixed sorting items with itemlevel greater than 255 2023-06-07 20:03:20 +02:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren
e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Shauren
301572212f Core/Misc: Changed string formatting functions to accept std::string_view as format argument instead being templated on it to slightly improve compile times and reduce executable size 2022-09-19 00:33:19 +02:00
Meji
a1f673d1ca Core/BattlePets: Move BattlePet stuff from SpellMgr to BattlePetMgr (#27986) 2022-06-09 13:58:54 +02:00
Kargatum
373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4)
2022-03-05 20:07:57 +01:00
Shauren
569b5d6f04 Core/Auction House: Eliminate blocking db queries for account permissions when expiring auctions that have offline bidders
(cherry picked from commit d0d0f51f32)
2022-02-28 12:45:06 +01:00
Treeston
d11c3807b3 Core/Time: Rename GetGameTime{System, Steady}Point methods
The names are a bit unhandy. Rename them (shorter but still meaningful).

GetGameTimeSystemPoint() -> GetSystemTime()
GetGameTimeSteadyPoint() -> Now()

Also add 2 new typedefs:

typedef std::chrono::steady_clock::time_point TimePoint;
typedef std::chrono::system_clock::time_point SystemTimePoint;

Closes #25042

(cherry picked from commit 896b68d5c2)
2022-01-23 21:36:03 +01:00
ccrs
4e6c59dca7 Core/Unit: rename several getters to follow codestyle
uint8 GetLevel()
        uint8 GetLevelForTarget(WorldObject const* /*target*/)
        void SetLevel(uint8 lvl)
        uint8 GetRace()
        uint32 GetRaceMask()
        uint8 GetClass()
        uint32 GetClassMask()
        uint8 GetGender()

(cherry picked from commit 5c09ff51f7)
2021-12-13 00:42:20 +01:00
Treeston
3418a33a87 Misc: Pass std::chrono types by value everywhere.
(cherry picked from commit 2ef9d301f0)
2021-10-14 19:39:42 +02:00
Meji
0a83f74876 Core/Achievements: Update CriteriaType enum (#26856) 2021-09-08 22:07:01 +02:00
Shauren
03f09ea16a Core/Items: Implemented secondary shoulder transmog appearance 2021-08-11 22:32:14 +02:00
Shauren
cd5357dc18 Core/PacketIO: 9.1.0 opcodes and packet structures 2021-08-08 00:18:05 +02:00
Shauren
0bbf3f7300 Core/AuctionHouse: Fixed paying for commodities
Closes #26621
2021-06-24 16:04:51 +02:00
Shauren
61a7026f17 Core/AuctionHouse: Fixed buying commodities
Closes #26110
Closes #26619
2021-06-23 22:44:39 +02:00
ariel-
d0f4310c44 Core/Entities: don't allow client control if player is still affected by any lose of control state
(cherry picked from commit e315e41d36)
2021-06-16 21:26:57 +02:00
Shauren
d29dd1eeb5 Core/Misc: Change all unix time columns in character database to bigint (signed) 2021-04-05 23:47:05 +02:00
MaxtorCoder
c0f5f7d4ef Core/AuctionHouse: Fix overflow in item ordering. (#26196) 2021-03-03 15:15:08 +01:00
Shauren
83eecaf2c4 Core/PacketIO: Fill new packet fields with data 2020-12-08 18:16:46 +01:00
Shauren
f922c6e7a4 Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0) 2020-09-19 12:44:42 +02:00
Shauren
22a3cb4432 Core/Auction House: Fixed sorting in non-equipment categories 2020-06-18 10:57:26 +02:00
Shauren
e047d14a2f Core/PacketIO: Send item flags in auction items 2020-05-15 09:36:52 +02:00
Shauren
7e18255ee2 Core/AuctionHouse: Don't overflow mail attachments, send max 16 items per mail 2020-05-13 00:08:27 +02:00
Shauren
57a5969c26 Merge pull request #24500 from funjoker/cherry-picks 2020-05-01 15:41:32 +02:00
ariel-
af3934e8ce Core/Auction: wrap item deletions from AHBot auction on a transaction
This speeds up the query execution time tremendously
Refs #19182

(cherry picked from commit ae9995f463)
2020-04-27 12:25:52 +02:00
Shauren
ec87d048b4 Core/Misc: Enum flag v3 - allow enabling flag operations directly after enum definition when inside namespaces 2020-04-27 09:06:49 +02:00
Shauren
0763844fb6 Core/Misc: Improve enum flags with type safe operators 2020-04-26 15:27:48 +02:00
Shauren
fb0a29131d Core/AuctionHouse: Add separate auction house throttle period for requests from auction house addons tainting default ui 2020-04-23 14:03:17 +02:00
Shauren
aced88b09b Core/AuctionHouse: After taking a break at the start of patch 8.3 auction house is now back in business. 2020-04-20 20:36:24 +02:00