aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
AgeCommit message (Collapse)Author
2010-06-04HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISKRat
implemented Condition System all systems should work like before after applying the sql converter you won't be able to apply any Updatepacks (<=up30) so do updates before this this revesion is not threated as stable! --HG-- branch : trunk
2010-06-02Few changes to *_scripts handling in core.Machiavelli
- Use pointers of most abstract classes possible where applicable. - Don´t use dynamic_cast when casting possibility is already explicitly checked per typeid. - Where applicable use the ToCreature() and ToPlayer() functions for typecasting. - Fix functioning of SCRIPT_COMMAND_CAST_SPELL - Fix possible crash in SCRIPT_COMMAND_KILL - Always include script id in error messages. - Added a few TODO comments. These changesets were merged in from MaNGOS: - [9576] Implement SCRIPT_COMMAND_CREATE_ITEM by NoFantasy - [9577] Implement SCRIPT_COMMAND_DESPAWN_SELF by NoFantasy - [9869] Extend SCRIPT_COMMAND_QUEST_EXPLORED to allow player<->player as source/target by NoFantasy --HG-- branch : trunk
2010-05-24Remove unneeded loading bar for referenced vendorsShauren
--HG-- branch : trunk
2010-05-16you can now reload creatures from creature_template tableRat@walamy
NOTE: reload is limited to one creature at a time Usage: .reload creature_template $entry Warning: this is mainly for developers, reloading a creature can cause unexpected behaviors!! --HG-- branch : trunk
2010-05-16Fix localization of gossip menu optionsSpp
Original patch by Qowyn Adapted to trinity (and tested) by Durotar and Aokromes --HG-- branch : trunk
2010-05-14Allow multiple classes for quest requirements - patch by Shaurenclick
(This should make Malcrom happy) Fixes issue 1476. Fixes issues 1972. Fixes issue 430. --HG-- branch : trunk
2010-05-14Fix Linux compileMachiavelli
--HG-- branch : trunk
2010-05-13Make ObjectMgr::GetGuildByName and ObjectMgr::GetArenaTeamByName searches ↵Machiavelli
case insensitive. Fixes issue #307. Credits to Loread --HG-- branch : trunk
2010-05-08Add GUID to groupsSpp
--HG-- branch : trunk
2010-05-05Fix raid groups load from DB and save to DB.Trazom62
Fixes issue #299. - In table GROUPS, since rev 7841, isRaid is used to store the groupType. The DB was not updated. this is now fixed. - Fix isRaid set to 1 when group converted to raid (shall be the groupType). - Fix isRaidGroup check as groupType is now a set of flags. - Fix dungeon/raid check when difficulty change. --HG-- branch : trunk
2010-05-04Add stricter regulations for instances (login-checks and support for sending ↵click
unbound player to parent-instance / homebind if not matching criterias) Patch by Elron103 - closes issue #1323. --HG-- branch : trunk
2010-05-04Allow spellid_x fields in item_template to be -1Spp
--HG-- branch : trunk
2010-05-01Fix more warnings.Spp
--HG-- branch : trunk
2010-05-01Add support for sorting vendor itemlistsclick
--HG-- branch : trunk
2010-04-30Add support for vendors selling the same items with different extendedCost - ↵click
original code by Vladimir (thanks mate) Closes issue #1756 --HG-- branch : trunk
2010-04-30Replace some PQuery/PExecute by more simple Query/ExecuteSpp
Original patch by hunuza, extended to whole code Closses issue 1446 --HG-- branch : trunk
2010-04-24Fix compile ¬¬Spp
+ Code Style (for, if, while) --HG-- branch : trunk
2010-04-19Remove unused columns from sqlsSpp
--HG-- branch : trunk
2010-04-19More warning removal (Some code modifications and cleanup when needed)Spp
--HG-- branch : trunk
2010-04-19Remove LOTS of compile warningsSpp
--HG-- branch : trunk
2010-04-18Move around and do some changes to homebinding, thanks to Vladimirclick
* Adds support for spelltarget-positions * Uses areaname instead of zonename on hearthstone Add homebind animation to player, with cast from innkeeper --HG-- branch : trunk
2010-04-15Another fix quest flags, Implement support weekly quests cooldowns(Original ↵n0n4m3
patch by GriffonHeart), also code cleanups. --HG-- branch : trunk
2010-04-14Drop not needed table 'item_text', add new column 'text' in table ↵n0n4m3
'item_instance'. Original patch by Vladimir. --HG-- branch : trunk
2010-04-14Fix quest flags, restore work many quests broken after client switch on ↵n0n4m3
3.3.3a. Patch by Shauren. --HG-- branch : trunk
2010-04-13Fix compile warning in ObjectMgr::AddSpellToTrainerSpp
--HG-- branch : trunk
2010-04-12* Set Trinity referenced trainer start entry to 200000Brian
* Removed unneeded bar loading code for trainers --HG-- branch : trunk
2010-04-11Tab to Spaces and remove of trailing spacesSpp
--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) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (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-04-07Code style (game + scripts only):Spp
"for(" --> "for (" --HG-- branch : trunk
2010-04-07Code Style: Remove trailing spacesSpp
--HG-- branch : trunk
2010-04-07Code Style: tab to spacesSpp
--HG-- branch : trunk
2010-04-05* Backed out changeset 44ff24439269Brian
* We will implement this in a generic way using the conditions system --HG-- branch : trunk
2010-04-05Add option maxPercentHealth to item_required_target to allow setting health ↵malcromdev@gmail.com>
percentage a target must be at before item use on item_required_target is allowed. This will allow better scripting of quest item use on some creatures. --HG-- branch : trunk
2010-03-27Make a function(ToTempSummon()) which can convert Creature to TempSummon ↵Anubisss
with a C++ cast(reinterpret_cast) and with a type check(isSummon()). This function is like ToPlayer(), ToTotem(), etc. This commit is like ede831bdd6f0cff481acc33f269fa7f8c78befd4 / r7496: http://code.google.com/p/trinitycore/source/detail?r=ede831bdd6f0cff481acc33f269fa7f8c78befd4 As a result, this commit has the advantages and the "disadvantages" too, like r7496. Please try to be polite if this commit causes some crashes. --HG-- branch : trunk
2010-03-27Implement usage of RewardArenaPoints field in quest_templateMachiavelli
--HG-- branch : trunk
2010-03-25cleanups in vehicle accessories storagesilverice
transfer accesory list by pointer, make it constant --HG-- branch : trunk
2010-03-24* Allow the use of referenced trainer / vendor data.Brian
* This will reduce the size of the trainer / vendor tables a LOT. * Current tables will continue to work as/is until the refs can be made. * Huge thanks to XTElite1 * Credits for patch to Cycrow --HG-- branch : trunk
2010-03-23Added support for maximum allowed player level for quests. By Gyullo.Xanadu
--HG-- branch : trunk
2010-03-20Do not use hard coded index in SMSG_QUEST_POI_QUERY_RESPONSE. May be the ↵Machiavelli
resolution for some client crashes. --HG-- branch : trunk
2010-03-17Fixed players not being able to resurrect after core crash.Xanadu
--HG-- branch : trunk
2010-03-15Properly implemented CONDITION_ACHIEVEMENT for the DB gossip system.Xanadu
--HG-- branch : trunk
2010-03-14* Backed out changeset ddd823e3e200Brian
* hg commit <filename> isn't enough to push one file * also need hg push <filename> --HG-- branch : trunk
2010-03-14* mergeBrian
--HG-- branch : trunk
2010-03-14* Added CONDITION_CLASS / CONDITION_RACE / CONDITION_ACHIEVEMENT forBrian
* gossip / loot conditions --HG-- branch : trunk