Commit Graph
45 Commits
Author SHA1 Message Date
f0777d1fd3 fix(Core/AI): validate stored targets (#12489)
Co-authored-by: Meji <[email protected]>
Co-authored-by: Ariel Silva <[email protected]>
Co-authored-by: Shauren <[email protected]>

Co-authored-by: Meji <[email protected]>
Co-authored-by: Ariel Silva <[email protected]>
Co-authored-by: Shauren <[email protected]>
2022-07-24 13:06:11 -03:00
IntelligentQuantum 6ac7dfa26f refactor(Core/SmartScripts): GetTargets returns ObjectList instead of ObjectList* (#11950) 2022-07-18 11:15:57 +02:00
IntelligentQuantum cc52712ac1 refactor(Core/AI): factory functions cleanup (#11779) 2022-07-15 16:11:49 +02:00
90fccacad5 feat(Core/Movement): Allow waypoints to use 0 as valid facing value (#11681)
* feat(Core/Movement): Allow waypoints to use 0 as valid facing value

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/4747515872775553de35cc3267e1ccd5e0076ca4)

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

* Update SmartScriptMgr.h

* a

* Update SmartAI.cpp

* Update SmartAI.cpp

* Update SmartAI.cpp

* typo

* Update SmartAI.cpp

* Update SmartAI.cpp

* Compile fix

* compile #2

* Update WaypointMgr.h

* Update SmartScriptMgr.h

* compile fix again

Co-authored-by: Ovah <[email protected]>
Co-authored-by: MDIC <[email protected]>
2022-05-21 23:42:41 +02:00
IntelligentQuantum 9fa3436cbe feat(Core/SmartScripts): SMART_EVENT_FLAG_WHILE_CHARMED (#10286) 2022-04-23 16:26:42 +02:00
IntelligentQuantum ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (https://github.com/TrinityCore/TrinityCore/commit/2da458c56d024aac04468ce2af454a83ad790bf6)
2022-04-15 14:10:41 +02:00
Kitzunu edb7cac19b feat(Core/Unit): NPCFlags helpers (#11286)
* cherry-pick commit (TrinityCore/TrinityCore@d611925)
Co-Authored-By: Shauren <[email protected]>
2022-04-05 13:52:42 +02:00
Kitzunu 856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
IntelligentQuantum dec0081f6c fix (Core/SmartScripts): allow to start waypoint movement for a creature that is in combat 2022-03-27 11:34:36 -04:00
Kitzunu 455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Kargatum 5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
Cláudio Costa 92887b1578 fix(Scripts/DB): Terenthis quest chain (#9714) 2022-01-19 22:39:16 +01:00
IntelligentQuantum df4b621527 feat(Scripts/SmartAI): SMART_TARGET_INVOKER (#9802) 2022-01-13 07:46:25 -03:00
IntelligentQuantum 002e62d689 feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_DIES (#9979) 2022-01-03 08:24:13 -03:00
Kitzunu 913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
IntelligentQuantum f7ff583b7e feat(Core/SmartScripts): SMART_ACTION_DISABLE_EVADE (#9772)
* Update SmartScriptMgr.h

* Update SmartScript.cpp

* Update SmartAI.h

* Update SmartAI.cpp
2021-12-19 18:30:55 -03:00
Francesco Borzì cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
acidmanifesto 29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
Kargatum f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Kitzunu 24f9f993cc refactor(GameObjectAI): Change self-accessor to "me" (#9041) 2021-11-08 22:06:04 +01:00
Malcrom f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
KargatumandFrancesco Borzì 52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <[email protected]>
2021-09-30 13:40:52 +07:00
UltraNix e35e47c2f7 fix(Core/Movement): properly initialized combat distance for creatures with SAI script (#7437)
- Closes #7331
2021-08-26 02:15:07 +02:00
KargatumandKitzunu 5787d00d54 chore(Core/Logging): replace most server loggers (#5726)
* chore(Core/Logging): replace most server loggers

Co-authored-by: Kitzunu <[email protected]>
2021-06-21 03:07:12 +02:00
UltraNix f4c226423d feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885) 2021-04-25 22:18:03 +02:00
Kargatum 4af4cbd3d9 feat(Core/Logging): rework logging (#4692)
* feat(Core/Logging): rework logging

* correct level for sql.sql

* del unused config options

* Correct build

* correct after merge

* whitespace

20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)

* 1

* correct logging

* correct affter merge

* 1

* 2

* LOG_LEVEL_WARN

* #include "AppenderDB.h"

* 3

* 4

* 5

* 1. 'WorldSocket.cpp'. Replace (1)

* 6

* 1
2021-04-17 11:20:07 +02:00
Kitzunu 33aeadf8b6 refactor(Core/Misc): Define & Rename Attributes and flags (#5193) 2021-04-15 14:16:39 +02:00
Francesco Borzì f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kitzunu 28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01:00
Kitzunu dbc0ff6554 refactor(Core): sort #includes alphabetically (#4579) 2021-02-24 22:34:42 +01:00
Kitzunu da4edd547d chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
2021-01-10 14:27:55 +01:00
Kargatum ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Francesco Borzì d4a58700d4 refactor(Core): apply clang-tidy modernize-use-override (#3817) 2020-12-06 18:04:55 +01:00
FALL1N1 0baecd3e8f fix(Core/Pathfinding): Improve - Point movement (#3658) 2020-12-01 10:58:00 -06:00
Kargatum a2b26272d2 refactor(Core/Game): restyle game lib with astyle (#3466) 2020-10-12 10:08:15 +02:00
1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <[email protected]>
Co-authored-by: Stefano Borzì <[email protected]>
2020-08-31 11:55:09 +02:00
mik1893 7954a2a07e Creature type flags (#2195)
fix(Core/Creature): refactoring creature type flags and adding CREATURE_TYPE_FLAG_CAN_COLLIDE_WITH_MISSILES - closes #1984
2019-08-16 12:15:14 +01:00
Jinyang li 4b6342b42f Core/NPC: Creatures now alert when they detect stealthed players (#1060)
Creatures stop when they detect a stealthed player like in retail.
Closes #1020
2018-10-31 20:25:23 +01:00
Nefertumm dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Kaev 05cd8c8c61 Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
2018-01-02 22:08:08 +01:00
Yehonal 17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Yehonal 1aef789c85 [Core/Cmake] Scripts are now added dynamically
You can now add your scripts using cmake inside your module
instead patch core cpp files
2016-08-07 12:21:52 +02:00
Yehonal f6eefedcd5 converted all tabs to 4 spaces 2016-06-26 19:23:57 +02:00
Yehonal e8e94a0a66 First Commit
For Azeroth!
2016-06-26 10:39:44 +02:00