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
hondacrx
cec7c9b453
Core/AreaTriggers: Implement visibility of serverside areatriggers with .debug areatrigger command
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1b55f85fad95a717be912166a06cec118352fd56 )
2023-06-13 09:16:14 -04:00
hondacrx
a2e5acbaa5
Scripts/Spells Update Divine Star
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0eada1d7086985b759e10684966e3aefdd7eefe7 )
2023-05-02 16:59:25 -04:00
hondacrx
bc453f7198
Core/Spells: Allow implicit targeting of serverside WorldObjects
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d5ca30b232586ad378671bf0ac8407495dea188 )
2023-03-14 04:23:38 -04:00
hondacrx
f73e64396f
Update license headers for all files.
2023-01-18 17:25:32 -05:00
hondacrx
38197f7996
Core/AreaTriggers: Implemented new areatrigger type: bounded plane
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6856b248836205f3567d27848541859b93d93469 )
2022-12-17 17:16:08 -05:00
hondacrx
8cd4dda8e3
Scripts/Spells: Divine Star (Priest) fixed
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b944b9e56969fb465449ecda7c8561696c06833 )
2022-08-04 23:01:43 -04:00
hondacrx
bbe99e3be8
Core/Transports: Path generation rewrite v2 (needs testing)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2c1b699e6e4d30c752b65241bc23191920a86fd )
2022-06-14 00:40:57 -04:00
hondacrx
40444525b2
Core/GameObjects: Transport (type 11) improvements
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431 )
2022-06-03 16:20:41 -04:00
hondacrx
4fe0663b1d
Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fddd6cdf3fb342b98d4878d23874f60498d7545a )
2022-05-31 16:03:14 -04:00
hondacrx
867f528ac0
Core/Objects: Added helper structures to allow using customized updatefield sending packet functions with Trinity::MessageDistDeliverer
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee835671b4f572f92f79c9b302764ee591c6de11 )
2022-05-10 14:35:41 -04:00
hondacrx
0bbabbd667
Core/PacketIO: Updated packet structures to 9.2.0
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f30afe3528441571f89cb2e1775c756774fa0cd )
2022-05-09 23:14:38 -04:00
hondacrx
e65a1e95cf
Core/Objects: Properly choose between "Destroyed" or "OutOfRange" during visibility update
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a82a0381d704e4b4b9976daf04d541d1130e541 )
2022-03-09 12:33:25 -05:00
hondacrx
042bfc12e5
Convert alot of methods to use TimeSpan.
2022-03-01 23:47:53 -05:00
hondacrx
c14f1eb3dc
Remove custom OptionalType and use the default c# nullable type.
2022-03-01 17:27:56 -05:00