aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGround.cpp
AgeCommit message (Collapse)Author
2009-07-22*Implement ACHIEVEMENT_CRITERIA_TYPE_WIN_BG - by BudIcePenguin.QAston
--HG-- branch : trunk
2009-07-01 [8102] Simplify code base at new root method ↵megamage
WorldObject::CleanupsBeforeDelete Author: VladimirMangos * Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls * Create Gameobject version to make GO with owner more safe for remove --HG-- branch : trunk
2009-06-16*Do not give rating if two groups from the same arena teams fight against ↵megamage
each other. (This is a temp fix. They should not even begin the battle) --HG-- branch : trunk
2009-06-14[8006] Fixed crash in EndBattleGround(). Author: AlexDerekamegamage
--HG-- branch : trunk
2009-06-04*A missing part of previous patch.megamage
--HG-- branch : trunk
2009-06-04*Including style fixing - part 1panaut0lordv
--HG-- branch : trunk
2009-06-03fixed the bg ballance system By Farahmegamage
In this patch only in preparation state invites anyone. If BG is already started do not allow to join too much players of one faction and allow to join one person if the sides are equal. --HG-- branch : trunk
2009-06-01 [7934] Implement ACHIEVEMENT_CRITERIA_TYPE_WIN_RATED_ARENA Author: Trazommegamage
Also added ACHIEVEMENT_CRITERIA_DATA_TYPE_VALUE and support this criteira special cases base at `achievement_criteria_data` that required DB support. --HG-- branch : trunk
2009-06-01*Merge.megamage
--HG-- branch : trunk
2009-06-01Detailed log of arena fights and arena team creation.krz
--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-30*Provide another way to implement dynamic spawns. Now a creature will call ↵megamage
its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points) *Use zonescript as basic class of opvp script and dugeon script (can also be used for bg) *Store zonescript in worldobject. *Add door for sapphiron. --HG-- branch : trunk
2009-05-30Do not remove poison enchantment auras when entering arena battle.tvaroh
--HG-- branch : trunk
2009-05-25*Remove obsolete code for Arcane BlastQAston
*Reduce amount of auras removed at arena match start. --HG-- branch : trunk
2009-05-24*Remove auras with duration lower than 30 sec on arena start.QAston
*Do not remove rougue poisons and dk runes on arena start. *Apply healing bonus for healing stream totem. *Do not duplicate damage bonus in code with the one in db for Seal of Vengenance/Corruption --HG-- branch : trunk
2009-05-13Possibly fixed more memory leaks in other places.raczman
--HG-- branch : trunk
2009-05-12*Fix a bug that arena never ends if the last player is killed with spirit of ↵megamage
redemption talent. --HG-- branch : trunk
2009-05-10[7805] Refactoring batleground rewards code for cleanup and useful state for ↵megamage
custom reward reuse. Author: Nezemnoy --HG-- branch : trunk
2009-05-08*Correct elapsed time in BG/Arena by Trojan. Thank you.Anubisss
--HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-27 [7715] Provided way for scripts set alternative gameobject state for ↵megamage
client show. Author: VladimirMangos Also use enum for gsmeobject states. --HG-- branch : trunk
2009-04-23 [7703] Implement heal/damage total counters and related BG achievments. ↵megamage
Author: Trazom * ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE * ACHIEVEMENT_CRITERIA_TYPE_HEALING_DONE --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-19* Tabs to spaces cleanupMachiavelli
--HG-- branch : trunk
2009-04-11*Note: this patch may do not have any use for TC.megamage
[7645] Fixed problems wit temporary unsummoned pets and cleanup code. Author: VladimirMangos * Save temporary unsummoned pet to current slot (instead non_in_slot mode) and prevent save as current pet summoned while temporay unsummon (arena) * Prevent overwrite temporary summoned pet data * At player loading set temporary unsummoned pet data instead pet loading if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc) * Restore proper pet at arena leave and unsummon in arena summoned. --HG-- branch : trunk
2009-04-08*Merge.megamage
--HG-- branch : trunk
2009-04-08*Add unit to notify when unit is add to world (including load grid case).megamage
*Add some check in remove object function. --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-08*Fix ressurecting while in bg.QAston
*Fix imp leader of the pack. *Fix fishing. --HG-- branch : trunk
2009-04-06* Trailing whitespace removed.XTZGZoReX
--HG-- branch : trunk
2009-04-06*Update of aura system.QAston
--HG-- branch : trunk
2009-04-04Added some extra debug log when finishing rated arena match.raczman
--HG-- branch : trunk
2009-04-04Fixed BG mark rewarding in case of prematurely finished BG:raczman
-team with most points will get 3 marks, the other one 1 mark -in case of a draw, each team gets 1 mark (not sure if blizzlike) TODO: -remove per BG score variables and substitute them further with general m_score[] array to avoid data duplication. Please report any bugs, and TC2 devs - dont pull this change into TC2, its not 309-like. --HG-- branch : trunk
2009-04-01*Try to fix some crash.megamage
--HG-- branch : trunk
2009-03-31*Try to fix crash.megamage
--HG-- branch : trunk
2009-03-27*Fix some bugs of pet.megamage
--HG-- branch : trunk
2009-03-26*Move most reputation/force faction reaction code to new ReputationMgr. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-03-25*Fix a crash caused by pet.megamage
*Make pet class derived from guardian class. --HG-- branch : trunk
2009-03-21*Merge. Warning: I do not know if bg fix is still good for wlk.megamage
--HG-- branch : trunk
2009-03-21*Merge.megamage
--HG-- branch : trunk
2009-03-21*Remove dual ERROR in logs Author: AlexDerekamegamage
--HG-- branch : trunk
2009-03-21Not allow to receive rewards when BG finishes prematurely - thanks to ↵raczman
Sethoso, original author. --HG-- branch : trunk
2009-03-20*Set homeposition for battleground spawned creatures. By Anubisss.megamage
--HG-- branch : trunk
2009-03-15 [7460] Fixed possible cheating in rated arena by ressurection after ↵megamage
relog. Author: Triply Fix: Do not allow to remove insignia from players in arena! Fixed ending arena match when last player of team logs out. --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-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-12*Merge.megamage
--HG-- branch : trunk
2009-03-12*MergeBlaymoira
--HG-- branch : trunk