Navigation

    Colyseus
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. saiph
    S

    saiph

    @saiph

    Chat Follow Unfollow
    0
    Reputation
    3
    Posts
    653
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Continue chat with saiph
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    saiph Follow

    Posts made by saiph

    RE: How best to implement an undo/rewind on the server?

    Thanks for the detailed answer you've given here, I hadn't though about using the server ticks to wind back the state. I had made a start by saving the JSONPatch on each state change from the current state to the previous state to a stack and then popping them to rewind the changes. My problem now is when i do an undo it triggers the broadcast patch and then I save a new undo action which would undo the undo i just performed! Struggling to find a way to not save the change made by the undo, but the ticks might help me here.
    Many thanks.

    posted in Questions & Help •
    How best to implement an undo/rewind on the server?

    Hi,
    I'm trying to work out the best way of implementing an undo or rewind function on the server. I realise the JSONPatch stuff gives a delta of what changed but not what it previously was.

    Is there a way to rewind the changes to the state or can anyone advise on the best way to implement one?

    Many thanks.

    posted in Questions & Help •
    Trouble connecting unity example to heroku hosted server

    Hi, I'm having trouble connecting my client to a server hosted on heroku.
    If i run it locally using 'heroku local web' it works fine. But when I host it on heroku it hangs when connecting and never comes back. If i tail the heroku logs i can see connections when I try to access it via a web page, but nothing when trying to connect via the unity code.

    posted in Questions & Help •