Commit Graph

482 Commits

Author SHA1 Message Date
Ovahlord
d377b7c705 Tools/VMapExtractor: removed a unneeded output 2020-03-05 20:22:45 +01:00
Ovahlord
d4ede67e1b Tools/MMaps: corrected hole format for terrain builder 2020-03-05 19:40:46 +01:00
Ovahlord
6f5ac9d93c Core/Maps: fixed map hole format that was causing invalid height data being returned. Re-extracting maps is required. 2020-03-05 18:21:12 +01:00
jackpoz
004e39d88c Tools/MMaps: Fix strange paths in Blackfathom Deeps
Increase the agent height by x2 to reduce the chance of having underground mmap layers wrongly picked by recast.
2020-02-27 14:05:47 +01:00
Ovahlord
de74f05f90 Core/Vmaps: sync wmo related code with master branch 2020-02-27 14:02:13 +01:00
Giacomo Pozzoni
cad41332ba Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon (#24036)
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon

Fix path generator returning shortcuts when start and end are on the same polygon by handling this case as if start and end were on 2 different polygons. This will ensure BuildPointPath() gets called which calls FindSmoothPath(), making sure each step is not longer than SMOOTH_PATH_STEP_SIZE (4 yards)

* Change ingame cast error message to SPELL_FAILED_NOPATH from SPELL_FAILED_OUT_OF_RANGE if the generated path is too long
2020-02-20 21:29:46 +01:00
Aokromes
d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker
6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord
15f09fb82b Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61 2019-11-06 00:51:04 +01:00
ModoX
ec40d87fe6 Tools/Patcher: tempfixed patching for Mac clients 2019-10-05 18:34:12 +02:00
Ovahlord
92d25a9f85 Tools/Patcher: added patterns and patches for Mac 2019-09-30 02:54:59 +02:00
Ovahlord
2084124420 Tools/Patcher: add Windows x64 patterns 2019-09-29 18:33:42 +02:00
Ovahlord
11b2f60586 Tools/Patcher: fixed x86 windows patterns and fixed patching battle.net dll file 2019-09-29 16:59:45 +02:00
Ovahlord
2ef48597a1 Tools/Patcher: backported module download 2019-09-29 07:58:51 +02:00
Ovahlord
cc180bbcbd Tools/Patcher: fixed some codestyle and keep the console open when a error happens 2019-09-29 02:38:57 +02:00
Shauren
3b3c6ca09d Tools: Added universal TrinityCore banner with git version info to all tools 2019-09-29 01:44:59 +02:00
Duarte Duarte
13c91911b3 Tools/ConnectionPatcher: Fix a typo when checking if moduleName dir exists 2019-09-29 01:41:14 +02:00
Shauren
7febdf4094 Tools/Patcher: Optimized loading binary file by patcher 2019-09-29 01:38:32 +02:00
Nayd
84e89ce9c8 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.
2019-09-29 01:33:46 +02:00
Bernd Lörwald
66101f2abc tools/connection_patcher: add executable permissions to binary to avoid the rare case where permissions of replaced file are ignored 2019-09-29 01:33:00 +02:00
Bernd Lörwald
67e81e9e11 Tools/ConnectionPatcher: allow to find pattern multiple times 2019-09-29 01:31:20 +02:00
Bernd Lörwald
4cd46a5786 Tools/ConnectionPatcher: fix: use patterns for mac on mac 2019-09-29 01:29:41 +02:00
Bernd Lörwald
ac75f9369d Tools/ConnectionPatcher: fix: don't try setting permissions for non-existing file when patching module 2019-09-29 01:28:23 +02:00
Bernd Lörwald
f62e49f3ef Tools/ConnectionPatcher: add documentation on what is patched 2019-09-29 01:27:33 +02:00
Ovahlord
178a60c440 Tools/Patcher: added missing files from 7a18cc2987 2019-09-29 01:24:53 +02:00
Shauren
40c865612a Tools/Patcher
* Client patcher no longer has to be ran from administrator level command line to successfully create bnet module
* Set patched bnet module as readonly to prevent wow from deleting it
2019-09-29 01:24:21 +02:00
Shauren
d1017e1c62 Tools/Patcher: Removed "Connection" patch and added rsa modulus patch 2019-09-29 01:19:26 +02:00
Bernd Lörwald
9db2b4d53f Tools/connection_patcher: use user readable characters for '.logon.battle.net' pattern 2019-09-29 01:08:04 +02:00
Shauren
6f0ff86f5f Tools/Patcher: Added pattern & patch for portal to all build configurations 2019-09-29 01:05:20 +02:00
bloerwald
b8464b993b Tools/connection_patcher: remove c# code, add c++ code with minor modification, move to tools, integrate into cmake
note: no longer downloads nonexistent modules
note: now throws on not finding patterns
new dependency: boost.filesystem
2019-09-29 00:47:38 +02:00
Ovahlord
b96f544f94 Tools/MMapsGenerator: merged a missing hole format change 2019-02-26 00:22:57 +01:00
Ovahlord
8acc08fcba Dep: merged RecastNavigation updates from 3.3.5 branch 2019-02-25 08:25:59 +01:00
Ovahlord
fe7bcac696 Core/Maps: ported all master branch changes for map extractor including height map extraction
* new maps, and mmaps are required
2019-02-25 07:37:47 +01:00
Ovahlord
1e4cc2293a Core/Datastores: use generated member names for MapEntry fields
* load all dbc fields of MapEntry
2019-02-24 00:14:44 +01:00
Ovahlord
36bd27e347 Core/Tools: reduced differences for extractors between master and 434 branch 2019-02-24 00:09:48 +01:00
Ovahlord
8374ed3b1a Tools/VmapExtractor: codestyle cleanup for reading map dbc files 2019-01-21 11:41:06 +01:00
Ovahlord
d7c3969af7 Tools/Extracors: cleanup for vmap extractors to reduce differences between 434 and master branch 2019-01-21 11:07:29 +01:00
Ovahlord
1a1790b737 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/Skills/Archaeology/ArchaeologySites.cpp
#	src/server/scripts/Spells/spell_mage.cpp
2018-09-17 15:43:22 +02:00
Aokromes
47d7f7be1c kill whitespaces 2018-09-09 16:41:58 +02:00
Aokromes
c880aca82d Tools/vmapextractor: Fixed undeclared identifier 'assert' on OSX 2018-06-01 12:49:30 +02:00
Ovahlord
f1c54a4529 Core/VMAPS: Fixed vmaps in single WMO instances like ragefire chasm (ported commit: 24d30dab84)
* Fixed some models not always being spawned because they only appear in one tile file but are large enough to cross tile boundaries (lava in Firelands at Ragnaros place)
2018-04-27 22:55:21 +02:00
Ovahlord
56ba61fc0c Tools/MMaps_generator: fixed setting liquid flags for certain tiles 2018-04-25 12:33:42 +02:00
Ovahlord
8d75deaba7 Tools/Vmaps_extractor: fixed loading doodads 2018-04-24 22:05:00 +02:00
Ovahlord
3fafe93782 Tool: removed some unintended changes caused by debugging 2018-04-24 21:50:03 +02:00
Ovahlord
dd11469171 Tools: some followup fixes 2018-04-24 20:37:33 +02:00
Ovahlord
fbcb423f60 Tools: merged Master tools updates 2018-04-24 18:45:23 +02:00
Ovahlord
e8586b0bcb Tools/mmaps_generator: fixed processing liquids broken in e5d23103f3 2018-04-08 16:30:22 +02:00
Ovahlord
d6281d4fb4 Tools/MapExtractor: removed fatigue from Thousand Needles 2018-04-08 16:18:44 +02:00
Ovahlord
9c3f274491 Revert tools changes 2018-04-08 14:59:53 +02:00
Ovahlord
ca2358f63e Fixups for recent commit 2018-04-08 13:38:57 +02:00