aboutsummaryrefslogtreecommitdiff
path: root/src/game/Bag.cpp
AgeCommit message (Collapse)Author
2010-04-07Code style (game + scripts only):Spp
"( " --> "(" " )" --> ")" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"if(" --> "if (" --HG-- branch : trunk
2010-01-23Implement QueryResult_AutoPtr type which is ACE's reference counted ↵Anubisss
auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers. Use this auto_ptr for every DB queries(except QueryNamedResult yet). This patch guarantees NO memory leaks from QueryResult pointers. Thanks to raczman for the idea and for the helping to make this patch. --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2009-12-06Fix a crash related to bags (infinite recursive call). closes #581spp
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-06-27*Merge.QAston
--HG-- branch : trunk
2009-06-27*Merge tc1 1591 - 1599, skip 1596QAston
--HG-- branch : trunk
2009-06-25Backed out changeset c101c0a0a589 - that shouldn't go to repo:)QAston
--HG-- branch : trunk
2009-06-24* Update log message, fix buildMachiavelli
--HG-- branch : trunk
2009-06-24* Crash safety check in Bag::StoreItem by Visagalis/QAstonMachiavelli
--HG-- branch : trunk
2009-06-24* Fix a crash in Player::BuyItemFromVendor caused by player spoofing packets ↵Machiavelli
(Backported from TC2) * Another crash exploit prevention using the same method in Bag::StoreItem, by Visagalis --HG-- branch : trunk
2009-06-19*Fix a crash caused by ~item.megamage
--HG-- branch : trunk
2009-06-18* More updating of iterator data types in loopsMachiavelli
--HG-- branch : trunk
2009-06-18* In case of a 'for' loop, don't declare the iterator of a type that has a ↵Machiavelli
larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases). * Other minor cleanups, Null pointer checks etc. --HG-- branch : trunk
2009-06-04*Including style fixing - part 1panaut0lordv
--HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--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-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
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-11-20Re-commit 262 due to EOL issues. (no difference from 262)megamage
--HG-- branch : trunk
2008-11-06[svn] * Avoid access to bag item prototype for getting bag size, use related ↵KingPin
item update field instead as more fast source. source mangos. * Further reduce of DB access in guild handlers. * Multi-locale DBC extracting - source Foks *** Devs not responsible if all your player items drop to the ground and get eaten by ants or rabbits.. or some kind of wierd ant-rabbits.. --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