Commit Graph

59 Commits

Author SHA1 Message Date
megamage
a0298bc58d *Merge.
--HG--
branch : trunk
2009-03-21 22:31:00 -06:00
megamage
59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
megamage
918c40f967 *Set homeposition for battleground spawned creatures. By Anubisss.
--HG--
branch : trunk
2009-03-20 14:05:14 -06:00
megamage
1a8528b3db [7460] Fixed possible cheating in rated arena by ressurection after 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-15 17:16:11 -06:00
megamage
47b39981a1 [7457] Fixed set Bg raid leader to party or raid leader who entered Bg. Author: Triply
Removed useless code from my previous patch.

--HG--
branch : trunk
2009-03-14 20:06:00 -06:00
megamage
9041286aa2 [7455] Implemented condition that player can be in 2 groups in 1 time - 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-14 20:00:02 -06:00
megamage
c823272e34 [7449] Fixed BG queue invitation status showed on client. Fixed BG starting timer and BG ending timer. Author: Triply
TODO: make bg queue update player's status each minute.

--HG--
branch : trunk
2009-03-13 18:06:36 -06:00
megamage
16ee4a46c2 *Merge.
--HG--
branch : trunk
2009-03-12 14:22:59 -06:00
Blaymoira
2da8e7915c *Merge
--HG--
branch : trunk
2009-03-12 13:59:50 +01:00
Blaymoira
31b206a377 Backed out changeset: 87b298087552
--HG--
branch : trunk
2009-03-12 13:59:03 +01:00
megamage
a0fede4fc2 [7437] Fixed client visible instance ids for battlegrounds. Author: balrok
--HG--
branch : trunk
2009-03-10 15:30:44 -06:00
megamage
b332caa1b5 [7432] Fixed BattleGround's bonus_honor based on player level and reputation rewards. Implement functions for BattleGroundWeekends. Author: balrok, Triply
Correctly assigned some comments.

--HG--
branch : trunk
2009-03-09 18:14:06 -06:00
megamage
a32382a5ec [7425] Fixed crash in BattleGround::Update() Author: Triply
--HG--
branch : trunk
2009-03-09 17:58:04 -06:00
megamage
f014ccd3bd [7416] Fixed minimap icon for battlegrounds and arenas. Author: balrok
--HG--
branch : trunk
2009-03-09 17:08:07 -06:00
megamage
c708eba713 [7415] Fixed removing player from battlegrounds Author: Triply
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 17:07:40 -06:00
megamage
1f296b7d40 [7414] Fixed premature finish timer messages for battleground (va_start 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-09 17:07:12 -06:00
megamage
01b67a1f6a [7413] Fixed finally problems with node names localization in BattleGroundAB messages. Author: VladimirMangos
Also fix build at some platforms.
Note: GetTrinityString should be removed in the future when AV is updated.

--HG--
branch : trunk
2009-03-09 17:06:13 -06:00
megamage
5d5b37ab32 *Support localization for messsages in battleground. Author: VladimirMangos
[7411] Use similar localization classes for World::SendWorldText muti-line message. Author: VladimirMangos

--HG--
branch : trunk
2009-03-09 17:00:31 -06:00
megamage
f477021938 [7404] Fixed cheating in rated arena matches by alt+f4. Author: Triply
--HG--
branch : trunk
2009-03-09 16:36:58 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
985b7656bb *Merge.
--HG--
branch : trunk
rename : sql/updates/XXX_characters_auctionhouse.sql => sql/updates/1164_characters.sql
2009-03-08 11:36:10 -06:00
megamage
520ce96257 [7399] Rewrited BattleGround starting code - moved it to battleground 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-07 12:05:30 -06:00
Blaymoira
1013a80da3 *Send directly the battleground marks instead of spells - by balrok
--HG--
branch : trunk
2009-03-07 08:41:31 +01:00
megamage
13fc3dcd7e [7388] Fixed battleground premature warning message. SQL files are attached, you must execute them! Author: Triply
Fix for message's color will be soon.

--HG--
branch : trunk
2009-03-06 15:25:20 -06:00
megamage
80cd305082 [7383] Changed some comments in config file, changed default 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-05 19:02:08 -06:00
megamage
55dffa8409 [7372] Cleanup BattleGround::GetClosestGraveYard related code. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 17:13:12 -06:00
megamage
5997e2d5db *Merge.
--HG--
branch : trunk
2009-03-02 16:34:17 -06:00
Blaymoira
52edebe025 *Use proper spell for preparation & add a check for proper remove - by Sorken
--HG--
branch : trunk
2009-02-28 17:35:49 +01:00
megamage
361f4b2e3c [7353] Fixed problem with joining rated arena matches. Thanks to balrok for help. Author: Triply
--HG--
branch : trunk
2009-02-27 12:57:33 -06:00
megamage
9e392472d4 [7351] Fixed removing normal horde groups from queue. Author: Triply
Fixed Reflective shield - patch provided by Rastik. Thx

--HG--
branch : trunk
2009-02-27 12:56:00 -06:00
megamage
472f897b0a [7336] Implemented new BattleGroundQueue invitation system. Now it 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-27 12:13:59 -06:00
panaut0lordv
966b6a4a8d Fix build
--HG--
branch : trunk
2009-02-18 22:39:00 +01:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
484c1298e2 [7293] Not attempt respawn/instance tables for battleground/arena templates (instance id == 0) Author: VladimirMangos
--HG--
branch : trunk
2009-02-17 17:40:38 -06:00
megamage
59be8223e4 [7276] Rewrited fix for same faction arena matches
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 20:10:14 -06:00
megamage
8eb1f455a1 [7269] Use enum type for battleground queue type ids, and related cleanups.
* 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-13 19:56:22 -06:00
megamage
70798207f8 [7257] Fixed unexpected errors in log and non-freed memory at battleground system shutdown. Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 09:55:16 -06:00
megamage
029554d4e3 [7255] Allows saving characters in Battle Grounds.
* Now player can join to BG after logout during 5 minutes, if BG in progress.
    * All players after server crash or restart should appear at the battlemaster

Author: GriffonHeart

--HG--
branch : trunk
2009-02-10 01:16:16 -06:00
megamage
58374f87b4 [7254] Cleanups and batter checking in homebind/bgEntryPoint code.
* Load homebind data early in Player::LoadFromDB and use instead initital race points
      in cases need some safe point if current coordinate broken by some reason.
    * Store BG entry point in to WorldLocation and simplify calls.
    * Set bg entry point at GM teleports to battleground for correct
      auto-recall position at battleground end.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-10 01:06:39 -06:00
megamage
d696381f32 [7250] Use bg type ids enum insted raw values and catch some bugs in 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-02-09 22:08:06 -06:00
QAston
4c5f0fd6a5 *Fix aura sending to 303 client.
--HG--
branch : trunk
2009-02-06 19:42:03 +01:00
megamage
944a1cec73 [7229] Add area limitation checks for battleground/arena spells.
Spell sorted by 2 list and map ids lists replaced by map type checking in patch.
Author: GriffonHeart

--HG--
branch : trunk
2009-02-05 22:55:43 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage
4230318f96 *Update to Mangos 7136.
--HG--
branch : trunk
2009-01-21 16:18:57 -06:00
megamage
40e7dcb599 *Update to Mangos 7111.
--HG--
branch : trunk
2009-01-18 19:01:41 -06:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00