VladimirMangos
9b3daf3933
[7330] Code warnings and style cleanups. Some bugs fixes.
...
1) comparison singed and unsigned values
2) redundent includes
3) wrong constructor :-part field initilization
4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
5) explicitly list not implemented achievement types.
Also bugs fixed:
1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.
2009-02-24 01:54:53 +03:00
VladimirMangos
7c2e850283
[7312] Use localized DB-based achievement message instead hardcoded string.
2009-02-21 07:51:20 +03:00
ApoC
c9eacd7a23
[7240] Fix logfile spam from AchievementMgr.
...
Log AchievementMgr::SendAchievementEarned only in debug.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 14:50:01 +01:00
VladimirMangos
74ec17a273
[7235] New command: .reset achievements
2009-02-07 00:00:23 +03:00
delavega
a26f327314
[7218] Fixed used message CHAT_MSG_GUILD_ACHIEVEMENT format.
...
Guild members will not recieve achievement messages.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-01 22:37:53 +03:00
VladimirMangos
0418aa5137
[7177] Fixed unexpected error output in logs.
2009-01-25 19:39:31 +03:00
ApoC
475e8cbcf6
[7161] Implemented configurable option to allow/disallow achievements gain for GMs.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 17:42:21 +01:00
arrai
71cb0f514a
[7152] Fixed typo in previous commit
2009-01-23 11:21:16 +01:00
begemot
9bede601a2
[7151] Startup log cleanup and beautification.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 04:29:35 +03:00
arrai
6ef0e056b0
[7121] Fixed ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_ACHIEVEMENT
2009-01-20 01:57:15 +01:00
VladimirMangos
9fba64aeae
[7113] Not update/store achievement progress for counter == 0
2009-01-19 13:30:18 +03:00
VladimirMangos
dc19fc4ca3
[7040] Move achievment rewards dat to new DB table. Implement sending item rewards by mail.
...
Support localization string fields for new table.
Move achievments related code and data from ObjectMgr to new AcievmentGlobalMgr.
2009-01-06 16:21:22 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
arrai
7864c9aee1
[7014] Fixed setting initial value of achievement criteria counter, broken after 21df99d7. With that bug players had to complete an achievement criteria n+1 times
2009-01-03 14:57:23 +01:00
invliD
8d549e8a82
[7001] Fixed ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST_COUNT
...
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 12:50:11 +01:00
hectolight
802b35fbb8
[6999] Implemented ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED_ON_LOOT and ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED_ON_LOOT
...
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 00:05:50 +01:00
Charlie2025
02cc37bcd0
[6974] Set different loglevel for UpdateAchievementCriteria
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-29 20:35:43 +01:00
VladimirMangos
129c0797a7
Save only changed achievement data at player save. Some code cleanups.
...
Also increase tempory at stack buffere for utf8 convertion. It used in sql quaries log output and need have apporpriate size support.
2008-12-05 23:44:13 +03:00
tomrus88
60b8f30898
Rune system fix, dk crash fix
2008-12-01 08:19:26 +03:00
VladimirMangos
bd3eca6904
Add and use function for more fast way to get areflag by area id.
2008-11-30 05:17:34 +03:00
arrai
333146baaf
Implemented ACHIEVEMENT_CRITERIA_TYPE_EXPLORE_AREA
2008-11-28 23:51:55 +01:00
arrai
d1b5944000
Implemented achievement rewards
2008-11-21 20:10:28 +01:00
arrai
b9e695b727
Implemented ACHIEVEMENT_CRITERIA_TYPE_GAIN_EXALTED_REPUTATION
2008-11-19 19:56:49 +01:00
arrai
4f559eb7e6
Implemented ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION
2008-11-19 19:56:48 +01:00
arrai
56c8d2549c
Implemented ACHIEVEMENT_CRITERIA_TYPE_VISIT_BARBER_SHOP
2008-11-18 19:17:51 +01:00
arrai
e69e5d8336
Implemented ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS
...
Use correct locale in SMSG_RESURRECT_REQUEST
2008-11-16 18:51:17 +01:00
arrai
871f2e181c
Removed dynamic memory allocations in CriteriaCastSpellRequirements
2008-11-09 21:38:07 +01:00
arrai
73e595ef87
Implemented some spell achievements
2008-11-09 01:31:12 +01:00
arrai
eb0cfe7fec
Fixed ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING by using total fall distance instead of fall time. This distance might be used for a more accurate fall damage formula in a later version.
2008-11-08 16:29:44 +01:00
arrai
d7f8a60835
Implemented ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM and ACHIEVEMENT_CRITERIA_TYPE_LOOT_ITEM
...
Fixed CMSG_CANCEL_CAST opcode
2008-11-07 16:21:30 +01:00
arrai
3d86187c4a
Implemented ACHIEVEMENT_CRITERIA_TYPE_USE_ITEM
...
Added basic support for timed achievements
2008-11-04 00:54:29 +01:00
arrai
bea468bbc3
Implemented SMSG_SERVER_FIRST_ACHIEVEMENT
...
Implemented removing entries from achievement tables at player deletion
2008-11-02 15:48:14 +01:00
arrai
f4c3430088
Implemented ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST, ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING, ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER, ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_CREATURE and ACHIEVEMENT_CRITERIA_TYPE_DEATH_AT_MAP
2008-11-01 22:54:55 +01:00
arrai
be03894ec5
Implemented ACHIEVEMENT_CRITERIA_TYPE_LEARN_SPELL
...
Fixed typo in my previous commit
2008-10-31 20:34:53 +01:00
arrai
4baf956853
Implemented ACHIEVEMENT_CRITERIA_TYPE_REACH_SKILL_LEVEL, ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST_COUNT ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUESTS_IN_ZONE, ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_DAILY_QUEST and ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_BATTLEGROUND
2008-10-31 19:48:36 +01:00
arrai
d885ba7fe1
Implemented ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE
...
Implemented faction specific achievements
2008-10-31 14:42:33 +01:00
arrai
0d6805ec94
Implemented ACHIEVEMENT_FLAG_REALM_FIRST_REACH
2008-10-31 12:53:35 +01:00
arrai
6b32fa7175
Added database support for achievement progress
...
Implemented ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_ARCHIEVEMENT
2008-10-30 20:31:42 +01:00
arrai
2af3c01a23
Implemented achievement inspection
2008-10-29 21:49:03 +01:00
arrai
e92cc728c3
Reverted wrong commit d2785283e - the real source for not matching the flags was a mixed up index in DBCfmt.cpp
...
Added database integrity check for creature_equip_template
Differ between stored and pending completed achievements
2008-10-29 17:58:56 +01:00
arrai
5364fc2847
Removed wrong assumed flag, use achievement points to differ between achievements and counters
2008-10-29 12:17:37 +01:00
arrai
1167c55bd9
Fixed several achievement related packets
2008-10-28 22:15:41 +01:00
arrai
deccb566ae
Further work on the achievement system
...
Implemented ACHIEVEMENT_CRITERIA_TYPE_BUY_BANK_SLOT
Fixed SMSG_CRITERIA_UPDATE structure
Implemented parts of ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL - there are still some unknown additional conditions for this criteria type
Fixed sAchievementStore lookup errors caused by an invalid DBCfmt
2008-10-28 00:06:52 +01:00
arrai
5d2f3291c0
Added AchievementMgr
2008-10-27 13:43:44 +01:00