Commit Graph

16029 Commits

Author SHA1 Message Date
Subv
0a693b1568 Tools/MeshExtractor: Fixed a mistake in the WorldModelGroup constructor. 2013-12-29 22:59:23 -05:00
Subv
15d66d19b4 Tools/MeshExtractor: Fixed the threading, threads should no longer behave in a weird way. 2013-12-29 21:37:43 -05:00
Subv
473e4a7b7b Tools/MeshExtractor: Missing changes from previous commit 2013-12-29 21:02:43 -05:00
Subv
b89585e843 Tools/MeshExtractor: Added some stuff to make the switch to C++11 easier 2013-12-29 21:02:15 -05:00
Subv
8cc77ff1fd Don't delete the liquid height data in the destructor as it is called after ReadGroups ends, so the pointers are deleted but they are still referenced in the objects contained inside the Groups vector. 2013-12-29 20:27:37 -05:00
Subv
5c5c14e0d4 Move the WorldModelGroup when loading the WorldModelRoot groups to the Groups vector to prevent undefined behavior on destruction 2013-12-29 19:43:46 -05:00
Subv
1011376b95 Ignore the build on some test maps. 2013-12-29 18:48:18 -05:00
Subv
55936274e9 Fixed a few memory leaks. 2013-12-29 18:19:33 -05:00
Subv
d30eecf4e4 Updated some code to use the STL 2013-12-29 15:47:23 -05:00
Subv
d234d0f3d0 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-12-29 15:13:14 -05:00
jackpoz
c40cdc2968 Core/Chat: Fix assert triggered by .npc add
Fix an assert in Aura::_UnapplyForTarget() caused by ".npc add" changing the guid of the spawned Creature.
2013-12-29 19:37:20 +01:00
jackpoz
e016ef3dbd Merge branch 'master' of github.com:TrinityCore/TrinityCore 2013-12-29 16:27:25 +01:00
Malcrom
0e0b00cab6 Scripting/War Master Voone: Fix Cleave spell and minor cleanup. 2013-12-29 11:41:46 -03:30
jackpoz
90c63e4818 Scripts/Misc: Fix uninitialized values
Fix uninitialized values in scripts reported by valgrind.
2013-12-29 16:05:31 +01:00
Shauren
079905e29a Core/Transports
* Fixed transport orientation
* Fixed transport position desynchronization for stoppable transports
* Ignore spawnMask errors for objects spawned on transports
2013-12-29 14:59:06 +01:00
Malcrom
9af36d887b Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2013-12-28 20:52:49 -03:30
Malcrom
4c66a3f79d Scripting/Boss Jandice Barov: Fix wrong spell id. 2013-12-28 20:51:21 -03:30
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
jackpoz
2a7f03039d Core/Misc: Fix warnings
Fix warnings appearing with -Wstrict-aliasing flag.
2013-12-28 17:24:43 +01:00
Shauren
533180f2a1 Core/Battlegrounds: Removed unneeded code 2013-12-28 13:02:05 +01:00
Shauren
29acf99ea6 Core/Transports: Fixed new spawned transports not being visible for players already present on map 2013-12-28 12:44:22 +01:00
MitchesD
3921f20c18 Scripts/ObsidianSanctum: added creature_formations for surrounding creatures and some clean up 2013-12-27 19:56:01 +01:00
jackpoz
e255d1d376 Core/Transports: Fix possible crash
Fix a crash happening when deleting an instance with transports. This case doesn't appear in current sources but could have happened in ICC and HoR.
2013-12-25 23:11:22 +01:00
jackpoz
9b88a789e6 Scripts/Blood Furnace: Fix crash in Broggok script
Fix a NULL dereference exception in Broggok npc id 17380 script, happening when spawning it outside of an instance.
Fixes #11344
2013-12-25 19:17:44 +01:00
Malcrom
01a43e6a30 Core/QuestDef: Well I clicked revert but Git didn't play along. 2013-12-25 14:31:28 -03:30
Malcrom
fe95371d9a Core/Scripting: Replace casted with cast as casted is not a word. 2013-12-25 14:16:55 -03:30
Malcrom
fa29ddc529 Db/Misc: Fix more dup aura messages. 2013-12-25 12:39:47 -03:30
Shauren
890b47c861 Build fix 2013-12-25 12:37:00 +01:00
Shauren
8bcde41538 Core/Quests: Added stuff missing in previous commit 2013-12-25 12:17:23 +01:00
Shauren
293915db39 Core/Quests: Fixed icon shown above questgivers with daily quests that have already been completed once by a character
Closes #11331
2013-12-25 02:08:05 +01:00
Malcrom
b8e626199c Scripting/Multi: Some cleanup. 2013-12-24 17:56:38 -03:30
Shauren
20a2b69178 Core/Chat: Fixed GM messages in chat channels after refactoring 2013-12-24 20:21:13 +01:00
Malcrom
54dbf870b8 Scripting: Some cleanup. Please keep broken English comments to yourself. 2013-12-24 14:45:45 -03:30
Malcrom
dbce8d93f3 Scripting/Hinterlands: Convert to TC style. 2013-12-24 13:40:27 -03:30
Malcrom
9d2d4ba921 Scripting/Hellfire: Moved some gossip to db and fix some magic numbers. 2013-12-24 12:15:41 -03:30
Malcrom
eacc165a12 Scripting/Ghostlands: Moved some gossip to db and fixed some magic numbers. 2013-12-24 08:39:35 -03:30
Shauren
5e8f829181 Core/SAI: Fixed a crash in call for help/flee for assist actions when they had an emote attached 2013-12-24 11:26:07 +01:00
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
Malcrom
7ef49db25d Scripting/Bloodmyst Isle: Moved Captured Sunhawk Agent gossip to db. 2013-12-23 16:20:04 -03:30
Malcrom
464632b0bc Scripting/Blasted Lands: Shouldn't have removed ScriptedGossip.h 2013-12-23 13:48:49 -03:30
Malcrom
59ac2437d8 Scripting/Blasted Lands: Fixed up gossip and teleport spell for quest 3628.
Can someone please test this. I can't do group testing locally.
Also snuck in a fix for zone_axshara.cpp
2013-12-23 13:36:36 -03:30
Malcrom
ab3eced989 Scripting/Misc: Some cleanup. 2013-12-23 12:12:31 -03:30
Malcrom
59eca906ef Scripting/Blades Edge: Moved gossip to db for Overseer Nuaar and Sai'kkal the Elder. 2013-12-23 11:19:21 -03:30
Shauren
a316b86a79 Core/Spells: Prevent adding sockets to items that have 3 sockets in item_template or already had a socket added to them 2013-12-23 14:25:34 +01:00
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