aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundMgr.cpp
AgeCommit message (Collapse)Author
2010-06-02stick with 1x rates, thankyaRat
--HG-- branch : trunk
2010-05-31Random BG: never select a disabled bgSpp
--HG-- branch : trunk
2010-05-26Fix statistics for random battlegrounds (by footman) + add missing ↵click
configoption for when to reset random BGs --HG-- branch : trunk
2010-05-26Add support for random battlegrounds - port by n0n4me, original code by ↵click
Vladimir and Griffonheart (Big thanks to all of you!) --HG-- branch : trunk
2010-04-28Fix arena point distribution time initialization.Spp
If timer in the past update to current time Thanks to "p.alexej" for pointing it out. --HG-- branch : trunk
2010-04-28Fix Arena autodistribution interval time shiftSpp
Patch by leak Closses issue 1703 --HG-- branch : trunk
2010-04-11Tab to Spaces and remove of trailing spacesSpp
--HG-- branch : trunk
2010-04-11Added enum for SMSG_GROUP_JOINED_BATTLEGROUND opcode and some other fixes. ↵n0n4m3
Big thx to TOM_RUS. --HG-- branch : trunk
2010-04-11Fix quests and auctionhouse.n0n4m3
--HG-- branch : trunk
2010-04-11Fix Auth on server also some fixes and cleanups. Big thx to TOM_RUS.n0n4m3
--HG-- branch : trunk
2010-04-07Code Style (game + scripts only):Spp
"==" --> " == " (when needed) --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-04-07Code style (game + scripts only):Spp
"for(" --> "for (" --HG-- branch : trunk
2010-04-07Code Style: Remove trailing spacesSpp
--HG-- branch : trunk
2010-04-07Code Style: tab to spacesSpp
--HG-- branch : trunk
2010-03-26* Add support to save and load worldstates.Spp
will be mainly used by outdoorPvP system * Update next arena auto distribute points time to custom worldstate --HG-- branch : trunk
2010-03-13Allow Battlegrounds and arenas to be disabled by DB.Spp
wtlk arenas disabled by default. - Player will continue to see all bgs using UI, but won't be able to join disabled bg's - Gossip menu not shown for disabled Bgs/arenas - Id 6 disabled = all arenas disabled. - Only id 6 arena enabled = Gossip shown but unable to join any arena --HG-- branch : trunk
2010-03-02* Move some values out of the data blob in the characters tableBrian
* (honor, kills, title, currencies, watched faction, drunken-status, health and power) * Original Author Hunuza - thank you * Ported to Trinity by RammboNr5 - thank you * Tested by Aokromes - thank you * Closes Issue #911 --HG-- branch : trunk
2010-02-23Properly show the ArenaTeam's name in arena join and leave.Anubisss
Moreover, this fixes a crash in join/leave. Fixes issue #875. Fixes issue #878. These things happened when Arena.QueueAnnouncer.Enable = 1 in your config. --HG-- branch : trunk
2010-02-15Use PVPDificulty.dbc for bg/arena bracket selection (levels and difficulty). ↵n0n4m3
Rename BG/arena queue_id to bracket_id and related functions/etc. Author: VladimirMangos. --HG-- branch : trunk
2010-02-14* Core switch to client 3.3.2 (11403)Brian
* Credits (in no particular order) to: * n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo, * thenecromancer, Xanadu, Trazom, Zor, kiper * Additional credits to: * TOM_RUS and NoFantasy from MaNGOS * Thanks for testing Aokromes and XTElite1 * SoTA still needs some work, but is very playable (huge thanks to raczman and * kiper) * To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the * last rev you are on * and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world * DBs * Known problem with guild banks. --HG-- branch : trunk
2010-01-27Fix Arena Teams on scoreboard being swappedthenecromancer
Fix Arena Unit Frames --HG-- branch : trunk
2010-01-26Disable Ring of Valor ArenaSpp
--HG-- branch : trunk
2010-01-25Fix Rated Arena scores display (Matchmaking Value is not implemented)thenecromancer
--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
2009-12-27Revert some commits. Now repo is stable. I recommend to disable Wintergrasp, ↵n0n4m3
because now its use leads to a crash. --HG-- branch : trunk
2009-12-25Fix a crash in BattleGroundMgr::BuildPvpLogDataPacket caused by objmgr not ↵Machiavelli
finding player object by guid when showing scoreboard. In this case get bg team ID for player via character database. Closes #938 --HG-- branch : trunk
2009-12-25Revert 6776. Do not revert my commits without asking me. Removing a ↵Machiavelli
functionality is never a fix for an issue, it should have stayed in place so that I can get accurate feedback on the cause of the problem. --HG-- branch : trunk
2009-12-25Temp revert 6724,6726 commitsn0n4m3
--HG-- branch : trunk
2009-12-24Temporary revert 6743 commit. I fix this patch across 1-2 days.n0n4m3
--HG-- branch : trunk
2009-12-23Hopefuly fix the queue icon for arena's. It should now properly show the ↵Machiavelli
faction/arena icon and correctly show skirmish/rated depending on the match type. Please leave feedback in the issue tracker as I'm unable to test this, make sure to add the output of the debug message I added. --HG-- branch : trunk
2009-12-23Replaced time(NULL) on sGameTime.GetGameTime() this is used for better ↵n0n4m3
performance. Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton. 2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs. --HG-- branch : trunk
2009-12-22Send arena team name as uint8(0) in case of a nonrated match in ↵Machiavelli
MSG_PVP_LOG_DATA. --HG-- branch : trunk
2009-12-22Fix MSG_PVP_LOG_DATA (battleground statistics) that was broken since 3.1Machiavelli
--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 BattleGround System for 322an0n4m3
--HG-- branch : trunk
2009-11-27Apply #413Kudlaty
Implementation of Ring of Valor (Orgrimmar Arena) Patch by Spp and Opterman --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-10-13*Backed out changeset a09fe1125922maximius
--HG-- branch : trunk
2009-10-09*Blackfathom Deeps - Event: Aku'mai, by Tartalomaximius
*Split Personality Achivement, by Destalker *Halls of Lightning Fixes, by Destalker Volkhan fixes + Achievement Ionar Fix - without this he resets each time he is invisible, spamming sparks Arcing Burn - should be a debuff (and stackable, stackable part NYI :/) *Naxxramas - Thaddius - the aura shall affect only the character without the proper aura, by Trazom *Naxxramas - Kelthuzad - some timer adjustments (may need verification or tweaking) by Cass *Merges by Stryker, thanks to all authors and testers. [8458] Re-implement SPELL_AURA_MOD_TARGET_ARMOR_PCT in more porper way for weapon dependent cases. Author: VladimirMangos [8459] Avoid mutiply apply weapon dependent armor penetration bonus for each weapon. Author: VladimirMangos [8529] check rune cost only if spell has PowerType == POWER_RUNE. Patch provided by yavi. Author: Ambal [8532] Fixed situation where some items like 42947 were not giving spell power bonus. By: Ambal [8533] Not remove timed quest and correctly fail when time runs out. Add function to remove timed quest instead of direct access to set. Author: NoFantasy [8536] Fixed spell 62776. By: Ambal [8539] Check pet aura range at area aura update. By: Ambal [8546] Implement battleground bonusweekends call to arms. Also fix typo in auctionmgr. Author: balrok [8547] Implemented scriptcall: CorpseRemoved(uint32 & /*respawnDelay*/) it will be called when the corpse of the scripted creature get's removed, it's possible to adjust the next respawn inside the script. Author: balrok [8561] Replace another auras code call by explicit code [8566] avoid singleton-lock when accessing BattleGroundMGR::isBGWeekend() Proposed by vladimir. Comitter: balrok --HG-- branch : trunk
2009-09-30*Proper arena_pending_points update, thanks ogeraisimaximius
--HG-- branch : trunk
2009-09-30*Better support for negatives.maximius
--HG-- branch : trunk
2009-09-30*Cleanup, add two new functions, attempt to fix arena point flushing for ↵maximius
offline players. --HG-- branch : trunk
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