aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-20Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4Vincent_Michael
Conflicts: src/server/game/DungeonFinding/LFGMgr.cpp src/server/scripts/Kalimdor/zone_silithus.cpp
2013-12-20DB/Misc: Update Wintergrasp Battle-MagesMalcrom
2013-12-19DB/Misc: Three more creature moved to SAI only.Malcrom
2013-12-19DB/Gossip: Moved Highlord Demitrian gossip to db.Malcrom
npc had SmartAI and cpp script.
2013-12-19DB/SAI: Fix a few more dup aura errorsMalcrom
2013-12-19DB/SAI: Scripted all ogres in Blades Edge Mountains.Malcrom
Sorry I had to remove the awesome cpp script.
2013-12-19DB/Misc: Fix a couple capitalization errorsMalcrom
2013-12-19DB/Misc: Two missing paths and two missing Combat AI.Malcrom
2013-12-19Merge branch 'master' of https://github.com/TrinityCore/TrinityCoreDiscover-
2013-12-19Core/SAI: Fix another memory leak, thanks to @XterDiscover-
2013-12-19Core/Logging: Use logger cache for speed up logger filter searchSpp
2013-12-19Core/SAI: Fix two memoryleaks in my previous commits. Thanks to @Xter for ↵Discover-
the notice.
2013-12-19Core/Dungeon Finder: Improve join log message to try to detect cases when ↵Spp
one of the selected dungeons is 0 * Added specialization to all loggers related to lfg (allows to enable "lfg.join" in debug mode and keep all the rest in error)
2013-12-18Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4Vincent_Michael
2013-12-18DB/Misc: Fixups for Toshley's Station, Blades Edge.Malcrom
2013-12-18DB/SAI: Some SAI updates to remove dup aura errors and some additions.Malcrom
2013-12-18Scripting/Dragonblight: Commander Eligor Dawnbringer now scripted.Malcrom
Purely cosmetic but it was a fun thing to script :)
2013-12-18Core/SAI: Using SMART_ACTION_FORCE_DESPAWN now despawns the given ↵Discover-
target_type instead of always the creature itself.
2013-12-17Core/SAI: Fix compileDiscover-
Core/SAI: Don't limit SMART_ACTION_SET_INGAME_PHASE_MASK to unit targets only. Thanks to @Shauren for the notice.
2013-12-17Core/SAI: Using the action_type SMART_ACTION_SET_REACT_STATE now sets the ↵Discover-
react state of the target_type. Won't break any scripts as all current cases of this action_type have target_type 1 (SMART_TARGET_SELF).
2013-12-17Core/SAI: In all npc flag related action_types we now check if the target is ↵Discover-
a creature instead of an unit (creature/player).
2013-12-17DB/SAI: Fix two wrong action_types that would make the creature cast the ↵Discover-
Death Touch spell on no target (SMART_TARGET_NONE) instead of move to given target_x/y/z/o co-ordinates. The person who wrote this script accidently used action_type 11 (SMART_ACTION_CAST) instead of 69 (SMART_ACTION_MOVE_TO_POS), and since the action_param1 field of SMART_ACTION_MOVE_TO_POS is the motion id (point id given back to SMART_EVENT_MOVEMENTINFORM), it was set to 5. Ironically, the first parameter of SMART_ACTION_CAST is the spell id and it was spell id 5 is Death Touch. However this script would do nothing because I changed it so that SMART_TARGET_NONE no longer functioned as SMART_TARGET_ACTION_INVOKER in this commit: 9653576cb4cc9449898d6af691c045d68e9361c5. Before this commit, though, it WOULD cast Death Touch. Fun fun fun.
2013-12-17Core/SAI: Using SMART_ACTION_SET_FOLLOW with target_type 0 ↵Discover-
(SMART_TARGET_NONE) will now stop the following completely. Fixes 6 scripts in a clean TDB already using this functionality even though it wasn't implemented.
2013-12-17Core/SAI: Make SMART_ACTION_SET_INGAME_PHASE_MASK set the phasemask of the ↵Discover-
target_type instead of always the source calling the action type.
2013-12-16DB/SAI: Fix some duplicate aura errors and clean up the SAI.Malcrom
2013-12-16Core/Player: Fix logic for questgiver cast spellMalcrom
2013-12-16Core/Misc: Fix warningjackpoz
Partially revert f0a742a8c471ba948d5d86c1ab5e3a74329a9a92 to fix a warning about unhandled switch case (the same case that Coverity reported as dead code) .
2013-12-16Core/AH: Fix memory leakjackpoz
Fix memory leak in Auction House when creating an auction with stackable items and a stack of the same amount in the inventory. Leak added in 15a2acfb528728b824291cb49cdd9196e6f0d57d .
2013-12-15Core/Waypoints: Stop creatures from skipping at waypoint nodesMalcrom
and add smoothing to pathing.
2013-12-15Core/AI: Fix CreatureAI left uninitializedjackpoz
Fix CreatureAI left uninitialized for 1 server tick for Creatures with DeathState:DEAD . This is a workaround required after c9cf2f059f8f33c3fcb58ad472871515e59df7c3 changes . Valgrind log: Conditional jump or move depends on uninitialised value(s) at : npc_draenei_survivor::npc_draenei_survivorAI::MoveInLineOfSight(Unit*) (zone_azuremyst_isle.cpp:104) by : CreatureAI::MoveInLineOfSight_Safe(Unit*) (CreatureAI.cpp:123) by : CreatureUnitRelocationWorker(Creature*, Unit*) (GridNotifiers.cpp:134) by : Trinity::AIRelocationNotifier::Visit(GridRefManager<Creature>&) (GridNotifiers.cpp:252) Uninitialised value was created by a heap allocation at : operator new(unsigned long) (vg_replace_malloc.c:319) by : npc_draenei_survivor::GetAI(Creature*) const (zone_azuremyst_isle.cpp:66) by : ScriptMgr::GetCreatureAI(Creature*) (ScriptMgr.cpp:792) by : FactorySelector::selectAI(Creature*) (CreatureAISelector.cpp:41) by : Creature::AIM_Initialize(CreatureAI*) (Creature.cpp:716) by : Creature::AddToWorld() (Creature.cpp:190)
2013-12-15DB/Creature: Misc template updatesMalcrom
2013-12-15Core/Transports: Fix memory leak on shutdownjackpoz
Fix world transports not being deleted on shutdown.
2013-12-15Core/Unit: prevent COMMAND_ATTACK being added for Trained Rock Falcon.Malcrom
Also added spells for Trained Rock Falcon to db.
2013-12-15Core/Misc: Remove unused codejackpoz
Remove unused debugging code added in MaNGOS r5067. Remove dead code from a switch found by Coverity.
2013-12-15Core/Unit: Add switch to prevent COMMAND_ATTACK being added to action bar ↵w1sht0l1v3
for supplied creature entries.
2013-12-15Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4Vincent_Michael
Conflicts: src/server/game/Battlegrounds/BattlegroundMgr.cpp src/server/game/Entities/Player/Player.cpp src/server/game/Handlers/QuestHandler.cpp src/server/game/Spells/SpellInfo.h src/server/game/World/World.cpp
2013-12-14Core/Player: Fix questgiver spell cast.Malcrom
2013-12-14Merge branch 'master' of github.com:TrinityCore/TrinityCorejoschiwald
2013-12-14Scripts: fix crash in spell_jokkum_scriptcastjoschiwald
Closes #11313
2013-12-14Core/Quests: Fix an issue where auto-completed quests would not be ↵Discover-
automatically completed if the quest was added through either the SmartAI action_type SMART_ACTION_ADD_QUEST, the spell effect SPELL_EFFECT_QUEST_START or the opcode CMSG_QUEST_CONFIRM_ACCEPT. Also fixes auto-complete quests in the SAI and opcode case not calling the AI hook.
2013-12-14Core/AI: Fix an issue where the OnQuestAccept hooks were not called for ↵Discover-
auto-completed quests. Fixes #11304
2013-12-14Core/Misc: Fix some static analysis issuesjackpoz
Fix some static analysis issues about uninitialized values.
2013-12-14Core/Misc: Fix some static analysis issuesjackpoz
Fix some static analysis issues about uninitialized values. Most of them are false positives, always initialized before being accessed, while some of them are real issues spotted by valgrind too.
2013-12-14Core/Player: Add another exception to questgiver spell casting.Malcrom
2013-12-14Core/Movement: Fix invalid memory accessjackpoz
Fix the stack implementation used in MotionMaster and added few sanity checks to ensure no underflows will be made. Valgrind log: Invalid read of size 8 at : MotionMaster::top() const (MotionMaster.h:115) by : MotionMaster::pop() (MotionMaster.h:91) by : MotionMaster::~MotionMaster() (MotionMaster.cpp:74) by : Unit::~Unit() (Unit.cpp:296) by : Player::~Player() (Player.cpp:880) by : WorldSession::HandleCharCreateCallback(Trinity::AutoPtr<PreparedResultSet, ACE_Thread_Mutex>, CharacterCreateInfo*) (CharacterHandler.cpp:665) by : WorldSession::HandleCharCreateCallback(Trinity::AutoPtr<PreparedResultSet, ACE_Thread_Mutex>, CharacterCreateInfo*) (CharacterHandler.cpp:516)
2013-12-14DB/SAI: Fix an error in Bladespire Mystic SAIMalcrom
2013-12-13Core/SmartAI: SMART_ACTION_UPDATE_TEMPLATE will no longer ignore the target ↵Discover-
type and force the source creature (creature only) to be updated; from now on it updates the given targets to the given entry (actionparam1)
2013-12-12Core/SmartAI: Reset Actions will not be processed until creature reaches home.Malcrom
2013-12-12Core/AI: Some code cleanupMalcrom
2013-12-12Core/SmartAI: Fixed issue where ranged caster would switch to combat ready ↵Malcrom
state between cast.