aboutsummaryrefslogtreecommitdiff
path: root/src/game/AuctionHouseBot.cpp
AgeCommit message (Collapse)Author
2009-09-12Fix small omission in AuctionHouse.cpp caught by MrSmite, this may not make ↵Chaz Brown
any difference at all, or it might make all the difference in the world for the distribution of items in the AH.... --HG-- branch : trunk
2009-09-10Fix compatibility problems with PostgreSQL. Patch by AzuritusKudlaty
--HG-- branch : trunk
2009-08-19AHBuyer now buys when it's supposed to.Chaz Brown
Fixed some mails using hardcoded HOUR instead of MailTimeDelay from config. AHBuyer once again sends out pending sale mails, and they use the correct time. (Thanks for helping, Aokromes) Still needs some work to make the time update every second, instead of every minute. Also, thesale pending mail doesn't get deleted when the timer runs out, but, on the next mail cleanup. --HG-- branch : trunk
2009-08-18AHBot - Fix maxstack DB option to correctly set stacks to a random choice ↵Chaz Brown
between 1 and the maxstack setting of the item, instead of 1. - Thanks T`lexii for pointing this out --HG-- branch : trunk
2009-08-17New Filters added to AHBot, moved into AI section for VSChaz Brown
--HG-- branch : trunk
2009-08-14Fix typo in AHBotChaz Brown
--HG-- branch : trunk
2009-08-14Fix TypoChaz Brown
--HG-- branch : trunk
2009-08-14Cleanup Debug Output for AHBotChaz Brown
--HG-- branch : trunk
2009-08-13Fix typo and add debug_Out_Filters (update your conf)Chaz Brown
--HG-- branch : trunk
2009-08-13AHBot - Clean up some debug messages, fix a couple of possible conditions ↵Chaz Brown
where performance could be affected, shorten some code to cut down on future typos - Even though your idea wasn't valid, it lead to some of this optimization, so, thanks MrSmite --HG-- branch : trunk
2009-08-12Change/Add some debug output for Buyer and Seller in AHBotChaz Brown
--HG-- branch : trunk
2009-08-08Add config options for filters, add some, delete some, change others. Make ↵Chaz Brown
sure you update your trinitycore.conf --HG-- branch : trunk
2009-08-06AHBot rewrite, pulled from TC2-3.0.9 repo, in no particular order.Chaz Brown
*Any file named README.Something (including the original README) will be copied to the build directory when compiled with VS *Converted AuctionHouseBot to class structure, implemented Singleton for class *Moved global variables inside of AuctionHouseBot class, *Minor code cleanups, reformated headers, fixed switch logic errors *Parts of this code are from Naicisum's Mangos version. *Prevent endless looping condition where Item Quality has no percentage *Fix situation where items in the AH would be less than the maxitems setting *Move AHBot item filters to initialization so the items that are not allowed only get evaluated once. *Change the way Bid prices are calculated, along with Maximius' uint64 fix, prices should look a lot better now. *Includes a fix for grey items from MrSmite --HG-- branch : trunk
2009-08-04*Use uint64 instead of uint32 in AHbot prizes calculation to prevent ↵QAston
overflow - by MaXIMUS. --HG-- branch : trunk
2009-06-05Fix AHBot to calculate the deposit for auctions so it can be used to check ↵Chaz Brown
the code for figuring deposit amount on a wide range of items. Fix ahbotoptions command so it works from the server console again. change commented out lines in GetAuctionDeposit so they display in debug loglevel. Min/Max Time settings replaced with a function that selects 12 24 and 48 randomly as the auction times. --HG-- branch : trunk
2009-06-04*Including style fixing - part 1panaut0lordv
--HG-- branch : trunk
2009-05-06*Merge.megamage
--HG-- branch : trunk
2009-05-06*Fix a memory leak of aubot. But this should not cause crash.megamage
--HG-- branch : trunk
2009-05-06*Use correct indent for aubot.megamage
--HG-- branch : trunk
2009-04-30*Merge.megamage
--HG-- branch : trunk
2009-04-30Prevent multiple bid attempts on the same item if BidsPerInterval set to a ↵Chaz Brown
high number - patch submitted by Naicisum --HG-- branch : trunk
2009-04-29*Fix build.megamage
--HG-- branch : trunk
2009-03-31Fix typo in AHBot Thanks for noticing it, Medwise.Chaz Brown
--HG-- branch : trunk
2009-03-31Re-Enable AHBot, in the future, the correct way is to have those with a ↵Chaz Brown
problem check their config, not disabling it all together. --HG-- branch : trunk
2009-03-25* AuctionHouseBot buyer/seller forced to be disabled. This is the only ↵XTZGZoReX
solution until it is fixed. It appears AHBot was causing the many crashes TC2 users had. --HG-- branch : trunk
2009-03-21* Fixes in AHBot:XTZGZoReX
** Use GetBoolDefault for booleans instead of GetIntDefault. ** Use %u (not %d) for size logging. std::size does not return a decimal, but an unsigned integral type. --HG-- branch : trunk
2009-03-06New AHBot plus AuctionHouse changesParadox
--HG-- branch : trunk
2009-02-28AHBot/AH changesParadox iamparadox@netscape.net
--HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-13[7266] Use DBC data for auction cut/deposit percents and location (auiction ↵megamage
house id in fact). More auction related code refactoring, Move auction related code from ObjectMgr to AuctionHouseMgr. Author: VladimirMangos --HG-- branch : trunk
2009-02-09 [7250] Use bg type ids enum insted raw values and catch some bugs in ↵megamage
result for fixing. * Replace max bg type checks by DBC valid index check * Use in functions and fields BattlegroundTypeId type instead uint32 * Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls. Many bg have same raw values for type id and queue id but some can be affected by this bug: BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions) * Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr. * Remobe redundent for header itself includes for BG headers. * Use Auction location enum instead raw valus. Author: VladimirMangos --HG-- branch : trunk
2009-01-20AuctionHouseBot patch added. thanx to everyone who worked on it especially ↵KingPin
Paradox. Only apply 930_characters.sql if you dont already have AHBot installed. AHBot requires an account ID and a character ID to work with, set them in trinitycore.conf and also login atleast once to this character. --HG-- branch : trunk