Skip to content

Fix CwC crash when using skills form items and multiple link groups#9682

Merged
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
Paliak:issue-9664
Apr 11, 2026
Merged

Fix CwC crash when using skills form items and multiple link groups#9682
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
Paliak:issue-9664

Conversation

@Paliak

@Paliak Paliak commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Closes #9664

Description of the problem being solved:

Due to the triggerTime being on the support part that supports the triggering channeled skill the CwC handler relies on the triggerTime property stored in the skillData table of the trigger source skill. This is problematic since the slotMatch logic for triggered skills coming from items checks all socket groups in a given item regardless of whether they are crosslinked with cast while channeling or not. This pr reworks the trigger source finding logic for cast while channeling to both speed it up and fix this issue.

Link to a build that showcases this PR:

eNq9XOtv2zgS_1z_FYKBBe6wVz_kR9Ig2YXzagIkjdd227tPC0Ya29xSoitRSb2L_d-PQ1KyFL9Ey9gu0FLyzG-GQ85wSA33_NcfAXNeIIopDy_q7Uar7kDocZ-Gs4v658nt-9P6r7_UzodEzJ-mlwll-MsvtXfnqu08k9Cn4qL-iYdQd14ovD5yHy7q94_Dp9Gk7nhzEhFPQPQAL8AGieD6dxElkj4gNBxz7xuIjxFPFlJ-3WFIqFoLEoo58PCRhjz6yP1UisdIHH8igYQZe1LtukNiD0L_avVeEwoSzUB8STvX-b2VAyV_5EFlj96dDxlZQjQWRDix_OuiPpCGITO4o0L2jbBEIncbnZOTXr25k-EyiWJxTQLZLMk4XgD4Ga3bOO2dtLuu_vvDNqarOQlDYBMawIRPIjqbQZRhtBqdrdKGEdxMp-AJ-gJXERUI5K1U7W8VaEn7mDBBF4zm1Go3tmp1twbebrW2EU-4IOx6OF7Ruo1eKzNaZzcfXw1oax9lXshW4quEMekYpWhHEEP0QoSclOWwefBMQ_AHLzPb3g4iIE9TPdYj4tMkfgQRQZwbjq0D-EhCcsXjlaXcnaRDiKQTigJHaw_DGDwu_TbPctJtuLnJX0LiZpytoh_oFMpTWvXKMNhq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Ykq14O2MXa6_Al7u0XYbH0x2V-yERETahM4iusJ7OSle8abBfz3YmNMguin-lGDbAH6udJQqWu-7pLpTTD_2ibLwYsF94t5VyLbJbOGlJ-E5DtdYGM599bulpCy9p5_kKKeMWpnXrKFe5I4zxVxm95Nof7NS1KDK7mDGEnXL77Q-nHwqcxc-TGyW11sdgv1k6a5Nmj2prEy3r0_4BP-0WObGwrbxyOM57lMs0k3HG-6YmcGwxk3J3eXYwnRSZzFUtGV5VbZjNEEXFY6i9Loq328o4yIZpW5yx2jIjCPgL-JdLGZqX5cyq6nOt7fr2ClMZUTGdUfY0VfmiFDiDePeYFCXmj8Ca2cKhFzL19EvtvPn2_6jyf1pfPyI=

Due to the triggerTime being on the support part that supports the
triggering channeled skill the CwC handler relies on the triggerTime
property stored in the skillData table of the trigger source skill. This
is problematic since the slotMatch logic for triggered skills coming
from items checks all socket groups in a given item regardless of
whether they are crosslinked with cast while channeling or not. This pr
reworks the trigger source finding logic for cast while channeling to
both speed it up and fix this issue.

Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
@Paliak Paliak added the crash Causes PoB to crash and is High Priority label Mar 20, 2026
Paliak added 2 commits March 22, 2026 11:34
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
@LocalIdentity LocalIdentity merged commit 9d99499 into PathOfBuildingCommunity:dev Apr 11, 2026
3 checks passed
mauriceco2424 added a commit to mauriceco2424/PathOfBuilding that referenced this pull request Jun 16, 2026
Key changes:
- Imbued Supports system (PathOfBuildingCommunity#9670) — replaces alternate quality code (PathOfBuildingCommunity#9758),
  with follow-up fixes for gem list visibility (PathOfBuildingCommunity#9782, PathOfBuildingCommunity#9796), trigger
  supports (PathOfBuildingCommunity#9793), and indexing bugs (PathOfBuildingCommunity#9763). This is the in-league
  replacement for Awakened gems and changes how transfigured supports
  scale.
- Calc fixes wave: skills that can repeat (PathOfBuildingCommunity#9723), Vaal Flameblast base
  AoE (PathOfBuildingCommunity#9704), Generals Cry clones restricted by attack time, Maven
  Memory Game damage (PathOfBuildingCommunity#9757), Hextoad breakdown (PathOfBuildingCommunity#9683), CwC crash with
  multiple link groups (PathOfBuildingCommunity#9682), Searing Bond of Detonation power charges
  (PathOfBuildingCommunity#9695), Tinctures applying without Mana (PathOfBuildingCommunity#9769), Ghost Reaver leech
  with Life Leech sources (PathOfBuildingCommunity#9774), Poisonous Concoction added damage
  from disabled life flasks (PathOfBuildingCommunity#9339), Blade Blast of Dagger Detonation
  Varunastra counting (PathOfBuildingCommunity#9733), converted damage with poison stacks
  (PathOfBuildingCommunity#8991), Chieftain resist nodes Foulborn Choir double-apply (PathOfBuildingCommunity#9643),
  Turbulent catalyst flat lightning scaling (PathOfBuildingCommunity#9775), some buffs applying
  to player and minions wrongly (PathOfBuildingCommunity#9789), negative eHP and NaN Max hit
  (PathOfBuildingCommunity#9772), Dual Wield mastery thrusting+non-thrusting (PathOfBuildingCommunity#9761).
- Ring slot 3 fixes (PathOfBuildingCommunity#9686, PathOfBuildingCommunity#9730) — mods applying when Unseen Hand
  isn't allocated.
- Build comparison tab (PathOfBuildingCommunity#9543) — pure UI, headless mode unaffected.
- New spectres: Conjuror of Rot (PathOfBuildingCommunity#9702), Unholy Aberration (PathOfBuildingCommunity#9731).
- Trader improvements (PathOfBuildingCommunity#9691), Watcher's eye trade search (PathOfBuildingCommunity#9649),
  duplicate-search fix (PathOfBuildingCommunity#9767), stale state guard (PathOfBuildingCommunity#9742).
- Lesson of Seasons spell barkskin mod (PathOfBuildingCommunity#9820).
- Lingering Blades extends to Animate Weapon of Ranged Arms.
- Runtime DLLs bumped to SimpleGraphic v2.5.3 (PathOfBuildingCommunity#9395) — affects desktop
  PoB UI only; headless API runtime is the bundled LuaJIT.
- Releases 2.64.0 and 2.65.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crash Causes PoB to crash and is High Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when I attempt to add a skill gem

2 participants