doodlezucc / dungeonclub

A cool little website for playing Dungeons & Dragons together!
https://dungeonclub.net
MIT License
66 stars 11 forks source link

Issue with player tokens #13

Closed Megablokbuster closed 11 months ago

Megablokbuster commented 1 year ago

An issue that I have been having with player tokens is if two players click on the same token then move it in different spots, its offset from the rest of the board. The way ive been able to fix this is for someone to refresh the page

(PS: Love the website, very easy to use with alot of good features)

doodlezucc commented 11 months ago

Hi there, sorry for the late response. I remember noticing this issue when playing sessions myself. It can probably be fixed by sending the token's absolute position to other players instead of sending only the movement offset. Absolute values make synchronization much more straightforward and more stable, naturally. Consider this issue tackled. Also, thanks for visiting the Discord :)

Cheers!

doodlezucc commented 11 months ago

This has been (presumably) fixed in the latest https://github.com/doodlezucc/dungeonclub/commit/ab8c3db8f86ea2bed826a774d7711643a490edff commit and will be shipped in the next release update.