aboutsummaryrefslogtreecommitdiff
path: root/src/game/Mail.cpp
AgeCommit message (Collapse)Author
2009-09-01[8442] Change some unit flag names. Author: NoFantasymegamage
--HG-- branch : trunk
2009-09-01[8442] Fixed displaying return button in mails Author: arraimegamage
--HG-- branch : trunk
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-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-14*Do not allow player to delete COD mails.megamage
--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-07-12[8156] Some mail show flags use.megamage
[8155] Move unneeded include from header. Author: VladimirMangos --HG-- branch : trunk
2009-07-10 [8137] Init player display id + native display id on login. Author: hunuzamegamage
* Temporary reset of display id on save no longer needed. * Players always have the right model for their gender. --HG-- branch : trunk
2009-07-10 Minor optimizations to MSG_QUERY_NEXT_MAIL_TIME handler. Author: hunuzamegamage
* Do not search for more unread mails when already found 2. * Do not call time(NULL) every iteration. --HG-- branch : trunk
2009-06-27 [8072] First step to get rid of data blob.megamage
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table. The update will not work if your database contains characters with an old data field (not fitting to the actual client version). It's recommended to backup your character database before applying this patch. --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-05-31Mangos [7911]. Author: tomrus88megamage
Very big patch. May cause bugs. --HG-- branch : trunk
2009-05-27[7900] Now really allow recieve account bounded items by mail reciver. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-05-27[7898] Improve client error output at different mail send errors, cleanup ↵megamage
code. Author: VladimirMangos --HG-- branch : trunk
2009-04-19[7688] Move Get*IfCanInteractWith to Player including renamed ↵megamage
IsGameObjectOfTypeInRange. Author: VladimirMangos --HG-- branch : trunk
2009-04-13[7659] Added several security checks to prevent cheating using facked ↵megamage
packets Author: arrai --HG-- branch : trunk
2009-03-27[7552] Move client version dependend DBC code to src/game. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-06[7385] Fixed mail price calculation Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-03-05[7378]~[7381] achievement code update. Author: VladimirMangosmegamage
--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-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
2009-02-05[7230] Add spell_bonus_data for 18220 and ranks. Author: Dietrichmegamage
[7232] Use constant name that hide client dependent value. Author: VladimirMangos Skip: [7231] Some info to sql updates commiters in slq/update/README and spell chain update of [7230] --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 2Drahy
* Changed mangos website --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 1 - Mercurial cant ↵Drahy
convert all files at once --HG-- branch : trunk
2009-01-23*Update to HG 957.megamage
--HG-- branch : trunk
2008-12-24Backed out changeset: ad4f100c0a9dmegamage
--HG-- branch : trunk
2008-12-24*Update to Mangos 6938. (Only build for VC9)megamage
--HG-- branch : trunk
2008-12-12*Update to Mangos 6902. Source: Mangos.megamage
*Skipped rev: rev 6893, some code about waypoint movement. --HG-- branch : trunk
2008-12-01*Fix the bug about arena personal rating.megamage
*Update to Mangos 6870. Source: Mangos. Main change: add a function SaveDataFieldToDB(). --HG-- branch : trunk
2008-11-25*Update to Mangos 6848. Source: Mangos.megamage
--HG-- branch : trunk
2008-11-20Re-commit 262 due to EOL issues. (no difference from 262)megamage
--HG-- branch : trunk
2008-11-14[svn] *** Source: MaNGOS ***visagalis
* Fixed build extractor at Windows Vista. Author: Vladimir * Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox. * Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza * Small fixes in send/received packet and simple code cleanup also. Author: Vladimir * Not output error at loading empty character_ticket table. Author: Vladimir * Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius * Applied props to few files. --HG-- branch : trunk
2008-11-02[svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENTKingPin
* Default behaviour of pets for creatures changed to REACT_DEFENSIVE * Disallowed sending wrapped items as COD * Prevent loading and saving single target auras for pet in same way as already implemented for player * Correctly limit use some flask types to zones. * Fixed extracting common.MPQ under *nix * Many small xleanups and fixes. ** mangos merge rev. TEST REV so be careful of creepy crawly bugs! --HG-- branch : trunk
2008-10-23[svn] Fixed copyright notices to comply with GPL.w12x
--HG-- branch : trunk
2008-10-14[svn] * Merge Temp dev SVN with Assembla.Seline
* Changes include: - Implementation of w12x's Outdoor PvP and Game Event Systems. - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed). - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql). - Improved Config cleanup. - And many more changes. --HG-- branch : trunk
2008-10-02[svn] * Proper SVN structureinitNeo2003
--HG-- branch : trunk