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

Make simulation data persistent when bot restarts #4

Open
null-domain opened this issue Jul 18, 2018 · 3 comments
Open

Make simulation data persistent when bot restarts #4

null-domain opened this issue Jul 18, 2018 · 3 comments
Assignees

Comments

@null-domain
Copy link

I'm currently hosting an instance of this bot on a DigitalOcean droplet after moving it from a "less-than-stable" server, and while I like the bot, it lacks the ability to keep simulation/game data, which would be useful in the event of the server crashing/shutting down or losing connection, the bot being accidentally Ctrl+C'd, or Discord having a major outage.

@DiamondIceNS
Copy link
Owner

I can't promise I'll get this done immediately, since I'll probably have to completely rewrite the inner state to be happy with it. I'll see what I can do over the next couple days.

@DiamondIceNS DiamondIceNS self-assigned this Jul 18, 2018
@DiamondIceNS
Copy link
Owner

Just updating you on this, I haven't made too much headway on the change, but I'm rewriting the system to have a sqlite database store. If I manage to finish this, expect the bot to be able to restore all active simulations after a crash. Hopefully it will also pave the way to data-driven simulations that accept custom strings and to save/load simulations like the original website.

@null-domain
Copy link
Author

Awesome, great to hear! Looking forward to it.

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

No branches or pull requests

2 participants