Saibot393 / Rideable

A Foundry VTT module which allows Tokens to be ridden
MIT License
8 stars 3 forks source link

Buggy Keyboard Movement #87

Closed Dr-SaileZ closed 2 months ago

Dr-SaileZ commented 2 months ago

https://github.com/user-attachments/assets/04709f77-d4b9-4fb8-8d4a-b60cefa691e7

Im just pressing a direction on my keyboard to move the token, the only way to fix it is playing as the GM, Assistance GM has the same problem.

Dragging the Token Still Works normally.

Saibot393 commented 2 months ago

Could you send me a screenshot of the mounts rideable settings?

Dr-SaileZ commented 2 months ago

image Thanks for the quick response, Ive already tied changing basically everything here

Dr-SaileZ commented 2 months ago

Also for clarification, this isn't specific to this token, rather every token, even in a new world with just your module.

Saibot393 commented 2 months ago

I can currently not replicate the behaviour, a few questions:

Dr-SaileZ commented 2 months ago

Thanks for your hard work, but maybe its just a me problem. But Ive also reinstalled, foundry and the modules. So if you got any other Tips.

Saibot393 commented 2 months ago

Still no luck replicating the bug, few more things i can think of:

Dr-SaileZ commented 2 months ago

OK, What im about to tell you probably sounds crazy, but I found the problem or how to fix it (Kinda).

The issue only happens If I have the second foundry game open on the same monitor, it doesn't matter that one is minimized.

To see the console while testing I had to have both open, and since you cant put foundry on half a screen, I had to use a second monitor. And that fixed it. As soon as I drag it back onto main Main Monitor it breaks again, and if I drag the Programm onto the second it also stops.

Edit:

This is not true, it Happens when the foundry Programm in minimized or behind a second Programm.??

Saibot393 commented 2 months ago

I assume it is the GM instance that is behind the player instance? If so, are you using the Foundry server programm to log in as the GM or are you using another tab? Also, yes i can replicate the bug with that, i think it might be problem of the tab in the background being in something like a "sleep" mode which might prevent some data from being synchronized correctly. Since most movement updates from Rideable are performed via the GM, this causes the strange "half correct" updates, i.e. nat all the data reaches the GM/the GM can not apply all the requested updates in time. I think there is not much i can do to fix that though. Then again, it is probably something that won't really happen during normal play so it will probably not cause too many issues under normal conditions

Dr-SaileZ commented 2 months ago

Im hosting foundry from the Programm on my pc and Login into the test player on my browser.

And yeah, this will probably not occur too often in play. And now that I know of it ill keep it in mind.

Thanks For your Help and have a good Day.

Saibot393 commented 2 months ago

Good day to you too