Commit Graph
100 Commits
Author SHA1 Message Date
Yehonal 03df002471 fix(bash): repository initialization bugs and update configurations (#22311) 2025-06-17 18:30:51 +01:00
Yehonal 3202158af1 fix(docker): missing config file in dev image (#14753)
<!-- First of all, THANK YOU for your contribution. -->

## Changes Proposed:
When we create the dev image we do not have the .dockerdist file under
the etc folder. The ac-dev-server included in the azerothcore-wotlk
repository bind the /env/docker/etc folder inside the container, but the
acore-docker repository doesn't. That's why we are having the error in
that project.

This happened after the latest changes:

* https://github.com/azerothcore/azerothcore-wotlk/pull/14707
* https://github.com/azerothcore/azerothcore-wotlk/pull/14747

Closes https://github.com/azerothcore/acore-docker/issues/12
2023-01-24 14:35:43 +01:00
Yehonal f383c9b334 chore(CI): restore old configuration 2022-11-08 00:39:47 +01:00
Yehonal 0ab6207472 chore(CI): removed cache_from client-data 2022-11-08 00:23:09 +01:00
Yehonal 170de50c9a chore(CI/docker): disable BUILDKIT_INLINE_CACHE 2022-11-08 00:17:57 +01:00
Yehonal df4c4b1476 fix(CI/docker): increase build space 2022-11-08 00:02:30 +01:00
Yehonal 8533b54997 fix(CI/docker): checkout the entire history
Restored old cache_from
2022-11-07 23:55:15 +01:00
Yehonal 0764d0d6b8 fix(CI/docker): removed buildx and speedup checkout 2022-11-07 23:48:24 +01:00
Yehonal 2e6dcae940 fix(CI/docker): try to fix the missing space issue 2022-11-07 23:38:59 +01:00
Yehonal d182aac35a fix(CI): clean before checkout 2022-11-07 23:28:06 +01:00
Yehonal cff814d235 fix(CI/docker): optimize runtime space 2022-11-07 22:27:23 +01:00
Yehonal c2d23b3578 feat(CORE/docker): try to leverage inline cache 2022-11-07 21:08:49 +01:00
Yehonal b6b2573272 fix(CI): missing --profile dev 2022-11-07 20:38:59 +01:00
Yehonal d205136345 fix(CORE/docker): restore old client-data image creation 2022-11-07 18:02:29 +01:00
Yehonal 839731d5d5 fix(CORE/docker): client data image deployment 2022-11-07 17:44:47 +01:00
Yehonal e0313219e3 feat(CORE/docker): cachebust for the client data 2022-11-07 17:30:00 +01:00
Yehonal 9dbadbd6d9 fix(CI/docker_build): missing step 2022-11-07 16:36:12 +01:00
Yehonal 4e7c57f7e6 fix(CORE/docker): image tag creation 2022-11-07 14:48:22 +01:00
Yehonal e4016823d7 feat(CORE): docker permissions and rework (#13454)
- fix docker permissions with mounted volumes on new docker versions (https://github.com/docker/desktop-linux/issues/31)
- fix ac-tools image
- cleanup unused env
- add  `cap_add: SYS_NICE` to allow setting process high priority
- fix ccache in docker
- allow to switch between root user (default) to acore user in any container
- fix cache of the downloaded client data
- split docker github actions in 2 parts
- versioning mysql images
- performance improvements
2022-11-07 13:20:48 +01:00
Yehonal 2420d19e54 fix(CORE): file permissions for the devcontainer (#13686) 2022-11-04 13:53:07 +01:00
Yehonal 7d2eb5e9bd fix(CORE/docker): path on conf generation 2022-10-22 20:03:42 +02:00
Yehonal 171df31196 feat(CORE/bash): implemented acore dashboard for Windows (#13476)
+ implemented acore dashboard for windows
+ integrated acore dashboard for windows in our pipeline
+ implemented dry run for windows build
+ fixed permissions issue for all the operating systems
+ code clean
2022-10-22 15:40:13 +02:00
Yehonal 77a52b8001 fix(CORE): another attempt to fix the dbimport command line warning (#13449) 2022-10-22 00:21:16 +02:00
Yehonal 53219310cf fix(CORE): crash when AC_DISABLE_INTERACTIVE is not defined 2022-10-21 23:05:05 +02:00
Yehonal 636df19514 feat(CORE): implemented AC_DISABLE_INTERACTIVE for DBUpdater (#13450)
Implement AC_DISABLE_INTERACTIVE that allow us to skip the question when the db doesn't exit
2022-10-19 10:57:29 +02:00
Yehonal a82cf659a3 feat(CORE/docker): switch to docker compose and check the version (#13444)
* feat(docker): switch to `docker compose` and check the version

* chore: removed all docker-compose commands in CI
2022-10-17 22:50:31 +02:00
Yehonal 563596bc69 fix(CORE): revert to mysql -p argument.
A different and non deprecated approach should be used.
2022-10-17 15:47:34 +00:00
Yehonal a8d41010f5 fix(CORE): gcc compilation errors with gtest (#13445) 2022-10-17 16:01:32 +02:00
Yehonal c855e8d227 fix(CORE/dbupdate)): allow to pass MySQL password via env (#13404)
* fix(CORE/dbupdate)): allow to pass MySQL password via env

+ fixed devContainer override file issue
+ added authserver dry-run in our CI
2022-10-17 10:53:42 +02:00
Yehonal e189caeb76 feat(docker): implemented dbimport (#13308)
## Changes Proposed:

- Implemented dbimport with docker
- deprecated db_assembler
- Fixed deno scripts and integrated them with the CI
2022-10-05 13:15:42 +02:00
YehonalandAxel Cocat cecbd604d3 fix(Core/DBC): hackfix to prevent skills fuckup (#6631)
Co-authored-by: Axel Cocat <[email protected]>
2021-06-29 00:45:12 +02:00
Yehonal d4d2a17a96 fix(bash): restored import sql script
Codacity suggestions are causing bugs here.
It would be better to convert it in Typescript in future.
2021-06-16 17:40:23 +02:00
Yehonal 65d70cadce chore(deno/changelog): fix commit link 2021-06-15 11:09:55 +02:00
Yehonal 8b6d7cb2ff fix(bash): pending sql script path 2021-06-15 11:02:48 +02:00
Yehonal 3f70d0b80f feat(doc): changelog system (#6350)
This system provides rules and automatizes (Deno-typescript) the creation of a changelog file to help developers to adapt their code and know what is new with every (pre)release
2021-06-15 11:04:29 +02:00
Yehonal baf437bb98 feat(Core): improved some hooks (#6302) 2021-06-13 10:23:24 +02:00
Yehonal ff2737fee8 feat(bash): Improved support for gperftools (#5769) 2021-05-10 22:21:23 +02:00
Yehonal e564994b37 chore(docker): pre-install deno within the images (#5644) 2021-05-06 14:54:04 +02:00
Yehonal 01f188fcf5 fix(docker): reduced client-data image of 200% 2021-05-04 18:41:55 +02:00
Yehonal 7910918d2f hotfix(docker): login before push 2021-05-04 12:27:46 +02:00
Yehonal f6c6123d85 feat(docker): production images, integrated ccache and many other improvements (#5551) 2021-05-04 11:35:24 +02:00
Yehonal 545a82870e fix(doc): cleanup outdated documentation in ScriptMgr.h (#5488)
* Update ScriptMgr.h

* Update ScriptMgr.h
2021-04-29 00:19:32 +02:00
Yehonal e4fafc61dd fix(Docker): windows improvements and permissions fix (#5444) 2021-04-28 22:26:39 +02:00
Yehonal 1952ca4c20 fix(docker): env variable settings (#5432) 2021-04-24 17:50:14 +02: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
Yehonal d88e14be4e Fix: pipeline error after 8 pending sql
bash thinks that 08 is a hex number, so we have to cast the base

More info here: https://stackoverflow.com/questions/24777597/value-too-great-for-base-error-token-is-08
2021-02-14 20:26:29 +01:00
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 <[email protected]>
Co-authored-by: Helias <[email protected]>
Co-authored-by: Francesco Borzì <[email protected]>
Co-authored-by: Kitzunu <[email protected]>
2021-02-01 01:34:27 +01:00
Yehonal aeab8d8bc6 fix(Core/Crash): safe calculation in GetMeleeAttackPoint (#4235)
Should solve: https://github.com/azerothcore/azerothcore-wotlk/issues/4225
2021-01-08 16:55:51 +01:00
Yehonal 35128d784b fix(README): catalogue link (#4023) 2020-12-21 20:13:05 +01:00
7fba8b910f fix(#2147): enrage and some false-negative spells (#3153)
Co-authored-by: Francesco Borzì <[email protected]>
Co-authored-by: Kitzunu <[email protected]>
2020-08-18 11:10:43 +02:00
Yehonal cdb499969d chore: Removed unwanted submodule 2020-08-06 03:24:28 +02:00
Yehonal ad6ad094de feat(bash): support for derivated distro + refactor conf (#3259)
* feat(bash): support for derivated distro

* refactor: refactoring for dist files
2020-08-06 02:37:14 +02:00
Yehonal 6bf93eb837 doc(readme): Fixed catalogue link 2020-07-16 11:10:29 +02:00
Yehonal dca02598ba fix(bash): joiner tool has been moved (#3038)
joiner tool has been moved has been moved under azerothcore organization.

I've fixed the url and the path

So it's now available here: 

https://www.azerothcore.org/joiner/   , repo: https://github.com/azerothcore/joiner
2020-05-16 16:56:37 +02:00
Yehonal 4266d1f764 fix(CI): core_build on coverity_scan is not needed 2020-05-07 10:35:19 +02:00
Yehonal cee55da48f fix(CI):updated token for import_pending_sql 2020-04-22 11:12:57 +02:00
Yehonal 0cabb8e7e1 refactor(Core/Spells): Improved logic and DX Spell::EffectSummonPet (#2634) 2020-02-20 07:55:04 +01:00
yehonal a201c63aed docs(REPO): removed unused submodule 2020-02-05 10:32:26 +01:00
Yehonal 34184d4afe Updated client data downloader url with vmaps 4.3 2019-08-05 17:07:35 +02:00
Yehonal 3bf937d2ea Fixing db importing with new mysql 5.7 installations 2018-09-17 13:07:59 +00:00
Yehonal a8e848b054 updated client data downloading url 2018-09-17 12:40:43 +00:00
Yehonal 564d2e8eb7 [Bash] fixed menu header display 2018-08-24 10:16:24 +02:00
Yehonal 8767372ebf Distro information when install OS deps 2018-07-17 17:27:17 +02:00
Yehonal 114f37801c Missing unzip dep for client data downloader 2018-07-17 17:27:17 +02:00
Yehonal 3fb937f003 Fixed simple-restarter script 2018-07-17 14:56:13 +00:00
Yehonal 8255f78f8a Missing curl package in unix os deps 2018-07-17 13:57:55 +02:00
Yehonal af5256cd5b Various fixes to acore dashboard
+ simple restarter now prevents infinite crash loops
+ client data downloader now uses github releases and fixed downloading path
+ module updating now take care about compatibility version info
+ disabled CONFDIR variable in bash conf file, using BINPATH by default instead
2018-07-17 13:54:23 +02:00
Yehonal 32f215805a Fixed libssl-dev for latest ubuntu revs on deps installer 2018-07-15 23:44:58 +02:00
Yehonal afbe059d5a fixed loop with comp_build() function of compiler 2018-07-15 23:33:22 +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 cd722b73d3 Updated .travis.yml for new bash system 2018-07-15 23:13:42 +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
Yehonal d914be6e63 missing instance_template scripts 2018-04-09 08:52:18 +00:00
Yehonal 737c6ec1e1 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-04-09 07:12:11 +00:00
Yehonal d17e1da32a Missing override keyword 2018-04-09 07:11:44 +00:00
Yehonal 15a2a47cb9 Missing ScriptLoaders for missing instance scripts 2018-04-09 07:10:00 +00:00
Yehonal f5fcc12fda Missing scripts for instances 2018-04-09 07:09:57 +00:00
Yehonal b773662753 New Boolean parameter for OnAfterUpdateEncounterState
Now you're able to know if an encounter has been really changed or not
(e.g. respawned bosses)
2018-04-09 07:09:43 +00:00
Yehonal 1b53828c52 fixed some warnings 2018-04-09 07:09:34 +00:00
Yehonal e49fb94e79 Fixed Twilight torment sartharion
thanks to @Morgarr
2018-04-09 07:09:27 +00:00
Yehonal 91cbe9e98a Fixed Creature_SelectLevel hook 2018-03-20 13:50:35 +00:00
Yehonal 9abaf38612 Implemented OnAfterUpdateEncounterState hook 2018-03-20 13:50:27 +00:00
Yehonal c7e91800fc Fixed typo in ScriptMgr comments 2018-03-06 00:05:46 +00:00
Yehonal bfca8601c0 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-03-06 00:01:13 +00:00
Yehonal fbb4929299 CustomData for Map class 2018-03-06 00:01:07 +00:00
Yehonal cde32263dd updated .editorconfig 2018-03-06 00:00:55 +00:00
Yehonal a36e94a49a Fixed crashes with not initialized CustomData 2018-03-02 21:03:40 +00:00
yehonal 93cf5edd57 Moved ScriptMgr macros to separated header and created ModuleScript
it will allow Modules to create their own Hooks inside the
module itself, to customize/extend their functionalities.

An example of its usage will be available in VAS Module:
You'll be able to disable VAS with custom conditions from other modules.
2018-02-28 20:20:10 +01:00
Yehonal b9e122dfdf missing semi-colon in latest sql 2018-02-23 15:31:22 +01:00
yehonal 48bb734c94 DB Assembler: Fixed privileges assignment 2018-02-06 23:22:24 +00:00
Yehonal a6e91bc4ac Fix lootable items re-fill when not really empty 2018-02-06 22:15:35 +00:00
Yehonal 9e680b4aed Fixed ossirian crysthal 2018-02-06 22:15:14 +00:00
Yehonal 19bf454e5f Fixed travis compilation (#769) 2018-01-28 19:50:01 +01:00
Yehonal cdbfac743d Update .travis.yml 2018-01-28 16:27:24 +01:00
Yehonal ef2a928e73 Travis: git workflow for pending sql in a single line 2018-01-28 15:14:53 +01:00
Yehonal 7e79e72ad4 Update .travis.yml 2018-01-28 15:08:16 +01:00
Yehonal 3e2e28b1c7 Travis: Config. for db import 2018-01-28 14:58:56 +01:00
Yehonal 94e0063522 Installer: Force exit with direct command 2018-01-28 14:48:56 +01:00