Commit Graph

62 Commits

Author SHA1 Message Date
Kitzunu bcf8d2aef4 fix(Clang/CMake): -Wdeprecated-copy warning in G3D (#11471)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a650bd631a4681d09e3ff66f79b73b99299565f3)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2022-04-23 16:18:53 +02:00
acidmanifesto 0103c896f9 chore(Core\Dep): Zlib 1.2.7 to 1.2.12 (#11401)
version 1.2.7, May 2nd, 2012 to
  version 1.2.12, March 11th, 2022

Ref Security Issue:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25032
2022-04-15 12:46:36 -03:00
Kitzunu 7e8b021db3 feat(Core): Enable C++20 support (#10440)
* feat(Core): Enable C++20 support

* Update Duration.h

* Revert "Update Duration.h"

This reverts commit 177093e992.

* maybe fix GCC

* cherry-pick https://gcc.gnu.org/pipermail/gcc-cvs/2020-June/299715.html

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Revert "Update Duration.h"

This reverts commit dc4e2ce281.

* Update Duration.h

* Update Duration.h

* Update Duration.h

* cleanup

* more cleanup

* maybe fix build

* restore advstd::type_identity because GCC8 is garbage

* Update advstd.h

* fix gcc8 💤

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update src/common/Utilities/advstd.h

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2022-02-11 14:37:24 +01:00
Kargatum eae15fa474 feat(Deps/Fmt): update to 8.1.1. Fix build with c++20 (#10489)
* feat(Deps/Fmt): update to 8.1.1

* FMT_CONSTEVAL
2022-02-02 22:39:10 +01:00
Kitzunu 21e7954e84 fix(C++20): Windows build (#10438) 2022-01-30 12:19:48 +01:00
Kaiser fa46f13b09 feat(Core/Build): Patched to be buildable on FreeBSD 13.0-RELEASE (#9568) 2021-12-08 20:06:26 -03:00
Kargatum 52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Kitzunu 4e0e1370d4 fix(Deps/G3DLite): char to LPTSTR (#6997) 2021-07-17 14:03:49 +02:00
Necropola c7129fa0dd fix(CMake): find std::filesystem across platforms (#6914)
* fix(CORE): Find std::filesystem across platforms
Closes #6889

* Squeeze blank lines to make check-codestyle happy

* Move find_package(Filesystem ...) to deps/stdfs

* CMAKE_CXX_STANDARD gets already set in ConfigureBaseTargets.cmake
2021-07-17 11:41:36 +02:00
Francesco Borzì ca6483dbfc feat(Deps/g3dlite): replace deprecated is_pod with is_standard_layout (#6894) 2021-07-17 00:15:52 +02:00
Kargatum 6e082e3513 feat(Deps/ACE): remove ACE library (part 2/2) (#5679) 2021-07-16 15:49:44 +02:00
Kargatum 96c51317f5 feat(Deps/ACE): remove ACE library (part 1/2) (#6980) 2021-07-16 15:05:39 +02:00
Francesco Borzì 7449496bb5 fix(Core): revert Boost minimum version change (#6975) 2021-07-16 10:09:33 +02:00
Kitzunu 0897705a68 BREAKING CHANGE(Deps/Boost): Set 1.74 as minimum version (#6874) 2021-07-16 00:55:08 +02:00
Kargatum 7c21d567d5 feat(Deps/Fmt): update to 8.0.1 (#6859) 2021-07-11 11:39:13 +02:00
Kitzunu 55d72c9530 refactor(Build/CMake): Only complain when BOOST_ROOT was not found (#6418)
Cherry-picked from commit (TrinityCore/TrinityCore@1266869)

Co-authored-by: Jan Van Buggenhout <1895262+chipzz@users.noreply.github.com>
2021-06-19 06:00:10 +02:00
Kitzunu a21a6aa486 chore(deps/acelite): Remove VERSION (#6143) 2021-05-31 09:19:08 +02:00
Kargatum 50adcf2065 feat(Deps/Boost): add boost support (#5676)
* feat(Deps/Boost): add boost support

* 1

* 2

* to 1.74
2021-05-23 13:53:15 +02:00
Kargatum d86a7b96c3 feat(Deps/FmtLib): update fmtlib to 7.1.3 (#5950) 2021-05-20 17:24:08 +02:00
Kargatum 13f71c9c4d feat(Core/Random): port random system from TrinityCore (#5454)
* feat(Core/Random): port random system from TrinityCore

* lic

* logic correct

* MultimapErasePair move

* whitespace

17:13:34 1. 'Containers.h'. Replace (1)
17:13:40 2. 'LootMgr.h'. Replace (1)
17:13:44 3. 'World.cpp'. Replace (1)
17:13:47 4. 'instance_scholomance.cpp'. Replace (1)

* correct debug build
2021-05-16 21:53:21 +02:00
Kargatum 29d3dc3f2b feat(Deps/Gperftools): make gperftools lib to interface (#5797) 2021-05-12 22:10:46 -06:00
Kargatum 26f2abaaa9 feat(Core/Authserver): TOTP rewrite (#5620) 2021-05-12 18:57:10 -06:00
AzerothCoreBot a92293c2fd chore(DB): import pending SQL update file
Referenced commit(s): b9ec3d5123
2021-04-29 02:50:45 +00:00
AzerothCoreBot b9ec3d5123 chore(DB): import pending SQL update file
Referenced commit(s): 2723a8a782
2021-04-29 02:44:28 +00:00
AzerothCoreBot 2723a8a782 chore(DB): import pending SQL update file
Referenced commit(s): d2dad6f2f5
2021-04-29 02:40:19 +00:00
AzerothCoreBot d2dad6f2f5 chore(DB): import pending SQL update file
Referenced commit(s): 545a82870e
2021-04-29 01:12:53 +00:00
AzerothCoreBot 383f55cf85 chore(DB): import pending SQL update file
Referenced commit(s): e4fafc61dd
2021-04-28 22:07:49 +00:00
Yehonal 970d371442 fix(bash): bash errors on windows (#5406) 2021-04-23 14:35:41 +02:00
Yehonal ad5f915277 chore(deno): upgraded v1.9.1 (#5401) 2021-04-22 16:13:47 +02:00
Yehonal 380f406248 Feat(Docker/bash): docker-compose system rework (#4488)
## ⚠️ATTENTION! ⚠️ Upgrading procedure:

**Database:** After this PR will be merged you need to backup your DB first (you can use the db-assembler or any mysql client to generate the dump) and restore it after.  The reason is that we use now docker named volumes instead of binded ones to improve performance.

**Conf & client data**: if you use the default configuration, both the etc and the data folder are now available inside the **/env/docker**. 

Finally, you can cleanup the /docker folder previously used by our system.

## Changes Proposed:

This PR will implement the [devcontainer ](https://code.visualstudio.com/docs/remote/containers) feature for VSCode. Allowing us to develop and debug directly within the container in the same way on all OSes.

* Implemented support for vscode dev-container feature by remote-extension suite
* Docker performance optimizations for MacOS and non-linux hosts
* Bash system improvements
* Implemented first command using Deno runtime environment (typescript) and [commander.js]
* Implemented wait mechanism for db_assembler
* Implemented db migration command
* possibility to run the authserver and worldserver with GDB using the integrated simple-restarter
* Implemented docker multi-stage mechanism to use one single Dockerfile for all the services
* client-data downloader now creates a placeholder to avoid downloading the same version of data files multiple times
* deployment of pre-compiled docker images on [docker hub](https://hub.docker.com/u/acore), you can test them [here](https://github.com/azerothcore/acore-docker)
2021-04-22 09:57:05 +02:00
Kargatum e0b953b186 feat(Cmake/PCH): use target_precompile_headers instead of cotire (#5082) 2021-04-02 12:29:33 +02:00
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