Age | Commit message (Collapse) | Author |
|
|
|
compatible api)
|
|
|
|
(#25341)
* AhBot Pricing: Make things more clear
* Change default value to BuyPrice and add some more information to how two sided AH works
* Sync c++ configs with .conf ones
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 812c2af4dae555b742ed318f0a93458115618356)
|
|
AllowTwoSide.Interaction.Auction is enabled
Closes #18243
(cherry picked from commit 92f9abab0607609ff7e6b7434bab66cc809084ca)
|
|
(cherry picked from commit 426513ec8e154df7c13ba98371513dd9f6d2cb9d)
|
|
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)
|
|
(cherry picked from commit e594c2d096c101a5b722793612febb6276b3b48e)
|
|
- 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)
|
|
house is now back in business.
|
|
|
|
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)
|
|
|
|
auto happy = new year(2019);
|
|
max bid price (#18697)
Closes #18698
(cherry picked from commit 4df1b28054e6712954dceb8c71b18b4b2ef2e972)
|
|
(cherry picked from commit bed369e7c8d0ef848f710bac9b8ceacc3cbe38a2)
|
|
auto happy = new year(2018);
|
|
Bonus: fix moar static analysis issues
(cherry picked from commit f4a10571f74450daf26a5b0c5bd0f3114c231120)
|
|
(cherry picked from commit 6dc0a9f04ad62e3bb7165a210b894d177ceffc05)
|
|
Happy new year
|
|
Updated AuctionHouseSeller to have item class stack control
(cherry picked from commit bddf9ec6febc9a77308d074bd10db2ddec4b48d5)
|
|
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
|
|
Happy new year (Again new year with idiots ...)
|
|
Apply an exponential formula to define the chance to bid/buyout an auction depending on auction price and item price ratio. The formula can be adjusted changing the new AuctionHouseBot.Buyer.ChanceFactor config parameter
Chance = 100 ^ (1 + (1 - (auction_price / item_price) / k)
k is the config parameter AuctionHouseBot.Buyer.ChanceFactor, the higher the number the higher chance to buy overpriced auctions.
(cherry picked from commit 177b6319d1ad49a38fbd06f37671da1e3d1ae4e6)
Conflicts:
src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
|
|
Correct AuctionHouseType definition to log the right AH type.
Handle auctions without bidder but with a bid as bought by the AH Bot
Closes #14124
(cherry picked from commit 2eee1b349f599f92f78c58418d128f386ef3b86d)
Conflicts:
src/server/game/AuctionHouse/AuctionHouseMgr.cpp
|
|
(cherry picked from commit b69fd4ac682347b8b735ac7116ada25d79698933)
Conflicts:
src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
|
|
Happy new year
|
|
|
|
|
|
Warning: CMake must be rerun
Apply if you have crashes
Rewrite Seller prices, add random properties and implement some suggestions on price calculations
Core/AHBot: Update to latest suggestions
Fix SQLs after merge, split the AH bot to spearate headers and cpps, fix the config default values
Remove case 8 from GetBuyModifier. It was not correct
Fix Gray Grey GRAY typos
Change message config name
Fix non pch build
Fix switch ident, also earlier removed whitespace. Add missing include for non pch build
Fix possible crash: if (forplayer || GetOwnerGUID()) changed to if (forplayer)
Apply Nayd.diff - Code style fixes
Fix leftovers from nayd
Correct SQL transaction and change one SQL query to C++ instead
Make loot items distinct
|