81 Commits

Author SHA1 Message Date
Francesco Borzì
3671da68ff
fix(Bash/DB-Exporter): typo (#4376) 2021-02-05 07:17:15 -05:00
Yehonal
c8f43d8584
feat(Core/Movement): Improved pathfinding, collisions and movements (#4220)
Npc positioning
Implemented slope check to avoid unwanted climbing for some kind of movements (backwards, repositioning etc.)
Implemented backwards movement
Re-implemented circle repositioning algorithm (smartest than retail, but with the same feeling)
Fixed random position of summoned minions
Improved pet following movement. Also, they attack NPC from behind now. Thanks to @Footman

Swimming creatures
Fixed max_z coordinate for swimming creatures. Now only part of their body is allowed to be out of the water level
Fixed pathfinder for swimming creatures creating shortcuts for specific segments, now they swim underwater to reach the seashore instead of flying above the water level.
Creatures with water InhabitType but no swimming flag now, when not in combat, will walk on water depth instead of swimming. Thanks @jackpoz for the original code
UNIT_FLAG_SWIMMING in UpdateEnvironmentIfNeeded to show the swimming animation correctly when underwater
Implemented HasEnoughWater check to avoid swimming creatures to go where the water level is too low but also to properly enable swimming animation only when a creature has enough water to swim.

Walking creatures
Extended the DetourNavMeshQuery adding area cost based on walkability (slope angle + source height) to find better paths at runtime instead of completely remove them from mmaps
improve Z height in certain conditions (see #4205, #4203, #4247 )

Flying creatures
Rewriting of the hover system
Removed hacks and improved the UpdateEnvironmentIfNeeded. Now creatures can properly switch from flying to walk etc.
Spells
LOS on spell effect must be calculated on CollisionHeight and HitSpherePoint instead of position coords.
Improved position for object/creature spawned via spells
Improved checks for Fleeing movements (fear spells)

Other improvements
Implemented method to calculate the CollisionWidth from dbc (used by repositioning algorithm etc.)
Improved raycast and collision checks

Co-authored-by: Footman <p.alexej@freenet.de>
Co-authored-by: Helias <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-02-01 01:34:27 +01:00
Francesco Borzì
fe2fad17c7
fix(Bash): db-export on macOS (#4342) 2021-01-28 22:53:42 +01:00
Peter
adc525f813
fix(Bash): Improve db_export script (#4350) 2021-01-28 22:49:28 +01:00
Francesco Borzì
1b156ef7eb
chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
namreeb
66e65c474a
fix(Deps/Acelite): add missing Windows dependency (#3816) 2020-12-01 11:58:31 +01:00
Kargatum
e27201cee2
chore(Deps/Acelite): Update to 6.5.10 (#3450) 2020-11-11 09:09:02 -06:00
Andrius Peleckas
4e9e915a1d
fix(Core/Misc): fixed NOPCH build (#3448) 2020-10-04 11:13:06 +02:00
Kitzunu
f2c0160d07
refactor(Travis): Remove unused travis files (#3364) 2020-09-16 14:15:28 +02:00
Francesco Borzì
b61ae8abcd
fix(Core/Misc): all GCC warnings (#3457) 2020-09-14 17:31:12 +02:00
Francesco Borzì
c6d38a97f9
chore(deps): update gsoap to version 2.8.105 (#3316) 2020-09-02 18:09:34 +02:00
Francesco Borzì
e546df4c56
fix(deps): update gsoap to fix vulnerability issue (#3310) 2020-08-17 23:36:47 +02:00
Viste
fcaf91b8b2
Core/Misc: update g3dlite lib (#2904)
* Core/Misc: update g3dlite lib

* update

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-07-30 12:35:45 +02:00
Kornél Horváth
d735e22529
Fix db_assembler on macOS (#1700)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-07-20 12:03:11 +02:00
mishaparem
a12e58b105
fix(Core): C++ 11 rule of 3 compiant constructors (#3023) 2020-06-15 12:45:04 +02:00
Viste
616b8d9fb1 fix(Core/Deps): fix build for Windows (#2451) 2019-11-18 00:25:16 +07:00
Viste
685538b01b feat(Deps/Jemalloc): update Jemalloc to 5.2.1 (#2413) 2019-11-15 03:17:38 +07:00
Kargatum
0e6c9a18f4
feat(Cmake/Build): Use interface targets for inheriting flags and definitions (#2255)
Co-authored-by: Naios Naios@users.noreply.github.com
2019-09-18 20:04:48 +07:00
Francesco Borzì
3a43e8c415 feat(Core): enable C++17 (#2234)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2019-09-02 13:54:10 +07:00
Francesco Borzì
10105cab01
fix(Core/Deps): Update recastnavigation to last version (#2189)
Note: you need to re-extract the client data files, or download them from: https://github.com/wowgaming/client-data/releases/tag/v7
2019-08-13 19:08:35 +02:00
Kargatum
859eaed800
feat(Core/Deps): Added fmt lib (#2190)
* About library (https://github.com/fmtlib/fmt)
2019-08-13 15:52:03 +07:00
Kargatum
eae9affec9 feat(Cmake): Rewrite build and use inherited dependencies (#1652) 2019-04-01 22:41:08 +02:00
Yehonal
e2e3a07f94 missing executable permissions for *.sh files
command: git add --chmod=+x -- $file
2018-07-15 23:22:20 +02:00
Yehonal
85388901cf Rewrite of bash system
+ Implemented new dashboard menu
+ some fixes for db_assembler
+ new module installation process with version check via json files
+ some fixes to modules installer
+ implemented simple crossplatform worldserver and authserver restarters
+ new compiler script
+ client data downloader (beta)
+ various other fixes
2018-07-15 22:51:17 +02:00
Stoabrogga
a18d1474a3 tools improvement (#926)
* tools improvement

* added "Source/DetourAssert.cpp" to recastnavigation/Detour/CMakeLists.txt

* increased MMAP and VMAP version numbers

* Will need to re extract MMAPS and VMAPS
2018-07-13 12:46:04 +01:00
Rochet2
311f702bd8 Make info messages seem less important (#788) 2018-03-05 00:09:03 +01:00
Yehonal
4035c205fb Fixed jemalloc compilation 2017-12-21 15:51:20 +01:00
Yehonal
8f7bc1c749 Moved files after merging 2017-12-21 11:29:24 +01:00
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
c64f8d8e82 Fixed compilation after dir rework 2017-10-13 19:22:53 +02:00
Yehonal
f06f32849f Directory Structure [step 1]: moving files
working on #672

NOTE: This commit can't be compiled!!
2017-10-12 20:00:52 +02:00