-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to V10 #107
base: main
Are you sure you want to change the base?
Update to V10 #107
Conversation
This is an essential module, so I truly hope that these fixes work. I would try to integrate them into my build, but I can't really install it right now. Also, thanks for the work! |
I managed to install it and try it out in V10.286 and I get this error when it is the turn of a token: utils.js:32 Uncaught (in promise) TypeError: game.users.entities is not iterable |
Hmm. I'm not hitting that error. Also, this module seems to also do a good job of this, and is updated for V10, if you're looking for something to use in the meantime. |
@ChiefMilesEdgeworth Here's to hoping that @kckaiwei can merge your pull request and create a release for everybody! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems legit.
Fixes the warnings about the data structure, and the mentions to missing files. Works OK.
This looks really nice :) ... only that it supports dnd5e only. Users of other systems will have to stick to Turn Marker and hope for it to get fixed ;-) |
Yeah, I've since switched to that module as well. |
Same here, I love this module and miss it a lot since upgrading to v10. Also, we don't play DnD. Thanks for all the efforts! |
@joaobarcia, @coffiarts and others ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed all the changes.
things look reasonable, and consistent with fvtt v10 changes. nothing untoward added, and a tad bit of code re-architecting.
For any late v10 upgraders who come across this issue, here are two alternative modules that provide similar functionality: |
There's a lot of changes in this, so I'll try and break it down as best I can remember.
data
no longer do, as this is not required (and throws a warning).{start/stop/stopAll}animationGM()
functions. Now the regular functions just check if the user is the first GM.canvas.app.ticker
, instead it usessetInterval()
. This is because rotating a tile is no longer synchronous, so using the ticker produced strange behaviormodName
.Overall the transition was fairly easy, though it took some work to coax the animation into working properly.
I bumped the version to
2.10
, but I don't know how to make a release so that'll probably need done with this assuming it gets merged. If there's updates that need to be made to the manifest as well, I'm happy to make those. This is my first time contributing to a foundry module.Please let me know if there's anything else I can do to help this through, I really love the simplicity of this module and seeing it didn't work on V10 almost kept me from upgrading.
Closes #104
Closes #105
(hopefully)