Commit Graph
76 Commits
Author SHA1 Message Date
Rat ad753b3f67 SOTA update
-proper warning text (under attack, destroyed, capture..)
-proper icons on map for gate states
-fixed second round starting

--HG--
branch : trunk
2010-06-01 23:55:09 +02:00
click 7a13839178 Add support for random battlegrounds - port by n0n4me, original code by Vladimir and Griffonheart (Big thanks to all of you!)
--HG--
branch : trunk
2010-05-26 11:34:37 +02:00
Rat 9a631614e3 display honor gained from kills in bg score window
--HG--
branch : trunk
2010-05-17 17:10:24 +02:00
Xanadu 5bf4af15dc Prune some deadwood.
--HG--
branch : trunk
2010-05-13 19:28:23 +02:00
Rat bfa0588fac typo :(
should olso fix linux compile

--HG--
branch : trunk
2010-05-12 07:32:04 +02:00
Rat 75c1364682 added Honorable Defender buff for Arathi Basin nodes
-players protecting their bases will gain +50% honor near the base

--HG--
branch : trunk
2010-05-12 00:23:00 +02:00
Rat eae6f5c094 started implementing battleground experience system
-players gain xp by killing enemy players (event bonuses not added for now)
-player can switch xp gain on/off by talking to npc Slahtz or Behsten for a fee of 10golds
NOTE: turning off xp gain will turn off ALL xp gains from quests,monsters,pvp,etc

--HG--
branch : trunk
2010-05-11 21:42:39 +02:00
Spp a65f6ab60e Remove Marks and Quest Reward at BG finish.
Patch by Gyullo

--HG--
branch : trunk
2010-05-04 17:30:50 +02:00
Spp 74dd02d024 Remove LOTS of compile warnings
--HG--
branch : trunk
2010-04-19 09:26:37 +02:00
n0n4m3 7ffc9ef40b Added enum for SMSG_GROUP_JOINED_BATTLEGROUND opcode and some other fixes. Big thx to TOM_RUS.
--HG--
branch : trunk
2010-04-11 11:22:29 +04:00
Spp 49d05ba9aa Code style (game + scripts only):
"( " --> "("
" )" --> ")"

--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp f490ad5ac2 Code Style: tab to spaces
--HG--
branch : trunk
2010-04-07 17:24:07 +02:00
Spp ff89bad0fe Allow Battlegrounds and arenas to be disabled by DB.
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-13 00:47:24 +01:00
p0wer 2942a19592 Some SA fixes by gyullo.
Also added formating fix for BattleGroundSA::EventPlayerUsedGO.

--HG--
branch : trunk
2010-03-02 19:44:54 -06:00
n0n4m3 3dd6fdedf7 Use PVPDificulty.dbc for bg/arena bracket selection (levels and difficulty). Rename BG/arena queue_id to bracket_id and related functions/etc. Author: VladimirMangos.
--HG--
branch : trunk
2010-02-15 15:31:27 +01:00
Brian 486c00891b * Core switch to client 3.3.2 (11403)
* 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-02-14 19:13:14 -07:00
n0n4m3 99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
n0n4m3 5697ea9c94 Update BattleGround System for 322a
--HG--
branch : trunk
2009-12-17 10:43:12 +01:00
win32 f64a11dfdc Restore work arena unit frame
Closes #289

--HG--
branch : trunk
2009-12-16 23:23:42 +02:00
maximius 3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius 26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
Rat ce84190b5c *stop combat on battleground end, so creatures won't kill players
*added enum from BGCreatures

--HG--
branch : trunk
2009-08-14 22:09:06 +02:00
megamage 2e1b5a41b7 [8354] Update kill credit for normal creature entry including heroic case. Author: VladimirMangos
--HG--
branch : trunk
2009-08-12 20:54:27 -05:00
megamage 7f8ce1d809 [8315] Fixed memory leaks (mostly at server shutdown) and code cleanups. 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-06 17:45:37 -05:00
Rat dfe158074d *fixed Alterac Valley
--HG--
branch : trunk
2009-08-04 23:16:44 +02:00
megamage 70e31cce3f [8276] Implement achievment ACHIEVEMENT_CRITERIA_TYPE_WIN_BG Author: VladimirMangos
* including new achievement createria data type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE

    Note: Some achivement creteria for success need data in `achievement_criteria_data`

--HG--
branch : trunk
2009-07-31 11:36:02 +08:00
megamage d96642c92f [8274] use virtual m_TeamScore for battlegrounds
score is used in every battleground (not arena)
    so we can use it as a virtual variable to access
    it also from BattleGround-class

    Signed-off-by: balrok <[email protected]>

--HG--
branch : trunk
2009-07-31 11:34:38 +08:00
megamage 6b8f75af99 [7805] Refactoring batleground rewards code for cleanup and useful state for custom reward reuse. Author: Nezemnoy
--HG--
branch : trunk
2009-05-10 14:43:29 -05:00
megamage 1294bbac41 [7632] more "if"-condition related codestyle in battlegroundfiles Author: balrok,Triply
this time with this regex:
    sed -i 's/if *( *\(.*\) *)$/if (\1)/' BattleGround*

--HG--
branch : trunk
2009-04-08 16:33:46 -05: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 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 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 0c0fe3185f [7340] Prevent standup at save in result unexpected packet send to client. Author: aerione_alt
--HG--
branch : trunk
2009-02-27 12:20:33 -06:00