sogladev
17ecef7a07
fix(Core/Movement): followers match their target's motion speed ( #25085 )
...
Co-authored-by: killerwife <killerwife@gmail.com>
2026-03-16 13:11:24 +01:00
Francesco Borzì
b1d159c225
fix(Core/Misc): prevent crash and undefined behavior in Warden destructor and Object visibility ( #24900 )
2026-03-05 08:41:08 -03:00
blinkysc
ce74c0b19c
feat(Core/Scripts): Add gameobject_summon_groups with quaternion rotation support ( #24708 )
...
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-15 15:05:00 -06:00
blinkysc
9b63cde7cb
fix(DB/Gameobject): Recalculate quaternion rotation values from orientation ( #24617 )
2026-02-06 21:41:08 +01:00
Tereneckla
2f7f9bd72f
fix(Core/Spells): Implement TrinityCore spell_group and spell_group_stack_rules ( #23346 )
...
Co-authored-by: treeston <treeston.mmoc@gmail.com>
Co-authored-by: Trisjdc <trisjdc@gmail.com>
Co-authored-by: QAston <none@none>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-11-28 16:01:25 -03:00
Francesco Borzì
50b36e842a
fix(docs/license): use GPLv2 as MaNGOS-based project ( #23655 )
2025-11-14 08:44:25 -03:00
Tereneckla
675135e19b
fix(Core/Spells): only include the targets size for some GroundEffects ( #23478 )
2025-10-31 11:09:38 -03:00
天鹭
a1c8e0f221
refactor(Core): SendDirectMessage ( #23230 )
2025-10-30 14:21:26 -03:00
Takenbacon
f661f57f67
fix(Core/Visibility): Fix sentry totem visibility not toggling ( #23228 )
2025-10-22 16:56:54 +02:00
Takenbacon
5aa3161885
fix(Core/Object): Improve safety of visibility override containers ( #23219 )
2025-10-13 12:36:42 -03:00
Takenbacon
4d333518bb
fix(Core/Visibility): Visibility should be using 2d distance checks ( #22839 )
2025-09-08 06:52:14 -03:00
Takenbacon
a28824df85
feat(Core/Visibility): Far visibility worldobjects ( #22828 )
2025-09-07 08:02:03 -03:00
Takenbacon
e3505df99f
fix(Core/Visibility): Fix visibility crash ( #22704 )
2025-08-19 06:14:08 +02:00
Takenbacon
73317b2706
feat(Core/Grids): Remove WorldObject separation in grid containers ( #22595 )
2025-08-09 06:36:24 +02:00
Takenbacon
c97cee1e4f
feat(Core/Maps): Remove active objects nearby cell marking handling ( #22585 )
2025-08-08 16:07:56 -03:00
Takenbacon
1499aa51de
feat(Core/Visibility): Visibility improvements part 1 ( #22624 )
2025-08-07 16:17:45 +02:00
Takenbacon
a77bd19104
feat(Core/Maps): Remove worldobject container switch functionality ( #22586 )
2025-07-29 09:18:07 -03:00
Takenbacon
f31643c72c
feat(Core/Unit): Optimize AuraEffectList container ( #22584 )
2025-07-29 09:10:13 -03:00
Jelle Meeus
8e083fbde3
feat(Core/WorldState): init Scourge Invasion pre-wrath event ( #22286 )
...
Co-authored-by: Orozxy <crusadermeile@gmail.com>
Co-authored-by: Killerwife <killerwife@gmail.com>
Co-authored-by: Ryan Turner <AugustoMendes4426@gmail.com>
2025-07-12 20:54:18 +02:00
Takenbacon
1c3cbd3d9e
feat(Core/Maps): Improve map object updater ( #22392 )
2025-07-11 16:00:16 +02:00
Jelle Meeus
756c6c9001
fix(Scripts/BlackTemple): Shahraz Fatal Attraction Teleport ( #21858 )
2025-04-09 11:34:53 +02:00
Takenbacon
ee69a569c4
fix(Core/Grids): Grid improvements ( #20955 )
2025-02-14 22:11:27 +01:00
EricksOliveira
2110f7cc84
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon ( #20999 )
2024-12-22 09:03:28 +01:00
Grimdhex
a4e2b1d743
feat(Core/WorldObjects): implement Heartbeat timers ( #20872 )
2024-12-13 08:50:45 +01:00
Kitzunu
ed008a8780
refactor(Core/Spells): Add helpers for HasAuraType ( #20802 )
2024-12-01 08:50:59 -03:00
Grimdhex
8bf3595cef
fix(Script/BlackTemple): teleport position with fatal attraction ( #19971 )
...
* fix(Script/BlackTemple): teleport position with fatal attraction
* fix codestyle
* try a new way by keeping a random teleport
* remove the old fixed position
* improve the dest selection
* raycast around the new position for check a valid dest
* fix codestyle
* revert the old changes
* refactor to remove the while loop
* few refactor
* Revert "few refactor"
This reverts commit fb7613d5cc5a19df01bbcf41ef5c982119ee9685.
* .
* add a los check
* new improvement with stairs cases & console errors
* fix disableWarning option
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
2024-09-28 10:27:32 +02:00
Jelle Meeus
b364e00238
fix(Core/Object): do not add Object to Transport when summoned by a Vehicle ( #19920 )
2024-09-21 21:57:26 +02: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
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -03:00
Kitzunu
3c50b1a135
fix(Core/Player): Vertical Message distance ( #19302 )
...
* cherry-pick commit (297541e9c9 )
* Get rid of unused param
* Merge SendMessageToSetInRange_OwnTeam into SendMessageToSetInRange
Co-authored-by: Badgersson <83663557+dekz120@users.noreply.github.com>
2024-07-06 10:05:34 -03:00
Anton Popovichenko
1f640c9872
feat(Core/Optimization): Optimize build of units update object by leveraging cache ( #18637 )
...
* feat(Core/Optimization): Optimize build of units update object by leveraging cache.
* Remove whitespaces.
* Add alternative hooks to handle transmog and other similar things.
* Fix build on some compilers.
* Fix codestyle
* Fix build again.
* Take into account updateType.
2024-04-05 08:03:11 +02: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
avarishd
06525cdc1e
feat(Core/Object): Play radius sound/music. ( #18011 )
2023-12-13 16:24:52 -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
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
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
Skjalf
f5d0246292
feat(Core/Object): Add helper to allow removing allowed looters ( #16709 )
2023-07-08 21:45:06 -03:00
Skjalf
1a562948a6
fix(Core/Object): Permanently invisible creatures should be able to e… ( #15498 )
2023-03-20 13:16:58 -03:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03: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
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() ( #14122 )
...
* refactor(Core/Object): getLevel() -> GetLevel()
* fix build and sneak some doxygen in
* codeSTLE
* codestyle
2022-12-31 17:39:23 +01:00
UltraNix
003bd93666
fix(DB/Conditions): Pint-Sized Pink Pachyderm and Wolpertinger should… ( #13946 )
...
fix(DB/Conditions): Pint-Sized Pink Pachyderm and Wolpertinger should be visible only to party members or drunk players.
Fixes #13900
2022-12-06 12:47:43 -03:00
UltraNix
3603f44dad
fix(Core/Spells): FIxed calculating LoS for dynamic objects. ( #13795 )
...
Fixes #13777
2022-11-16 01:19:29 -03:00
UltraNix
ab9c648504
fix(Core/Movement): Removed some leftover after c8f43d8584. ( #13524 )
...
Closes #2623
2022-10-29 07:11:36 -03: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
Maelthyr
d0d1671745
feat(Core/Debug): GetDebugInfo implementation ( #12705 )
...
Cherry-pick: 9a924fb9d5
Co-authored-by: jackpoz <giacomopoz@gmail.com>
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2022-08-15 09:43:41 -03:00
UltraNix
12a07ff91f
fix(Core/Spells): Fixed LoS problems with hunter traps. ( #12348 )
...
* fix(Core/Spells): Fixed LoS problems with hunter traps.
Fixes #12332
* missing
2022-07-10 14:18:36 -04:00
UltraNix
a2bc0ae028
fix(Core/Objects): Include combat reach instead of object size in LoS… ( #12013 )
...
... calculations.
Fixed LoS calculations for dynamic objects.
Modified combat reach of Deep Pool Threshfin.
Fixes #11886
2022-06-13 01:03:06 -03:00
UltraNix
99f1cd84e2
fix(Core/Spells): Improvements to Far Sight spell: ( #11683 )
...
* fix(Core/Spells): Improvements to Far Sight spell:
Far Sight should not interrupt while casting another spell.
Corrected setting Far Sight object as an active object.
Fixed grid activation range for active dynamic objects.
When Far Sight is over, the camera be reset to player.
Enable swapping camera between Far Sight and Sentry Totem.
Fixes #6368
* Update.
* Update.
2022-05-23 04:26:51 -03:00