aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
AgeCommit message (Collapse)Author
2024-08-26Core/AHBot: Fix loot queryShauren
2024-03-19Core/Logging: Fix intellisense errors - people don't like it when code glows ↵Shauren
red without a reason
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-09-19Core/Misc: Changed string formatting functions to accept std::string_view as ↵Shauren
format argument instead being templated on it to slightly improve compile times and reduce executable size
2022-02-02Scripts/Commands: Convert argument parsing of ahbot commands (PR #25264)Peter Keresztes Schmidt
(cherry picked from commit 426513ec8e154df7c13ba98371513dd9f6d2cb9d)
2022-01-23Core/Time: Rename GetGameTime{System, Steady}Point methodsTreeston
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)
2021-12-21Core/Items: implement some helper methods for easier readability (#24113)ForesterDev
(cherry picked from commit 573ddf4d22564d022e30807c5ba2c6eb1a2c8b2e)
2021-06-16Core/Globals: revert back to unordered_map for templatesariel-
Partial revert of commit b64c5043140dc7b7908e259e441de16cc0261320 See discussion on https://github.com/TrinityCore/TrinityCore/commit/b64c5043140dc7b7908e259e441de16cc0261320 (cherry picked from commit b75ff7d4bf13fb4778843c99521223becc096ca0)
2021-06-16Core/Globals: throw some RAII into ObjectMgr, and load templates into vectorsariel-
Ref #14274 (cherry picked from commit b64c5043140dc7b7908e259e441de16cc0261320)
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-04-27Core/AHBot: fix price calcariel-
- priceRatio is already a factor (cherry picked from commit 4a654be2fbb1857f31180f8d4edca91f7825c34a)
2020-04-27Core/AHBot: fixed assert checkariel-
(cherry picked from commit c36854677c4cef0c83a81afa23b45ba322d354cc)
2020-04-27Core/AHBot: Refactor of AuctionHouseBotSeller:ariel-
- 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 7f8bfe68d0f660643c8bd4c63d2129d220c2184c)
2020-04-20Core/AuctionHouse: After taking a break at the start of patch 8.3 auction ↵Shauren
house is now back in business.
2020-01-02New YearAokromes
2019-11-23Core/Items: Add ItemContext param to Item::Create functionShauren
2019-07-27Core/DBLayer: Prevent committing transactions started on a different databaseShauren
2019-06-08Core/Items: Drop item random property and suffix - all random stats must be ↵Shauren
given using bonus lists
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-03-18Core/AH: AuctionHouseBot BidPrice determined by config optionsAyrton Stout
(cherry picked from commit bed369e7c8d0ef848f710bac9b8ceacc3cbe38a2)
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-10-09Core/Creature: Refactor and improve vendor items (#20328)Roc13x
* 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-03[3.3.5] AHBot Characters (#17885)iridinite
(cherry picked from commit 6dc0a9f04ad62e3bb7165a210b894d177ceffc05)
2017-06-04Core/Game: Include cleanup part 5Shauren
* ObjectMgr.h * Player.h * Unit.h * G3D should no longer propagate everywhere from Spline/MotionMaster
2017-05-20Core/Game: Include cleanup, part 3Shauren
2017-05-18Core/Game: Include cleanupShauren
* 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-11Core/Common: Include cleanupShauren
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-12-26Core/Items: Implemented bonus list as a possible result of RandomSuffixShauren
Ref #18423
2016-09-10Core/Items: Removed invalid item bind type 5Shauren
2016-06-18Core: Update to 7.0.3.21963Shauren
2016-05-20Core/DataStores: Updated opcodes and db2 to 7.0.3.21414Shauren
2016-05-20Core/DataStores: Updated dbc/db2 to 7.0.1.20810Shauren
2016-04-16Core: Removed WhitespacesVincent-Michael
2016-04-11Core/AHBot: Improve AHBot seller math (#16123)Andrew Letson
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-03-22Core/AuctionHouse: Fix compileAokromes
2016-03-22Core/AuctionHouse: Fix compile (Part 2)Aokromes
2016-03-22Core/AuctionHouse: Fix compileAokromes
2016-03-21Merge pull request #16101 from NathanHandley/3.3.5Duarte Duarte
Updated AuctionHouseSeller to have item class stack control (cherry picked from commit bddf9ec6febc9a77308d074bd10db2ddec4b48d5)
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-05-01Core/Enums: Defined two unknown item flags, and cleaned the other item flags ↵Kinzcool
enums to reflect a better standardization
2015-02-02Core/Build: Use std namespace in getline callsNayd
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-12-25Core/Items: Fix signed/unsigned mismatch warningsNayd
2014-12-23Core/Items: Updated item stat calculationsShauren
* Implemented item modifiers * Implemented item bonuses
2014-12-21Core/Items: Refactored ItemTemplateShauren
2014-11-15Core/DataStores: Updated Item DataStoresIntel
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-10-28Merge pull request #13440 from Rochet2/ahbotjackpoz
Core/AH: AHBot related fixes (cherry picked from commit 248847290ae11478d51decdc605691311dc934c5)
2014-10-25Core/Guilds: Fifth part of converting int to bigint guids in databaseShauren
2014-10-22Core/Entities: First part of removing GetGUIDLow() usesShauren