ZhengPeiRu21
84b794ab38
Merge branch 'azerothcore:master' into Playerbot
2022-04-25 08:58:13 -06:00
IntelligentQuantum
090cc5e2c6
fix(Tools/Mapextractor): Fix water height redundancy algorithm ignoring "no water" ( #10947 )
2022-04-24 15:14:20 -03:00
acidmanifesto
ad520391d0
fix (core): Water Calculation Corrections ( #11516 )
2022-04-24 09:58:22 -04: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
ec96415fda
Merge branch 'azerothcore:master' into Playerbot
2022-04-16 21:41:45 -06:00
acidmanifesto
c283883aea
fix (core): Shallow Water Calulation Correction ( #11419 )
...
Shallow water calculation (in water and water walking value) is in correct and were matching. not right at all. this corrects the issue.
2022-04-16 16:38:57 -04: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
郑佩茹
60f11b3671
Merge branch 'master' into Playerbot
...
# Conflicts:
# apps/ci/ci-install-modules.sh
# src/common/Collision/Management/MMapMgr.cpp
# src/common/Debugging/Errors.h
# src/server/game/AI/SmartScripts/SmartScript.cpp
# src/server/game/Battlegrounds/Arena.cpp
# src/server/game/Battlegrounds/ArenaScore.h
# src/server/game/Battlegrounds/Battleground.cpp
# src/server/game/Battlegrounds/BattlegroundMgr.cpp
# src/server/game/Battlegrounds/BattlegroundMgr.h
# src/server/game/Battlegrounds/BattlegroundQueue.cpp
# src/server/game/Battlegrounds/BattlegroundQueue.h
# src/server/game/Battlegrounds/Zones/BattlegroundAB.h
# src/server/game/Battlegrounds/Zones/BattlegroundEY.h
# src/server/game/Battlegrounds/Zones/BattlegroundIC.h
# src/server/game/Conditions/ConditionMgr.cpp
# src/server/game/DataStores/M2Stores.cpp
# src/server/game/DungeonFinding/LFGMgr.cpp
# src/server/game/Entities/Creature/Creature.cpp
# src/server/game/Entities/Creature/CreatureData.h
# src/server/game/Entities/GameObject/GameObject.cpp
# src/server/game/Entities/GameObject/GameObject.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Player/Player.h
# src/server/game/Entities/Player/PlayerStorage.cpp
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Entities/Unit/Unit.h
# src/server/game/Globals/ObjectMgr.cpp
# src/server/game/Groups/Group.cpp
# src/server/game/Groups/Group.h
# src/server/game/Guilds/Guild.cpp
# src/server/game/Guilds/Guild.h
# src/server/game/Handlers/BattleGroundHandler.cpp
# src/server/game/Handlers/CharacterHandler.cpp
# src/server/game/Scripting/ScriptDefines/BGScript.cpp
# src/server/game/Scripting/ScriptDefines/DatabaseScript.cpp
# src/server/game/Scripting/ScriptDefines/PlayerScript.cpp
# src/server/game/Scripting/ScriptDefines/ServerScript.cpp
# src/server/game/Scripting/ScriptMgr.cpp
# src/server/game/Scripting/ScriptMgrMacros.h
# src/server/game/Server/Packets/MiscPackets.cpp
# src/server/game/Server/Packets/MiscPackets.h
# src/server/game/Server/WorldSession.cpp
# src/server/game/Spells/SpellEffects.cpp
# src/server/game/World/IWorld.h
# src/server/game/World/World.cpp
# src/server/game/World/World.h
# src/server/scripts/Commands/cs_npc.cpp
# src/server/scripts/Commands/cs_server.cpp
# src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp
# src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/instance_blackwing_lair.cpp
# src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_ragnaros.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h
# src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp
2022-03-21 13:57:37 -06:00
UltraNix
3c9e8d4eb1
fix(Core): Crash related to reset instances ( #11003 )
2022-03-18 19:32:28 -03:00
UltraNix
12d41d1314
Big update.
2022-03-12 22:28:00 +01:00
acidmanifesto
69e2f2e3aa
fix/feat: (Core/PacketIO): updated sound and creature addon ( #10813 )
...
* fix\feat: (Core/PacketIO): updated sound and creature addon
updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.
Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com >
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
2022-02-26 10:05:58 -05:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
Kargatum
de13bf426e
feat(Core/DBLayer): replace char const* to std::string_view ( #10211 )
...
* feat(Core/DBLayer): replace `char const*` to `std::string_view`
* CString
* 1
* chore(Core/Misc): code cleanup
* cl
* db fix
* fmt style sql
* to fmt
* py
* del old
* 1
* 2
* 3
* 1
* 1
2022-02-05 00:37:11 +01:00
Nefertumm
aa6ecec2ab
feat(Core/Map): add DoForAllPlayers method ( #10371 )
2022-02-04 18:54:29 +01: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
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05: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
IntelligentQuantum
fb249836e9
Core\Packet\Misc: Weather ( #9648 )
2022-01-04 13:52:13 -05: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
51adbffae4
feat(Core/Modules): add separated lib for modules ( #9281 )
2021-12-02 20:28:58 +07: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
Petric
11373cd78a
fix(Core/Shutdown): add checks to see if MapUpdater threads are joineable ( #7450 )
2021-11-24 11:41:49 +01:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Nefertumm
2f2569d09a
fix(Core/Map): encounters list for heroic difficulties ( #8224 )
2021-11-02 12:37:13 -03:00
Kargatum
a650fd495c
feat(Core/Metrics): implement real time statistic visualization ( #8663 )
2021-10-28 14:47:29 +02:00
UltraNix
27231b0075
fix(Core/Movement): disable invalid code about getting area info from GOs ( #7898 )
...
- Closes #7335
2021-10-04 12:33:40 +02:00
Kitzunu
9fbdffee47
refactor(Core/Map): Use std::chrono for SetZoneOverrideLight ( #6489 )
...
* cherry-pick e33c4b8f7f
Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com >
2021-10-03 22:07:26 -03:00
UltraNix
ca47fc96f2
fix(Core/Instances): Fixed displaying warning about entering instance in progress. ( #8171 )
2021-10-02 01:20:37 -03: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
UltraNix
1bf4f54b32
fix(Core/Combat): Creatures should evade if its only victim is teleporting to other map ( #7975 )
2021-09-20 16:05:45 -06:00
Francesco Borzì
db6635ab7b
fix(Core/Map): remove ABORT() to prevent crash ( #7904 )
2021-09-20 16:15:54 +02:00
Kitzunu
6df7303b24
refactor(Core/Maps): Change map file version from FourCC to uint32 ( #7866 )
...
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-09-20 00:45:42 +02: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
UltraNix
c111955399
fix(Core/Maps): fix getting wrong area/zone on spawn ( #7590 )
...
- Closes #7580
2021-08-30 14:49:44 +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
1fd963b246
fix(Core/Maps): display instance warning when entering bound dungeon ( #7448 )
2021-08-25 11:41:43 +02:00
UltraNix
5b057798e7
fix(Core/Maps): Enabled dead players to be resurrected at the dungeon entrance if cannot enter it due to some reasons ( #7236 )
...
- Closes #6790
2021-08-07 16:10:07 +02:00
Kitzunu
66da9f1354
chore(Core/Misc): add LOG_ERROR where there was commented ASSERT ( #6761 )
2021-07-07 17:56:17 +02:00
Kitzunu
b84f9b8a4b
refactor(Collision): update some methods to UpperCamelCase ( #6486 )
2021-06-27 16:37:22 +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
Francesco Borzì
466cdb68d6
refactor(Core): code cleanup (part 2) ( #6374 )
2021-06-16 20:40:42 +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
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02: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