aboutsummaryrefslogtreecommitdiff
path: root/src/game/AchievementMgr.cpp
AgeCommit message (Collapse)Author
2010-05-26Add support for random battlegrounds - port by n0n4me, original code by ↵click
Vladimir and Griffonheart (Big thanks to all of you!) --HG-- branch : trunk
2010-05-26Fixed achievements rewarding titles to wrong faction (alliance title for ↵Shauren
horde char) --HG-- branch : trunk
2010-05-21More achievement types support.John Holiver
Achievment types used only for statistics: * ACHIEVEMENT_CRITERIA_TYPE_CREATE_AUCTION * ACHIEVEMENT_CRITERIA_TYPE_WON_AUCTIONS * ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_VENDORS * ACHIEVEMENT_CRITERIA_TYPE_GOLD_EARNED_BY_AUCTIONS Tnx to VladimirMangos --HG-- branch : trunk
2010-05-18Converted some log error messages in AchievementMgr.cpp to English.malcrom
--HG-- branch : trunk
2010-04-29Warning FixesSpp
Code Style cleanup Fix linux compile --HG-- branch : trunk
2010-04-27Implement support of Timed Achievement. Thanks Shauren.Trazom62
Fixes issue #1431. --HG-- branch : trunk
2010-04-24- Fix display of recently earned achievements when the player has a high ↵Machiavelli
total of earned achievements. - Fix crash in compare achievements with players with high GUIDs, by havenard. Fixes issue #1724 --HG-- branch : trunk
2010-04-20Fix crash in AchievementCriteriaData::Meets.Trazom62
Fixes issue #1555. --HG-- branch : trunk
2010-04-19Remove LOTS of compile warningsSpp
--HG-- branch : trunk
2010-04-11Fix mail, professions, group loot, console spam, and some fixes. Big thx to ↵n0n4m3
TOM_RUS. --HG-- branch : trunk
2010-04-08Code Style (game + scripts only):Spp
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
2010-04-07Code Style (game + scripts only):Spp
"==" --> " == " (when needed) --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"( " --> "(" " )" --> ")" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"if(" --> "if (" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"while(" --> "while (" --HG-- branch : trunk
2010-03-22Implemented new achievement criteria data:Trazom62
* ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPED_ITEM_LVL (item level and item quality). Implemented achievement criteria: * ACHIEVEMENT_CRITERIA_TYPE_LOOT_EPIC_ITEM * ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM Update ACHIEVEMENT_CRITERIA_TYPE_EQUIP_EPIC_ITEM implementation. Requires DB update to use new criteria data. Thanks VladimirMangos. --HG-- branch : trunk
2010-03-15Properly implemented CONDITION_ACHIEVEMENT for the DB gossip system.Xanadu
--HG-- branch : trunk
2010-03-11Fix achievement title check at startup.Trazom62
--HG-- branch : trunk
2010-03-07Added new type-safe cast functions.raczman
This, when properly used, should get rid of most memory corruption issues, currently, casting types C-style with no checks leads to some abstract crashing. Functionality is same as with dynamic_cast<>, but with no RTTI check - so when casting into invalid type you will receive NULL, and most probably crash. At the same time, i took the liberty to convert most Player* casts to ToPlayer(). Still needs crapload of casts being moved to new facility. --HG-- branch : trunk
2010-01-25Fix startup warning due to r7188.Trazom62
--HG-- branch : trunk
2010-01-24implement ACHIEVEMENT_CRITERIA_TYPE_EQUIP_EPIC_ITEM (achievement Epic, Superior)Trazom62
remove hack for ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED_ON_LOOT and ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED_ON_LOOT (achievement Needy, Greedy) need DB support --HG-- branch : trunk
2010-01-23* Remove CellLock class and all cell-level thread locking.XTZGZoReX
** It was wasting CPU power as cell-level locking is not needed. ** Our multithreading is on map-level, not cell-level. ** CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data. ** Some minor cleanup in Cell::Visit/Map::Visit. --HG-- branch : trunk
2010-01-23Implement QueryResult_AutoPtr type which is ACE's reference counted ↵Anubisss
auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers. Use this auto_ptr for every DB queries(except QueryNamedResult yet). This patch guarantees NO memory leaks from QueryResult pointers. Thanks to raczman for the idea and for the helping to make this patch. --HG-- branch : trunk
2010-01-16Fixed problem with not setAchievementCriteriaDataSet::criteria_id, Add ↵n0n4m3
achievement creteria requirements forACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET*, by GriffonHeart. --HG-- branch : trunk
2010-01-01Make the core boot alot cleaner. Fix some formating. Make custom attributes ↵p0wer
for spells show a bar and how much they are loading. Overall fix 99% of display issues while core is booting. --HG-- branch : trunk
2009-12-25Implement ACHIEVEMENT_CRITERIA_DATA_INSTANCE_SCRIPT. by VladimirMangosn0n4m3
--HG-- branch : trunk
2009-12-24Temporary revert 6743 commit. I fix this patch across 1-2 days.n0n4m3
--HG-- branch : trunk
2009-12-23Replaced time(NULL) on sGameTime.GetGameTime() this is used for better ↵n0n4m3
performance. Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton. 2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs. --HG-- branch : trunk
2009-12-20*apply trinity style to whole sourceRat
*comment out all mangos to trinity defines *this will make merging a little harder, but code will be more clear --HG-- branch : trunk
2009-12-17[9012] fix crash when achievement is completed and player isn't in worldn0n4m3
--HG-- branch : trunk
2009-12-17Restore some commits from trinitycore2 3.1.3n0n4m3
--HG-- branch : trunk
2009-12-17Update Arena and Achievement for 322an0n4m3
--HG-- branch : trunk
2009-12-17Fixed crash in UpdateAchievementCriterian0n4m3
--HG-- branch : trunk
2009-12-16MaNGOS merge: Mail System.win32
* Store loot in mail_loot_template indexed by mail template ids. * Implement proper creating mail text copy item from mail template based mail. * Move send functions to new MailDraft class from WorldSession. * Implement mails sending at player levelup. * Autor VladimirMangos, converted by me. --HG-- branch : trunk
2009-10-18*Cleanupmaximius
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-10* Correctly seperate the two blocks of SMSG_ALL_ACHIEVEMENT_DATA , pointed ↵Machiavelli
out by w12x --HG-- branch : trunk
2009-10-09* Fix "character freeze on map change" bug due to high number of achievements.Machiavelli
--HG-- branch : trunk
2009-09-27*Merge [8524] New cell search algorithm implemented. You can now choose ↵maximius
different visibility distances on continents, in BG/Arenas and instances. Author: Ambal *Some warning cleanup --HG-- branch : trunk
2009-09-11*[8474] Allow to delete BattleGround objects when any of invited players ↵maximius
didn't click to enter battle. Rename m_TeamScores500disadvantage to m_TeamScores500Disadvantage, and optimize its update. Patch is tested. Author: Triply *Added some missed changes that might of broken compile in the last 2~ commits. *Some fixes to Warlock's Death Coil by Gyullo. *Last MaNGOS merge until KingPin says otherwise.. --HG-- branch : trunk
2009-09-11* [8460] Use achievtment criteria data from table for ↵maximius
ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL as expected. Author: VladimirMangos --HG-- branch : trunk
2009-09-04Fix a couple of small typos.Chaz Brown
--HG-- branch : trunk
2009-08-27[8426] Use upper/lower iterator pairs as result instead 2 function calls. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-08-16*Dont allow function CompletedAchievement() for GMs if ↵Anubisss
GM.AllowAchievementGain disabled in conf. --HG-- branch : trunk
2009-08-05*fix typo in achievement, thanks to ThyrosRat
--HG-- branch : trunk
2009-08-02 [8288] Add table base addition reqs for achievements with ↵megamage
ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL Author: VladimirMangos This prevent not proper finish some achievments added in 3.1.x --HG-- branch : trunk
2009-07-31*Fix build.megamage
--HG-- branch : trunk
2009-07-31[8277] Add new line at the end of some .cpp to make gcc happy Author: Gendalphmegamage
--HG-- branch : trunk