aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundHandler.cpp
AgeCommit message (Collapse)Author
2010-05-31Random BG: never select a disabled bgSpp
--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-05-01Fix more warnings.Spp
--HG-- branch : trunk
2010-04-24Fix compile ¬¬Spp
+ Code Style (for, if, while) --HG-- branch : trunk
2010-04-21Fix skirmish battlesthenecromancer
--HG-- branch : trunk
2010-04-19More warning removal (Some code modifications and cleanup when needed)Spp
--HG-- branch : trunk
2010-04-19Remove LOTS of compile warningsSpp
--HG-- branch : trunk
2010-04-17*fix arena join if start rating is set to 0Rat
note: rating == 0 is used by BattlegroundQueue for update stuff --HG-- branch : trunk
2010-04-11Tab to Spaces and remove of trailing spacesSpp
--HG-- branch : trunk
2010-04-11Fix some typo and compile errors.n0n4m3
--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-11Not use PLAYER_FIELD_ARENA_TEAM_INFO_1_1 directly. Big thx to TOM_RUS.n0n4m3
--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: Remove trailing spacesSpp
--HG-- branch : trunk
2010-03-17*Fix possible exploits with flying paths. by QAstonRat
--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-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-01-20fix HandleAreaSpiritHealerQueryOpcode and HandleAreaSpiritHealerQueueOpcode ↵Spp
broken in f0632b948d --HG-- branch : trunk
2010-01-20* Cleaning Wintergrasp from the core part 1Brian
* When someone feels like coding it properly, it can be added back in. --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-16Fixed unread packet tail spam for CMSG_LEAVE_BATTLEFIELD, by VladimirMangos.n0n4m3
--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-17Restore some commits from trinitycore2 3.1.3n0n4m3
--HG-- branch : trunk
2009-12-17Update BattleGround System for 322an0n4m3
--HG-- branch : trunk
2009-12-14Wintergrasp: Normalization of names to fit OutdoorPvP systemspp
--HG-- branch : trunk
2009-10-22*Wintergrasp: Implementation of spirit guides (Part 1), by Spptartalo
*Wintergrasp: minor code optimizations, by Spp *Wintergrasp: Fortress workshop are not capturable, by Spp --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-08-28* Correctly show skirmish or rated icon when a player has entered arena queue.Machiavelli
--HG-- branch : trunk
2009-08-19 [8382] Implement ByteArray functions for skip read of fields not needed ↵megamage
for server in received packets. Author: VladimirMangos * Use this fucntions in some case. * Change some packets to form: read fields first check later for better control recieved packets structure. * Fix CMSG_STAND_STATE_CHANGE packet structure to more correct. --HG-- branch : trunk
2009-08-19 [8378] Use exceptions instead of explicit size checking for each packet ↵megamage
Author: arrai CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd could crash due to the asserts in ByteBuffer.h. That was exploitable by malicious players. Furthermore, there were duplicate checks: Additionally to CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye on not exceeding the packet boundaries - just to crash the server for sure in such a case. To prevent memory leaks or other undesirable states, please read in every handler all variables _before_ doing any concrete handling. --HG-- branch : trunk
2009-08-12 [8339] Improved storing/restoring BG entry pointmegamage
* Introduced new table character_battleground_data * Entry point is now stored on BG enter event not join event * Entry point for dungeons is now correctly set to nearest graveyard (this prevent well known assert in GetInstance because of porting to already destroyed instance) * Teleporting from BG correctly restore mount state * Teleporting from BG correctly restore taxi flight (in multipath flight you will end up in nearest transition point on the route) Signed-off-by: ApoC <apoc@nymfe.net> --HG-- branch : trunk
2009-07-01*Fix possible exploits with flying paths.QAston
--HG-- branch : trunk
2009-06-18[8044] Fixed: group members teleported on BG ending to locations they were ↵megamage
before BG start. Author: KAPATEJIb --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-05-31Mangos [7911]. Author: tomrus88megamage
Very big patch. May cause bugs. --HG-- branch : trunk
2009-05-25*Merge.megamage
--HG-- branch : trunk
2009-05-18Clear afk before joining bgtvaroh
--HG-- branch : trunk
2009-04-29[7731] Some code cleanups, warrning fixes. Author: VladimirMangosmegamage
--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-20 [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangosmegamage
* This let get objects at map without reference to player or another object. * Simplify future implementation for per-map storage for like objects --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 [7630] Implement MSG_BATTLEGROUND_PLAYER_POSITIONS sending for AB and AV ↵megamage
battleground. Author: Triply --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-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