Skip to content
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

Rewindable Server #246

Open
kazimuth opened this issue Sep 16, 2016 · 0 comments
Open

Rewindable Server #246

kazimuth opened this issue Sep 16, 2016 · 0 comments

Comments

@kazimuth
Copy link
Contributor

kazimuth commented Sep 16, 2016

Make it so that users can edit what happened earlier in running matches. Possibly in arbitrary matches, if they have the player source code.

One way to do this would be to snapshot the state of user code and the world map in general every set number of frames, and be able to return to snapshots and replay from them. This would depend on #242.

Alternatively, we could just replay the match to that point from the beginning and make the change. This would only be really feasible if the server is super fast, but would require less terrible bytecode changes.

We'd also need to put signals that can encode changes in the schema, and hook things up so the server can understand them, as well as possibly including some way of telling what 'timeline' a particular event from the server happened in, if that makes sense. Like, if you go back and move a unit, we need to resend everything after that.

cc @jbloxham

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant