Bezo
11b71bfa4b
Logs/Arena:
...
Add match type for extended arena logs for statistics
Add match type for winner logs.
2012-03-13 01:16:04 +02:00
Subv
d3a510957e
Codestyle: Renamed some battleground variables and changed some other things to fit codestyle
2012-02-11 19:44:10 -05:00
Subv2112
229b97806a
Core/Achievements: Fixed achievements with ACHIEVEMENT_CRITERIA_TYPE_WIN_RATED_ARENA requiring one extra win to complete, PersonalRating was not used here and has been removed from the call, related to issue #2021
...
Signed-off-by: Subv2112 <[email protected] >
2012-01-31 16:33:21 -05:00
QAston
ad4cf93e08
Merge pull request #4785 from Warpten/lastStanding
...
Core/Arenas: Fix achievement [The Last Standing].
2012-01-29 05:50:16 -08:00
kaelima
6c1815db7f
Core/Battleground: Remove useless and unused function
2012-01-26 14:48:05 +01:00
Kapoeira
27f2baca1d
Scripts/Arenas: Also prevent bugs with Spirit of Redemption.
...
Meh. Three commits for this. My bad. Farewell TrinityCore. :(
2012-01-12 02:21:44 -05:00
Kapoeira
894edcaafe
Scripts/Arenas: Fix some typos in the last commit.
...
I should stop hitting the Commit button as soon as possible.
2012-01-12 02:05:11 -05:00
Kapoeira
b071505216
Scripts/Arenas: Fix achievement [The Last Standing].
...
Closes #3637 .
2012-01-12 01:57:46 -05:00
Wilds
2a38902d2e
Core/Battleground: fix re-enter into battleground after disconnect
2012-01-04 11:52:13 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
megamage
529af3cd09
Delete obj if it is not successfully added to grid. More to fix.
2011-11-28 14:05:25 -05:00
Shauren
638693e78f
Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.)
2011-11-23 17:55:16 +01:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
kaelima
b5cb41b4ea
Core/Player: Make chat tag (last byte in SMSG_MESSAGECHAT) a bitmask.
2011-11-07 07:16:31 +01:00
Spp
b5e8a192b1
Core/Calendar: Send map raid reset only once
...
Also some minor changes here and there
2011-10-18 14:23:08 +02:00
megamage
3ba22d0d06
Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management.
2011-10-10 17:39:34 -04:00
megamage
381cf2f9d3
Fix a crash caused by SetupBattleground when m_Map is not created.
2011-10-07 13:21:01 -04:00
Bootz
81c0a3a847
REPO: code-style clean-up
...
* Fixed pPlayer->player
* Fixed pCreature->creature
~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
megamage
eb946691c7
Unlink Battleground and BattlegroundMap when one of them is deleted. Fix crash #3239 .
2011-09-27 17:26:13 -04:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Chaplain
fb27848510
Core: Clean up here and there.
...
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
tobmaps
7f57507155
Fix compile
2011-08-06 19:56:12 +07:00
Spp
92393392ef
Core/Battleground: Missing changes from rev 4ecda55
2011-08-06 10:00:09 +02:00
Spp
4ecda557e4
Core/Battleground: Some (minor) code optimizations
...
- All access to Battleground vars are done using funtions (Remove friendship from Battleground and BattlegroundMgr)
- Move specific 47 mins arena check to battleground code as its generic to all arenas
- Create PreUpdateImpl and PostUpdateImpl functions. Specific battlegrounds will implement those if needed (No more need of call Battleground::Update inside specific BGs)
- Modify Create function to use only one parameter
- Remove EventPlayerCapturedFlag from Battleground class, only one BG implements it and it's not used outside that BG.
2011-08-05 11:57:09 +02:00
Spp-
acd0fc79f6
Core: Pass by const reference for simple objects replaced with pass by value
2011-08-01 14:23:27 +02:00
Liberate
6cfb87639c
Core/Arena: A more accurate implementation of rating gain/loss. This fixes the strange behaviour personal rating could have, as well as implements the bigger rating scale added in patch 3.1.
...
Fixes #230
2011-07-30 22:46:45 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
Shocker
7f0af21fcd
Revert "Core/Battlegrounds: Remove player on leave from battleground player map only after battleground-specific code"
...
Some battlegrounds (arenas) need access to the updated player map in RemovePlayer(), pass team as parameter instead
2011-06-18 14:08:51 +03:00
Shocker
f2735b85c7
Core/Battlegrounds: Remove player on leave from battleground player map only after battleground-specific code
2011-06-17 21:26:33 +03:00
tobmaps
2f2396b7e0
Core/Arenas: Remove both positive and negative auras only at arena join
...
Closes #2000
2011-06-16 00:20:20 +07:00
click
da03bbbdab
Core: Yet more cleanups in codestyle...
2011-06-12 02:06:07 +02:00
click
f16df538ee
Core: More codestyle cleanups
2011-06-12 01:47:45 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
Shauren
19bf53a0cb
Core/Achievements: Added missing reset cases for achievement criterias
2011-05-14 10:50:27 +02:00
Shauren
bdf43d5a9c
Core/Achievements: Reset ACHIEVEMENT_CRITERIA_TYPE_HONORABLE_KILL when joining battlegrounds
2011-05-14 10:41:25 +02:00
Shauren
551889c42f
Core: More warning fixes
2011-05-07 20:09:45 +02:00
leak
ce01a37c2c
Core/ObjectMgr: Refactor arena team related functions into dedicated class
2011-05-03 15:01:37 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
Shauren
316b85652e
Core/Achievements: Reset all possible crieteria with "in single battleground" requirement on BG start
2011-04-21 21:14:49 +02:00
Supabad
35c238050a
Scripts/Achievements: add multiple achievement scripts for Strand Of The Ancients.
...
add kill counter reset related to Battleground achievements.
2011-04-17 11:11:40 +02:00
leak
ae3ab32ea5
Core/Arenas: Refactor arena code and db layout
2011-04-05 21:54:28 +02:00
Shauren
0ec6875d6b
Core/Logging: Fixed Arena rating changes logs printing incorrect values
2011-04-03 14:11:06 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Azazel
bcaa3e07c8
Core/Cleanup: reformated and refactored code in Battleground.cpp/h:
...
* added proper formatting;
* moved identical code into separate method (have I already said that I hate copy/paste?);
* fixed several leaks;
* added more informative error messages.
More to come...
2011-03-14 19:21:34 +06:00
Azazel
6ad4044f05
Core/Mechanics: refactor XP (and in fact, honor/reputation/kill credit) rewarding routine and get rid of copy/pasted code.
2011-03-13 15:28:45 +06:00
leak
5b481d36bf
Core/Battlegrounds: BG instances are not saved to the database and thus need no deletion.
2011-03-10 22:22:28 +01:00