Commit Graph
41 Commits
Author SHA1 Message Date
GrimdhexandAndrew 994eccebdf chore(Deps/Zlib): move to Cloudflare fork (#21028)
Co-authored-by: Andrew <[email protected]>
2025-02-06 14:41:31 +01:00
Grimdhex edf2959a26 feat(Core/Creatures): implement a sparring system (#19824) 2025-01-26 09:40:37 +01:00
Grimdhex 7725610ff3 chore(Apps/Codestyle): add new checks for SQL files (#21026) 2025-01-21 10:44:39 +01:00
Grimdhex fcc3f7f7cb fix(Script/Zul'Aman): adjust Zuljin timers (#20919) 2024-12-25 17:57:17 -03:00
Grimdhex ffae375f73 fix(Apps/Codestyle): rewrite semi-colon check (#21027) 2024-12-24 12:39:00 +01:00
Grimdhex 70b8b6f47a chore(Licence): Add an agreement to relicense for futur PRs (#20910) 2024-12-20 07:36:04 +01:00
GrimdhexandShauren 866c304d85 refactor(Deps/MySQL): replace hardcoded MySQL paths (#20870)
cherry-pick from https://github.com/TrinityCore/TrinityCore/commit/ab046bdc327374878b3bede39f2d519d0aef3493

Co-authored-by: Shauren <[email protected]>
2024-12-19 18:27:19 +01:00
Grimdhex fd1123caae fix(DB/SAI): several missing abilities in Zul'Aman (#20918) 2024-12-14 15:51:58 +01:00
Grimdhex a4e2b1d743 feat(Core/WorldObjects): implement Heartbeat timers (#20872) 2024-12-13 08:50:45 +01:00
Grimdhex 9874a47de5 refactor(Core): fix few static analysis (#20566)
* refactor(Core): fix few static analysis

* fix builds

* revert FacingInfo change and fix GraveYard ID use in a log
2024-11-24 17:02:32 -03: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
GrimdhexandOvahlord 08bfecdbea fix(Core/Movement): remove unecessary reset() (#20419)
Co-authored-by: Ovahlord <[email protected]>
2024-11-03 17:36:48 -03:00
GrimdhexandOvahlord 0b031de2ea fix(Core/Movement): fix a small memory leak in RandomMovementGenerator (#20258)
* fix(Core/Movement): memory leak and possible crash

Co-Authored-By: Ovahlord <[email protected]>

* .

* fix review

---------

Co-authored-by: Ovahlord <[email protected]>
2024-11-01 09:39:37 -03:00
Grimdhex 261ca4408f refactor(Core/Unit): cleanup header file - part 3 (#20072)
* refactor: cleanup unit header file - part3

* Update Unit.h

* Update Unit.h

* fnish to reorder the header file

* Update Unit.h
2024-10-23 12:54:03 -03:00
Grimdhex 508b7369c7 fix(Scripts/BlackTemple): exclude off tank of the Azzinoth Flame's charge (#20133)
* fix(Scripts/BlackTemple): exclude off tank of the Azzinoth Flame's charge

* remove an unecessary elseif

* Update boss_illidan.cpp
2024-10-05 11:02:06 +02:00
Grimdhex 729cf72f0d chore(Apps/Codestyle): add a new check for if statements (#20073)
* chore(Apps/CodeStyle): add a new check for if statements

* update

* Update spell_priest.cpp

* Update codestyle.py
2024-09-28 18:35:35 +02:00
Grimdhex 8bf3595cef fix(Script/BlackTemple): teleport position with fatal attraction (#19971)
* fix(Script/BlackTemple): teleport position with fatal attraction

* fix codestyle

* try a new way by keeping a random teleport

* remove the old fixed position

* improve the dest selection

* raycast around the new position for check a valid dest

* fix codestyle

* revert the old changes

* refactor to remove the while loop

* few refactor

* Revert "few refactor"

This reverts commit fb7613d5cc5a19df01bbcf41ef5c982119ee9685.

* .

* add a los check

* new improvement with stairs cases & console errors

* fix disableWarning option

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp
2024-09-28 10:27:32 +02:00
Grimdhex 5af3d2d650 fix(Scripts/BlackTemple): Flames of Azzinoth - Fix the charge logic (#19968)
fix(Scripts/BlackTemple): fix the charge mechanic of Flames of Azzinoth

* remove also a old duplicate check in a spell script
2024-09-18 11:52:16 +02:00
Grimdhex 4fc60bbbdf fix(Core/Spells): Shadow demon - Allow to move while casting Paralyze (#19948)
* fix(Scripts/BlackTemple): fix stationary shadow demons

* optimization: use else if to stop the execution when a condition is reach

* revert last changes and fix the spell to allow move while casting

* .
2024-09-14 08:39:03 -03:00
Grimdhex bd40fef081 fix(Scripts/BlackTemple): fix blaze and flame bast casting for Flame of Azzinoth (#19967)
fix(Scripts/Core): fix blaze and flame bast casting for Flame of Azzinoth
2024-09-14 08:22:02 -03:00
Grimdhex 4254827b2c Revert "chore(Debug/Scripting): improve debug errors during the unloading scripts (#19643)" (#19951)
This reverts commit db7183a573.

*wrongly use to catch sigsegv
*null check isn't necessary: https://en.cppreference.com/w/cpp/memory/new/operator_delete
2024-09-12 08:05:12 -03:00
Grimdhex 20b443e011 refactor(Scripts/TempestKeep): remove an dev residual from Kael'Thas revamp (#19950)
refactor(Scripts/TempestKeep): remove an dev rest from my last PR with Keal'Thas
2024-09-12 07:58:18 -03:00
Grimdhex 5ae1473e30 fix(Scripts/BlackTemple): Ajust Judgment timers and pass all the script to std::chrono (#19945)
fix(Scripts/BT): ajust Judgment timers and pass all the script to std::chrono
2024-09-12 06:11:56 -03:00
Grimdhex 56d2cc7b4c refactor(Cote/Unit): cleanup - part2 (#19821)
* fix(Core/AI): remove an unused variable

* Move variables at the end of each sections

* reorder several methods

* remove few inline defintions

* few codestyle fixes
2024-09-11 11:50:24 -03:00
Grimdhex 06cf2cdf42 fix(DB/SAI): Missings spells for few creatures in Blade's Edge Mountains (#19617)
*timer estimations done on retail
2024-09-11 11:19:51 -03:00
Grimdhex 221dbd3fdb chore(Apps/Codestyle): add new codestyle checks for pointers and range loops (#19841)
* chore(Apps/Codestyle): add new codestyle checks for pointers and range loops

* revert a typo
2024-09-03 13:02:38 -03:00
Grimdhex 5ab142af93 fix(Core/AI): remove an unused variable in ScriptedAI (#19816)
fix(Core/AI): remove an unused variable
2024-08-31 11:05:18 -03:00
Grimdhex e4aab5b4f0 fix(Scripts/TempestKeep): revamp Kael'Thas (#19648)
* fix(Scripts/TempestKeep): force attackstop for all player during the last phase and cleanup the script of Kael'Thas

* few new fixes

* fix codestyle

* fix codestyle and remove misc stuff

*remove the useless DisableSpline
*remove also a misc change use only during the dev

* pass the health to DamageTaken instead UpdateIA

* avoid to iterate over the threatlist and use RemoveAllAttackers() instead

* Revert "avoid to iterate over the threatlist and use RemoveAllAttackers() instead"

This reverts commit 0623c0075191c91c2530496c83d017d3b6a824db.

* Revert "pass the health to DamageTaken instead UpdateIA"

This reverts commit 7f8609af603ecc042c819801a2f04d9d65c5031a.

* revert recents commits

* avoid potential conflicts with others enums

* fix build
2024-08-30 16:10:51 -03:00
Grimdhex 2f85097413 docs(Core): improve several functions documentation (#19677)
* initial release

* fix reviews

* fix some typo and add new documetations for MotionMaster

* new update and fix the cli-codestyle

* fix typo

* fix reviews
2024-08-28 08:17:24 -03:00
Grimdhex 574ef5203a chore(Apps/CodeStyle): rewrite Ci-codestyle in python (#19714)
* initial version

* port most current checks

* allow to specify for each checks the exclude files

* Update _ci-codestyle.py

* fix trailing whitespace check and the error_handler logic

* optimize the script to parse all files only one time

* restore the error handling after that all checks are passed

* fix double blank lines at the end of the file

* improve outputs and the codestyle

* .

* update github workflow to the new script

*drop the old ci-codestyle
*move and rename the python script

* use getcwd instead abspath to define src_directory where the script is launch

* test for github workflow

* few cleanup

* fix the logic with the result output

* remove GetTypeId from the output result

* restore GetTypeId() check

* fix reviews

* remove GetTypeId check for gameobjects

*not currently fixed in the core

* fix type hint for file parameters

* remove the test file
2024-08-27 06:19:13 -03:00
Grimdhex 3062db6a9e fix(DB/SAI): Twilight Prophet - Incorrect target type resulting to an… (#19614)
* fix(DB/SAI): Twilight Prophet - Incorrect target type resulting to an instant evade

* fix a software mistake in the query generation

* fix the delete query with current standard
2024-08-25 23:45:24 -03:00
Grimdhex 643362d697 refactor(Core/Object): adds consistency in the use of type object check (#19671) 2024-08-25 09:57:37 -03:00
Grimdhex 61f3a631c3 fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
Grimdhex db7183a573 chore(Debug/Scripting): improve debug errors during the unloading scripts (#19643)
* chore(Debug/Scripting): improve debug errors during script unloading

* add the script name to increase debug informations and ensure to derefence script pointers
2024-08-21 08:13:20 -03:00
Grimdhex 9d76ec6c09 fix(DB/SAI): Hemathion spells and timers (#19621)
* fix(DB/SAI): Hemathion spells and timers

* correct the devour spell cast condition

* forget to delete the old devour line
2024-08-19 19:08:39 -03:00
Grimdhex b0f77eb39b fix(DB/SAI): Aether Ray spells and timers (#19620) 2024-08-18 20:31:55 -03:00
Grimdhex a0689fb4ef fix(Dep/Boost): corrects a warning about path changes in boost process (#19629) 2024-08-18 13:39:06 +02:00
Grimdhex 5cbe485785 fix(Core/PlayerUpdates): incorrect backslash in a debug_log (#19630) 2024-08-15 18:44:07 -03:00
Grimdhex 9dc20bc261 fix(Core/Entities): crash fix cause by a pointer change in #19622 (#19633)
* fix(Core/Entities): crash fix cause by a pointer change in #19622

* fix blank space for codestyle check
2024-08-15 16:28:50 -03:00
GrimdhexandOvahlord 7457aef78d refactor(Core/Entities): Cleanup Unit header file (#19622)
* move several enum definitions in a new files

* move more things

* remove the include comment

* move the related code to CharmInfo in this own file

*original idea of Ovahlord

Co-Authored-By: Ovahlord <[email protected]>

* fix clang build errors and few blank lines

* missing forward declaration

* new tentative to fix gcc/clang build

* add several include could be necessary for gcc/clang compilation

* .

* revert some include since the last AC update

* fix some loop inconsistencies

* align all enums in UnitDefine.h

---------

Co-authored-by: Ovahlord <[email protected]>
2024-08-15 05:12:44 -03:00
Grimdhex 14a7840578 fix(Shared/Socket): incorrect nodiscard flag (#19612)
fix(Build/Socket): incorrect nodiscard flag
2024-08-13 11:52:44 -03:00