aboutsummaryrefslogtreecommitdiff
path: root/src/game/AchievementMgr.cpp
AgeCommit message (Collapse)Author
2009-03-06[7394] Check loot_template.maxcount for max allowed value (255) and make ↵megamage
better report for this case. Author: VladimirMangos Also optimize strcture LootStoreItem that let use 4 byte for loot template element in memory instead 5 bytes. But limit group id to 127 max value. Check this at loading. --HG-- branch : trunk
2009-03-06[7393] Implement access to client side holiday ids. Author: VladimirMangosmegamage
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence * `game_event` now have new `holiday` field for store client side holiday id associated with game event * Added new enum HolidayIds with existed at this moment holiday ids. * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check. --HG-- branch : trunk
2009-03-06[7391] Prevent achievement counter overflow, implement ↵megamage
ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE generic support. Before overflow has been possible at 4294967295 lols for example. ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE in many cases require check special conditions and targets. For this allow call it from scripts: * Add Player::UpdateAchievementCriteria functiona ccessable from scripts * In emote case it allowed call in form player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote_id, achievement_id, target_unit_ptr); Author: VladimirMangos --HG-- branch : trunk
2009-03-06 Implement some death related achievementsmegamage
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting) * ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting) Note: need fixed for cases when max allowed players different from recommended count. * ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types) Fixed: * ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER - self-kill counting as death from players - same team player kill in opposition kills counter. Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment. Author: VladimirMangos --HG-- branch : trunk
2009-03-05[7378]~[7381] achievement code update. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-02-27[7350] Use more compact and fast way for check class/race achievement. ↵megamage
Author: zhenya <zhenya@getmangos.ru> --HG-- branch : trunk
2009-02-27 [7336] Implemented new BattleGroundQueue invitation system. Now it ↵megamage
supports premade group versus premade group matches. Added 2 new config options - InvitationType and PremadeGroupWaitForMatch - you can find more info in default config file. This patch can cause crashes. Author: Triply [7338] Little cleanup in battleground queues code. Author: ApoC --HG-- branch : trunk
2009-02-24 [7330] Code warnings and style cleanups. Some bugs fixes. Author: ↵megamage
VladimirMangos 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. --HG-- branch : trunk
2009-02-21[7312] Use localized DB-based achievement message instead hardcoded string. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-02-08 [7240] Fix logfile spam from AchievementMgr.megamage
Log AchievementMgr::SendAchievementEarned only in debug. Signed-off-by: ApoC <apoc@nymfe.net> --HG-- branch : trunk
2009-02-06[7235] New command: .reset achievements. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 1 - Mercurial cant ↵Drahy
convert all files at once --HG-- branch : trunk
2009-02-01 [7218] Fixed used message CHAT_MSG_GUILD_ACHIEVEMENT format.megamage
Guild members will not recieve achievement messages. Author: delavega --HG-- branch : trunk
2009-01-25*Update to Mangos 7183.megamage
--HG-- branch : trunk
2009-01-23*Update to Mangos 7154.megamage
--HG-- branch : trunk
2009-01-22*Update to Mangos 7151.megamage
--HG-- branch : trunk
2009-01-20*Update to Mangos 7125.megamage
--HG-- branch : trunk
2009-01-06*Mangos [7040] Move achievment rewards dat to new DB table. Implement ↵megamage
sending item rewards by mail. By VladimirMangos. Support localization string fields for new table. Move achievments related code and data from ObjectMgr to new AcievmentGlobalMgr. *Mangos [7041] Add 7-8 rank warlock stone. By GriffonHeart. --HG-- branch : trunk
2009-01-03*Mangos [7014] Fixed setting initial value of achievement criteria counter, ↵megamage
broken after 21df99d7. With that bug players had to complete an achievement criteria n+1 times. By arrai. --HG-- branch : trunk
2009-01-02*Update to Mangos 7006.megamage
--HG-- branch : trunk
2008-12-29*Update to Mangos 6982.megamage
--HG-- branch : trunk
2008-12-24*Update to Mangos 6938. (Only build for VC9)megamage
--HG-- branch : trunk