Commit Graph

424 Commits

Author SHA1 Message Date
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
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
Nayd
ddda0e7a55 Fix typo in CMakeLists.txt
(cherry picked from commit 2ed0af7d75)
2015-01-25 15:27:03 +00:00
Nayd
a87442be68 Tools: Remove mesh_extractor
mesh_extractor is not ready for production and it will be developed
in a different branch
2015-01-25 15:19:11 +00: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
9aa170a085 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-21 22:24:57 +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
Duarte Duarte
8bbd9133d5 Tools/ConnectionPatcher: Fix a typo when checking if moduleName dir exists
Thanks to @ChipLeo
Ref #13866
2015-01-11 22:00:55 +00:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Shauren
419db6c82f Tools/Patcher: Optimized loading binary file by patcher 2014-12-29 18:52:42 +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
Nayd
d149e370f7 Tools/ConnectionPatcher: Fix build on GCC/Clang 2014-12-21 14:09:27 +00:00
Nayd
560e531da7 Tools/ConnectionPatcher: Restore previous functionally that downloaded modules if they did not exist 2014-12-20 22:58:21 +00:00
Nayd
ff0c11e25d Tools/ConnectionPatcher: Pause program when an error happens
Similar to what is done in mmaps_generator and vmap4_extractor.
This hopefully reduces the number of problems that Windows users have
when patching fails.

Closes #13580
2014-12-19 21:35:59 +00:00
Bernd Lörwald
6826fbdd74 tools/connection_patcher: add executable permissions to binary to avoid the rare case where permissions of replaced file are ignored 2014-12-13 12:29:54 +01:00
root
e876201ac4 Tools/Extractors: Remove duplicated DBC fro DBFilesClientList.h
Ref #13531
2014-11-11 13:03:29 +00:00
root
97af09bc46 Tools/Extractors: small change to get rid of the error 2 when trying to extract vmaps
Ref #13531
2014-11-11 13:01:55 +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
Bernd Lörwald
20d1d9d997 Tools/ConnectionPatcher: fix: adapt to compiler optimization around Signature pattern on osx clients 2014-11-08 18:11:14 +01:00
Bernd Lörwald
222f03d887 Tools/ConnectionPatcher: allow to find pattern multiple times 2014-11-08 18:11:00 +01:00