Commit Graph

161 Commits

Author SHA1 Message Date
Shauren
3c8210a1f3 Tools build fix 2017-05-11 22:51:26 +02:00
Shauren
0b9548a1cc Core: Updated GameTables to 7.2.0
Tools/Extractors: Updated to 7.2.0
Tools/ConnectionPatcher: Updated patterns to 7.2.0

Supported version is now 7.2.0.23911
2017-04-17 00:03:44 +02:00
Shauren
6067d19dfc Fix linux build 2017-03-08 19:22:48 +01:00
Shauren
7b235ce6e4 Core/DataStores: Refactor DB2 loaders to be reusable by extractors 2017-03-08 18:10:02 +01:00
Shauren
b8db320bf1 Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib) 2017-03-04 18:46:18 +01:00
r00ty-tc
8a71e4255e [Core/Maps] Activate creatures and objects during opening cinematics and other flyby cameras (sunwell etc).
Requires re-running map extractor to extract camera m2 files from data
files. These are very small.
2017-02-19 14:47:20 +01:00
Shauren
108c358ad6 Tools/mapextractor: Fixed db2/gt output filenames when running on linux
Closes #18975
2017-01-28 14:02:01 +01:00
Shauren
7b43adc436 Tools/Extractors: Use boost::filesystem for path manipulations
Fixes coverity issue CID 1324654
2017-01-23 18:42:29 +01:00
Shauren
3fd51db845 Tools/Extractors: Intruduce safe casc handles and fix all casc related memory leaks
CID 1254545
CID 1254555
CID 1254588
CID 1343649
2017-01-18 17:20:16 +01:00
Shauren
f11e6c8247 Core: Updated to 7.1.5.23360 2017-01-14 22:37:13 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
21be921a09 Tools/Mapextractor: Updated db2 list 2016-12-08 21:50:12 +01:00
Shauren
9633c8c2b7 Core/Debugging: Partially revert e0fb4445cd, the cmake hack to build wheaty directly into executable is still needed as it is impossible to have it initialize before every other static variable when it resides in dll (dynamic linking only) 2016-11-28 20:21:21 +01:00
vincent-michael
0fa16f6fd9 Core/Tools: Updated extractor for 7.1.0
Closes #18143
2016-10-27 22:48:48 +02:00
Carbenium
060256000b Tools/Mapextractor: Fix a vector subscript out of range debug assertion 2016-07-26 01:14:16 +02:00
Gacko
90d3c1eadc Fix non PCH build. 2016-07-24 13:26:07 +02:00
Shauren
3607d9eef5 Tools: Added game tables extractor 2016-07-19 19:50:44 +02:00
Shauren
fe4d11c65a Tools: Extractor updates
* VMAP extractor does not work due to a bug in CascLib
2016-07-18 23:37:19 +02:00
Shauren
a8c412a063 Tools: Added universal TrinityCore banner with git version info to all tools 2016-07-17 17:24:53 +02:00
Naios
0db4f018e8 CMake: Use inherited dependencies in common and tools
(cherry picked from commit abda7a910a)
2016-03-19 23:19:52 +01:00
Naios
37dbbe22eb Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c
(cherry picked from commit f52495c66b)
2016-03-16 16:12:04 +01:00
Shauren
e24a6e52e9 Build fixes 2016-02-10 22:11:04 +01:00
Shauren
c09f72a2c8 Core/Maps: Moved min height calculation to worldserver for more precise results
Closes #16530
2016-02-10 22:04:04 +01:00
Shauren
4f78efd463 Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling

Note: Extracting new maps is required
2016-02-09 00:14:58 +01:00
Shauren
db0b8bf24e Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Gacko
626560385c Fix non pch build. 2015-12-13 12:55:25 +01:00
Carbenium
c7e58e4db1 Tools/MapExtractor: Fix a warning reported by gcc 4.9
/var/lib/jenkins/jobs/tc_335_release_gcc49/workspace/src/tools/map_extractor/System.cpp:113:25: error: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Werror=unused-result]
             chdir("../");

*NO reextraction of dbcs/maps needed*
Binary compatibility is ensured

(cherry picked from commit f0c7061f0b)

