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
f0a862e71b
Core/Misc: Modernize comparison operators
2023-08-24 00:51:26 +02:00
Shauren
649f8f5fc0
Codestyle fix
2023-06-07 23:52:00 +02: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
fc37c42e55
Core/Misc: Added noexcept to move constructors and move assignment operators
2022-11-06 01:03:35 +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
Shauren
6c8ef045a5
Core/DataStores: Updated structures to 9.2.5
2022-06-02 00:48:57 +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 a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
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 d0d0f51f325e4ae42c9bef7606fed4f4c00c98d6)
2022-02-28 12:45:06 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +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 896b68d5c297b06587645caebc98b704978ecaa7)
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 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Treeston
3418a33a87
Misc: Pass std::chrono types by value everywhere.
...
(cherry picked from commit 2ef9d301f0869b443122e2ba543af054c5b0e53c)
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 e315e41d36061fc88dfa09bfa0da1fbc0c00826f)
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 ae9995f463ec9797eaa4a803bdca4fbf5978a9b7)
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
Shauren
676eb6d77f
Core/Entities: ObjectGuid improvements
...
* Support creation of all guid types
* Change ToString to output client compatible text (fixes calendar and auction mails)
* Fix saving and loading item soulbound trade allowed traders
* constexpr EnumClassFlag
2020-04-12 17:50:33 +02:00
Shauren
5526e14bcf
Core/Entities: Fixed saving spawn difficulties to db for .npc add and .gob add (and other commands that modify creature/gameobject spawns table)
2020-04-03 17:41:48 +02:00
Giacomo Pozzoni
642dd62cc7
Core/Misc: Fix build warning
...
(cherry picked from commit 2803269e8cbc8dcb462425db109b67facdf71715)
2020-03-30 17:04:27 +02:00
Shauren
d731ebb4bd
Core/AuctionHouse: Fixed auction deposit calculation
...
Closes #23656
(cherry picked from commit 6f7ab817256f3b47c794b7d6431f247f4b785f9f)
2020-03-29 12:23:15 +02:00
Shauren
2c1c04a8f6
Core/AuctionHouse: Set default AllowTwoSide.Interaction.Auction to enabled
2020-03-29 12:19:38 +02:00
Shauren
569f1c9f2a
Core/PacketIO: Add new auction house packet structures (not used yet)
2020-03-14 00:14:55 +01:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
xinef1
60663d1374
Ensure that all actions are compared to fixed point in time (ie. world update start) ( #18910 )
...
- Actions will not be dependent on processing moment
- Increased GameObjects cooldown resolution to milliseconds, fixes arming time of traps to be exactly one second and not something from range (1000, 1999)
- Created GameTime namespace and UpdateTime class and moved there some code out of world
(cherrypicked from 7567cafec84080d26ea513242a1f540a823b8f9d)
2019-08-17 20:04:14 +02:00
Shauren
f6e2b8cdc1
Core/DBLayer: Prevent committing transactions started on a different database
2019-07-27 10:52:33 +02:00