Skip to content

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

@hawkerm

Description

@hawkerm

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions