Commit Graph

79 Commits

Author SHA1 Message Date
Kitzunu
4aa70c4dba refactor(Deps/mysqllite): Nuke it (#20710)
* close https://github.com/azerothcore/azerothcore-wotlk/issues/20123
2024-11-24 14:45:46 +01:00
Grimdhex
156f634637 fix(Build/Deps): Increase minimal Boost versions and remove old compatibilities (#20287)
* fix(Core/Common): remove conditions for unsupported boost versions

* fix Cmake version requiert acording to wiki
2024-11-11 16:54:32 -03:00
Benjamin Jackson
4ad9d68f42 chore(Core): Correct typo of Suppress. (#20229)
* Init.

* Adjust spacing.
2024-10-17 22:09:53 +02:00
Kitzunu
3669144099 chore(Deps/Boost): Cleanup pre-c++11 checks and silence CMake warning (#19450)
* cherry-pick commit (ad96f1fd78)

* cherry-pick commit (66abca1593)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-07-27 08:17:48 -03:00
Emmanuel Ferdman
4884e33f07 fix(LICENSE): update license file paths (#18972)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-05-29 20:10:39 +02:00
Walter Pagani
ed53ac2feb chore(deps/boost): Update cmake file compatible with new policies (#18283) 2024-02-08 06:07:14 -03:00
Winfidonarleyan
c5564e1363 feat(Deps/Fmt): update fmt lib to 10.1.1 (#17643) 2023-11-05 13:15:45 +07:00
Mike Delago
c43e1b8c0c refactor(Apps/Dashboard): Remove Deno as a dependency to the dashboard (#16934)
* remove deno as a dependency

* use the ACORE_VERSION env var

* I forgot client-data

* accidentally removed too much

* docker-cmd: extraneous parallel flag

* typo

* remove docker image prune -af

the `docker image prune` removes the containers we just build.

* fetch everything in the beginning
2023-09-10 01:12:47 +02:00
Mike Delago
3033b2da4e chore(apps): remove deprecated db_assembler and erroneous .gitmodules (#17039)
* chore(Contrib): remove deprecated db_assembler

* chore(repo): Remove erroneous gitmodule
2023-08-19 22:13:22 +02:00
Charlton Lau
160641b968 feat(Core/Deps): add macOS ARM support (#14761)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/3720
2023-01-28 11:16:35 +01:00
Winfidonarleyan
a1a1528cb4 feat(Core/Crypto): add support OpenSSL 3.0 (#13354) 2022-11-24 01:12:20 +07:00
UltraNix
113bdacb5f fix(Core/Tools): Revert "Handle different slopes in mmaps and Add so… (#12111)
...me more input parameters to improve"

This reverts commit b544eb420e.
Fixes #12079
2022-06-21 16:07:53 -03:00
acidmanifesto
95787beb57 chore(cleanup): Excessive line breaks removal. (#12126)
chore (cleanup): Excess line breaks removed
2022-06-20 12:38:18 -03:00
Kargatum
94528cd44d feat(Tools/DbImport): implement separated app for importing DB (#11614) 2022-06-09 08:23:38 -03:00
Kargatum
4fbec972a8 refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07:00
Patrick Lewis
94123e60f6 chore(CI): add macos-12 (#11242)
* chore(CI): add macos-12

* Update SECURITY.md

* test changing googletest git_tag to main

* update utf8cpp

* Update DBCStorageIterator.h

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-05-01 07:00:40 +02:00
IntelligentQuantum
b544eb420e feat(Core/Mmaps): Handle different slopes in mmaps and Add some more input parameters to improve (#10974) 2022-04-24 16:44:50 -03:00
Kitzunu
bcf8d2aef4 fix(Clang/CMake): -Wdeprecated-copy warning in G3D (#11471)
* cherry-pick commit (a650bd631a)

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 177093e992c5d47d8c3b978c84857f5ecba12889.

* 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 dc4e2ce281dd1a33cfac5be56488a3b96131bfd5.

* 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