aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundMgr.cpp
AgeCommit message (Collapse)Author
2009-04-27[7716] Fixed some typos and possible crashes. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-08 [7632] more "if"-condition related codestyle in battlegroundfiles ↵megamage
Author: balrok,Triply this time with this regex: sed -i 's/if *( *\(.*\) *)$/if (\1)/' BattleGround* --HG-- branch : trunk
2009-04-08 [7631] Removed useless method BattleGroundQueue::BGEndedRemoveInvites ↵megamage
Author: Triply Moved method BattleGroundMrg::InvitePlayer to BattleGroundQueue::InviteGroupToBG Added some comments to RemindInvite and RemoveInvite events. Optimalise code. --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-24 [7523] Fixed: players will now drop flag in battleground if they cast ↵megamage
immunity buff on themselves. Author: `win TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code). Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message. Fixed: Do not call Battleground::Update for battleground template objects. Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases). --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-13 [7449] Fixed BG queue invitation status showed on client. Fixed BG ↵megamage
starting timer and BG ending timer. Author: Triply TODO: make bg queue update player's status each minute. --HG-- branch : trunk
2009-03-10[7437] Fixed client visible instance ids for battlegrounds. Author: balrokmegamage
--HG-- branch : trunk
2009-03-10[7436] Fixed Average Wait time for all BG/arena queue types. By Balrok and ↵megamage
Triply. --HG-- branch : trunk
2009-03-09[7416] Fixed minimap icon for battlegrounds and arenas. Author: balrokmegamage
--HG-- branch : trunk
2009-03-09 [7415] Fixed removing player from battlegrounds Author: Triplymegamage
Probably fixed bug with not ending battlegrounds - reported in previous commit message Fixed player will loose arena rating if 1. he doesn't click on enter rated arena window - and timer will expire 2. he logs out during time he is invited to rated arena match 3. if he logs out during fight in rated arena match Patch is not tested, i will test it as soon as possible. --HG-- branch : trunk
2009-03-09 [7414] Fixed premature finish timer messages for battleground (va_start ↵megamage
was broken). Author: Triply Fixed typo with BattleGroundPlayerMap. Optimized implementation for removing offline players from battleground. Fixed typo in BattleGroundMgr::DeleteAllBattleGrounds. Patch is tested and should work. TODO there is a bug if you disable premature finish timer, that can cause battlegrounds to be never ending! TODO rewrite BattleGround::RemovePlayer function - and fix bugs there! I might not have today enough time to fix those bugs. --HG-- branch : trunk
2009-03-07 [7399] Rewrited BattleGround starting code - moved it to battleground ↵megamage
class. Author: Triply Fixed message color for premature finish warnings. Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0. Added battleground announcer message removed in [7384]. [7401] Fixed bgqueue invitation to already started battlegrounds - not tested. Author: Triply --HG-- branch : trunk
2009-03-06[7392] Fixed SQL query for storing pending arena points for offline players ↵megamage
for PGSQL. Author: ApoC --HG-- branch : trunk
2009-03-05[7383] Changed some comments in config file, changed default ↵megamage
MaxRatingDifference from 100 to 150 in default config. [7384] Removed some comments. Fixed problem that queues doesn't invite new players to already running battlegrounds. Some other fixes for announce system will be soon. Author: Triply --HG-- branch : trunk
2009-03-02 [7370] Fixed crash in CheckSkirmishForSameFaction() function, when we ↵megamage
erased iterator which shouldn't be erased Fixed crash in BattleGroundQueue::Update() by changing BGFreeSlotQueueType from deque to list. Author: Triply --HG-- branch : trunk
2009-03-02 [7366] Enabled skirmish arena matches for same faction. Author: Triplymegamage
Patch is tested and should not add crashes. --HG-- branch : trunk
2009-03-02 [7359] Fixed crash when removing battleground from BGFreeSlotQueue. ↵megamage
Author: Triply Fixed player will now drop a flag before he logs out, if he is in BG. --HG-- branch : trunk
2009-03-02 Fixed crashes when inviting same faction arena groups.megamage
Fixed crash in BGEndedRemoveInvites (by setting queue type from deque to list). Author: Triply --HG-- branch : trunk
2009-02-27 Finally fixed problem with joining rated arena matches.megamage
Thx to balrok for help and testing. Author: Triply --HG-- branch : trunk
2009-02-27[7353] Fixed problem with joining rated arena matches. Thanks to balrok for ↵megamage
help. Author: Triply --HG-- branch : trunk
2009-02-27 [7352] Fixed conditions in FillPlayersToBG to correctly kick group only ↵megamage
when other team's selection pool is empty. Problem reported by balrok. Author: Triply --HG-- branch : trunk
2009-02-27 [7351] Fixed removing normal horde groups from queue. Author: Triplymegamage
Fixed Reflective shield - patch provided by Rastik. Thx --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-19* Fixed recent crashes in battleground code at player leave. Thx VladimirMangosDrahy
--HG-- branch : trunk
2009-02-18Fix buildpanaut0lordv
--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-16Fixed crash at out of range access to array data in battleground code. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-02-16Small BattleGroundQueue::RemovePlayer cleanup. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-02-13 [7276] Rewrited fix for same faction arena matchesmegamage
Added better Object-oriented calls to BattleGround::Reset() Added more checks to CreateBattleGround() method This commit doesn't fix anything Author: Triply --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-13Fixed arena related client crash Author: tomrus88megamage
--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-10[7257] Fixed unexpected errors in log and non-freed memory at battleground ↵megamage
system shutdown. Author: VladimirMangos --HG-- branch : trunk
2009-02-10 [7252] Move all world global broadcast string (all arena/bg related) to ↵megamage
`mangos_string`. PLEASE, NOT USE string world broadcasts in real code. This function _only_ for debug purposes. Really allow with .debug bg start bg with 1 player. Added helps for some existed .debug commands. Author: VladimirMangos --HG-- branch : trunk
2009-02-10*add .debug bg to allow starting a battleground with just one player it's ↵megamage
implemented like .debug arena - so you toggle debug bg on or off By balrok --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-01-31Fixed battlegrounds starting with less than minplayersperteam on one side.w12x
--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
2009-02-02*Merge.megamage
--HG-- branch : trunk
2009-01-25*Update to Mangos 7183.megamage
--HG-- branch : trunk
2009-01-21*Update to Mangos 7136.megamage
--HG-- branch : trunk
2009-01-18*Update to Mangos 7111.megamage
--HG-- branch : trunk
2009-01-04*Mangos [7026] Current arena season id and state send and setting in ↵megamage
mangosd.conf. By GriffonHeart. --HG-- branch : trunk
2008-12-29*Update to Trinity 707.megamage
--HG-- branch : trunk
2008-12-29*Fix a bug about arena point autodistributiontime.megamage
--HG-- branch : trunk
2008-12-26*Update to Mangos 6949.megamage
--HG-- branch : trunk
2008-12-24Backed out changeset: ad4f100c0a9dmegamage
--HG-- branch : trunk