郑佩茹
03b3f9d051
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/World/World.h
2023-02-09 12:40:25 -07:00
Mickaël Mauger
24fa3ba828
fix(MMAP/core/PathGenerator): Try to fix more water creatures ( #13705 )
...
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2023-01-02 22:26:12 +01:00
ZhengPeiRu21
80c608df4f
Merge branch 'azerothcore:master' into Playerbot
2022-10-02 10:46:28 -06:00
M'Dic
967f8ce6d6
update (core): Startup console capitalizations ( #13195 )
2022-10-01 13:09:34 -04:00
郑佩茹
98c22aa96d
Merge branch 'master' of https://github.com/ZhengPeiRu21/azerothcore-wotlk into Playerbot
2022-06-21 13:23:18 -06:00
UltraNix
113bdacb5f
fix(Core/Tools): Revert "Handle different slopes in mmaps and Add so… ( #12111 )
...
...me more input parameters to improve"
This reverts commit b544eb420e .
Fixes #12079
2022-06-21 16:07:53 -03:00
ZhengPeiRu21
0d42597ba3
Merge branch 'azerothcore:master' into Playerbot
2022-05-22 12:08:05 -06:00
IntelligentQuantum
324112ff4f
feat(Common/Collision): missing fclose ( #11753 )
2022-05-19 19:13:06 -03:00
ZhengPeiRu21
0053ac67d9
Merge branch 'azerothcore:master' into Playerbot
2022-05-10 08:46:47 -06:00
IntelligentQuantum
774c41b8da
fix(Core/MMAPs): Fix small steps being considered as NAV_AREA_GROUND_STEEP ( #11591 )
2022-05-08 21:42:31 -03:00
IntelligentQuantum
a31a30566e
feat(Tools/Mapextractor): Implemented liquid object detection ( #11402 )
...
* .
* .
* .
* .
* .
* .
* .
* Delete Utils.cpp
2022-05-08 23:38:22 +02:00
郑佩茹
0326d8576d
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/World/IWorld.h
# src/server/game/World/World.cpp
# src/server/game/World/World.h
# src/server/scripts/Commands/cs_server.cpp
2022-05-02 16:39:21 -06:00
IntelligentQuantum
ad8f8ee5a5
feat(Tools): Automatically create directories for tools ( #11540 )
...
* .
* .
2022-04-27 21:57:21 +02:00
ZhengPeiRu21
84b794ab38
Merge branch 'azerothcore:master' into Playerbot
2022-04-25 08:58:13 -06:00
IntelligentQuantum
b544eb420e
feat(Core/Mmaps): Handle different slopes in mmaps and Add some more input parameters to improve ( #10974 )
2022-04-24 16:44:50 -03:00
IntelligentQuantum
090cc5e2c6
fix(Tools/Mapextractor): Fix water height redundancy algorithm ignoring "no water" ( #10947 )
2022-04-24 15:14:20 -03:00
ZhengPeiRu21
8b0ef0b5a0
Merge branch 'azerothcore:master' into Playerbot
2022-04-22 09:13:49 -06:00
Kitzunu
1501445b0a
chore(Core/Misc): nullptr cleanup ( #11467 )
2022-04-21 19:17:20 +02:00
ZhengPeiRu21
a1985ddbeb
Merge branch 'azerothcore:master' into Playerbot
2022-04-11 08:40:56 -06:00
UltraNix
47790c9714
fix(Core/Vmaps): Stop M2s from occluding for spellcast LoS. Original autho… ( #11341 )
...
* Core/Vmaps: Stop M2s from occluding for spellcast LoS. Original authors: @Shauren & @HelloKitty
Fixes #11293
* buildfix.
Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com >
2022-04-10 09:24:35 -03:00
ZhengPeiRu21
a25c289a5a
Merge branch 'azerothcore:master' into Playerbot
2022-04-01 08:30:15 -06:00
IntelligentQuantum
cc5f26db7f
feat(Core/Vmaps): Changed error message when loading outdated vmaps ( #10490 )
2022-04-01 06:56:04 -03:00
郑佩茹
db71f4739c
Fix corrupt item cache crashes, bot whispers, trade crashes
2022-03-22 10:51:50 -06: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
Kargatum
e8f34b2309
feat(Core/Common): add support fmt style for ASSERT and ABORT ( #10355 )
...
* feat(Core/Common): add support fmt style for ASSERT and ABORT
* correct CheckCompactArrayMaskOverflow
* 1
* Update src/server/game/Spells/Spell.cpp
2022-01-25 23:15:51 +01:00
Francesco Borzì
abc56842c4
refactor(Core): remove unused imports ( #10296 )
2022-01-22 11:21:35 +01:00
Francesco Borzì
9dc88def35
refactor(Core): apply clang-tidy modernize-* ( #9975 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2022-01-17 14:35:07 +01:00
acidmanifesto
4330e44ad0
fix (Core/CodeReduction) TC_ removal ( #10162 )
...
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
Francesco Borzì
b748730bc8
refactor(Core): remove unused imports ( #9969 )
2022-01-02 20:22:09 +01: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
Kargatum
a650fd495c
feat(Core/Metrics): implement real time statistic visualization ( #8663 )
2021-10-28 14:47: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
Francesco Borzì
d8b8e123f6
refactor(Core/Common): code cleanup (part 12) ( #7520 )
2021-08-26 18:02:08 +02:00
UltraNix
a8c0a2cc89
fix(Core/Movement): ( #7008 )
...
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.
Original source: TrinityCore.
- Closes #5086
- Updates #2208 .
2021-08-25 12:41:20 +02:00
UltraNix
261d5c62cd
fix(Core/Collision): typo in VMap BIH generation. ( #7066 )
...
* Core/Collision: Fix typo in VMap BIH generation.
Fixed #5768 .
* Bump vmap and mmap versions.
* chore: update data version in the bash installer
2021-08-08 12:21:29 +02:00
Kitzunu
b84f9b8a4b
refactor(Collision): update some methods to UpperCamelCase ( #6486 )
2021-06-27 16:37:22 +02:00
Kargatum
3c24b511f2
refactor(Core/Misc): add braces and impove codestyle ( #6402 )
2021-06-24 19:50:18 +02:00
Kargatum
8202da358b
refactor(Core/Common): alphabetical sorting inlcudes ( #6282 )
...
- Part https://github.com/WarheadCore/WarheadBand/pull/37
2021-06-23 01:01:53 +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
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
Kargatum
78e1719c80
feat(Core/Misc): includes cleanup ( #5953 )
2021-05-26 19:00:08 +07:00
Kargatum
db7d754f3f
feat(Core/Common): delete lib game-interface inherited ( #5333 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-05-07 02:16:44 +07: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
Kargatum
b2861be1cd
feat(Core/Threading): replace ace threading ( #4821 )
2021-04-16 19:45:29 +02:00
UltraNix
0528e0b485
feat(Tools/Vmapextractor): Improved vmap detail level by extracting w… ( #4922 )
2021-04-05 11:51:51 +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
Kargatum
b9e132a941
chore(Misc): correct double includes ( #4647 )
2021-02-26 17:44:08 +07: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