ZhengPeiRu21
0053ac67d9
Merge branch 'azerothcore:master' into Playerbot
2022-05-10 08:46:47 -06: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
acidmanifesto
cc6528ad7b
Fix (core) water level and ground level correction ( #11552 )
...
We do not need to excessively have ground level be -2 below the player when underwater. ground level is ground level. no need for a lower adjustment. Most likely left over from from when the shallow water calculations was wrong entirely that lead to false hits with water walking detection due to core side calculations.
2022-05-01 08:44:03 -04:00
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
IntelligentQuantum
ab4ee71762
feat(Core/Maps): AreaBoundary ( #10525 )
...
* cherry-picked commit (2da458c56d )
2022-04-15 14:10:41 +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
6e2e73d6ae
feat(Scripts/Commands): debug objectcount
2022-04-01 06:57:26 -03: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
Bogir[rus]
75439773d0
fix and bringing to a unified style warnings of server loading logs to be more visible at server startup ( #10970 )
2022-03-12 04:57:26 -03:00
UltraNix
09df444187
fix(Core/Maps): Dead players should not be allowed to enter dungeon if exceeded max number of instances. Thx to @DepTypes ( #10831 )
...
Fixed #10799
2022-03-06 12:19:31 -05: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
Kitzunu
cf65cd6baf
refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() ( #9792 )
2022-02-09 11:59:30 +01:00
IntelligentQuantum
93520f6466
feat(Core/Position): own file ( #10505 )
2022-02-08 05:12:42 -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
acidmanifesto
8207e3ffb5
fix (core) : TransportMgr Load up time ( #10388 )
...
* fix (core) : TransportMgr Load up time
* white space fix
* merge fix
* merge fix again
* Update TransportMgr.cpp
* Update TransportMgr.cpp
* Update TransportMgr.cpp
* fix conflich with preload grids for continent static transports
2022-01-29 10:44:19 -05: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
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
Malcrom
dfac47a562
feat(Core/Creature): Allow 3 ids per spawn point. TESTING ( #10169 )
...
* feat(Core/Creature): Allow 3 ids per spawn point.
* Move GetRandomId to a function
* Update id to id1
* Fixed some errors crashing core and text
* Set ids to lowercase for GetRandomId function
* Update src/server/database/Database/Implementation/WorldDatabase.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2022-01-14 19:21:50 -04: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
Cláudio Costa
5d45c52c3e
fix(Core/Creature): Fire Elemental Invasion changes ( #9372 )
...
* fix(DB): Blazing elemental invasion event
- Fixed Elemental Invader's SmartAI;
- Re-arranged Elemental Rifts SmartAI for controlled spawning of
Invaders.
* SmartAI: SetCounter to be able to subtract
* Target unit or summoner changed for worldobjects
* extra checks and last sql file
* Codestyle
* codestyle
* adding Baron to elemental invasions
* changed owner or summoner target (SmartAI)
* codestyle
2022-01-06 19:30:23 +01:00
IntelligentQuantum
fb249836e9
Core\Packet\Misc: Weather ( #9648 )
2022-01-04 13:52:13 -05:00
Kitzunu
317e793b12
refactor(Core/Misc): atan2() to std::atan2() ( #9793 )
...
- prefer std functions over C functions
2022-01-03 13:24:06 -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
Kitzunu
7617ae4645
refactor(Core/Misc): fmod() to std::fmod() ( #9796 )
...
- prefer std functions over C functions
2021-12-21 01:16:59 -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