tobmaps
2f2396b7e0
Core/Arenas: Remove both positive and negative auras only at arena join
...
Closes #2000
2011-06-16 00:20:20 +07:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
da03bbbdab
Core: Yet more cleanups in codestyle...
2011-06-12 02:06:07 +02:00
click
c77aa6e846
Core: And some more cleanups...
2011-06-12 02:00:43 +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
3d8e4300b7
Core/Achievements: Achievement criteria type 39 should check player's personal rating, not team rating
...
Closes #803
2011-05-25 23:39:17 +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
click
b6cf587de9
Core: Remove some warnings here and there
2011-05-13 18:07:12 +02:00
Az@zel
f73c6c40bb
Core/Misc: fix compiler warnings
2011-05-11 11:12:26 +06:00
Shauren
551889c42f
Core: More warning fixes
2011-05-07 20:09:45 +02:00
Shauren
7905200eba
Core: Warning fixes
2011-05-07 19:08:50 +02:00
leak
6fffcb6890
Fix nonPCH build. Thanks to liszt.
...
Fixes #1385
2011-05-05 15:23:37 +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
01a79947d5
More cleanup after last commit spree
2011-04-29 19:59:40 +02:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
Shauren
8898db8b27
Core: Corrected NULL usage, it should only be used with pointers, not integers
2011-04-23 15:53:48 +02:00
Supabad
3b99e173f0
Scripts/Achievements: Move some achievement scripts to database.
...
Add database support for Ancient Protector and Ancient Courtyard Protector.
2011-04-21 23:38:15 +02:00
Shauren
97f482cd82
Core/Achievements: Removed unused parameter from UpdateAchievementCriteria and unused DoCompleteAchievement from BattlegroundMgr
2011-04-21 23:32:45 +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
drahy
ce1224239d
Core/Arena: Arena team member saving fixed
...
fixes #1214
2011-04-13 14:37:55 +02:00
Azazel
72040c1654
Core/Misc: fix compilation warnings
2011-04-11 17:38:57 +06:00
Supabad
3771798a2e
Core/BattleGrounds: update Gameobject hook to support multiple destructable building events.
...
little cleanup in GameObject.cpp
2011-04-10 20:55:17 +02:00
leak
7935c2f5c2
Core/Arena: Move personalRating to arena_team_member
2011-04-08 21:14:30 +02:00
Shauren
05394e01c6
Core/Arena: Fixed compile on gcc 4.5 and possible runtime crashes on other versions of this compiler
2011-04-06 16:59:30 +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
Shocker
d1e01f8f12
Core/Battlegrounds: Typo fix from an older rev regarding memory leak
2011-04-02 17:07:34 +03:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
7d49d37e6e
Core/Battlegrounds: Fixed displaying Call to Arms for Isle of Conquest and Strand of the Ancients
2011-03-20 21:49:15 +01:00
leak
6a4ffb4be1
Core/Battlegrounds: Free instance id in the proper place.
...
fixes #966
2011-03-14 20:39:05 +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
leak
a874fe0764
Core/Battlegrounds: Fixed memory and CPU cycle leak that was caused by BG objects not being removed properly in "All Arenas" case
2011-03-13 21:52:37 +01: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
leak
4569e4852a
Core/Instances: Recycle instance IDs. Should fix instance ID shifting and related issues with instance binding.
...
fixes #736
2011-03-10 22:22:27 +01:00
leak
aa2455b586
Core/Groups: Reimplement group id recycling
2011-02-27 00:55:45 +01:00
leak
4dc1bf3076
Core/Groups: Prevent group id pool corruption (BG groups take their Ids out of the same pool thus the need to register properly)
2011-02-24 23:35:39 +01:00
leak
09bac61e42
Core/Groups: Move scattered group object deletion to Disband()
2011-02-22 16:52:38 +01:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
leak
6a64c79d2a
Core/Groups: Group system cleaning sweep.
2011-02-18 18:35:52 +01:00
leak
422cfec07d
Core/Battlegrounds: Refactoring some pointless parameters
2011-02-09 16:47:47 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00
leak
b8210f4396
SQL: Characters db storage type cleanup #1 - Note:
...
- MySQL numeric types can NOT be altered in value range or or storage size at all, so things like INT(32) are entirely pointless. As TC currently doesn't use the display width of numeric types, use the default width to avoid confusion. (see MySQL numeric types docs)
- Timestamps can be stored as INT(10) UNSIGNED. As the max value of this type is 4294967295 which translates into year 2106 using it as timestamp we are NOT affected by the year 2038 bug. If the timestamp needs to be negative in some cases, i.e. for displaying infinity using -1, use BIGINT(20) instead.
- Do NOT set ROW_FORMAT for InnoDB tables unless you specifically want COMPRESSED tables (which we don't for performance reasons). MySQL will chose the appropriate ROW_FORMAT by itself depending on the innodb_file_format setting of the server. (FIXED is only available for MyISAM)
- Even though VARCHAR does require less storage space than CHAR for values with variable length, the length still needs to be chosen wisely as this doesn't apply to memory consumption.
2011-01-19 02:53:44 +01:00
Shauren
9584f58130
Core/Battleground: Combine bg score type enum values with the same name
...
Signed-off-by: Shauren <[email protected] >
2011-01-14 23:02:15 +01:00
Spp
bd2728eb74
Core: Fix some warnings
2011-01-11 11:18:00 +01:00