aboutsummaryrefslogtreecommitdiff
path: root/src/game/PoolHandler.cpp
AgeCommit message (Collapse)Author
2010-04-08Code Style (game + scripts only):Spp
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
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-04-07Code style (game + scripts only):Spp
"while(" --> "while (" --HG-- branch : trunk
2010-04-07Code Style: Remove trailing spacesSpp
--HG-- branch : trunk
2010-02-14* Core switch to client 3.3.2 (11403)Brian
* Credits (in no particular order) to: * n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo, * thenecromancer, Xanadu, Trazom, Zor, kiper * Additional credits to: * TOM_RUS and NoFantasy from MaNGOS * Thanks for testing Aokromes and XTElite1 * SoTA still needs some work, but is very playable (huge thanks to raczman and * kiper) * To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the * last rev you are on * and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world * DBs * Known problem with guild banks. --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-18*Remove some of no longer needed debug code.QAston
--HG-- branch : trunk
2010-01-18*Add some debug info to trac reason of assertion fail in Unit destructor.QAston
--HG-- branch : trunk
2010-01-01Make the core boot alot cleaner. Fix some formating. Make custom attributes ↵p0wer
for spells show a bar and how much they are loading. Overall fix 99% of display issues while core is booting. --HG-- branch : trunk
2009-12-18[8667] Correctly respawn pooled object in case the same object is selected ↵n0n4m3
for respawn [8701] Fixes and inprovements in pool system. thx Frankir --HG-- branch : trunk
2009-10-31*Fix usage of grid removal state, thanks Sisifmaximius
--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-09-21*[8508] Not assign boolean value to integer variable, expecting to always be ↵maximius
0. Also renaming member variables. Author: NoFantasy *[8516] Implement spell 53271. Author: Shendor *[8519] Use RuneType enum where appropriate and more explicit data for rune init. Author: VladimirMangos Thanks to: Stryker *[8520] Limit telent 49182 and ranks triggering expected:wq runes cooldown case. Author: Shendor *Fix Herald Volazj wrongly targeting himself on Shadow Bolt Volley instead of randomly targeting on Shiver, by tlexii. --HG-- branch : trunk
2009-09-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
2009-09-14Backed out changeset d3fe2d6d504a (please test your patches thoroughly ↵maximius
before getting me to push them ogeraisi) --HG-- branch : trunk
2009-09-14*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)maximius
--HG-- branch : trunk
2009-07-01 [8102] Simplify code base at new root method ↵megamage
WorldObject::CleanupsBeforeDelete Author: VladimirMangos * Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls * Create Gameobject version to make GO with owner more safe for remove --HG-- branch : trunk
2009-06-16[8026] Obtain object's map directly by calling appropriate ↵megamage
WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal --HG-- branch : trunk
2009-05-04[7756] Fixed memory leak in PoolHandler::Initialize(). Author: AlexDerekamegamage
--HG-- branch : trunk
2009-05-03[7745] Fixed gcc warnings. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-03 [7607] Improvements in support some generic achievement classes Author: ↵megamage
VladimirMangos * Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement. * Implement support achievement complete req. with specific count of completed critirias. * Avoid full achievement list scan at search achievement associated with criteria. --HG-- branch : trunk
2009-03-28[7555] Check pool_id bafire access to pool data in PoolHandler::CheckPool ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-03-19* Implementing database logging:XTZGZoReX
** LogTime and LogColors config options removed due to incompatibility. ** Old file logging still available. ** Totally redone the Log class. ** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file. ** SQL updates attached. --HG-- branch : trunk
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--HG-- branch : trunk
2009-02-19[7304] Move inner template class from parent class definition for better ↵megamage
compatibility with some GCC versions. Author: VladimirMangos --HG-- branch : trunk
2009-02-19 [7302] Fixed build at Unix/Linux.megamage
Signed-off-by: miranda.conrado <miranda.conrado@getmangos.com> Possible fix, not checked (not have access currently to Unix host), but expected as working. Author: miranda.conrado --HG-- branch : trunk
2009-02-19[7301] Partially restored linux build Author: arraimegamage
--HG-- branch : trunk
2009-02-19 [7299] Implemented circular loop detection for pools in poolsmegamage
As a result, the last relation that makes the loop is automatically removed. An error message is displayed and core go on loading remaining records. Author: Neo2003 --HG-- branch : trunk
2009-02-19 Added support for pools in poolsmegamage
Pools inside another pool cannot have a number of spawned objects <> 1 (maxlimit value) Note: pools in a pool in a pool in a pool... is possible and working, but circulare inclusion is not detected and will cause a core infinit loop Author: Neo2003 --HG-- branch : trunk