Commit Graph
100 Commits
Author SHA1 Message Date
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
Yehonal 69598ff199 Using installer for travis and implemented pending sql auto-import 2018-01-28 14:38:54 +01:00
Yehonal 8d2ff6b9b0 Update .gitignore 2018-01-28 13:42:51 +01:00
Yehonal 84949746e1 import pendings 2018-01-21 10:19:43 +01:00
Yehonal 90ed2548c0 imported pending files 2018-01-08 01:54:56 +01:00
Yehonal fca0bfdb1f Bash: executable permissions for .sh files 2017-12-21 15:51:39 +01:00
Yehonal 4035c205fb Fixed jemalloc compilation 2017-12-21 15:51:20 +01:00
Yehonal ce412ec7dc Fixed warning 2017-12-21 15:23:25 +01:00
Yehonal cc89d773db Merge "Huge directory Restructuring" pull request #680 2017-12-21 11:48:02 +01:00
Yehonal e51b48ef6c Fixed map_extractor cmake 2017-12-21 11:45:19 +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 acd60005e8 removed gamefw target lib 2017-12-21 01:41:18 +01:00
Yehonal b9e82c3bf0 Fixed linux compilation 2017-12-21 01:27:53 +01:00
Yehonal 685a89e03f fixed cmake 2017-12-21 00:48:33 +01:00
Yehonal 17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal b527073fd8 Fixed wrong version in sql files, please reapply manually 2017-12-11 02:45:31 +00:00
Yehonal cc69bd6304 Added SetCorpseTarget for SpellCastTargets 2017-12-11 02:45:19 +00:00
Yehonal 11d815e9d7 Use getRace instead of direct uint32 value access for Corpse 2017-12-11 02:45:16 +00:00
Yehonal 7a0a5613d0 Fixed Encounter Boss Faerlina:
+ fixed in combat with summons, you cannot skip them now
+ fixed naxxramas woshipper immunity: they are not immune to charm spells in 25 mode
+ fixed invisible Widow's Embrace spell in possessed npc bar
2017-12-08 10:43:22 +00:00
Yehonal b9d7c85786 Rewritten Naxxramas boss state system using BossAI methods 2017-12-06 01:37:57 +00:00
Yehonal 2979fd6c1f Fixed Majordomo Executus respawn at server restart 2017-12-05 18:14:34 +00:00
Yehonal bd9178368e Fixed saving of icc buff switch 2017-12-05 18:12:23 +00:00
Yehonal c3bcacfb36 Imported pending sql 2017-12-05 03:06:57 +01:00
yehonal 52ae84d581 Fixed crash after 635f7831e1 2017-12-04 02:14:30 +00:00
Yehonal c044cbfdff Improved OnItemRoll hook
Now you can change the chance temporary and dinamically
2017-12-04 02:12:48 +00:00
Yehonal 3e4390a5b2 Missing jmalloc updates 2017-12-04 02:12:43 +00:00
Yehonal 912b6965d7 Add LootStore information to loot hooks
Please update your modules if you're using these functions
2017-12-04 02:12:36 +00:00
Yehonal 90e0332243 Add item entry information to auras for external usage 2017-12-04 02:12:31 +00:00
Yehonal 5ef601b7cf Revert "Fixed path error for charge spells after 17802ab6e5135f0220efcd8f4e460f8202a4c047"
This reverts commit 3b22c59bec.
2017-11-25 18:22:35 +00:00
Yehonal 300847920a Fixed transport disappearing 2017-11-25 02:14:15 +00:00