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
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 2803269e8c )
2020-03-30 17:04:27 +02:00
Shauren
d731ebb4bd
Core/AuctionHouse: Fixed auction deposit calculation
...
Closes #23656
(cherry picked from commit 6f7ab81725 )
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 7567cafec8 )
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
Shauren
e8e89f58fb
Core/DBLayer: Prevent using prepared statements on wrong database
2019-07-27 01:00:37 +02:00
r00ty-tc
83e2777249
[Core/AH] Correctly check player can pay deposit
...
- Deposit amount wasn't correctly checked in the case of multiple items,
player with insufficient funds could auctin more items than they should
(cherrypicked from 6bd9aa2787 )
2019-07-21 21:06:54 +02:00
xinef1
ad4e63bae1
Core/Misc: Moved CharacterInfo out of world to separate class
...
Closes #19030
(cherrypicked from 59ce3d6c9b )
2019-07-21 21:06:54 +02:00
Shauren
455959c606
Core/PacketIO: Rewrite updatefield handling
2019-06-08 17:06:57 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Roc13x
b9b661da08
Core/Items: Add loot scaling support ( #21853 )
...
* Implement ITEM_BONUS_SCALING_STAT_DISTRIBUTION_FIXED.
* Fix auctionhouse search with scaled items.
* Fix RequiredLevel enforcement for scaled items.
* Fix item enchants not scaling properly with bonuses.
2018-04-28 14:40:00 +03:00
Shauren
007b5a68c5
Core/DataStores: Fixed db2 structures after 7.3.5
2018-03-12 23:11:49 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
iridinite
fd53cbc5f2
[3.3.5] AHBot Characters ( #17885 )
...
(cherry picked from commit 6dc0a9f04a )
2017-10-03 16:02:32 +02:00
roc13x
e04f75bd96
Core/Players: Several gold handling improvements
...
* Update gold limit to 10 million
* Updated auction house gold handling to 64-bit
* Fixed some vendor checks for when BuyCount > 1
* Tweaked some checks for available gold space
* Updated guild bank gold handling to 64-bit and fix withdraw limits
* Enforce gold limit on guild bank
* Check correct rank right when withdrawing from bank
* Other small changes to update money to 64-bit
Closes #19195
Closes #20152
2017-08-20 18:10:11 +02:00
Shauren
b453e12423
Core/Game: Include cleanup part 5
...
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren
c5d3dd90be
Core/Game: Include cleanup
...
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
20f0db0e47
Core/PacketIO: Fixed SMSG_MAIL_LIST_RESULT structure
2016-10-01 12:17:31 +02:00
Shauren
452cae0c0b
Core/Items: Fixed saving gem bonuses
2016-07-10 14:41:18 +02:00
Shauren
27e08e48e1
Core/PacketIO: Updated AH and mail packets
2016-06-14 21:28:48 +02:00
Shauren
d2733eb6f1
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
2016-06-13 21:00:25 +02:00
Vincent-Michael
7eceba09d7
Core/Misc: Fixed warnings
2016-06-08 13:06:16 +02:00