Hondacrx
a478baf421
Core/AreaTrigger: Fix crashes happening if areatrigger is despawned in OnUnitEnter script
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9827685634c8487936b8e59cdece596c5abbb145 )
2025-12-08 14:54:52 -05:00
Hondacrx
08258f89c7
Scripts/AreaTrigger: Fixed possible crash when spell is null for areatriggers on creation
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a78828c70755db229d6f9c47ff3e2a5859090658 )
2025-12-08 14:51:27 -05:00
Hondacrx
8df85c90d7
Core/AreaTriggers: Implement AreaTriggerActionSetFlag::DontRunOnLeaveWhenExpiring
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1085b3f43321e58f151c1543a70b3558c26ed8e5 )
2025-12-08 10:14:29 -05:00
Hondacrx
3b21acac1a
Core/AreaTriggers: Use Optional<bool> for speedIsTime argument in movement functions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dcf9fc5ae5e5a1b64d84ca77b14ace54f4232c50 )
2025-12-08 09:15:28 -05:00
Hondacrx
16f79297c7
Core/AreaTriggers: Implemented SpeedIsTime parameter for areatrigger splines and orbit
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1b8daa6390cf00a07ef30e5de8061e158adb439 )
2025-12-07 23:46:36 -05:00
Hondacrx
7f2baab1da
Start using OneOf<>for unions/variant
2025-12-07 23:34:34 -05:00
Hondacrx
8cc270b895
Core/AreaTriggers: Refactor AreaTriggerShapeInfo to use std::variant instead of union
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dac548a305c1509240ff6a923ccce8359c98915a )
2025-12-07 23:07:54 -05:00
Hondacrx
b022cd1cc4
Core/AreaTriggers: Remove unused fields from AreaTriggerCreateProperties and merge movement data into a variant
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6acd368e0bca632d8742c9b5d0ef7f385cf1318 )
2025-12-07 18:14:44 -05:00
Hondacrx
3e028633ba
Updated all spell scripts
2025-10-13 13:23:31 -04:00
Hondacrx
dbf160fbdf
Core/AreaTriggers: Handle exit areatrigger on player map change
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/26fc14419142e3188370035ce4144cdb125bec05 )
2025-09-05 21:14:36 -04:00
Hondacrx
c5cccdec10
Core/Objects: Unify Searcher classes into one common implementation
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/261eb201bf107cef441d9b075e8f23bf0edfbaf0 )
Port From (https://github.com/TrinityCore/TrinityCore/commit/526b16fea41fb69a302fdebe8a727e175949f04b )
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7dce6521323e788ebf28297ec941a6f9bf876f )
Port From (https://github.com/TrinityCore/TrinityCore/commit/5334467f493eb16141f4ad0bce956bc3e19244a0 )
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e7725c15b149baaf96731231239769e482ec2ed )
Port From (https://github.com/TrinityCore/TrinityCore/commit/21712f475383f6f3fae107706f5de5195f75b760 )
2025-08-31 13:23:49 -04:00
Hondacrx
869af17b23
Fixes crash with AreaTriggers
2025-08-27 22:06:57 -04:00
Hondacrx
2852828008
Core/Players: Reenable transmog
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d27d0e0e3c004e7562c63b9527035095efd30974 )
2025-08-25 21:00:34 -04:00
Hondacrx
aaa669210a
Core: Updated to 11.2.0
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5cf0c6c8bb2c4e58a2d66ba5f304af34d18a4782 )
2025-08-25 20:48:29 -04:00
Hondacrx
c0ffaa659b
Core/Objects: Replace separate x,y,z,o getters for stationary position with single Position
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/de740f0e76f6ebd02fcdb93a7a86260fe595d10c )
2025-08-18 10:48:44 -04:00
Hondacrx
8d0b667dd4
Core/AreaTriggers: Add AREATRIGGER_ACTION_TAVERN
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e6c7bdc5d9805fdd33bec35cfe2f7b154b4ed58 )
2025-08-18 10:43:18 -04:00
Hondacrx
ddfc5c7484
Core/PacketIO: Implemented CMSG_UPDATE_AREA_TRIGGER_VISUAL
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b88f4b7f4f8744b7cd455c07d3b94a704c373dfe )
2025-08-18 09:46:54 -04:00
Hondacrx
9fad3e7752
Core/PacketIO: Remove duplicated areatrigger spline packet writer
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc10ac722f5e059852785372f9ff91e205d730ce )
2025-08-18 09:37:00 -04:00
Hondacrx
e8a430a178
Core/AreaTriggers: Fixed areatrigger spline duration calculation
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e8adaabcc1bef7563036d3765a0c13894e860f7 )
2025-08-17 23:08:18 -04:00
Hondacrx
c2877fe813
Core/AreaTriggers: Corrected initial "fake" spline point for areatrigger movement
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/24af663443be84ae2394c27287304ce794024058 )
2025-06-08 18:25:24 -04:00
Hondacrx
433d1212df
Core/AreaTriggers: Replace fixed movement times in database for areatriggers with speed
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/069771e22ef29e47298c62e6cb9d7dce72375348 )
2025-06-04 09:04:50 -04:00
Hondacrx
7d4c54730c
Core/AreaTriggers: Don't suppress TimeToTarget changes in values update on movement start
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/debbed0159fec031b4596295448e43d0fe071a01 )
2025-06-02 15:53:12 -04:00
Hondacrx
447c222665
Core/PacketIO: Named a bunch of unknown/unused fields
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/806611075659ddde60f3003763e442a46d70f993 )
2024-11-17 13:07:52 -05:00
Hondacrx
7d351406f5
Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/68db469ee1f992bcdc81de64d6af1007d303be05 )
2024-11-11 21:11:21 -05:00
Hondacrx
6fcce1a6e4
Core/Objects: More minor refactors for SMSG_UPDATE_OBJECT building - move getting and writing field flags to shared function
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee54ade3975748bf373162b2397328852dec6701 )
2024-11-11 12:32:44 -05:00
Hondacrx
a3edaf4df6
Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/067fa31d152ecb10e5bea0419f84f7b79b96abf5 )
2024-11-11 12:24:22 -05:00
Hondacrx
382b983820
Core/AreaTriggers: Added ActionSet flags for serverside areatriggers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1426f58ff007eac2d9719b41f9189d82b733789e )
2024-09-01 17:25:52 -04:00
Hondacrx
c2409af60b
Core/AreaTriggers: Fix triggering of client areatriggers for some shapes
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b070e63fa867f7f25e73e9ef3aafbe18902a50e9 )
2024-08-25 19:11:12 -04:00
Hondacrx
a4baf73814
Core/AreaTriggers: Move SpellForVisuals override from AT spawn to properties
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ad7c7829b17bb9e6e951632e8e0e68f68b9aa44 )
2024-08-25 00:09:30 -04:00
Hondacrx
6f1b69adbd
Core/AreaTriggers: Add PlaySpellVisual
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6affa412b18b17623a828332823d0af55d664192 )
2024-08-24 23:59:19 -04:00
Hondacrx
5a9714a375
Core/SAI: Added support for StringIds to creature and gameobject targets
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ce40684595a0e49a7b2355012c2806952698ce4 )
2024-08-05 17:23:37 -04:00
Hondacrx
e9b21a91be
Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8 )
2024-08-04 15:18:22 -04:00
hondacrx
f6b1c24297
Fixes crashes when character dies, and when teleporting.
2024-02-22 16:17:27 -05:00
hondacrx
6abce678ca
Misc fixes
2024-02-06 22:12:17 -05:00
hondacrx
c3ae550302
Core/AreaTrigger: Fix areatrigger debug output not printing spawnid properly
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/711e8a527c0ab589a37aad1468162bb783e29437 )
2024-02-05 17:24:15 -05:00
hondacrx
ea2004af89
Core/AreaTrigger: Fallback to CreateProperties script, if ScriptName of static areatrigger is not provided
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7e061adffa20323a26c0a489ba70dd098689f6d7 )
2024-02-05 13:09:02 -05:00
hondacrx
34253877b0
Core/AreaTriggers: Refactor
...
* 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/37eb2e64a6ad075e9866af6feb72bb4fbccb2adc )
2024-02-05 11:48:37 -05:00
hondacrx
ad4aa7df0c
Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/930a08fe03a033a6bb30fb8c94a8490c4b77fe91 )
2024-02-01 21:10:24 -05:00
hondacrx
7545d9395d
Core/AreaTriggers: Add missing null checks for serverside areatriggers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c0bfc7c8c8af8d13378231b4b45c97f91c64a37 )
2024-01-31 12:58:44 -05:00
hondacrx
5e46dd951b
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
Port From (https://github.com/TrinityCore/TrinityCore/commit/c676d1477239aec4d0b235a410e5627a7070a86e )
2024-01-30 21:14:55 -05:00
hondacrx
cda53c8e7f
Some cleanups. (might break build for scripts as they are a WIP)
2023-10-08 10:35:31 -04:00
hondacrx
f636ea225f
Messed up the commit history, so here is all the files rip, Credit to TrinityCore
2023-09-16 08:42:35 -04:00
hondacrx
ac8086eda2
Core/AreaTrigger: Handle unit exit after OnRemove hook has been called
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b10b97b35bed07742b3989fa99fe932d77bd7fd2 )
2023-09-14 04:37:12 -04:00
hondacrx
c8c75431bf
Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ab7050cb72544faa6a7fa17a0bf644e22538ff3 )
2023-09-14 03:29:15 -04:00
hondacrx
3461b6fcaa
Core/AreaTriggers: Teleport to current instance entrance when entering instances via areatrigger entity
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e7508db7b70b2b79ee1fc77a1899d08173ffc62 )
2023-09-04 11:40:06 -04:00
hondacrx
91f750e562
Core/AreaTriggers: Handle AREATRIGGER_FLAG_HAS_DYNAMIC_SHAPE for disks
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5be076b2400364c5fc2b293032ad92f1d955ec1f )
2023-09-02 15:11:38 -04:00
hondacrx
9ecb3449d5
Core/AreaTriggers: Update areatrigger scalecurve handling with latest research
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/361fe56bc87456b63e685a53ffc63ca1694d336a )
2023-08-28 12:55:52 -04:00
hondacrx
f6807e152c
Core: Update to 10.1.5
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4 )
2023-08-21 07:22:33 -04:00
hondacrx
0a997ceb69
Core/AreaTriggers: Fixed selection range of units for box shape
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/39c137d7c0ac1b86a3a4647113e8e3a29a32b089 )
2023-07-01 09:28:29 -04:00
hondacrx
0b1d41cc7b
Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a03455acbbbb6b070c9592a9c5c24c8f109dccc8 )
2023-06-30 08:36:13 -04:00