Commit Graph
100 Commits
Author SHA1 Message Date
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
Yehonal 3b22c59bec Fixed path error for charge spells after 17802ab6e5
thanks @jackpoz for original patch
2017-11-25 02:13:28 +00:00
Yehonal c14f8cffed Fixed Unit contact point 2017-11-25 01:07:39 +01:00
Yehonal 08ca46ed93 Fixing NearPoint calculation and fishing height issue #127 2017-11-25 01:07:39 +01:00
Yehonal 37e9160e88 Fixed npc/object spawn by command when GetPhaseByAuras is used. 2017-11-22 13:23:00 +00:00
Yehonal 0f42b51143 DB: Fixed Wintergrasp aura to avoid phase conflicts in other context
it must be limited to WG since its phase cannot be present on character
while doing Ruby Sanctum for example
2017-11-21 15:48:52 +01:00
Yehonal 3e9ffa3e33 Implemented GetPhaseByAuras removing redundant code (DRY) 2017-11-20 11:36:46 +01:00
Yehonal bc726a2f16 Fixed Lich King timers (step 2)
Now we've blizzlike timers totally compatible with DBM addon
2017-11-20 11:36:26 +01:00
Yehonal bf60f8f5c6 Add summoner information to TeleportTo function and created OnBeforeTeleport hook 2017-11-20 11:36:14 +01:00
Yehonal b340ebbec9 Fixed Lich King timers
maybe other minor adjustments needed but mostly correct now
2017-11-20 11:30:46 +01:00
Yehonal 9bded96de5 Fixed aura for GM visibility at login 2017-11-20 11:30:29 +01:00
Yehonal 4bc2124632 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into temp 2017-11-19 18:35:06 +01:00
Yehonal 3649e70176 Fixed sql syntax error 2017-11-19 18:29:15 +01:00
Yehonal 7256dc30a9 Merge pull request #713 from azerothcore/Rochet2-patch-2
Update import.sh
2017-11-19 16:33:27 +01:00
Yehonal e727df7566 Imported pending sql 2017-11-19 16:29:45 +01:00
Yehonal b74e1e03ba DB: Fixed difficulty type condition for achievement statistics 2017-11-19 16:26:13 +01:00
Yehonal af1a3b5220 Fixed compilation 2017-11-19 16:25:58 +01:00
Yehonal 70738e76f0 Added OnBeforeItemRoll hook and added missing parameter to:
OnAfterRefCount
OnBeforeDropAddItem

please update your scripts if you're using them
2017-11-19 16:25:54 +01:00
Yehonal fe0c66bf70 Improved equip manager, anti-abuse system 2017-11-19 16:25:50 +01:00