kandashi / Active-Auras

MIT License
28 stars 36 forks source link

Active Auras on Templates not activated on non-GM session #328

Open davidR1974 opened 2 weeks ago

davidR1974 commented 2 weeks ago

Describe the bug Active Auras applied on Templates are not activated if you are on a player (non-GM) session

To Reproduce Steps to reproduce the behavior:

  1. Cast a spell from Active Aura object compendium and place template (I used out of the box Darkness spell and modified the effect to put a simple effect : system.attributes.ac.bonus | ADD | +10)
  2. On GM Session Move token in and out of the template : effect is applied and removed correctly
  3. On player Session Move token in and out of the template : the effect is not applied nor removed
  4. On player Computer, switch to another window (Alt-Tab) or hover on Windows Sidebar : the effect is not applied nor removed

Expected behavior during 3. ==> On player Session, if token moves in and out of the template : the effect should be applied or removed

Environment:

Additional context it seems linked to a local refresh of the token. some effects seem to correctly update the token (like using a CE macro to apply/remove a status from DFreds Convenient Effect)

MrPrimate commented 2 weeks ago

As per the readme, https://github.com/kandashi/Active-Auras?tab=readme-ov-file#notes

I can't replicate this when running a dm and player session. (note in most browsers you will need to open a player session in incognito mode, or use a different browser as you can't connect to two sessions at once, and have sockets working.