Commit Graph
30447 Commits
Author SHA1 Message Date
jackpoz 82181a8622 Core/Loot: Fix Master Loot exploit
Fix Master Loot exploit allowing any online Player to receive loot.
2014-01-01 21:42:15 +01:00
Vincent_Michael e773c9a693 Update more copyright note for 2014.
I have no excuse for my fail :/
2014-01-01 18:20:16 +01:00
Shauren b5e0caaa72 Merge pull request #11394 from Dehravor/guild-create-log
Core/Guild: Fix an exploit related to CMSG_GUILD_CREATE
2014-01-01 06:09:14 -08:00
Dehravor 14287326c7 Core/Guild: Fix an exploit related to CMSG_GUILD_CREATE 2014-01-01 13:52:03 +01:00
Vincent_Michael 20004050bc Update copyright note for 2014.
Happy new year.
2014-01-01 00:07:53 +01:00
Subv a63780fd90 Tools/MeshExtractor: Fixed continent meshes, exclude triangles with material 0xFF from the mesh. 2013-12-31 18:03:04 -05:00
Subv 060bc7817f Tools/MeshExtractor: Added some consts 2013-12-31 17:19:18 -05:00
Subv 7b9dbfb1db Tools/MeshExtractor: Fixed a few leaks and added the liquid vertices to the output data. 2013-12-31 16:22:24 -05:00
Subv 31bd3bab3f Tools/MeshExtractor: Fixed a crash when parsing liquid data (Thanks @Cyberium).
Added some support for other liquid types in the liquid chunks (Namely Magma and Slime)
2013-12-31 14:11:05 -05:00
jackpoz 0c2f5340cc Core/Quests: Fix crash on startup
Fix a crash on startup when loading Quest POIs if quest_poi table referenced POIs not in quest_poi_points table, caused by 5de48a67c6 .
Fixes 11390.
2013-12-31 20:08:11 +01:00
Shauren fd72065645 Merge pull request #11391 from Nawuko/waypoint-fix
Core/Waypoints: Revert partly f1a82a578b t...
2013-12-31 10:43:41 -08:00
Nawuko 3209a32fa4 Core/Waypoints: Revert partly f1a82a578b to fix a crash caused by accessing uninitialized splines 2013-12-31 19:22:10 +01:00
Subv dffa010f8a Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-12-31 12:57:10 -05:00
Malcrom 0e7805bac9 Db/Classlevelstats: Little fix for base warrior damage.
I won't be working on this anymore until next year
2013-12-31 13:52:16 -03:30
Malcrom 3018ff4e6c Core/Creature: Obtain Attack power and base damage from creature_classlevelstats table. 2013-12-31 12:45:56 -03:30
jackpoz 7ccf9b948c Tools/MeshExtractor: Fix warnings 2013-12-31 16:06:56 +01:00
jackpoz a7c77322eb Tools/MeshExtractor: Fix uninitialized values causing crashes
Fix uninitialized values causing crashes in the destructor.
2013-12-31 15:39:47 +01:00
jackpoz bd57e06caf Tools/MeshExtractor: Store WorldModelGroup references in WorldModelRoot 2013-12-31 15:08:37 +01:00
Shauren 1cdc2e8c2a Core/Movement: Fixed creature movement on transports 2013-12-31 14:12:02 +01:00
Shauren 9a1282aac6 Core/Spells: Fixed movement from SPELL_EFFECT_PULL_TOWARDS_DEST 2013-12-31 13:08:45 +01:00
Subv 91f93feff5 Tools/MeshExtractor: Adjusted some config values and added some testing code. 2013-12-30 23:00:20 -05:00
Malcrom 997d2adb21 DB/classlevelstats: Update mage exp0, exp1, exp2 base damage 2013-12-31 00:05:54 -03:30
Malcrom ba43e38d6f DB/classlevelstats: Exp1 & Exp2 Paladin base damage.
Exp1 57 to 60 and 71 to 73 estimated.
Exp2 67 to 70 and 81 to 83 estimated.
2013-12-30 22:12:34 -03:30
Malcrom 27c58c3ed8 DB/Classlevelstats: Fix damage for Exp0 Paladin Class.
25, 55, 59, and 61 to 83 are estimated all others are accurate.
2013-12-30 21:28:39 -03:30
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
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
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
yelvann adf12d8a84 Core/Instances: Fix exploit too much players in instances/raids 2013-12-30 02:12:32 +01: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