aboutsummaryrefslogtreecommitdiff
path: root/src/game/AuctionHouseHandler.cpp
AgeCommit message (Collapse)Author
2009-08-19 [8378] Use exceptions instead of explicit size checking for each packet ↵megamage
Author: arrai CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd could crash due to the asserts in ByteBuffer.h. That was exploitable by malicious players. Furthermore, there were duplicate checks: Additionally to CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye on not exceeding the packet boundaries - just to crash the server for sure in such a case. To prevent memory leaks or other undesirable states, please read in every handler all variables _before_ doing any concrete handling. --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-06-04*Including style fixing - part 1panaut0lordv
--HG-- branch : trunk
2009-05-31 [7918] Improve portability in work with uint64 string format specifiers ↵megamage
and in code literals. Author: VladimirMangos * Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define. I64FMTD renamed to UI64FMTD for more clear name. * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals. Please always use UI64LIT(0x00001) instead less portable 0x00001LL --HG-- branch : trunk
2009-04-19[7688] Move Get*IfCanInteractWith to Player including renamed ↵megamage
IsGameObjectOfTypeInRange. Author: VladimirMangos --HG-- branch : trunk
2009-04-06*Update of aura system.QAston
--HG-- branch : trunk
2009-03-24[7532] Avoid warnings at use size_t with printf fromat strings. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-05[7378]~[7381] achievement code update. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-02-28AHBot/AH changesParadox iamparadox@netscape.net
--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-13Rename AuctionHouse.cpp -> AuctionHouseHandler.cpp AuctionHouseObject.h ↵megamage
->AuctionHouseMgr.h Author: VladimirMangos --HG-- branch : trunk