Commit Graph

430 Commits

Author SHA1 Message Date
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
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