Shauren
dc10ac722f
Core/PacketIO: Remove duplicated areatrigger spline packet writer
2025-06-04 20:59:46 +02:00
Shauren
5e8adaabcc
Core/AreaTriggers: Fixed areatrigger spline duration calculation
2025-05-29 12:53:58 +02:00
Shauren
24af663443
Core/AreaTriggers: Corrected initial "fake" spline point for areatrigger movement
2025-02-04 22:44:59 +01:00
Shauren
069771e22e
Core/AreaTriggers: Replace fixed movement times in database for areatriggers with speed
2025-01-10 21:22:28 +01:00
Shauren
debbed0159
Core/AreaTriggers: Don't suppress TimeToTarget changes in values update on movement start
2025-01-08 00:26:08 +01:00
Shauren
401502ea3c
Core/Grids: Modernize TypeContainer with variadic template
2025-01-05 20:22:34 +01:00
Shauren
d778d5ec7c
Core/Misc: Include cleanup - remove MapUtils.h from Containers.h
2024-12-31 18:12:36 +01:00
Shauren
8066110756
Core/PacketIO: Named a bunch of unknown/unused fields
2024-11-06 12:17:49 +01:00
Shauren
68db469ee1
Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5
2024-10-30 14:41:27 +01:00
Shauren
ee54ade397
Core/Objects: More minor refactors for SMSG_UPDATE_OBJECT building - move getting and writing field flags to shared function
2024-10-27 19:05:35 +01:00
Shauren
067fa31d15
Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides
2024-10-25 15:36:11 +02:00
Meji
1426f58ff0
Core/AreaTriggers: Added ActionSet flags for serverside areatriggers ( #30072 )
2024-07-19 14:44:26 +02:00
Meji
b070e63fa8
Core/AreaTriggers: Fix triggering of client areatriggers for some shapes
2024-05-27 18:53:47 +02:00
Meji
2ad7c7829b
Core/AreaTriggers: Move SpellForVisuals override from AT spawn to properties ( #29982 )
2024-05-18 08:56:26 +02:00
Jeremy
6affa412b1
Core/AreaTriggers: Add PlaySpellVisual ( #29985 )
2024-05-15 02:46:16 +02:00
ModoX
711e8a527c
Core/AreaTrigger: Fix areatrigger debug output not printing spawnid properly
2024-01-05 21:11:02 +01:00
ModoX
7e061adffa
Core/AreaTrigger: Fallback to CreateProperties script, if ScriptName of static areatrigger is not provided
2023-12-30 23:18:00 +01:00
Meji
37eb2e64a6
Core/AreaTriggers: Refactor ( #29500 )
...
* Moved IsServerside to custom flags
* Flags moved from areatrigger_template to areatrigger_create_properties
* New field to create custom CreateProperties (IsCustom)
* New field to reference custom areatriggers (IsAreatriggerCustom)
* Moved fields for shape data to areatrigger_create_properties
2023-12-30 17:14:09 +01:00
Shauren
9c0bfc7c8c
Core/AreaTriggers: Add missing null checks for serverside areatriggers
...
Closes #29346
2023-10-02 00:48:09 +02:00
Shauren
c676d14772
Core/AreaTriggers: Implement missing functionality
...
* Scale curves are now taken into account when searching for units inside
* Implemented SpellModOp::Radius for areatrigger radius
* Implemented OverrideMoveCurve updatefields - overrides areatrigger position
* Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION
* Implemented ***Target fields for all shape types
* Fixed facing calculation for areatriggers with spline movement
2023-10-01 18:56:35 +02:00
Traesh
0bf5cf33c7
Core/AreaTriggers: Added SpawnDifficulties for spawned areatriggers ( #29284 )
2023-09-07 00:13:47 +02:00
ModoX
0e818e23e7
Core/AreaTriggers: Added SpellForVisual for db spawned areatriggers ( #29277 )
2023-08-31 20:58:58 +02:00
ModoX
b10b97b35b
Core/AreaTrigger: Handle unit exit after OnRemove hook has been called
2023-08-24 09:09:45 +02:00
Jeremy
1ab7050cb7
Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion ( #29236 )
2023-08-15 21:33:59 +02:00
ModoX
4e7508db7b
Core/AreaTriggers: Teleport to current instance entrance when entering instances via areatrigger entity ( #29115 )
2023-07-21 18:55:20 +02:00
Traesh
5be076b240
Core/AreaTriggers: Handle AREATRIGGER_FLAG_HAS_DYNAMIC_SHAPE for disks ( #29156 )
2023-07-18 18:42:57 +02:00
Shauren
dfbf09f4b9
GCC build fix
2023-07-17 20:32:07 +02:00
Shauren
361fe56bc8
Core/AreaTriggers: Update areatrigger scalecurve handling with latest research
2023-07-17 19:52:25 +02:00
Shauren
0cea730fa2
Core: Update to 10.1.5
2023-07-12 16:29:00 +02:00
ModoX and Meji
39c137d7c0
Core/AreaTriggers: Fixed selection range of units for box shape
...
Co-authored-by: Meji <[email protected] >
2023-06-30 06:41:33 +02:00
Shauren
a03455acbb
Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
2023-06-24 20:10:14 +02:00
Shauren
84973fa4f3
GCC build fix
2023-06-12 23:59:11 +02:00
Shauren
1b55f85fad
Core/AreaTriggers: Implement visibility of serverside areatriggers with .debug areatrigger command
2023-06-12 12:46:56 +02:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
d8a4668c77
Core/Misc: Add missing Containers.h include where neccessary
2023-01-06 16:44:11 +01:00
Shauren
6856b24883
Core/AreaTriggers: Implemented new areatrigger type: bounded plane
2022-11-05 01:06:10 +01:00
Gosha
c1a9d7a3bc
Core/PacketIO: Use ByteBuffer from UpdateData instead of copying to it after ( #28347 )
...
(cherry picked from commit 81bf8de9895e050d5800a8a37316c0e6874b5e40)
2022-10-13 12:37:18 +02:00
Shauren
630b60eb0d
Core/GameObjects: Transport (type 11) improvements
...
* 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-25 22:14:32 +02:00
Shauren
fddd6cdf3f
Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)
2022-04-23 23:03:22 +02:00
Kargatum
373ed8f46b
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
Shauren
ee835671b4
Core/Objects: Added helper structures to allow using customized updatefield sending packet functions with Trinity::MessageDistDeliverer
2022-02-26 15:58:23 +01:00
Shauren
9f30afe352
Core/PacketIO: Updated packet structures to 9.2.0
2022-02-24 23:16:55 +01:00
Carbenium
3bba8d50b1
Core/WorldObject: Remove non-std::chrono SummonCreature overload
...
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
(cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24 12:39:59 +01:00
Shauren
596bf2b772
Core/Misc: Replace boost::optional with std::optional part 2
2022-01-23 20:31:52 +01:00
Treeston
94a79bac7a
Core/Misc: Some refactoring, #23603 prep: ( #23676 )
...
- Split SpawnMetadata off from SpawnData
- No longer allocate Creature/Gameobject objects in ObjectGridLoader just to check their typeid and delete them afterwards
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 9304e496cbf6ab6c028671fb8526c732ae5d799f)
2021-12-21 15:16:26 +01:00
Shauren
df2d0f3670
Core/AreaTriggers: Added helper static function AreaTrigger::CreateNewMovementForceId for use in scripts with movement forces
2021-12-08 19:02:33 +01:00
Shauren
3a5f87ccb8
Core/AreaTriggers: Initialize _spawnId in constructor
2021-12-05 11:17:54 +01:00
Shauren
77ddb4da81
Core/AreaTriggers: Move ScriptName from areatrigger_template to areatrigger_create_properties and areatrigger tables
2021-12-04 23:47:40 +01:00
Shauren
5c8a058120
Core/PacketIO: 9.1.5 updatefields and SMSG_UPDATE_OBJECT structure
2021-11-04 21:47:03 +01:00
Seyden
8f097e4425
Core/Scripts: Implement script name reloading
...
* Authored by Seyden
* Co-authored by Naios
* We thank Shauren for your helpful feedback
2021-10-22 12:52:37 +02:00