Server would crash while player ship was joining when lookup_by_id returned -1 but
that was stored in a unsigned and the <0 check failed