Commit Graph

449 Commits

Author SHA1 Message Date
DDuarte
01f7bacd05 Tools/VMapExtractor: Port 060256000b 2016-08-04 18:09:54 +01: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
7d7139ba02 Core: Change supported build to 7.0.3.22293 2016-07-23 14:40:58 +02:00
Shauren
53e65db5cc Tools/Patcher: Updated patterns for x64 win/mac clients 2016-07-23 00:28:50 +02:00
Shauren
7ed0e8147d Tools/mmaps_generator: Update junk map definitions 2016-07-22 19:49:16 +02:00
Shauren
de4c42496f Tools/vmapextractor: Update to new m2 and wmo structures 2016-07-22 17:34:15 +02:00
Shauren
8e53373d35 Warning fixes 2016-07-19 20:01:13 +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
a9a13d10f7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-17 17:37:06 +02:00
Shauren
a8c412a063 Tools: Added universal TrinityCore banner with git version info to all tools 2016-07-17 17:24:53 +02:00
Shauren
5b7a0f35d6 Tools/Patcher: Updated patterns for x64 win/mac clients 2016-07-17 14:28:27 +02:00
Shauren
70137b8f3a Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-06 00:05:13 +02:00
Shauren
78b31e9637 Tools/Patcher: Fixed client crashes happening on macs
Closes #16872
2016-06-19 11:25:47 +02:00
Shauren
b82332487a Core/DataStores: Updated db2 to 7.0.3.21737 2016-05-27 23:14:36 +02:00
KarrokDC
116c807076 Tools/VMapExtractor: Fix an unitialized access to casc if locale isn't found
Fix Coverity issue CID 1341054
2016-04-11 16:10:24 +01:00
Shauren
8fcca8e01c Tools/Connection patcher: Updated for 6.2.4.21355 2016-03-27 23:57:41 +02:00
DJScias
d2e2924b6a Tools/ConnectionPatcher: patch 'versions' by default to prevent auto-updating of executables
* On executable drag and drop it will find the current build number and apply the correct versions patch.
* This prevents patched executables from auto-updating and causing incorrect version errors.
* Also removed "-e" functionality as this change renders it obsolete.
2016-03-23 19:46:44 +01: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
Carbenium
c0c4ed7135 Misc: Fix some warnings reported by GCC 4.9 2015-11-28 01:02:13 +01:00
Gacko
7f075ae746 Tools/VMapExtractor: Do not append "Data" twice. 2015-11-21 00:22:52 +01:00
Shauren
0df82633cd Buildsystem/Tools: Removed unneeded extra flags from vmap extractor 2015-11-20 21:53:36 +01:00
Shauren
9cc3a0e6da Tools/vmapextractor: Fixed opening casc storage for clients that dont have enUS locale installed 2015-11-19 16:30:57 +01:00
elseif
7591fb9d57 Update System.cpp 2015-11-19 03:11:47 +08:00
Carbenium
e8108b518b Tools/ConnectionPatcher: Fix signature patching on OSX
Closes #15003
2015-11-11 23:15:30 +01:00
Naios
13654bac2c Core/Tools: Fix brutal linking in mmaps extractor.
* caused warnings with shared linking
* ref #15671
2015-10-17 13:14:20 +02: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
Carbenium
e4c97f6652 Merge pull request #15312 from StormBytePP/6.x_merge_common_and_move_database_out_of_shared
Core/Build: Merge common library and move database out of shared
2015-08-21 17:54:47 +02:00
StormBytePP
1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00
StormBytePP
c1319ef07d Core/Tools: Fix connection_patcher bnet folder location default in linux 2015-08-21 13:42:21 +02:00
MitchesD
50bf874a77 Tools/ConnectionPatcher: fix typo 2015-08-21 12:48:25 +02:00
Carbenium
172293acee Tools/ConnectionPatcher: Fix downloading BNet modules on linux
Closes #15315
2015-08-21 00:01:35 +02:00
DJScias
7e906d7b19 Tools/ConnectionPatcher: Add 'versions' file patching method
* This is necessary to allow connection to 6.1.2 after the 6.2.0 update released. Patching is version aware.
* Link is hardcoded to a github page after suggestion from Aokromes, it is not tied to any server this way
* The usage is optional. To patch use the "-e" option
* OOP-ify the tool a bit

Original implementation by DJScias

Closes #14980
2015-07-03 22:15:52 +02:00
Shauren
37e69b6954 Tools/Mapextractor: Updated dbc list 2015-07-02 00:31:40 +02:00
Zedron
45070e0baf Tools/MMaps: Fixed loading .map files 2015-05-15 13:57:19 -05: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
Daniel M. Weeks
9c197e82a3 Use std::sqrt 2015-04-15 19:20:37 +02:00
Shauren
ca1f42d409 Tools/Map extractor: Warning fixes 2015-04-15 12:58:38 +02:00
Daniel M. Weeks
96c6ed1867 Remove BOM from connection_patcher 2015-04-02 22:28:43 -04:00
Daniel M. Weeks
18acb9914a Remove old ACE reference 2015-04-02 22:25:22 -04:00
Shauren
3db001e897 Tools/Map extractor: Corrected letter case in gtOCTHpPerStamina.dbc 2015-03-04 17:14:27 +01:00