aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Grids/Notifiers
AgeCommit message (Collapse)Author
2025-07-04Core/Objects: Add missing grid workersShauren
2025-06-29Core/Objects: Added grid searchers for SceneObject and ConversationShauren
2025-06-29Core/Objects: Unify Visit for all object searchers and add PhaseShift ↵Shauren
constructor overloads to object searchers
2025-06-10Core/Misc: Kill copy/move constructors for singleton classesShauren
2025-06-08Core/Misc: Kill AnyPlayerInObjectRangeCheck (duplicate of ↵Shauren
AnyUnitInObjectRangeCheck)
2025-05-11Core/Misc: Added new CanSeeOrDetectExtraArgs to CanSeeOrDetect (#30882)Meji
2025-02-06Core/GridNotifiers: Added areatrigger searchers and ↵ModoX
NearestAreaTriggerEntryInObjectRangeCheck
2024-12-29Core/Creature: Implement aggro grace period (#30362)ModoX
Ref: #26528 #30273 #23258
2024-12-22Core/Objects: Allow more specific checks to include or exclude feign death ↵ModoX
units in CreatureWithOptionsInObjectRangeCheck::IsAlive check (#30361) * this also extends SMART_TARGET_CLOSEST_CREATURE dead param
2024-07-19Core/AreaTriggers: Added ActionSet flags for serverside areatriggers (#30072)Meji
2024-05-27Core/AreaTriggers: Fix triggering of client areatriggers for some shapesMeji
2024-03-08Core/Players: Extend Player::SendInitialVisiblePackets to work with all ↵Shauren
WorldObject types
2023-10-08Core/Objects: Added GameObject type parameter to FindGameObjectOptions (#29356)Jeremy
2023-07-30Core/GameObjects: Added stringid to gameobjectsShauren
2023-05-28Core/Objects: Unify GameObjectSearcher, UnitSearcher, CreatureSearcher and ↵Shauren
PlayerSearcher classes into one common implementation
2023-05-28Core/Objects: Unify WorldObjectSearcher classes into one common implementationShauren
2023-01-12Core/Player: Vertical "Say" distance (#28544)Badgersson
* Core/Player: chat messages use 3d distance Fix #26593 * Core/Player: chat messages use 3d distance new arg in SendMessageToSetInRange Fix #26593 (cherry picked from commit 297541e9c9bf90d410922db397d2f94dff9592cc)
2023-01-09Core/Creatures: Fix logic when searching for nearby creatures by StringId ↵Odyssey
(#28669)
2022-12-30Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers ↵Shauren
to avoid duplicate phase check (its also checked in Searcher classes)
2022-12-27Core/Creatures: Implement StringId for Creatures, a custom identifier to ↵Seyden
make finding specific creatures in script easier (#28500) Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-26Core/Objects: Implement FindNearestCreatureWithOptions helper function (#28488)Seyden
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-25Core/Phasing: Reduce differences between branches in GridNotifiersShauren
2022-10-30Core/Object: Implement FindNearestCreatureWithAura (#28410)Teleqraph
* Game/Object: Implement NearestCreatureEntryWithLiveStateAndAuraInObjectRangeCheck class and FindNearestCreatureWithAura method * moved arguments
2022-05-25Core/GameObjects: Transport (type 11) improvementsShauren
* Fully synchronize serverside animation progress with client * Implemented updating passenger positions on elevators * Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-05-02Core/Spells: Implemented SPELL_ATTR5_NOT_ON_PLAYER and ↵Shauren
SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC
2022-04-30Core/Spells: Rename SpellAttr3 to use official attribute namesShauren
* Implemented SPELL_ATTR3_NO_AVOIDANCE * Implemented SPELL_ATTR3_ONLY_PROC_OUTDOORS * Implemented SPELL_ATTR3_ONLY_PROC_ON_CASTER * Implemented SPELL_ATTR3_PVP_ENABLING * Implemented SPELL_ATTR3_SUPPRESS_CASTER_PROCS * Implemented SPELL_ATTR3_SUPPRESS_TARGET_PROCS
2022-04-16Core/Battlegrounds: Replaced overriding m_team with more fine grained approachShauren
2022-03-15Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)offl
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-02-27Core/Creature: Ignore combat reach when looking for assisting creaturesjackpoz
Fixes #25487 (cherry picked from commit 24018b7a74ec8e68e43895e0e57f6397f59ea890)
2022-02-13Core/Misc: Minor game include cleanupShauren
2022-02-05Scripts/Obsidian Sanctum: Fix portals not being visiblejackpoz
Change NearestGameObjectEntryInObjectRangeCheck to allow returning GameObject not spawned. Fixes other occurrences where a similar issue exists. (cherry picked from commit ca2159bf405fb96a8eba9f1e58bda7ee6c7eb247)
2022-02-05Core/Misc: Allow all kinds of non-map containers in grid searchersShauren
(cherry picked from commit a02d36f18c5846fc4306cb602851744cb352fc57)
2022-02-04Core/SAI: Implement SMART_TARGET_ACTION_INVOKER in ↵Giacomo Pozzoni
SMART_EVENT_FRIENDLY_HEALTH_PCT (#25318) * Core/SAI: Implement SMART_TARGET_ACTION_INVOKER in SMART_EVENT_FRIENDLY_HEALTH_PCT * Require radius (5th parameter) to be set (cherry picked from commit cbed1039c47f0e3487cea555bb8552a4e6445f5a)
2022-01-29Core/Objects: Cleanup SmoothPhasing code - move to separate files and better ↵Shauren
integrate it with visibility system
2022-01-01Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT ↵Rushor
(#24494) * Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT which allows to search for closest unspawned gameobjects * updates: https://github.com/TrinityCore/TrinityCore/issues/24067 * Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT which allows to search for closest unspawned gameobjects (cherry picked from commit 2d948d33666fbd6f82145c4629483753b7780bb5)
2022-01-01Core/Gameobjects: Improve stealth detection (#24417)Gildor
* Core/Gameobjects: Improve stealth detection * fix warning: private field 'i_funit' is not used * Code cleanup * add comment Co-authored-by: jackpoz <giacomopoz@gmail.com> (cherry picked from commit 862097a63351e957fd4aa6cb82fe7d9edf4d3926)
2021-12-21Core/GameObject: Fix wrong calculation of the spellfous distanceKillyana
Closes #24177 (cherry picked from commit 828987a46a55ddae59f61dc336d243cd1934a4fe)
2021-12-21[WIP] Core/AI: Pets musn't attack civilian NPC in aggressive mode (#24121)Sorikoff
* Core/AI: Pets musn't attack civilian NPC in aggressive mode * Move decision to ignore civilians to PetAI, keeping the check in GridNotifiers Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 5f20715e2f38a6eb721f443df9e13c84ecb11fbb)
2021-12-15Entities/GO: FindNearestGameObject no longer incorrectly returns despawned ↵Treeston
gameobjects. Closes #23262. (cherry picked from commit 4423ca99e7f8c38ff83196134038a7790313ed7a)
2021-12-15Scripts/Outland: Rewrite the Watch Commander Leonus event so it no longer ↵Treeston
starts exponentially more often if the grid remains loaded for over an hour. Closes #23348. (cherry picked from commit a3c35262692e2f059785c22f92fce39ffe4dc6ac)
2021-12-14Core/Misc: More coding standards (#23519)Aokromes
* Core/Misc: More coding standards * revert part * "void " or more to "void " * fix? reject * remove more double whitespaces * remove more double whitespaces * more standards * more coding standards * More standards * more coding * more coding standards * more coding standards * And more standards (cherry picked from commit 574a7c8d3d5f5a5660295deb70e905cf4dd756c4)
2021-12-11Core/Misc: don't allow FindNearestCreature() and FindNearestGameObject() ↵Wyrserth
searches to return the entity that called them. (#23437) Closes #23334. (cherry picked from commit 015870bfe1d3ec57c4505072f087b88fe63662b5)
2021-10-23Core/Unit: Random code style/naming adjustmentsTreeston
(cherry picked from commit 710488ea2063d384d3b57aeca1eeccec103b9a38)
2021-10-22Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a ↵Treeston
crapton of booleans (cherry picked from commit 042f5515e4f3e52b0d2e23d9b9e147041849ce12)
2021-10-11Core/Spells: Implemented SPELL_EFFECT_CANCEL_CONVERSATION (#27037)ModoX
2021-10-11Core/Scenes: Implemented spell created SceneObjectsShauren
2021-08-28Core/Spells: rework part 5: GameObject castingariel-
Closes #21330 Closes #18885 Ref #18752 (cherry picked from commit 45c5e1b9d63796d168339a44f63418f220cf2403)
2021-08-28Core/Spells: rework part 2: Split up target selection logicariel-
Target check only determines what kind of entities we can target, spell positivity determines if that entity is valid for attack/assist Closes #8844 (cherry picked from commit 9b38a6352c0fe2499de54fd769aa1c721a410bda)
2021-06-21Core/Auras: make area and dynauras condition compliant by using the ↵ariel-
spellarea searcher instead of script searchers Closes #17317 (cherry picked from commit f1f6976f91952806f8b2bcc23fbbef5a8075fe73)
2021-05-03Core/Chat: Chat translation improvementsShauren
* Remove hyperlinks from translated chat messages * Implement case preservation rules depending on receiver client locale