Commit Graph

98 Commits

Author SHA1 Message Date
Supabad
c4577db641 Core/Achievements: Add ACHIEVEMENT_CRITERIA_DATA_TYPE_S_PLAYER_CLASS_RACE
Signed-off-by: Supabad <Supabad.trinity@gmail.com>
2012-01-06 11:03:11 +01:00
kiper
8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
leak
e646dbb3cd Core/DBLayer: Convert PExecute() queries to prepared statements No. 2 2011-12-27 00:29:48 +01:00
Shocker
d1378a9c94 Core/Achievements: Correct recent pull 2011-12-19 19:30:38 +02:00
w1sht0l1v3
4ca6939b8b Core/Achievements: Remove hardcoded script and add proper achievement criteria data in DB. 2011-12-19 18:44:17 +02:00
horn
0014efb0d1 Core/Achievements: Remove stupid break which caused achievement Fa-la-la-la Ogri'la can't be completed. 2011-12-18 19:33:52 +01:00
Shocker
bd82427d65 Core/Achievements: m_allCompletedAchievements should store only realm firsts 2011-12-13 00:17:01 +02:00
Shauren
3ff67fb257 Core/Achievements: Refactored HasAchieved to take only achievement id as parameter 2011-12-12 18:19:26 +01:00
Shocker
4e6fcc18ea Core/Achievements: Remove hardcoded ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL criteria datas 2011-12-10 20:01:10 +02:00
Shocker
b2e71e7b4b Core/Achievements: Allow ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL to have criteria data 2011-12-10 19:46:54 +02:00
Shocker
cfe5a8daf2 Core/Achievements: Typo-fix in AchievementCriteriaData::IsValid error log 2011-12-10 19:32:44 +02: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
kaelima
be0b2fcf97 Core/Grid:
- Simplified CellArea calculation (Original author: SilverIce)

- Removed unused code in Cell class (Original author: SilverIce)

- Improve some Visit functions.
2011-10-19 17:40:44 +01:00
megamage
c29ff41001 Rename some classes in grid system.
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
2011-10-18 10:53:34 -04:00
unknown
8acf07dbab Random minor code cleanup 2011-09-29 22:35:00 +04: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
Machiavelli
8cde717e76 Core/Achievements: Fix gender-specific Matron/Patron title reward.
Closes #1406
2011-09-28 16:27:08 +02:00
Spp
af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
Spp-
45af1238cf Conditions/DisableMgr: converted from singleton to namespace with free functions. 2011-09-09 14:27:23 +02:00
Shauren
f13f32c972 Core/Achievements: Award normal mode achievements when instance was done on heroic mode 2011-09-05 15:21:37 +02:00
Spp
d0de7976dc Core/ObjectMgr: Some minor changes in LocaleString functions 2011-08-04 15:14:15 +02:00
Spp-
e47b96af3e Core: Append single character to stream as character, not as a string 2011-07-29 14:18:28 +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
Spp-
3f9db9d29e Core/Quests: Reduced the need to expose internal Player's class member 2011-07-08 10:54:46 +02:00
click
246979fa6c Core: Fix previous commit (stupid mistake) 2011-07-02 02:41:03 +02:00
click
48e47a9245 Core/Achievements: Simplify handling of achievements for GMs: Do not allow achievements when GM-mode is enabled, allow when disabled 2011-07-02 02:14:49 +02:00
Shauren
011e5a9003 Core/Achievements: Removed some hardcoded quest ids for achievement_criteria_data checks 2011-06-19 14:07:07 +02:00
Shauren
d3971b4944 Core/Achievements: Allow attaching criteria scripts to any criteria type 2011-06-19 13:51:14 +02:00
click
f16df538ee Core: More codestyle cleanups 2011-06-12 01:47:45 +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
24a8cc24da Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS 2011-05-14 12:26:49 +02:00
tobmaps
c89922428b Core/Misc: Added new option in config to set max GM level that can obtain achievements 2011-05-13 01:08:54 +07:00
Shauren
c98438ae8f Core: Minor cleanup 2011-05-12 10:43:11 +02:00
leak
ea06dcf418 Core/ObjectMgr: Refactor guild related functions into dedicated class 2011-05-04 10:08:09 +02:00
leak
ce01a37c2c Core/ObjectMgr: Refactor arena team related functions into dedicated class 2011-05-03 15:01:37 +02:00
Shauren
acd81d6570 Core/Achievements: Fixed Children's Week achievements 2011-04-30 12:41:14 +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
leak
a82654debd Core/ObjectMgr: Refactor sItemStorage 2011-04-28 22:42:33 +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
leak
ae3ab32ea5 Core/Arenas: Refactor arena code and db layout 2011-04-05 21:54:28 +02:00
Shauren
10ef16fc05 Core/Achievements: Implemented map check for achievement updates 2011-04-03 14:44:09 +02:00
gwrde & alexbolotsin
00f343af52 Core/Cleanup: More typo fixes.
Closes #730, #667
2011-03-26 05:33:46 +02:00
Shauren
2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Shauren
8e1b653fb2 Core/Achievements: Reverted ACHIEVEMENT_CRITERIA_FLAG_HIDDEN implementation 2011-03-05 11:31:41 +01:00
Shauren
704491101f Core/Achievements:
Implemented map and group requirements for achievements
Changed possible methods to const
Implemented hidden flag for achievement criteria
2011-03-04 12:11:20 +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
Shauren
c2b0bcbd6c Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
Shauren
e41e3544ff Core/Achievements: Achievement title rewards will be readded when loading achievements (fixes cases like player completing achievement X and not getting reward because it was misssing from database at that time) 2011-01-28 15:34:53 +01:00