Shauren
fbadeeae39
Core/AHBot: Fix loot query
2024-08-26 16:09:55 +02:00
Shauren
e99482ce9b
Core/Logging: Fix intellisense errors - people don't like it when code glows red without a reason
2024-03-19 13:24:23 +01: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
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
Peter Keresztes Schmidt
37777ac6e8
Scripts/Commands: Convert argument parsing of ahbot commands (PR #25264 )
...
(cherry picked from commit 426513ec8e )
2022-02-02 21:17:51 +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
ForesterDev
9124fd1f1f
Core/Items: implement some helper methods for easier readability ( #24113 )
...
(cherry picked from commit 573ddf4d22 )
2021-12-21 00:46:13 +01:00
ariel-
3bc3b3eeeb
Core/Globals: revert back to unordered_map for templates
...
Partial revert of commit b64c504314
See discussion on b64c504314
(cherry picked from commit b75ff7d4bf )
2021-06-16 01:29:25 +02:00
ariel-
21556667c1
Core/Globals: throw some RAII into ObjectMgr, and load templates into vectors
...
Ref #14274
(cherry picked from commit b64c504314 )
2021-06-16 01:00:11 +02:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
ariel-
f97c28f2f1
Core/AHBot: fix price calc
...
- priceRatio is already a factor
(cherry picked from commit 4a654be2fb )
2020-04-27 12:25:52 +02:00
ariel-
847990f030
Core/AHBot: fixed assert check
...
(cherry picked from commit c36854677c )
2020-04-27 12:25:52 +02:00
ariel-
d6e293c718
Core/AHBot: Refactor of AuctionHouseBotSeller:
...
- Use AuctionHouseBot.Class.* for what they really are, priorities, factor them when calculating item amount per class, changed enums to CONFIG_AHBOT_CLASS_*_PRIORITY to reflect this change
- Don't factor in the priority calc empty item lists:
* Let's say you had AuctionHouseBot.Class.Glyph set to 10, sum of AuctionHouseBot.Class.* is 20, and AuctionHouseBot.Items.Amount.White is 5000
* If there were no glyphs on the item list, you automatically lost 50% of the total item amount, meaning only 2500 of original 5000 were alloted to fill
- Fixed AuctionHouseBot.AH.Price.Ratio to be an actual percentage factor
- Separated containers in SellerConfiguration, each one better reflects what kind of data is stored there, now we won't use magic index 0 from _ItemInfo :P
- General cleanup, removal of bad voodoo and magical numbers
- Use unordered_sets for loading item lists, as they were only used to check for item presence
(cherry picked from commit 7f8bfe68d0 )
2020-04-27 12:25:52 +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
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
0a2d9ad2f7
Core/Items: Add ItemContext param to Item::Create function
2019-11-23 00:03:42 +01:00
Shauren
f6e2b8cdc1
Core/DBLayer: Prevent committing transactions started on a different database
2019-07-27 10:52:33 +02:00
Shauren
82c7b6c568
Core/Items: Drop item random property and suffix - all random stats must be given using bonus lists
2019-06-08 17:09:20 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Ayrton Stout
bec131eac3
Core/AH: AuctionHouseBot BidPrice determined by config options
...
(cherry picked from commit bed369e7c8 )
2018-03-18 00:19:48 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Roc13x
a6d1b34472
Core/Creature: Refactor and improve vendor items ( #20328 )
...
* Implement item bonuses in vendors.
* Implement the PlayerConditionID and IgnoreFiltering DB columns.
* Fix loading referenced vendor items
* Allow adding bonuses in .npc add item command
2017-10-09 21:03:25 +02:00
iridinite
fd53cbc5f2
[3.3.5] AHBot Characters ( #17885 )
...
(cherry picked from commit 6dc0a9f04a )
2017-10-03 16:02:32 +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
f2039981e0
Core/Game: Include cleanup, part 3
2017-05-20 00:09:37 +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
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
8742732149
Core/Items: Implemented bonus list as a possible result of RandomSuffix
...
Ref #18423
2016-12-26 21:21:28 +01:00
Shauren
1e4ccbf475
Core/Items: Removed invalid item bind type 5
2016-09-10 22:20:00 +02:00
Shauren
49d0823b70
Core: Update to 7.0.3.21963
2016-06-18 17:38:44 +02:00
Shauren
70102f32fe
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
2016-05-20 23:49:53 +02:00
Shauren
5c2c9a684f
Core/DataStores: Updated dbc/db2 to 7.0.1.20810
2016-05-20 23:46:17 +02:00
Vincent-Michael
3cd19d3b30
Core: Removed Whitespaces
2016-04-16 12:19:23 +02:00
Andrew Letson
45ea01fe5c
Core/AHBot: Improve AHBot seller math ( #16123 )
...
Eliminates edge cases with low values that would round to zero
due to using uint32 in the calculation of sell price and buyout price.
2016-04-11 18:30:40 +02:00
Aokromes
3a38bc6ff9
Core/AuctionHouse: Fix compile
2016-03-22 09:56:07 +01:00
Aokromes
b9e090a4ae
Core/AuctionHouse: Fix compile (Part 2)
2016-03-22 09:53:04 +01:00
Aokromes
a82e9fe4d3
Core/AuctionHouse: Fix compile
2016-03-22 09:48:32 +01:00
Duarte Duarte
af0da1dde1
Merge pull request #16101 from NathanHandley/3.3.5
...
Updated AuctionHouseSeller to have item class stack control
(cherry picked from commit bddf9ec6fe )
2016-03-21 23:33:00 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Kinzcool
0453fafaec
Core/Enums: Defined two unknown item flags, and cleaned the other item flags enums to reflect a better standardization
2015-05-01 21:56:33 -04:00
Nayd
86f7f47b58
Core/Build: Use std namespace in getline calls
2015-02-02 01:57:27 +00:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Nayd
4b7c1d5e45
Core/Items: Fix signed/unsigned mismatch warnings
2014-12-25 20:52:53 +00:00
Shauren
941904d5ea
Core/Items: Updated item stat calculations
...
* Implemented item modifiers
* Implemented item bonuses
2014-12-23 00:25:43 +01:00
Shauren
6dbb516b65
Core/Items: Refactored ItemTemplate
2014-12-21 13:35:43 +01:00
Intel
1e51d22d29
Core/DataStores: Updated Item DataStores
...
Signed-off-by: Nayd <dnpd.dd@gmail.com >
2014-11-15 04:27:37 +00:00
jackpoz
573707457e
Merge pull request #13440 from Rochet2/ahbot
...
Core/AH: AHBot related fixes
(cherry picked from commit 248847290a )
2014-10-28 21:02:39 +01:00
Shauren
a363c88f03
Core/Guilds: Fifth part of converting int to bigint guids in database
2014-10-25 15:04:38 +02:00
Shauren
b3e3cfa81f
Core/Entities: First part of removing GetGUIDLow() uses
2014-10-22 17:33:55 +02:00