aboutsummaryrefslogtreecommitdiff
path: root/src/game/Group.cpp
AgeCommit message (Collapse)Author
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-20Fix pass/need opcodethenecromancer
--HG-- branch : trunk
2010-01-17* Really revert commit fced5e40fa1e - don't ask me why, but hg is not being ↵XTZGZoReX
very co-operative. --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-13Backed out changeset: 52e769d95f14XTZGZoReX
--HG-- branch : trunk
2010-01-13Removed all my commits for today, this is hack? really? okeyn0n4m3
--HG-- branch : trunk
2010-01-13Restore hack for instance dungeon difficulty reset exploit.n0n4m3
--HG-- branch : trunk
2009-12-30* re-add missed part of commit from rev 6418Brian
* Original patch by Machiavelli --HG-- branch : trunk
2009-12-22Fix setting of "main tank" and "main assistant" variables in a raid group, ↵Machiavelli
and correctly send these to the client. --HG-- branch : trunk
2009-12-20*apply trinity style to whole sourceRat
*comment out all mangos to trinity defines *this will make merging a little harder, but code will be more clear --HG-- branch : trunk
2009-12-18*Cleanup, proper indentation, and remove some wrong/irrelevant comments ↵maximius
copied from custom patches.. --HG-- branch : trunk
2009-12-17Update Group for 322an0n4m3
--HG-- branch : trunk
2009-12-05Remove hack added in 6413. Fixes crash.Machiavelli
--HG-- branch : trunk
2009-12-02Teleport in-dungeon players to recall position when difficulty changes to ↵tartalo
avoid an exploit. Closes #58 --HG-- branch : trunk
2009-11-20*Some cleanup (mostly whitespace changes)maximius
--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-07-07 [8108] Fixed a case in resetting group binds where the actual map reset ↵megamage
was done even though it had permanent binds. This is a temp fix as the function should be rewritten to be more clear / less error prone. Author: lukaasm --HG-- branch : trunk
2009-07-01 [8103] More wide use IsInWorld checks and delayed at teleport ↵megamage
operations. Author: Ambal * IsInWorld used to prevent return unexpected not in world objects. * Delayed operations need to process its in world state. --HG-- branch : trunk
2009-06-18*Mergemegamage
--HG-- branch : trunk
2009-06-18* Fix group reseting of instancesIskander
--HG-- branch : trunk
2009-06-04*A missing part of previous patch.megamage
--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-14*Add some distance check functions. By VladimirMangos.megamage
--HG-- branch : trunk
2009-05-05 [7776] Completed implementation of CMSG_SPELLCLICK Author: arraimegamage
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to npc_spellclick_spells, otherwise you won't be able to use them --HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-27[7716] Fixed some typos and possible crashes. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-04*Backport some contents from TC2.megamage
--HG-- branch : trunk
2009-03-14 [7457] Fixed set Bg raid leader to party or raid leader who entered Bg. ↵megamage
Author: Triply Removed useless code from my previous patch. --HG-- branch : trunk
2009-03-14 [7455] Implemented condition that player can be in 2 groups in 1 time - ↵megamage
BG raid and normal group / raid. Author: Triply Patch is tested, but can cause problems / unexpected behaviour. TODO: set raid leader of battleground raid to raid leader who entered BG TODO: when player leaves group, he is removed from GroupQueueInfo, and for him is created new GroupQueueInfo in normal queue. Signed-off-by: Triply <triply@getmangos.com> --HG-- branch : trunk
2009-02-27 [7336] Implemented new BattleGroundQueue invitation system. Now it ↵megamage
supports premade group versus premade group matches. Added 2 new config options - InvitationType and PremadeGroupWaitForMatch - you can find more info in default config file. This patch can cause crashes. Author: Triply [7338] Little cleanup in battleground queues code. Author: ApoC --HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17*Merge.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-13*Merge.megamage
--HG-- branch : trunk
2009-02-13 [7275] getbattlegroundqueueidfromlevel returns now bg-specific queueidsmegamage
before this commit, queueids were staticaly given for 9-19,20-29,30-39... but for instance alterac valley needs 51-60,61-70,71-80.. this patch allows this, if you change the minlevel in battleground_template you also could make 23-32,33-42.. levelranges not that we always use 10lvl-steps.. this is actually hardcoded.. Author: balrok --HG-- branch : trunk
2009-02-13 [7269] Use enum type for battleground queue type ids, and related cleanups.megamage
* renamed a variable to make the content of it more clear: type->arenaslot * renamed BattleGroundQueueTypeId-variables to bgQueueTypeId just to make it easier reading the code (cause there existed 3 different names for this..) * renamed GetBattleGroundQueueId to GetBattleGroundQueueTypeId again this is just for better understanding * Renamed [GS]etQueueType and m_Queue_type * Renamed to [GS]etQueueId and m_QueueId Author: balrok --HG-- branch : trunk
2009-02-13*Prevent entering in instances if zone in combat - by IskanderBlaymoira
--HG-- branch : trunk
2009-02-09 [7250] Use bg type ids enum insted raw values and catch some bugs in ↵megamage
result for fixing. * Replace max bg type checks by DBC valid index check * Use in functions and fields BattlegroundTypeId type instead uint32 * Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls. Many bg have same raw values for type id and queue id but some can be affected by this bug: BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions) * Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr. * Remobe redundent for header itself includes for BG headers. * Use Auction location enum instead raw valus. Author: VladimirMangos --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-01[7213] Fixed quest related GO activation/deactivation at join/leave/convert ↵megamage
raid group. By VladimirMangos. --HG-- branch : trunk
2009-01-16Update to Trinity 863.megamage
--HG-- branch : trunk
2009-01-15Fix cross faction interactionParadox
--HG-- branch : trunk
2009-01-02*Update to Mangos 7006.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-08*Update to Mangos 6888. Source: Mangos.megamage
*Major change: Make corpse erase async, Avoid DB access on deleting guild member. *Skip 6885 because of performance concern. --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-10-29[svn] * Added npc follow, waterwalk, repairitems commands. Patch by dythzerKingPin
* Prevent adding more than 5 people to raid - Apoc * fixed typo from one of our previous commits. * Fixed two strings in core, thanx to warhead for patch. --HG-- branch : trunk