p4535992 / conditional-visibility

a FoundryVTT module to hide tokens from some players, but not from others
MIT License
5 stars 8 forks source link

[BUG] Tokens can be seen in exploration area despite having no vision #15

Closed Zolmy closed 2 years ago

Zolmy commented 2 years ago

Module Version: v0.4.28

Describe the bug Actors can be tracked in areas with no vision when fog exploration is on.

To Reproduce Steps to reproduce the behavior:

  1. Move actor to reveal area of the map
  2. Move actor back to lose vision of the area leaving exploration vision
  3. Move different actor through the revealed area but outside of vision

Expected behavior Actors not in vision cannot be seen / tracked

Screenshots Screenshot 2022-03-16 203323 Screenshot 2022-03-16 203327

Browser:

Foundry Version: 9.255

Game System: DnD5e 1.5.7

Additional context Not sure if this is actually intended functionality or I'm doing something wrong. No other modules aside from conditional visibility and its dependencies are active. In the screenshots above, the bottom green line is the vision range of the player character while the top green line is the edge of the exploration done by moving the character up and then down. The other token in blue can be seen as it moves in the area between the lines.

p4535992 commented 2 years ago

So no active effect are present on source and target ? Is the module settings "Auto check with passive perception" been checked ?

Zolmy commented 2 years ago

I tested it with brand new actors with no active effects on them. Also tried with the passive perception setting both on and off and received the same result. Interestingly enough, the problem only happens from a player perspective.

GM View: gm

Player View: player

GhostofXavier commented 2 years ago

I can confirm this as well, except there's no difference between player and GM view for me. Also, I have a boatload of modules installed, so feel free to disregard this data point. GM view player view

GhostofXavier commented 2 years ago

Additional problem found: the players can see GM hidden tokens (Toggle Visibility State) regardless of blocking walls.

I'll fire up an un-modded world and see if it still happens there as well.

*Edit: new world with only Conditional Visibility (current v4.32) and DFred's Convenient Effects (plus their associated dependencies) has this issue.

Players can see every token on the entire map regardless of walls/vision and if its GM hidden.

Player view 2 .

p4535992 commented 2 years ago

Should be solved with 0.5.34