aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundMgr.cpp
AgeCommit message (Collapse)Author
2009-09-11*[8474] Allow to delete BattleGround objects when any of invited players ↵maximius
didn't click to enter battle. Rename m_TeamScores500disadvantage to m_TeamScores500Disadvantage, and optimize its update. Patch is tested. Author: Triply *Added some missed changes that might of broken compile in the last 2~ commits. *Some fixes to Warlock's Death Coil by Gyullo. *Last MaNGOS merge until KingPin says otherwise.. --HG-- branch : trunk
2009-08-24 [8405] Fixed possible crash in BGQueueRemoveEvent::Execute() when two ↵megamage
paralell BattleGroundQueue Updates are called, optimalized code. Signed-off-by: Triply <triply@getmangos.com> --HG-- branch : trunk
2009-08-21Fix typoKudlaty
--HG-- branch : trunk
2009-08-21Fix typo in battleground announcer. Thx GyulloKudlaty
--HG-- branch : trunk
2009-08-06 [8315] Fixed memory leaks (mostly at server shutdown) and code cleanups. ↵megamage
Author: VladimirMangos * Fixed leak in BattleGround::m_PlayerScores at BattleGround::Reset, add and use BattleGroundScoreMap typedef * Delete AreaTeam objects stored in global map at shutdown * Delete Corpse objects stored in global map at shutdown * Store guild bank log entries as objectes instead pointers in log event lists --HG-- branch : trunk
2009-08-01*Improvements in map managing.QAston
--HG-- branch : trunk
2009-06-19*Add config option Arena.QueueAnnouncer.PlayerOnlymegamage
--HG-- branch : trunk
2009-06-19*Fix bg queue announce.megamage
--HG-- branch : trunk
2009-06-19*Fix incorrect level in the bg queue announcemegamage
--HG-- branch : trunk
2009-06-11*Switch to support client version 3.1.3megamage
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
2009-06-04*Including style fixing - part 1panaut0lordv
--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-04-29[7731] Some code cleanups, warrning fixes. Author: VladimirMangosmegamage
--HG-- branch : trunk
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