kyranf / robotarmyfactorio

A mod to add robot troop units and perhaps associated support buildings and items to produce and control them.
MIT License
35 stars 11 forks source link

Fatal Error with Space Exploration #164

Open Detoxicity opened 5 years ago

Detoxicity commented 5 years ago

Issue: Fatal error and crash to main menu.

Factorio: 0.17.50 Version: Robot Army 0.4.3

Description: Spawning Terminator droids on asteroid belts, or on new planets from space exploration causes this error to occur after an indeterminate amount of time.

ModError

kyranf commented 5 years ago

Thank you for the good quality bug report!

When you say "indeterminate" amount of time, it's not instant or within 5 seconds of spawning the terminator?

I will fix this for the next release, for the function which failed but it could be pointing to some other issue (like droids existing across multiple surfaces/worlds, and the force/surface references failing because of that)

Detoxicity commented 5 years ago

It is not instant.

  1. I had terminators deployed on my home planet with no known issue. If it's the new terminators or a conflict with the old ones I don't know.

  2. I played for hours in space with only terminators on the home planet.

  3. On the asteroid belt after deploying my first terminators in space I experienced the error in about 20-30 seconds.

  4. Upon reload (no asteroid terminators) I played for another hour or so before landing on a new planet. On the planet I deployed hundreds of terminators with no issue for approximately 5-15 minutes. At that point I experienced the error which is posted in the thread.

kyranf commented 5 years ago

Okay, very interesting. Can you comment on how you deployed the terminators? By hand or by droid assemblers?

It's probably just a corner case on the squad becoming invalid/dead and then trying to check for hunting, so it's not as bad as I might have thought (like not properly handling other surfaces)

Detoxicity commented 5 years ago

On the home world I deployed using assemblers.

On the asteroid belt I deployed by hand.

On the planet I deployed a few by hand (50-100) and then used 6-8 assemblers to continue production. I believe I was upwards of squad 90.

kyranf commented 5 years ago

Okay, thank you again. I will ensure that bug is fixed on the next release. I am working on v0.5.0 which has new buildings/art, and the functionality of the assembler and guard station is different, control of the units is different (better) without a lot of bloat with the 'unitgroup' crap in the factorio mod API..

next release also has ground-based construction/engineer droids which take from a global storage and deploy buildings to fill ghosts. These might be useful for you to boostrap bases on new worlds in addition to personal robotports.

I don't have a solid idea on release date, probably a week or two AT LEAST away from release.

will you be able to hold on until then??

kyranf commented 5 years ago

also have you got any other comments/feedback about the mod?

Detoxicity commented 5 years ago

I'll be fine to wait.

In terms of feedback it seems robots are much more ups efficient than AAI vehicle pathfinding. So good job.