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

'Reboot' Ship on Hard Crash - Null Pointer Exception #137

Open
hawkerm opened this issue Jun 4, 2016 · 0 comments
Open

'Reboot' Ship on Hard Crash - Null Pointer Exception #137

hawkerm opened this issue Jun 4, 2016 · 0 comments

Comments

@hawkerm
Copy link
Member

hawkerm commented Jun 4, 2016

Was thinking if we catch a Null Pointer Exception, we can still issue a dummy IdleCommand to the Server (for like 15 seconds as a penalty). And then just reinstate the ship class to reset it (and call/ignore the register ship method)...

This would allow in most cases ships to continue and not be wiped out, especially in tournaments. This would go well with #98 too and prevent us from having to rerun rounds again for ships which crash out. Second chance built-in.

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