Commit Graph

14 Commits

Author SHA1 Message Date
maximius
b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
megamage
111dac5f94 [8102] Simplify code base at new root method 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-07-01 18:23:36 -05:00
megamage
3cf2be6042 [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
--HG--
branch : trunk
2009-06-16 11:19:59 -05:00
megamage
a5dcd0e7b2 [7756] Fixed memory leak in PoolHandler::Initialize(). Author: AlexDereka
--HG--
branch : trunk
2009-05-04 17:26:47 -05:00
megamage
1cfc04f1f5 [7745] Fixed gcc warnings. Author: AlexDereka
--HG--
branch : trunk
2009-05-03 22:21:46 -05:00
megamage
cb8b3fe5db [7607] Improvements in support some generic achievement classes Author: 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-04-03 16:36:20 -06:00
megamage
c1c395dfb6 [7555] Check pool_id bafire access to pool data in PoolHandler::CheckPool Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 16:14:56 -06:00
XTZGZoReX
9fe43fa9c0 * Implementing database logging:
** 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-19 21:13:52 +01:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
10f0988fd9 [7304] Move inner template class from parent class definition for better compatibility with some GCC versions. Author: VladimirMangos
--HG--
branch : trunk
2009-02-19 18:52:03 -06:00
megamage
c2e3edc22b [7302] Fixed build at Unix/Linux.
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 18:50:12 -06:00
megamage
fe6bfc2ef1 [7301] Partially restored linux build Author: arrai
--HG--
branch : trunk
2009-02-19 18:47:52 -06:00
megamage
72e8c09212 [7299] Implemented circular loop detection for pools in pools
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 18:46:58 -06:00
megamage
83adfb5692 Added support for pools in pools
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
2009-02-19 18:46:19 -06:00