PurpleKingdomGames / virtual-gloomhaven-board

Interactive game board for Gloomhaven
https://vgb.purplekingdomgames.com/
Creative Commons Attribution 4.0 International
19 stars 5 forks source link

After actions like open the door, remove guard the map stops saving data #101

Open kbubnovich opened 1 year ago

kbubnovich commented 1 year ago

Affected Scenario(s): [e.g. testet with 1,2]

Describe the bug

After actions (which required additional menu selection) like opening the door, remove guard the map stops saving data. It means that if I refresh the board all changes move to the position before making this menu action.

Same with people observing it in a pro version from another device. (before buying pro was the same problem)

but in Android this totally blocks us from moving but may be the same root cause

Tested on Mac/Win/Android

Browsers: Chrome, Safari

To Reproduce Steps to reproduce the behavior:

  1. Open 1 scenario, for example: https://vgb.purplekingdomgames.com/?lockRoomCode=1&lockScenario=1&scenario=1&seed=76531240 2.1 if you move character and refresh the browser all data is saved correctly 2.2. BUT if you click on door and select Open (or click on guard and select Remove)
  2. After refresh it is not saved
hobnob commented 1 year ago

Hmmmm... this seems to be exclusively a Chrome bug 🙁 We're actually in the middle of a complete upgrade to the VGB so I'm fairly certain this will go away when that's released. I'll keep this issue open, but will reference it in #99 so that we remember to check it before that goes live.

Worth mentioning I think (as this leads to some confusion) that we are completely separate to the Gloomhaven Storyboard App and only really provide integration to it, so your tier of plan there won't affect any of the features of the VGB (which is free)

hobnob commented 1 year ago

Hi @kbubnovich , I've just had a thought actually... do you have any characters selected at all (menu, then 'Change Players)?

I've been playing around with this and I can replicate it in Firefox and Chrome if I have no players selected at all, but I can't replicate it in other circumstances. Let me know, and hopefully it'll be an easy fix 🤞

kbubnovich commented 1 year ago

Hi, thanks for the quick reply, just checked in Firefox and it is not reproduceble there so finally we will be able to play :) so with this workaround i'm already happy)

and yes 2 players selected and in chrome on android/mac/windows there are still problems.