Conflicts:
	src/tools/map_extractor/CMakeLists.txt
	src/tools/map_extractor/System.cpp
	src/tools/map_extractor/loadlib.cpp
	src/tools/map_extractor/loadlib/loadlib.h
	src/tools/map_extractor/mpq_libmpq04.h
2015-12-13 09:47:20 +01:00
elseif
7591fb9d57 Update System.cpp 2015-11-19 03:11:47 +08:00
Shauren
7b5e7e0898 Core/DataStores
* Changed loading dbc/db2. Worldserver no longer accepts dbc and db2 files directly inside '/dbc/*/ folder but expects them to be structured exactly as mapextractor creates them 'dbc/locale/*'
* Fixed loading locale db2 files if they were not placed in root dbc directory
Tools/Mapextractor: Fixed extracting locale dbcs

It is recommended to re-extract dbc files by running 'mapextractor -e 2' instructing the tool to only create dbc/db2 files skipping maps.
2015-08-31 00:03:53 +02:00
Shauren
37e69b6954 Tools/Mapextractor: Updated dbc list 2015-07-02 00:31:40 +02:00
Shauren
ed75b0649a Tools: Modified output files of all extractors to use 4 characters for map id and changed name format of map files to include a separator between values '_' that makes tokenization possible
* This fixes generating mmaps for maps with id >= 1000
* Fixed a crash happening when unloading last phased mmap tile
* Removed remaining references to libmpq in CMakeLists

Reextracting maps/vmaps/mmaps IS REQUIRED after this commit
2015-05-07 00:07:44 +02:00
Shauren
ca1f42d409 Tools/Map extractor: Warning fixes 2015-04-15 12:58:38 +02:00
Shauren
3db001e897 Tools/Map extractor: Corrected letter case in gtOCTHpPerStamina.dbc 2015-03-04 17:14:27 +01:00
Shauren
dd6ce022ee Tools/Map extractor: Updated dbc file list 2015-03-03 18:58:10 +01:00
jackpoz
4ba22c5eaf Tools/MapExtractor: Fix crash when passing an invalid input path
Fix unhandled exception happening when passing an invalid path as -i argument.
2015-02-08 17:07:10 +01:00
jackpoz
44865d0466 Core/Misc: Fix dynamic analysis issues
Fix some dynamic analysis issues reported by Valgrind
2015-01-25 16:43:55 +01:00
jackpoz
8c30236fea Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-24 21:29:08 +01:00
jackpoz
0edc35b921 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-20 22:55:06 +01:00
Shauren
caa2be3ae9 Tools/Extractors
* Modified dbc list to include all gametables found in GameTables.dbc, in case they exist...
* Extractor always tries to extract both dbc and db2 extensions
2015-01-17 20:35:16 +01:00
Duarte Duarte
1406536a2c Merge pull request #13763 from et65/6.x
Tools/MapExtractor: Fixed problem with DBFilesClient extraction for some locales.
2015-01-16 13:47:39 +00:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Vincent-Michael
ddb0b1acda Core: Remove White spaces 2014-12-29 16:55:49 +01:00
et65
4f557347ce Tools/MapExtractor: Fixed problem with DBFilesClient extraction for some locales.
Closes #13359
2014-12-26 12:59:02 +01:00
root
e876201ac4 Tools/Extractors: Remove duplicated DBC fro DBFilesClientList.h
Ref #13531
2014-11-11 13:03:29 +00:00
Rat
ac0ff1fc9b Merge branch 'dbc' of https://github.com/Intel/TrinityCore into Intel-dbc
Conflicts:
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCStructure.h
	src/server/game/Events/GameEventMgr.cpp
2014-11-10 15:18:01 +01:00
Rat
ae132dbf11 Core/Tools: Added WorldSafeLocs.dbc to extractable files' list 2014-11-10 11:25:08 +01:00
Intel
9246f7d335 Core/Extractors: Add missing WorldSafeLocs.dbc 2014-11-07 00:31:44 +02:00
DDuarte
521ff3dffe Build/Tools: Fix linker errors (zlib and pthread) 2014-11-01 09:51:39 +00:00
Bernd Lörwald
7272e42014 Tools/MapExtractor: add -h and add missing newline 2014-10-29 23:40:34 +01:00