aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureGroups.cpp
AgeCommit message (Collapse)Author
2010-05-05Fix crash in CreatureGroup::MemberAttackStart.Trazom62
Fixes issue #1982. --HG-- branch : trunk
2010-04-30Replace some PQuery/PExecute by more simple Query/ExecuteSpp
Original patch by hunuza, extended to whole code Closses issue 1446 --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-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
2010-01-16Fix again memory leaks in CreatureGroupManager::LoadCreatureFormations()Anubisss
my log: ==28921== 112 bytes in 7 blocks are definitely lost in loss record 8 of 67 ==28921== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==28921== by 0x8A6043: CreatureGroupManager::LoadCreatureFormations() (CreatureGroups.cpp:111) ==28921== by 0xC00E91: World::SetInitialWorldSettings() (World.cpp:1553) ==28921== by 0x808D56: Master::Run() (Master.cpp:235) ==28921== by 0x808215: main (Main.cpp:154) --HG-- branch : trunk
2010-01-16Fix 2 mem leakz.Anubisss
I pasted my log if you don't mind: ==26756== 563,120 bytes in 70 blocks are possibly lost in loss record 263 of 282 ==26756== at 0x4C268AE: malloc (vg_replace_malloc.c:207) ==26756== by 0x5823DD1: my_malloc (in /usr/lib/libmysqlclient_r.so.15.0.0) ==26756== by 0x58272C4: alloc_root (in /usr/lib/libmysqlclient_r.so.15.0.0) ==26756== by 0x584B94E: cli_read_rows (in /usr/lib/libmysqlclient_r.so.15.0.0) ==26756== by 0x58499CD: mysql_store_result (in /usr/lib/libmysqlclient_r.so.15.0.0) ==26756== by 0xCF6EB6: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*) (DatabaseMysql.cpp:219) ==26756== by 0xCF72CB: DatabaseMysql::Query(char const*) (DatabaseMysql.cpp:245) ==26756== by 0xCF4CEE: Database::PQuery(char const*, ...) (Database.cpp:136) ==26756== by 0x8A6160: CreatureGroupManager::LoadCreatureFormations() (CreatureGroups.cpp:136) ==26756== by 0xC00E3D: World::SetInitialWorldSettings() (World.cpp:1553) ==26756== by 0x808D56: Master::Run() (Master.cpp:235) ==26756== by 0x808215: main (Main.cpp:154) --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-10Fix compatibility problems with PostgreSQL. Patch by AzuritusKudlaty
--HG-- branch : trunk
2009-09-09*Some GUID cleanup, don't want any Linux crashes ;) (thanks Zor)maximius
--HG-- branch : trunk
2009-05-31*Set creature group leader following dist and angle to be zero to make it ↵megamage
safer. --HG-- branch : trunk
2009-05-17*Use degree rather than radian for creature_formation table.megamage
--HG-- branch : trunk
2009-04-10*Make CreatureGroupHolder map-based to prevent crash when using multi-thread ↵megamage
map. --HG-- branch : trunk
2009-04-09Added missing z-value in Formations.TrullyONE
--HG-- branch : trunk
2009-04-07[7622] Added creatureAI with related database tables. Author: AlexDerekamegamage
*Note: three tables are renamed. --HG-- branch : trunk
2009-04-07* Re-implement creature_formations startup checks after formations update.XTZGZoReX
--HG-- branch : trunk
2009-04-07* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *XTZGZoReX
--HG-- branch : trunk
2009-04-06*Update creature formation code.megamage
--HG-- branch : trunk
2009-04-06*CreatureGroups fixed and improoved. By TrullyONEmegamage
- Multimap support for instances added. - Removed redundant group checks. - New movement rules (bool group formed/dismissed added). - uint32 Creature::GroupID replaced with CreatureGroup pointer. --HG-- branch : trunk
2009-04-05* Do proper checks at startup for creature_formations table. Also remove ↵XTZGZoReX
useless lastLeaderGUID variable. --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-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-14*Fixed creature following in dungeonsBlaymoira
--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-12*Merge.megamage
--HG-- branch : trunk
2009-02-09Replace tabs with spaces in more files.Paradox
--HG-- branch : trunk
2009-02-04Replace tabs with spaces, and fix crlf issuesmegamage
--HG-- branch : trunk
2009-02-04*Merge.megamage
--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-31*Add a missing sql in 725. By Machiavelli.megamage
--HG-- branch : trunk
2008-12-17*Small typo fixes. After this update leader's GUIDS in CreatureGroups must ↵shadowu@mail.bg
be added also as group member GUIDS. --HG-- branch : trunk
2008-12-15*Creature formations implemented.shadowu@mail.bg
--HG-- branch : trunk