Spp
94e2b9332a
Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive)
2013-11-08 10:50:51 +01:00
Ascathor
2607738990
Core/Code: Unify codestyle for brackets: {} to { }.
...
Also added missing copyright to some files.
2013-10-27 23:46:02 +01:00
Vincent_Michael
9802c7b891
Scripts/Misc: Coding Style unification? (by Aokromes)
2013-10-22 20:24:05 +02:00
gerripeach
93dbf20513
Core/Group: Fix crash in "Group::GetMembersCount"
...
closes : #9350
2013-10-20 06:26:29 +02:00
jackpoz
6f98e4106e
Scripts/TheBlackMorass: Fix first 7 rifts spawn timings
...
Partially revert 7e76ab97f8 to properly spawn first 7 rifts. Also allow only 1 EVENT_NEXT_PORTAL event at time.
2013-10-13 18:30:59 +02:00
jackpoz
ac5b6f337e
Core/Scripts: Fix uninitialized values in The Black Morass
...
Valgrind log:
Conditional jump or move depends on uninitialised value(s)
at 0x1798C2C: npc_medivh_bm::npc_medivh_bmAI::UpdateAI(unsigned int) (the_black_morass.cpp:192)
by 0x11AEFC0: Creature::Update(unsigned int) (Creature.cpp:542)
by 0x12E96F8: Trinity::ObjectUpdater::Visit(GridRefManager<Creature>&) (GridNotifiersImpl.h:45)
Conditional jump or move depends on uninitialised value(s)
at 0x1798C7E: npc_medivh_bm::npc_medivh_bmAI::UpdateAI(unsigned int) (the_black_morass.cpp:200)
by 0x11AEFC0: Creature::Update(unsigned int) (Creature.cpp:542)
by 0x12E96F8: Trinity::ObjectUpdater::Visit(GridRefManager<Creature>&) (GridNotifiersImpl.h:45)
Conditional jump or move depends on uninitialised value(s)
at 0x1798CB0: npc_medivh_bm::npc_medivh_bmAI::UpdateAI(unsigned int) (the_black_morass.cpp:205)
by 0x11AEFC0: Creature::Update(unsigned int) (Creature.cpp:542)
by 0x12E96F8: Trinity::ObjectUpdater::Visit(GridRefManager<Creature>&) (GridNotifiersImpl.h:45)
Conditional jump or move depends on uninitialised value(s)
at 0x1798CE2: npc_medivh_bm::npc_medivh_bmAI::UpdateAI(unsigned int) (the_black_morass.cpp:210)
by 0x11AEFC0: Creature::Update(unsigned int) (Creature.cpp:542)
by 0x12E96F8: Trinity::ObjectUpdater::Visit(GridRefManager<Creature>&) (GridNotifiersImpl.h:45)
2013-09-28 22:18:19 +02:00
joschiwald
a0c637f52a
Core/Scripts: added some OVERRIDEs
2013-09-25 16:37:43 +02:00
Nay
7776016106
Core/Quests: Remove CastedCreatureOrGO method
...
- Remove EAI's ACTION_T_CAST_EVENT and ACTION_T_CAST_EVENT_ALL
- Remove SAI's SMART_ACTION_CALL_CASTEDCREATUREORGO
- Split QUEST_TRINITY_FLAGS_KILL_OR_CAST into QUEST_TRINITY_FLAGS_KILL and QUEST_TRINITY_FLAGS_CAST
- Assign QUEST_TRINITY_FLAGS_CAST to all the quests that were using RequiredSpellCastX
- (unrelated) Fix a warning in Player.cpp
- Replace CastedCreatureOrGO usage in scripts by KilledMonsterCredit
TODO: Convert the two EAI scripts commented out in the .sql to proper SAI
Closes #10667
2013-08-30 19:32:08 +01:00
Nay
78786c7b54
Core&Scripts: Fix clang compiler warnings
2013-08-27 23:47:03 +01:00
Nay
8eaf763235
Core&Tools: Fix multiple issues found by a static code coverage tool
2013-08-26 02:00:18 +01:00
joschiwald
2b19ba1879
Misc: replace Unit::GetPlayer with ObjectAccessor::GetPlayer and some cosmetic changes
2013-08-18 01:41:10 +02:00
w1sht0l1v3
1ad954e215
Core/Scripts: Placeholders for instances Maraudon and Dire Maul.
...
It is needed for Random Dungeon Finder credit.
2013-08-17 19:14:48 +03:00
w1sht0l1v3
0333d22fe9
Core/Scripts: Placeholder for instance Ragefire Chasm.
...
It is needed for Random Dungeon Finder credit.
2013-08-17 15:25:09 +03:00
Kirkhammett
0161012c69
Scripts/ZulFarrak: Convert Witch Doctor Zum'rah from SAI to Cpp
...
Closes #10508
2013-08-10 20:36:45 +01:00
Vincent-Michael
8acefbff8c
Scripted: Use now override for instance scripts
2013-08-10 17:42:12 +02:00
joschiwald
0667e89005
Scripts/DrakTharonKeep: add some spellscripts, add yells to novos, and do some cosmetic changes
2013-08-07 17:31:36 +02:00
Vincent-Michael
75e6c40630
Core/Misc: Rename some no name enums
2013-08-06 21:16:05 +02:00
Shauren
ac10589eda
Core/Misc: Fixed some issues found by Coverity Scan
2013-08-01 21:31:11 +02:00
Nay
394b2c6845
Scripts/OnyxiasLair: Fix a crash in boss_onyxia
...
Closes #10393
Note: this just fixes the crash, not the issues the script has (a.k.a rewrite this)
2013-07-29 21:46:49 +01:00
keke222
e11714e948
Scripts/Onyxia's Lair: Fixed movement during flight phase and set proper InhabitType
...
Closes #10335
2013-07-23 17:18:46 +02:00
Malcrom
bd3fa71d32
DB/Gossip: Add and fix a few more gossip menus.
2013-07-15 19:57:18 -02:30
Malcrom
53e5075005
Scripting/Black Fathom Deeps: Fixed script to use proper spell.
2013-07-15 15:15:23 -02:30
Malcrom
cff725982d
DB/Gossip: Added gossip for Morridune.
2013-07-15 14:53:20 -02:30
Malcrom
9e91219cd3
DB/Gossip: Add missing gossip for Sputtervalve. Moved all scripting to SAI.
2013-07-15 13:51:51 -02:30
Malcrom
50e59114b1
Core/Scripting: Some cleanup for Hyjal Script.
2013-07-10 16:36:23 -02:30
Malcrom
f44f004dc5
Core/Scripting: Fixup Onyxia Script to use events.
2013-07-10 14:09:32 -02:30
Vincent-Michael
e464d2bd2c
Scripted: Some cleanups + ninja changes
2013-07-08 21:15:23 +02:00
Nay
3561ab98ba
Misc: Use override and final C++11 keywords in a few places (mostly scripts)
...
OVERRIDE and FINAL are TC macros (expand to nothing if compiler does not support C++11)
2013-07-06 20:21:45 +01:00
Vincent-Michael
6079f369af
Scripted/Misc: Some cleanup
2013-07-06 01:00:05 +02:00
Vincent-Michael
b4d4e04f53
Scripts/Misc: Rename creatures with mob_ / mobs_ in npc_
...
Note: Have fun :P
2013-07-04 22:11:47 +02:00
Nay
85db1fc943
Scripts/Razorfen Kraul: Fix build and a possible crash
2013-07-04 17:12:29 +01:00
Mislav Blazevic
9c1cca395b
Scripts/Razorfen Kraul add script for quest 1221
...
Credits to @XFurry , he is original author.
Closes #8165
Closes #10152
Signed-off-by: Nay <dnpd.dd@gmail.com >
2013-07-04 17:00:23 +01:00
Shauren
112bc49c9a
Core/Units: Removed most calls to SendMovementFlagUpdate for creatures
2013-06-30 16:31:24 +02:00
Malcrom
b669a2142e
Core/Scripting: Some boss script fixes.
2013-06-23 11:27:33 -02:30
Vincent-Michael
e6185c92fc
Scripts: Convert DoCast(me->GetVictim(), SPELL_XXXXX); in DoCastVictim(SPELL_XXX);
2013-06-22 16:53:13 +02:00
Vincent-Michael
154dd37743
Scripts: Add missing code and fix codestyle
2013-06-22 16:45:48 +02:00
Malcrom
6623a9dc42
Core/Scripting: Renamed Dark Portal scripts to The Black Morass
2013-06-21 23:14:59 -02:30
Malcrom
7e76ab97f8
Core/Scripting: Updates to Dark Portal Instance Scripting
2013-06-21 21:56:21 -02:30
kaelima
a50fef2336
Scripts: Prevented several KilledUnit texts to yelled for non-players such as pets
2013-06-19 00:41:40 +02:00
Shauren
b6aadc6698
Scripts/Misc: Use new movement flag setting methods in scripts
2013-06-18 16:48:46 +02:00
Malcrom
ec474a62e5
Core: More Function Renaming.
2013-06-11 21:25:12 -02:30
Malcrom
66978cfc3b
Core: Some function renaming.
2013-06-11 19:54:27 -02:30
Malcrom
047608e7de
Core/SAI: Add check so npc will not send text to pet. Also updated isPet() to IsPet().
2013-06-11 18:39:51 -02:30
Spp
00c1168897
Core/Misc: Remove trailing whitespace, compile warnings and minor cosmetic changes
2013-05-21 08:37:28 +02:00
Shauren
8633452f8d
Scripts/Misc: Fixed many scripts not executing one of their actions because of an event with id = 0
2013-05-19 10:52:39 +02:00
Subv
25acef2572
* Batch of fixes for issues found by static analysis.
2013-05-17 21:11:18 -05:00
Spp
d1677b2db0
Core/Logging: Performance-related tweaks to logging system
...
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
Memleak fix
2013-05-13 15:07:36 +02:00
Spp
156fb824a4
Core/Scripts: Removed CAST_CRE define
2013-03-21 13:48:36 +01:00
Spp
355029fb4f
Core/Scripts: Removed CAST_PLR define
2013-03-21 13:07:10 +01:00
Spp
d091097433
Core/AI: Do not expose internal storage of SummonList
2013-03-21 11:06:05 +01:00