Commit Graph
1434 Commits
Author SHA1 Message Date
Vincent_Michael 20004050bc Update copyright note for 2014.
Happy new year.
2014-01-01 00:07:53 +01:00
jackpoz 64b42c75d2 Scripts/Misc: Code cleanup
Remove some NULL checks not needed anymore after 3744c14184 .
Fix an invalid Creature to TempSummon cast.
2013-12-30 23:36:49 +01:00
Nawuko 6d21d33aac Core: user defined literals need a space in front 2013-12-30 20:35:37 +01:00
jackpoz 5c64dade0f Scripts/Misc: Fix uninitialized values
Fix uninitialized values in scripts reported by valgrind.
Fix target and GetOwner() NULL dereferences .
2013-12-29 23:01:00 +01:00
jackpoz 90c63e4818 Scripts/Misc: Fix uninitialized values
Fix uninitialized values in scripts reported by valgrind.
2013-12-29 16:05:31 +01:00
jackpoz 3744c14184 Scripts/Misc: Ensure Creatures are in instances when required
Create ScriptedAIs that require a InstanceScript reference only if the InstanceScript exists, so if these Creatures are in an instance. ScriptedAIs that don't require a InstanceScript reference have not been modified.
This fixes many possible NULL dereference crashes happening when spawning a scripted Creature outside of an instance.
Fixed a GetOwner() and a ToPlayer() NULL dereference crashes too.
2013-12-29 01:19:52 +01:00
MitchesD 3921f20c18 Scripts/ObsidianSanctum: added creature_formations for surrounding creatures and some clean up 2013-12-27 19:56:01 +01:00
Malcrom fe95371d9a Core/Scripting: Replace casted with cast as casted is not a word. 2013-12-25 14:16:55 -03:30
Malcrom 8f4011cf6e Scripting/Zones: Some cleanup. 2013-12-24 00:56:15 -03:30
joschiwald fd6167cf66 Scripts:
- cleanup obsidian sanctum script
- prevent yelling texts if non player died in some scripts
2013-12-23 23:55:15 +01:00
Malcrom 6858a234b3 Scripting/Borean Tundra: Fix some magic numbers. 2013-12-23 19:13:29 -03:30
Shauren 107af52853 Core/Chat: Refactored building chat packets
* Moved everything into one specialized method instead of being scattered all over the place
* Allow localizing creature names in chat messages (when using $N)
* Send SMSG_GM_MESSAGECHAT for gm messages
2013-12-23 14:23:49 +01:00
Malcrom 6402fa02ac Scripting/Storm Peaks: A little work on Quest 13010 Krolmir, Hammer of Storms 2013-12-23 01:31:30 -03:30
Malcrom d741335a02 DB/Creature_text: Updated more text from sniff. 2013-12-22 20:18:07 -03:30
Malcrom 8aef1748bf DB/Creature text: Added some missing text from sniff. 2013-12-22 18:38:46 -03:30
Malcrom 34ce605a2c Scripting/DB: Fixed some npcs so they wouldn't have AIName & scriptname. 2013-12-22 11:43:10 -03:30
Malcrom 676baa890f Scripting/Dragonblight: Commander Eligor Dawnbringer now scripted.
Purely cosmetic but it was a fun thing to script :)
2013-12-18 18:06:30 -03:30
joschiwald f5c2dca1d5 Scripts: fix crash in spell_jokkum_scriptcast
Closes #11313
2013-12-14 19:43:29 +01:00
Vincent_Michael fb26e18523 Core: Fix warnings 2013-12-11 20:30:15 +01:00
Malcrom fc7e335d3b Scripting/Obsidian Sanctum: Updated scripts to use Events. 2013-12-11 01:13:23 -03:30
joschiwald eddf1b5a64 Scripts: replace some SetOrientation() calls with spline packets and some random changes 2013-12-10 18:46:11 +01:00
joschiwald bb45db65a0 Merge pull request #11275 from Carbenium/UtgardePinnacle
Scripts/UtgardePinnacle: Convert Svala Sorrowgrave to event system
2013-12-10 07:29:00 -08:00
Carbenium 000bfbb732 Convert Svala Sorrowgrave to event system 2013-12-10 16:05:02 +01:00
Malcrom 74facef60d Scripting/Storm Peaks: Renamed npc_brann_bronzebeard script because name has already been used. 2013-12-10 00:11:33 -03:30
Malcrom 755283ac8d Scripting/Storm Peaks: Quest 13285 "Forging the Keystone" now scripted.
Closes #6921
2013-12-09 03:28:40 -03:30
Malcrom dd4aee2c10 Scripting/Howling Fjord: Fix Quest 11310 Warning: Some Assembly Required
Quest is doable and completeable with the following Issues:
Aura not being removed from player after Abomination explodes.
Camera angle should not changes after Abomination explodes.
Can't check if Abomination leaves Halgrind. GetAreaId returns players area id.
2013-12-08 18:46:06 -03:30
jackpoz f418f4cf94 Core/Misc: Fix some static analysis issues
Fix some static analysis issues about uninitialized values in scripts.
Add spell id validation in Unit::SpellNonMeleeDamageLog() .
2013-12-08 22:04:30 +01:00
Malcrom e667c96cfc Scripting/Grizzly Hills: Add missing include "SpellScript.h" 2013-12-05 13:24:34 -03:30
Malcrom 621ba87917 Grizzly Hills/Scripting: Fix Quest 12244 "Shredder Repair" and 12270 "Shred the Alliance"
Closes #1942 #3754
2013-12-05 13:04:11 -03:30
w1sht0l1v3 dc1d1a684a Scripts/HoR: Some fixups. 2013-12-05 16:05:15 +02:00
joschiwald dd16bfb881 Scripts/Oculus: fix drake spells
Closes #6681
Closes #6680
Closes #6673
2013-12-05 00:00:07 +01:00
Malcrom 81c73c2d53 Scripting/Sholazar Basin: Fix warning 2013-12-03 21:05:54 -03:30
jackpoz 5bbded18b5 Core/Misc: Fix some static analysis issues
Fix some static analysis issues about missing NULL checks.
Pass safe Creature pointer instead of summoning a Creature, passing the GUID and retrieve the same Creature from GUID.
2013-12-03 21:46:00 +01:00
w1sht0l1v3 8920994045 Scipts/HallsOfReflection: Fix reset during mob waves.
closes #10995
2013-12-02 20:56:22 +02:00
Malcrom 422fd5fc48 Scripting/Sholazar Basin: Fix spell_shango_tracks script. 2013-12-01 13:38:28 -03:30
Malcrom 6a6b3104a3 Scripting/Sholazar Basin: Move spells for quest Dreadsaber Mastery: Stalking the Prey (12550) to cpp. 2013-12-01 12:30:52 -03:30
joschiwald b375106ed1 Scripts: prevent some runtime errors 2013-12-01 01:48:31 +01:00
Malcrom 9015fee022 DB/SAI: Move cpp script for npc_arete to SAI. 2013-11-30 21:11:03 -03:30
Malcrom 89c5496de9 Scripting/Dragon Blight: A little cleanup to last commit. 2013-11-28 11:38:11 -03:30
Malcrom 90334fe200 Scripting/Torturer LeCraft: Move SAI script for Torturer LeCraft to cpp to make it work properly. 2013-11-28 10:44:27 -03:30
joschiwald 1196b93e94 Core: fix build 2013-11-26 18:14:01 +01:00
joschiwald e353bc492b Scripts/UtgardePinnacle: cleanup InstanceScript 2013-11-26 16:43:14 +01:00
joschiwald 3b8d38d3ea Scripts/Oculus: fix boss_varos::InitializeAI() 2013-11-25 00:00:19 +01:00
Vincent_Michael 7cd21549f6 Core: Fix build 2013-11-24 22:48:47 +01:00
Filip 3e1f734ce1 Merge pull request #11260 from dr-j/patch-1
Removing unneeded scripts from zone_zuldrak.cpp (Core scripts for Amphit...
2013-11-24 13:23:36 -08:00
joschiwald 9a0bb93b33 Scripts: fix warning and cleanup npc_apprentice_mirveda 2013-11-24 21:49:51 +01:00
Dr-J 96daa553b4 Removing unneeded scripts from zone_zuldrak.cpp (Core scripts for Amphitheatre of anguish chain
removing cpp scripts scripts, please check this as dont know much about c but have just removed everything relating to amphitheatre npcs, or lines 168 - 1143 and 1869,1870,1871,1872,1873,1876 or the complete scripts for all involved npcs and the individual lines from void AddSC_zuldrak
2013-11-24 20:25:49 +00:00
joschiwald 2c307aa67c Scripts/Oculus: cleanup a bit 2013-11-24 21:17:45 +01:00
Malcrom f3ade339d8 Scripting/Storm Peaks: Add spell script for spell_jokkum_scriptcast.
Quest 13010 Krolmir, Hammer of Storms is not yet fully scripted but is now completeable.
2013-11-24 13:09:48 -03:30
Aokromes dcfbe1d987 Instance/Halls of Reflection/Lich King event: Typo fix on 86e0c7d
Thx MitchesD
2013-11-24 02:52:27 +01:00