Tereneckla
675135e19b
fix(Core/Spells): only include the targets size for some GroundEffects ( #23478 )
2025-10-31 11:09:38 -03:00
Foe
bb2f2daacb
chore(Core/modules): necessary core changes for mod-eluna rename ( #22962 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2025-10-23 12:52:13 +02:00
Takenbacon
5aa3161885
fix(Core/Object): Improve safety of visibility override containers ( #23219 )
2025-10-13 12:36:42 -03:00
Takenbacon
a28824df85
feat(Core/Visibility): Far visibility worldobjects ( #22828 )
2025-09-07 08:02:03 -03:00
Takenbacon
73317b2706
feat(Core/Grids): Remove WorldObject separation in grid containers ( #22595 )
2025-08-09 06:36:24 +02: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
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
Andrew
781059efeb
fix(Scripts/ScarletEnclave): Refactor 'How to Win Friends' quest scri… ( #22432 )
...
Co-authored-by: Rocco Silipo <108557877+Rorschach91@users.noreply.github.com >
2025-07-08 11:57:46 -03:00
Benjamin Jackson
52799d76f6
refactor(Core): Add definition file for area table entries. ( #22054 )
2025-05-09 15:48:02 +02:00
Jelle Meeus
756c6c9001
fix(Scripts/BlackTemple): Shahraz Fatal Attraction Teleport ( #21858 )
2025-04-09 11:34:53 +02:00
Andrew
51f0495621
fix(Scripts/SunwellPlateau): Fix Darkness spawning midair ( #21851 )
2025-04-04 16:17:31 +02:00
EricksOliveira
2110f7cc84
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon ( #20999 )
2024-12-22 09:03:28 +01:00
Takenbacon
e9c86737fb
refactor(Core/Random): Remove unused map based RNG ( #20939 )
...
Remove unused map based RNG
2024-12-18 13:48:06 +01:00
Grimdhex
a4e2b1d743
feat(Core/WorldObjects): implement Heartbeat timers ( #20872 )
2024-12-13 08:50:45 +01: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
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
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
Francesco Borzì
54fadbda67
refactor(src/server/game/Entities): remove unused imports ( #19507 )
2024-07-28 16:39:39 -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
avarishd
06525cdc1e
feat(Core/Object): Play radius sound/music. ( #18011 )
2023-12-13 16:24:52 -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
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
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
UltraNix
3603f44dad
fix(Core/Spells): FIxed calculating LoS for dynamic objects. ( #13795 )
...
Fixes #13777
2022-11-16 01:19:29 -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
Maelthyr
2c7b274bc5
refactor(Core): Improve struct alignment and codestyle ( #12335 )
...
refactor(Core): improve struct alignment and codestyle
2022-07-10 14:19:11 -04: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
Kitzunu
969cb68c35
fix(Core/Auras): INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE… ( #11588 )
...
* ore/Auras: INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW
* cherry-pick commit (230f40f359 )
Co-Authored-By: Meji <2695278+meji46@users.noreply.github.com >
* Update Object.h
* Update Object.h
Co-authored-by: Meji <2695278+meji46@users.noreply.github.com >
2022-05-08 23:10:10 +02:00
IntelligentQuantum
659775548f
feat(Core/SmartScripts): Add an action_param3 to "summon gob" to control when the object will despawn ( #10254 )
...
* cherry-pick commit (TrinityCore/TrinityCore@ca4f1e3 )
2022-04-17 03:48:22 +02: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
Kitzunu
535c7451a2
feat(Core/Unit): New helpers for DynamicFlags ( #11230 )
...
* feat(Core/Unit): New helpers for DynamicFlags
* cherry-pick commit (d611925dc7 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* oopsie
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-04-01 07:14:29 -03:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
IntelligentQuantum
93520f6466
feat(Core/Position): own file ( #10505 )
2022-02-08 05:12:42 -03:00
Kitzunu
f4c6a4ce27
fix(Core/Misc): Remove c++ check for c++11 ( #10439 )
2022-02-04 19:00:33 +01:00
Kargatum
6d7f58e6ed
feat(Core/Common): delete old Tokenizer ( #10121 )
2022-01-21 14:59:05 +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
IntelligentQuantum
725b1266b4
refactor(Core/Packet): Chat ( #9509 )
...
* Chat
* .
* Update GameObject.cpp
* Update Object.cpp
* Update Player.cpp
2022-01-08 07:11:06 -03:00
Noxies
bbf08c1aaa
fix(Core/TemporarySummon): Implement TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE ( #9915 )
2021-12-30 08:05:46 -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
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
acidmanifesto
de6af87bd3
fix(Core/Objects): increase sight range of objects & correct general defau… ( #9180 )
2021-11-17 16:00:01 -03:00
UltraNix
7201d8840f
fix(Scripts/BlackrockSpire): Urok Doomhowl - improvements: ( #9067 )
...
The mobs should attack the pike if there is no players around
The boss should not despawning after summon
Urok's Tribute Pile with Pike and Head should disapear after Urok appear
Fixes #9023
2021-11-12 09:46:07 -03:00
sschepens
b7f8083915
feat(Core/Misc): change how Position struct is retrieved ( #9017 )
...
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.
Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00