-
Notifications
You must be signed in to change notification settings - Fork 9
Compatibility with 3dCanvas #133
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
Comments
I will look into it, might take a bit though, i am not that familiar with 3d Canvas |
These are tile properties related to a tile's door state in 3d Canvas. await doorTile.update({ 0 = closed |
Thank you, i will try to add it in the next update |
I looked into this for a couple hours yesterday. I didn't make as much progress as I'd hoped, but after reading through the code base, it looks like you handle compatibility with other modules through LnKCompatibility.js and LnKCompUtils.js. I made updates to those files to align with the current code structure. But I'm still not getting any code execution as I don't believe that toggleLock() is getting called. Any help appreciated. |
I am so sorry, i completely forgot about this. I will start looking for an implementation immediatly |
As a quick update, i am almost done, there is just one small bug that i have yet to solve and a few test that i want to run. |
Thanks so much for looking into this! |
With v4.1.0 Lock & Key should now be compatible with 3D Canvas |
I did some testing on 4.1.0 and identified an issue. |
Sorry for that, should now be fixed with v4.1.1 |
Looks like we fixed that issue but re-opened the initial issue. |
Regarding the Keys, everything seems to work as expected for me, a few questions:
|
I will do a few more tests. It worked with v4.1.0, right? |
Yeah, 4.1.0 had doors opening. |
There is only one reason for this behaviour, as far as i could find, though i am not sure how this would have changed for a specific door between v4.1.0 and v4.1.1. I have implemented a fix with v4.1.2 in case it truly is the reason. Should that not fix it, could you select the door-tile in question, put this into the console and sent me the out? |
Here's the door tile.flags.LocknKey: Here's item.flags.LocknKey: { |
Could you try downgrading to v4.1.0 and see if that causes the door to work? If not, could you try to create a new door? Also, could you send me a screenshot of how the attempt looks for the player? |
Also, which control sceme are you using on the player account? |
I've done some more testing and I'm seeing:
Note: |
I might have found the problem, i have released a fix with v4.1.5 (hopefully) |
When using 3dCanvas (TheRipper93), the module does not function as expected. A lock created with a given ID does not open when a player with a matching key ID interacts with the door. The tile is configured as a door and initially in the locked state.
The text was updated successfully, but these errors were encountered: