Yunfan Li
c167fef89c
Merge branch 'master' into Playerbot
2025-07-15 20:34:44 +08:00
Takenbacon
1c3cbd3d9e
feat(Core/Maps): Improve map object updater ( #22392 )
2025-07-11 16:00:16 +02:00
Yunfan Li
58fd50651d
Merge branch 'master' into Playerbot
2025-05-09 22:07:43 +08:00
Benjamin Jackson
52799d76f6
refactor(Core): Add definition file for area table entries. ( #22054 )
2025-05-09 15:48:02 +02:00
Yunfan Li
34811a047a
Merge branch 'master' into Playerbot
2025-03-04 21:57:19 +08:00
天鹿
a2a0bc51ab
fix(Core/Bones): Unable to create bones ( #21635 )
2025-03-03 22:11:56 +01:00
SaW
9f99e89bc3
fix(Core/Threading): Refactored Map class - some code optimization ( #21288 )
2025-02-24 15:49:54 -03:00
Yunfan Li
bd0302605a
Merge branch 'master' into Playerbot_20250219
2025-02-22 10:36:10 +08:00
Takenbacon
d145b866a5
fix(Core/Maps): Fix instance factions ( #21577 )
2025-02-21 16:49:39 -03:00
Yunfan Li
7d431dc796
Merge branch 'master' into Playerbot
2025-02-19 22:29:36 +08:00
Takenbacon
ee69a569c4
fix(Core/Grids): Grid improvements ( #20955 )
2025-02-14 22:11:27 +01:00
Andrew
062f9c4341
fix(Core/Map): Dynamic respawns: preserve original respawn timer and skip rares ( #21440 )
2025-02-14 11:30:59 +01:00
Andrew
16fa25b7a9
feat(Core/Maps): Implement dynamic respawn rates ( #21417 )
...
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com >
Co-authored-by: Jelle Meeus <sogladev@gmail.com >
Co-authored-by Treeston
This is a partial cherry-pick of: 59db2eeea0
2025-02-12 15:06:42 -03:00
Yunfan Li
41415bb3c3
Merge branch 'master' into Playerbot
2025-02-11 22:35:57 +08:00
Andrew
7e29e023e8
fix(Core/Creature): Allow temp summons to respawn when despawning on … ( #21363 )
2025-02-10 08:46:31 +01:00
Andrew
79cbb00075
feat(Core/Creature): Implement HasFlagsExtra() helper to creature ( #21362 )
2025-02-08 14:07:04 -03:00
Yunfan Li
de3c2b553e
Merge branch 'master' into Playerbot
2025-02-04 23:40:06 +08:00
Kitzunu
47c5ff904f
refactor(Core/Disables): Convert from Namespace to Class Structure ( #21109 )
2025-02-01 22:48:52 +01:00
Yunfan Li
cf035b5e5e
Merge branch 'master' into Playerbot
2025-01-23 23:23:53 +08:00
Andrew
d851f97f40
fix(Core/Instances): Ensure team is acquired before spawning creatures ( #21221 )
2025-01-21 20:13:22 -03:00
Kitzunu
12aa9dc12c
fix(Core/Misc): Resolve output formatting issues with fmt library ( #21191 )
2025-01-17 10:27:46 +01:00
Yunfan Li
91edb92f7a
Merge branch 'master' into Playerbot
2025-01-15 20:49:11 +08:00
Andrew
241d05f569
fix(Core/Map): Fix crash OnPlayerLeave() ( #21155 )
2025-01-13 17:33:05 -03:00
manstfu
bf4118362a
fix(Core/Group): CF Faction Assign & Leader Instance Faction ( #21118 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2025-01-13 08:54:47 -03:00
Yunfan Li
36ac083814
Merge branch 'master' into Playerbot
2024-12-31 17:18:40 +08:00
EricksOliveira
2110f7cc84
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon ( #20999 )
2024-12-22 09:03:28 +01:00
Yunfan Li
fce06946e1
Merge branch 'master' into Playerbot
2024-11-16 13:15:00 +08:00
Francesco Borzì
a9f0f371e5
refactor(src/server/game): optimise imports ( #20541 )
2024-11-13 11:37:20 +01:00
Yunfan Li
abd9b4ebb8
Merge branch 'master' into Playerbot
2024-10-30 21:43:42 +08:00
Francesco Borzì
cb7e28df05
refactor(src/server/game/*): remove unused imports (big part 1) ( #20310 )
2024-10-27 10:25:40 +01:00
Yunfan Li
414805e692
Merge branch 'master' into Playerbot
2024-09-04 23:46:34 +08:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. ( #19835 )
...
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2024-09-03 14:41:31 -03:00
Yunfan Li
a642358a43
Merge branch 'master' into Playerbot
2024-08-26 22:29:54 +08:00
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -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
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
Yunfan Li
7915f79d04
Merge branch 'master' into Playerbot
2023-12-12 20:52:42 +08:00
Andrew
e3a7613f56
fix(Core/Creature): Move DespawnOnEvade() respawn handling to map level ( #17806 )
2023-11-20 12:18:48 -03: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