Commit Graph

118 Commits

Author SHA1 Message Date
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
Francesco Borzì
f68fef798d chore(docs): use new wiki 2019-02-17 22:43:08 +01:00
Barbz
51086f2dcd Modules: Added create_module.sh script to kickstart module creation (#1071)
Helps people to create modules with the right base files.
2018-12-19 18:03:27 +01:00
Barbz
ed4de4dd64 how_to_make_a_module.md
This file is there to warn people to read the wiki and use our skeleton-module (template) so they gain time and they follow the best practice advices
2018-05-29 22:59:13 +02: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
neltharionorg
29f4a1e090 Import uptime table and feature from TC (#717) 2017-12-04 23:57:42 +01:00
Kaev
7a6c6315b8 Realmlist returns 0 instead of 1 characters after you deleted all characters (#724) 2017-12-04 22:08:26 +01:00
Rochet2
069bdf280f Core/Build: Never overwrite the msvc cxx flags in the cache (#715)
* Setting all compiler flags in the cache led to circular bloating of
  msvc cxx parameters (was visible in console) which caused MSVC to
  rebuild the whole solution even on a small CMake change.
  It's not neccessary anyway to set the cxx parameters to the cache
  to take effect.
* Cleaning the CMake cache is recommended!
2017-12-04 22:04:51 +01:00
Yehonal
3e4390a5b2 Missing jmalloc updates 2017-12-04 02:12:43 +00:00
sucofog
d87134b8ea Library Jemalloc updated to 5.0.1 (#721) 2017-11-26 17:46:07 +01:00
Yehonal
f669732d19 Allow near commands to list only object of your current phase 2017-11-19 16:24:57 +01:00
sucofog
32fe67d32c Fix walkableClimb, maxWalkableAngle maxAngle height. 2017-11-18 06:16:53 +01:00
sucofog
1b9b901817 Mmap version update to latest 2017-11-18 03:49:58 +01:00
sucofog
c75ec13191 Core-side part for recastnav upgrade:
Corrected values, fixed compile, re-extraction of Mmaps it's required again, mmaps will be updated on wiki.
2017-11-15 18:55:04 +01:00
sucofog
17802ab6e5 Properly update Recastnav:
The commit not contained the last updates, added them and correct CMakeLists include.
MMaps re-extraction wil be REQUIRED.
2017-11-14 23:22:11 +01:00
sucofog
e772b08c68 Update Vmaps | Mmaps | Recastnav and fixed FleeingMovement
- Fixes getHeight collision (Map height is now calculated properly core-side, extraction of Maps, Vmaps is required)

- Fixes invisible walls causing LoS errores and wrong pathing in some zones.

- Mmaps update, padding is used, now to ensure proper binary-identical mmtiles

- Updated Recastnav to work properly with new updates

- Updated Area Storage

- Implement Map out of Bound (players will pop on closest graveyard if out of bounds)

- FleeingMovementGenerator updated, LoS calc to not go out of bounds or in/under textured when 
fleeing

- Added command .mmap, port from TC (info about mmaps)
2017-11-14 15:14:43 +01:00
Yehonal
0fc4a6a153 Missing folder 2017-10-13 20:20:15 +02: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
Yehonal
ac0e8438f9 Fixed a warning on windows 2017-10-12 16:17:07 +02:00
Yehonal
dcdddf658b Fixed warnings when EXTRA_LOGS are off 2017-09-25 10:58:29 +02:00
Yehonal
973259925b Fixed PCH compilation and gcc warnings fixed
+ removed some useless warning suppressions
2017-09-21 11:53:02 +02:00
Yehonal
84d6011a3d Fixed some variable/parameters type issues 2017-09-18 19:35:32 +02:00
Yehonal
353d90f256 Solved cmake D9025 issue with MSVC 2017-09-18 15:23:00 +02:00
Yehonal
627f8412d1 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-18 03:17:54 +02:00
Yehonal
bea6f6b9fb uncommented releaseModelInstance to fix a warning 2017-09-18 03:17:35 +02:00
Yehonal
5ec07ef31f Removed more warnings, mostly related to unused-variable
issue #121

We still have to work on unused-parameter
2017-09-18 03:16:32 +02:00
barncastle
2c9b2542d6 Implement banned_addons (#647) 2017-09-17 17:13:43 +02:00
Yehonal
3dde305068 Core: step 1 - starting to fix core warnings
expecially from headers and some cpp files

Scripts and tools in next steps
2017-09-16 13:47:19 +02:00
Yehonal
69d35aed10 Missing field on LOGIN_SEL_ACCOUNT_INFO_BY_NAME 2017-08-20 05:27:50 +02:00
Yehonal
c854b65882 Merge branch 'master' into master 2017-08-20 04:59:52 +02:00
Yehonal
0dd68dfbee Another huge compilation fix
please delete cache and re-run cmake
2017-08-20 04:48:07 +02:00
Yehonal
c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +02:00
Yehonal
f888e8c86b Preprocessor option for logging functions (#567)
* Update showoptions.cmake

* Update config.cmake.dist

* Example of preprocessor usage

Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
2017-08-19 18:37:47 +02:00
Yehonal
abc01d62f6 added more info to run-engine conf file
+ added a function that could be useful
if you want shutdown a screened server
at restarter crash
2017-08-17 16:53:14 +02:00
Nefertumm
c599c7e42e Tabs 2017-06-30 16:56:29 -03:00
Nefertumm
9d2484bfc7 Implement ip2nation and ip2nationCountries 2017-06-30 01:54:22 -03:00
Yehonal
1521451529 Bash: minor fixes to startup-scripts 2017-05-31 00:46:23 +02:00
Yehonal
ddd03e9718 Fixed mmaps_generator compilation on windows
however it's a workaround, rework needed
2017-03-26 01:09:45 +01:00
Yehonal
2f71abc6c6 implemented cmake options to disable extra features for performances optimization
can be easily extended to all features that can be optional
but have high performance impact
2017-03-26 01:09:45 +01:00
Yehonal
12fa25c322 Some cmake improvements for modules 2017-03-26 01:09:44 +01:00
Yehonal
b522a0cb72 Implemented gperftools support
it allows you to profile cpu/memory under unix systems
2017-03-26 01:09:42 +01:00
Yehonal
693dc56bf1 Moved uwd modules under drassil 2017-03-26 01:09:42 +01:00
triluch
6908181569 Core/Misc: Fix building mmaps_geenrator on linux. 2017-03-17 10:26:40 +03:00
Blumfield
90485322eb Core/Extractors : Fix MMAP version, you should be able to extract them and use them again 2017-02-07 14:37:03 +01:00
Iny
a655ddcbc0 Core/Tools: Fix compilation of tools under windows (#312) 2017-01-06 13:36:09 +01:00
sucofog
09419e53b8 Core/Text: Add support for BroadcastTextID in creature_text table. (#265) 2016-12-02 11:30:39 +01:00
Shin
81b195099b DB/World: move questItem* fields to *_questitems tables (#249) 2016-11-25 20:23:44 +01:00
Yehonal
d53b5522f9 Updated ScriptMgr with new function to favorite transmog module 2016-11-17 10:28:08 +01:00