Yunfan Li
f5e44cd8a6
Merge branch 'master' into Playerbot
2024-08-01 15:41:23 +08:00
Francesco Borzì
02a05fbd4c
refactor(src/common): remove unused imports ( #19506 )
...
* refactor(src/common): remove unused imports
* fix: build
* chore: fix build
* chore: size_t -> std::size_t
* chore: fix fuckup from previous commit
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build with std::size_t
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
2024-07-30 20:06:46 -03:00
Yunfan Li
1f54cb14fa
Merge branch 'master' into Playerbot
2024-07-07 13:33:14 +08:00
sudlud
60be029e4c
fix(Core/Scripting): fix OnBeforeCreateInstanceScript hook ( #19252 )
...
- to me this hook should obviously provide an option to overwrite
the InstanceScript pointer
- this is e.g. beeing used by mod-eluna (but currently broken)
2024-07-03 14:54:45 -03:00
Yunfan Li
cc5adebbe4
Merge branch 'master' into Playerbot
2024-07-03 16:04:51 +08:00
Kitzunu
f96d4c8670
Revert "Add (core\db): Support for Homebind Orientation ( #13389 )" ( #19257 )
...
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
This reverts commit 2e6f6e26da .
Changes to be committed:
modified: src/server/database/Database/Implementation/CharacterDatabase.cpp
modified: src/server/game/DungeonFinding/LFGScripts.cpp
modified: src/server/game/Entities/Player/Player.cpp
modified: src/server/game/Entities/Player/Player.h
modified: src/server/game/Entities/Player/PlayerStorage.cpp
modified: src/server/game/Entities/Player/PlayerUpdates.cpp
modified: src/server/game/Handlers/CharacterHandler.cpp
modified: src/server/game/Handlers/MiscHandler.cpp
modified: src/server/game/Handlers/MovementHandler.cpp
modified: src/server/game/Maps/Map.cpp
modified: src/server/game/Spells/Spell.cpp
modified: src/server/scripts/Commands/cs_misc.cpp
modified: src/server/scripts/Commands/cs_tele.cpp
modified: src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp
Untracked files:
data/sql/updates/pending_db_world/rev_1719945200692175000.sql
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
* whoops
2024-07-02 22:02:15 +02:00
Yunfan Li
971b2f8316
Merge branch 'master' into Playerbot
2024-06-03 23:16:28 +08:00
Jelle Meeus
99004116a5
fix(Scripts/Ulduar): falling down Kologarn's pit should kill ( #18945 )
...
* add insersectboundary
* add kill bunny to kologarn's pit
* Update data/sql/updates/pending_db_world/rev_1716571588345702920.sql
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
* refactor: use Map DoForAllPlayers
---------
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
2024-05-26 14:38:16 -03:00
Yunfan Li
9bbe90d388
Merge branch 'master' into Playerbot
2024-05-04 23:35:53 +08:00
Walter Pagani
715b290cb7
feat(Map): Add open world LOS settings ( #18816 )
...
* chore. Add open world LOS settings
* Name change and conditional deny
* modify information in worldserver.conf.dist
* Remove pvp from variables and constants
2024-05-04 12:10:24 -03:00
sudlud
ab7405f94e
fix(Core/Map): remove hackfix that blocked update of GOs beeing set active ( #18812 )
...
- this just broke the whole purpose of setActive(true) if the
gameobjects is still not really beeing set active afterwards
- GetGridActivationRange() returns 0.0f for gameobjects anyways
- so CalculateCellArea() will result in the minimal cell area
around the gameobject's position
- if the cell around the gameobject should not be updated, the
gameobject should not have been set active in the first place
2024-04-30 06:56:17 -03:00
Yunfan Li
d74a6dd960
Merge branch 'master' into Playerbot
2024-03-31 12:44:21 +08:00
Anton Popovichenko
73340b94e3
feat(Core/Compression): Move packets compression from map to network thread ( #18602 )
...
* feat(Code/Compression): Move packets compression from map to network thread.
* Code style fix
* Remove unicode letter
2024-03-28 08:57:29 -03:00
Yunfan Li
ccf92f481d
Merge branch 'master' into Playerbot
2024-01-04 19:22:20 +08:00
Andrew
a11434b24f
refactor(Core/GameObject): Move the GameObject state save handling to… ( #18080 )
...
* refactor(Core/GameObject): Move the GameObject state save handling to instance level
* Update GameObject.h
* remove leftover
* small improvements
2024-01-01 01:51:33 -03:00
Oiuv
f68f398e59
Merge branch 'master' into Playerbot
2023-12-28 17:33:26 +08:00
IntelligentQuantum
258e369ee5
chore(Core): remove useless includes ( #18036 )
2023-12-23 12:16:27 -03:00
Yunfan Li
7915f79d04
Merge branch 'master' into Playerbot
2023-12-12 20:52:42 +08:00
Winfidonarleyan
eb1ecc38a5
feat(Core/Scripting): move all script objects to separated files ( #17860 )
...
* feat(Core/Scripts): move all script objects to separated files
* Apply 5bfeabde81
* try gcc build
* again
2023-12-02 21:13:20 +01:00
Andrew
e3a7613f56
fix(Core/Creature): Move DespawnOnEvade() respawn handling to map level ( #17806 )
2023-11-20 12:18:48 -03:00
Winfidonarleyan
e90d7a2f92
chore(Core/Misc): sort includes ( #17776 )
...
* chore(Cleanup): sort includes
* fix build
* fix build again
2023-11-18 17:51:26 +01:00
Kitzunu
bbadc32bea
Revert Visibility Notifier changes ( #17682 )
...
* Revert "fix(Core/Grid): Implement missing GridUnload setting (#17569 )"
This reverts commit 79b39f9655 .
* Revert "fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480 )"
This reverts commit 60e27511c5 .
* Revert "fix(Core): GridCleanUpDelay Log (#17436 )"
This reverts commit 90b16ca065 .
* Revert "feat(Core/Grids): Implement visibility notifier (#15919 )"
This reverts commit 2779833768 .
2023-11-12 00:48:49 +01:00
Yunfan Li
d879fc9258
Merge branch 'master' into Playerbot
2023-10-27 20:12:09 +08:00
AG
79b39f9655
fix(Core/Grid): Implement missing GridUnload setting ( #17569 )
...
* Implement GridUnload setting
* Minor fixes
- Use GetOption instead of deprecated GetBoolDefault.
- Added a missing check for instances in LoadMap
- Replaced some numbers with global defines
* Possible crashfix + minor improvements
- Initialized initialOrientation which I had forgotten (likely cause of crash)
- Readded a previous check in UpdateSplineMovement
- Made i_objectsToRemove and i_worldObjects tos sets as they were previously, instead of unordered_set.
* Update worldserver.conf.dist
* Fix high CPU usage with preload grid enabled.
This should be it.
2023-10-26 19:32:15 -03:00
AG
60e27511c5
fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation ( #17480 )
...
* Bug fixes
- Corrected std::chrono from seconds to milliseconds
- Got rid of leftover code that caused objects to not show up on time
* Removed logic to set gameobject as active
- More alignement with TC.
- Reduces CPU usage drastically
* Revert back to using time_t instead of std chrono
* Invoke SetNoCreate() method to reduce CPU usage drastically
* Remove setActive from static and motion transports
* Fix performance issues
* Added SetFarVisible to WG and some dungeon scripts
- Also removed setActive(true) from creatures in Wintergrasp. As for gameobjects they are set to active upon being damaged/destroyed and removed from active on rebuild (reset)
* Removed comments related to VISIBILITY_COMPENSATION
* Fix log
* Deleted unused files + corrected a check
* Added missing header
* Removed unused parameter
* Removed another unsued parameter
* Changed vector to set for i_visibleNow
- Changed vector to set for i_visibleNow in VisibleNotifer
- Adjusted HaveAtClient to accept Object*
- Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
2023-10-23 05:37:11 -03:00
Yunfan Li
57e0c7a09f
Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk into Playerbot
2023-10-22 19:52:23 +08:00
AG
2779833768
feat(Core/Grids): Implement visibility notifier ( #15919 )
...
* Cherry-picked from TrinityCore (unable to find author)
2023-09-28 22:28:28 +02:00
Yunfan Li
e7ac00b586
Merge branch 'master' into Playerbot
2023-09-05 19:24:48 +08:00
Anton Popovichenko
52d07bbfae
fix(Core/InstanceMap): Stop using deleted player in RemovePlayerFromMap ( #17069 )
2023-09-05 06:36:34 -03:00
Yunfan Li
c6bcda8b9d
Merge branch 'master' into Playerbot
2023-08-29 20:50:49 +08:00
Francesco Borzì
5d01b700fd
refactor(Core): remove unused imports ( #17094 )
2023-08-28 13:39:43 +02:00
ZhengPeiRu21
d6a099e98c
Merge branch 'azerothcore:master' into Playerbot
2023-04-24 09:38:43 -06:00
天鹿
df77b5f4f7
chore(core): cleanup code p3 ( #16073 )
...
* Update MMapMgr.cpp
* Update UpdateFetcher.cpp
* Update AuctionHouseMgr.cpp
* Update AuctionHouseMgr.h
* Update BattlegroundAV.cpp
* Update ChannelMgr.cpp
* Update ThreatMgr.h
* Update Player.h
* Update PlayerSettings.cpp
* Update ObjectMgr.cpp
* Update Guild.cpp
* Update Guild.h
* Update Map.cpp
* Update World.cpp
* Update boss_nefarian.cpp
* Update boss_prince_malchezaar.cpp
* Update boss_venoxis.cpp
* Update zone_elwynn_forest.cpp
* Update zulfarrak.cpp
* Update boss_novos.cpp
2023-04-24 08:13:07 -03:00
郑佩茹
1b3fd82f5c
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/Guilds/Guild.cpp
2023-04-03 07:52:56 -06:00
Kitzunu
a0c51a45fb
fix(Core/Player): Send player's own auras before all visible objects ( #15445 )
...
* fix(Core/Player): Send player's own auras before all visible objects
* cherry-pick commit (c6cd272505 )
Co-Authored-By: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com >
* Update Map.cpp
* Update src/server/game/Entities/Player/Player.cpp
* Update src/server/game/Entities/Player/Player.cpp
* Update src/server/game/Maps/Map.cpp
---------
Co-authored-by: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com >
2023-04-02 15:30:26 -03:00
郑佩茹
4bc9901f16
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/Entities/GameObject/GameObject.h
2023-02-13 13:07:03 -07:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
郑佩茹
03b3f9d051
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/World/World.h
2023-02-09 12:40:25 -07:00
UltraNix
131e69d691
fix(Core/Maps): Increased visibility distance inside Ahn'Qiraj Temple… ( #14271 )
2023-01-28 11:01:30 +01:00
55Honey
e9b040e3d2
feat: getter for the used instance IDs ( #14677 )
...
* feat: getter for the used instance IDs
* doxygen
2023-01-15 15:47:49 +01:00
UltraNix
14f3b444ae
fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SU… ( #14054 )
...
* fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SUMMONER` summon flag.
Fixes #6674
* Update.
2023-01-06 00:52:05 +01:00
郑佩茹
cab0d6f027
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/Guilds/Guild.cpp
2022-11-18 10:21:36 -07:00
M'Dic
8f19bcddf4
Add (core\logging): Log sync db queries in mapupdater ( #13638 )
...
This will Log sync db queries in World::Update() loop for the mapupdater when building in debug.
Originally part of TC Commit https://github.com/TrinityCore/TrinityCore/pull/25174
Apparently azerothcore never cherrypicked it entirely for whatever reason and is needed when running a debugger in debug build for me to find and address some recent crash issues that been posted on the issues to fully verify the issue.
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
2022-11-01 19:00:42 -04:00
M'Dic
2e6f6e26da
Add (core\db): Support for Homebind Orientation ( #13389 )
...
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04: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
ZhengPeiRu21
aa1705d6c5
Merge branch 'azerothcore:master' into Playerbot
2022-09-07 09:35:58 -06:00
UltraNix
caf310f4ab
fix(Core/Maps): Fixed getting liquid data near depths. ( #12814 )
2022-09-06 15:22:58 -03:00
郑佩茹
0752208c43
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/Entities/Player/Player.cpp
2022-08-25 10:07:17 -06:00
Skjalf
ca9c19ffd4
feat(Core/GameObject): Add an overload to SummonGameObject() to accep… ( #12821 )
...
feat(Core/GameObject): Add an overload to SummonGameObject() to accept positions
2022-08-21 19:48:34 -03:00