Commit Graph

20365 Commits

Author SHA1 Message Date
Subv
91f93feff5 Tools/MeshExtractor: Adjusted some config values and added some testing code. 2013-12-30 23:00:20 -05:00
jackpoz
85218f4436 Tools/MeshExtractor: Fix warnings 2013-12-31 01:09:09 +01:00
Subv
84b20f07e8 Core/MMaps: Clear the points on each CalculatePath call and allow for shortcut paths in case no path is available. 2013-12-30 18:47:34 -05:00
Subv
64ab810595 Tools/MeshExtractor: Corrected a mistake. 2013-12-30 15:31:12 -05:00
Subv
b2728cf1a0 Tools/MeshExtractor: Added some debug messages 2013-12-30 15:19:50 -05:00
Subv
5145281435 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-12-30 14:51:49 -05:00
Subv
6ec7b03f9b Merge pull request #11386 from Nawuko/vincent-fix
Core: user defined literals need a space in front
2013-12-30 11:41:50 -08:00
Nawuko
6d21d33aac Core: user defined literals need a space in front 2013-12-30 20:35:37 +01:00
jackpoz
0895cdc8ad Buildsystem: Fix GCC not being recognized on Ubuntu
Fix CMake not recognizing /usr/bin/cc as GCC on Ubuntu ( 13.10 x64 ) .
2013-12-30 16:50:16 +01:00
jackpoz
799daaae55 Core/Transports: Fix array overflow
Fix an array overflow in TransportMgr::GeneratePath() spline code.

Valgrind log:
 Invalid read of size 4
  at : G3D::Vector3::operator*(float) const (Vector3.h:650)
  by : Movement::C_Evaluate(G3D::Vector3 const*, float, G3D::Matrix4 const&, G3D::Vector3&) (Spline.cpp:103)
  by : Movement::SplineBase::SegLengthCatmullRom(int) const (Spline.cpp:171)
  by : Movement::SplineBase::SegLength(int) const (in /home/jackpoz/trinity/bin/worldserver)
  by : Movement::Spline<double>::initLengths() (SplineImpl.h:86)
  by : TransportMgr::GeneratePath(GameObjectTemplate const*, TransportTemplate*) (TransportMgr.cpp:125)
  by : TransportMgr::LoadTransportTemplates() (TransportMgr.cpp:78)
 Address 0x1d07d154  is 8 bytes after a block of size 300 alloc'd
2013-12-30 16:15:37 +01:00
Malcrom
99b0ee19ca DB/ClassLevelStats: All stats for testing. 2013-12-30 11:28:01 -03:30
Subv
ca118b10e9 Tools/MeshExtractor: Fixed some delete miss-matches 2013-12-29 23:21:36 -05:00
Subv
401527c351 Tools: Only build the previous mmaps_generator when meshextractor isn't selected for building. 2013-12-29 23:04:35 -05:00
Subv
0a693b1568 Tools/MeshExtractor: Fixed a mistake in the WorldModelGroup constructor. 2013-12-29 22:59:23 -05:00
Subv
71f856daa6 Tools/MeshExtractor: Updated RecastNavigation to the latest version from git 2013-12-29 22:59:00 -05:00
Malcrom
b1431bdd47 DB/Classlevelstats: Base damage for expansion 1 2013-12-29 23:31:07 -03:30
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
0e58f5ad24 Build/CMake: Enabled c++11 on gcc for testing purposes. 2013-12-29 20:03:50 -05:00
Malcrom
6c74d660bd DB/Classlevelstats: Add base damage for exp2 2013-12-29 21:17:48 -03:30
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
Kinzcool
5d3a6fe528 Updated the compilation requirements to compile the core.
For more informations read the following thread: http://www.trinitycore.org/f/topic/9214-updated-trinitycore-requirements-deprecation-of-old-compilers/
2013-12-29 19:41:18 -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
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
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
Malcrom
765cd83237 DB/Creature_classlevelstats: update attack power. 2013-12-28 13:56:44 -03:30
jackpoz
2a7f03039d Core/Misc: Fix warnings
Fix warnings appearing with -Wstrict-aliasing flag.
2013-12-28 17:24:43 +01:00
Malcrom
b854e5b696 DB/SAI: Fix for quest 12449 & 12417 from MitchesD.
Closes #11373
2013-12-28 11:17:15 -03:30
Malcrom
6304c8d593 DB/Creature_classlevelstats: Add attack power. Rogue class still lacking data. 2013-12-28 10:39:45 -03:30
Malcrom
e62ad6acfc DB/Creature_classlevelstats: Prepare table for attack power and damage. 2013-12-28 10:32:58 -03:30
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
joschiwald
8d57e081e2 Merge pull request #11359 from MitchesD/obsidian_sanctum
Scripts/ObsidianSanctum: added creature_formations for surrounding creatures and some clean up
2013-12-27 13:58:25 -08:00
MitchesD
3921f20c18 Scripts/ObsidianSanctum: added creature_formations for surrounding creatures and some clean up 2013-12-27 19:56:01 +01:00
Malcrom
51af314875 DB/SAI: Fix AI for Lord Kragaru 2013-12-27 11:25:11 -03:30
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