Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. saiph
  3. Posts
  • Profile
  • More
    • Continue chat with saiph
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

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 • 7 Nov 2019, 15:45
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 • 6 Nov 2019, 12:23
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 • 30 Jul 2018, 13:06

© 2023 Endel Dreyer