GithubHelp home page GithubHelp logo

Comments (5)

cort1237 avatar cort1237 commented on July 28, 2024 1

I understand that the light emulation is a bit buggy. When I was writing I basically have to reverse engineer the effects, and at the time I didn't have an actual toypad with me, which made it harder. I will add an option to disable the light effects soon until I can get around to improving them.

As for the character switching errors that is actually unrelated to the light effects. Basically what was happening is the webpage stores all the character locations locally and seperately from the actual toypad emulator. And what was happening is somehow the webpage and toypad would get desynced.

i.e. You moved a token to the top pad. Webpage knows this, but for whatever reason the toypad command didn't go through. So toypad still believes that token is in the old position. And now you have a desync.

But I have a better understanding of the library than I did when I wrote that code, and have implemented checks after certain actions that sync the webpage to exactly where the toypad thinks everyone is. And added a button to manually sync at the bottom of the page. So hopefully this should solve all those desync issues, cuz you weren't the only person experiencing them.

So follow the instructions in the readme to update and try it out.

from ld-toypad-emulator.

Luigimeansme avatar Luigimeansme commented on July 28, 2024 1

Ok great. I'm gonna close up this issue for now. I'll let you know when I make that light toggle.

I don't need the light toggle anymore, I thought it was directly tied to the issue since it always happened whenever the lights changed. Knowing it's not, I'll leave the lights on, they're awesome

from ld-toypad-emulator.

Luigimeansme avatar Luigimeansme commented on July 28, 2024

unknown
Example of what the powershell says whenever the bug activates

from ld-toypad-emulator.

Luigimeansme avatar Luigimeansme commented on July 28, 2024

Just played through the entirety of Riddle-Earth 100% with no desync issues, that seems to have fixed it! Thanks Cort!

from ld-toypad-emulator.

cort1237 avatar cort1237 commented on July 28, 2024

Ok great. I'm gonna close up this issue for now. I'll let you know when I make that light toggle.

from ld-toypad-emulator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.