Commit Graph
123 Commits
Author SHA1 Message Date
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
Taser 1a5554ccb5 Core/Battlegrounds: Fix Fel Reaver Ruins capturepoint in Eye of the Storm
Signed-off-by: Machiavelli <[email protected]>
2011-01-10 22:31:57 +01:00
Manuel 014714fb17 Core: Killing magic numbers. 2011-01-09 20:44:33 -03:00
Manuel 5cf76896eb Core/Battleground: Implemented blizzlike script for Isle of Conquest, written by gyullo and me, based on Socolin's and Josh's patch -BIG THANKS TO THEM-
Anyway the map is not yet playable, there are issues not related with the script.

I also want to thanks to QAston, linencloth, Shauren and Machiavelli to be so patient with my questions.
2011-01-09 00:00:08 -03:00
Machiavelli 957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
click f5492f82b5 Core: Include the name and ID of the affected BG in Battleground::GetBGCreature() error-reporting
--HG--
branch : trunk
2010-12-26 00:06:03 +01:00
Shauren 928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren b2b2f44506 Core/Battleground: SOTA
* Fixed boats model (Alliance/Horde)
* Send boats movement to all players
* Fixed demolisher respawn time
* Added support for achievement Storm the Beach (1310)
Patch by Socolin.

--HG--
branch : trunk
2010-12-23 13:15:26 +01:00
Xanadu cfa26522ad Core: Fixed occasional wrong order of async operations at respawn time saving. Closes issue #5239.
DB schema: Sorted out a discrepancy in respawn time column format.

--HG--
branch : trunk
2010-12-23 05:49:23 +01:00
Shauren 0f3b9019a8 Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren 7b4e1c6387 Core/ObjectMgr: Static members are no longer accessed through singleton
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00