schell244
3b89a7e077
fix(Core/Script): add hourly bell event ( #9151 )
2021-11-14 15:23:01 -03:00
sschepens
b7f8083915
feat(Core/Misc): change how Position struct is retrieved ( #9017 )
...
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.
Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00
Kitzunu
24f9f993cc
refactor(GameObjectAI): Change self-accessor to "me" ( #9041 )
2021-11-08 22:06:04 +01:00
Ragelezz
20eff9eb03
fix(Core\Scripts):Venomhide Hatchling multiple fixes ( #8792 )
2021-11-02 13:18:56 -03:00
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction ( #8708 )
2021-11-01 17:04:32 +01:00
v.tihomirov
12b195e116
fix(Core/QuestNpc): Rework/fix the Stave of Ancients script ( #7929 )
...
* WIP Artorius the amiable
* Add Artorius sql update
* Splited npc script to stave of ancients script
* Move reveal form to npcstaveqai
* Change enum constant names
* Refactor DoAction
* Refactor feign death reset
2021-10-28 13:08:19 -03:00
acidmanifesto
0df821cbb0
chore(Core): Code Reduction dealing with Logging, (Cosmetic only). ( #8686 )
2021-10-24 22:33:16 -03:00
UltraNix
36aced608c
fix(Core/Professions): Fixes some profession specs available without … ( #8385 )
...
Fixes #5399
2021-10-23 14:39:19 -03:00
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods ( #6957 )
2021-10-15 10:25:29 +02:00
Kargatum
52aa0e9966
feat(License): add new headers information about license ( #7941 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2021-09-30 13:40:52 +07:00
Kitzunu
2f449326e0
refactor(Core): Rename ...Manager to ...Mgr ( #6910 )
...
* Rename MapManager.h to MapMgr.h
* Rename BanManager.h to BanMgr.h
* Rename MapManager.cpp to MapMgr.cpp
* Rename BanManager.cpp to BanMgr.cpp
* Rename MapRefManager.h to MapRefMgr.h
* Rename ThreatManager.h to ThreatMgr.h
* Rename GridRefManager.h to GridRefMgr.h
* Rename ThreatManager.cpp to ThreatMgr.cpp
* Rename GroupRefManager.h to GroupRefMgr.h
* Rename HostileRefManager.h to HostileRefMgr.h
* Rename HostileRefManager.cpp to HostileRefMgr.cpp
* Rename MMapManager.h to MMapMgr.h
* Rename FollowerRefManager.h to FollowerRefMgr.h
* Rename VMapManager2.h to VMapMgr2.h
* Rename IVMapManager.h to IVMapMgr.h
* Rename MMapManager.cpp to MMapMgr.cpp
* Rename VMapManager2.cpp to VMapMgr2.cpp
* Rename RefManager.h to RefMgr.h
* Rename WaypointManager.h to WaypointMgr.h
* Rename WaypointManager.cpp to WaypointMgr.cpp
* Rename MPQManager.h to MPQMgr.h
* Rename MPQManager.cpp to MPQMgr.cpp
* Rename IMMAPManager.h to IMMAPMgr.h
* fix build
* Update Main.cpp
* chore(Core/Misc): Remove toxic language
* Revert "chore(Core/Misc): Remove toxic language"
* fix build
* build
2021-09-15 17:50:28 +02:00
Viste
a9796af174
fix(Core/Misc): bunch of crashfixes ( #7307 )
2021-09-14 14:38:56 +02:00
Francesco Borzì
f73ef1cd5a
fix(Core/Unit): -Wdeprecated-enum-enum-conversion warning ( #6868 )
2021-07-13 11:51:58 +02:00
Francesco Borzì
4103fca5a4
fix(Core/ObjectGuid): prevent creating copies when looping objects ( #6852 )
2021-07-10 15:54:16 +02:00
UltraNix
0c22cae717
fix(Scripts/Quest): reward money amount of Apprentice Angler ( #6431 )
...
Fixed #5184 .
2021-06-27 01:43:55 +02:00
Kargatum
5991b2769a
feat(Core/Scripts): split the huge scriptloader into smaller pieces ( #5346 )
...
* feat(Core/Scripts): split the huge scriptloader into smaller pieces
* AddSC_swamp_of_sorrows del
* 1
* add mod info
* 1
* 039f0e0faa
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-22 23:19:02 +02:00
Kargatum
9ac6fddcae
feat(Core/Database): port TrinityCore database API ( #5611 )
2021-06-22 06:21:07 +02:00
Kargatum
5787d00d54
chore(Core/Logging): replace most server loggers ( #5726 )
...
* chore(Core/Logging): replace most server loggers
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-21 03:07:12 +02:00
Yehonal
baf437bb98
feat(Core): improved some hooks ( #6302 )
2021-06-13 10:23:24 +02:00
Kitzunu
7152ddc82c
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 ( #6113 )
...
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit d6201e5dbb )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: SilverIce <slifeleaf@gmail.com >
* Update CellImpl.h
* w
* more more brackets
* ew
* fix build
2021-06-03 05:27:51 +02:00
Walter Pagani
191b94e285
refactor(SmartAI): move C++ script to DB (SAI) ( #6067 )
2021-06-02 14:23:38 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
Walter Pagani
376a7983b3
fix(Scripts/Innkeeper): remove hard-coded texts ( #5811 )
2021-05-14 20:41:54 +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
Peter
8119bff979
fix(DB/SAI): Lunaclaw ( #4859 )
...
Co-authored-by: joschiwald <joschiwald@online.de >
Co-authored-by: illfated <illfated@users.noreply.github.com >
2021-03-18 14:26:17 -04:00
Cláudio Costa
456fe55952
fix(Core/DB): Susurrus hardcoded to SmartAI ( #4819 )
2021-03-17 12:36:37 -06:00
Francesco Borzì
f6a17164be
fix(Core/License): issue with old files license ( #4762 )
2021-03-17 09:46:01 -06:00
Stefano Borzì
53d7341645
fix(DB/Text): chicken text for CLUCK special quest ( #4714 )
2021-03-07 13:13:06 +01:00
Kitzunu
28f1dc5c0c
refactor(Core): replace NULL with nullptr ( #4593 )
2021-03-02 01:34:20 +01:00
Kargatum
b9e132a941
chore(Misc): correct double includes ( #4647 )
2021-02-26 17:44:08 +07:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Francesco Borzì
f85cb30c99
feat(Core/Conf): toggle XP price ( #4388 )
2021-02-02 04:11:54 +01:00
Kitzunu
0d52b4ca4a
feat(Core/Spell): Implement ValidateSpellInfo ( #4323 )
...
* feat(Core/Spell): Implement ValidateSpellInfo
* cherry-pick from 2b5d7eef3a & a0a158b5b8
* sLog->outError
* cleanup
* convert to ValidateSpellInfo
* fix error log
* improve sLog->outError
* remove non related spells stuff from Validate
* remove the last
* build
* build x2
2021-02-01 18:57:25 +01:00
Yehonal
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 <p.alexej@freenet.de >
Co-authored-by: Helias <stefanoborzi32@gmail.com >
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-02-01 01:34:27 +01:00
lineagedr
943c1e7ae7
fix(Scripts/DB/Creature): Set PvP flag for some creatures ( #4270 )
2021-01-14 19:15:55 +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
Andrius Peleckas
ab5933effa
fix(Core/Util): EventMap::RepeatEvent when eventId is retrieved by ExecuteEvent() call ( #3426 )
2020-10-17 14:59:22 +02:00
Kitzunu
9f93e554e6
feat(Actions): Automatically add labels on PRs ( #3571 )
2020-10-15 23:13:36 +02:00
Kargatum
5e20b46812
refactor(Core/Scripts): restyle scripts lib with astyle ( #3467 )
2020-10-11 10:35:34 +02:00
Kargatum
e15a493927
feat(Core/Time): remove inherited ACE Time ( #3455 )
...
Co-authored-by: Viste <viste02@gmail.com >
2020-09-11 14:03:26 +02:00
Petric
29f2c2aeda
feat(Core/Script): Playing music from GameObjects and added holiday zones music script ( #3307 )
2020-09-02 16:32:41 +02:00
Moki
26c99c383f
Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60. ( #3304 )
...
* Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60
Adding a TrinityCore commit eac9c1f0b9
* Update rev_1597581112860069800.sql
* Update rev_1597581112860069800.sql
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2020-09-01 14:19:09 +02:00
Kitzunu
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ì <borzifrancesco@gmail.com >
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2020-08-31 11:55:09 +02:00
Francesco Borzì
d2cc3fcbc2
feat(Docker): update to Ubuntu 20.04 + more improvements ( #3277 )
2020-08-13 00:25:20 +02:00
Vhiper
96dc9fc0f3
refactor(Scripts/SAI): move Gryphoneer Windbellow to SAI ( #3137 )
2020-08-10 10:10:08 +02:00
Shard
067d9e791f
fix(Core/Battlegrounds) Rewrite RandomBG and enabling bg/arenas weights ( #2516 )
2019-12-28 09:40:13 +01:00