Space Warfare


Fight epic battles for control of the cosmos and disrupt your enemies' space logistics operations in this space platform-centric combat mod, Now with PVE!

Content
19 hours ago
2.1
125
Factorio: Space Age Icon Space Age Mod
Combat Enemies

g [FIXED][Conflict] With Blueprint Sandboxes

a day ago

Conflict with (https://mods.factorio.com/mod/blueprint-sandboxes), crashes game on activation of Blueprint Sandboxes due to an issue with switching surfaces.

a day ago

Could you give me some more detailed info on how to reproduce this? Are there any other mods that could be contributing to this bug? I am not able to get the game to crash with only these 2 mods enabled. Also, sharing the error message would help me out a lot. Thanks!

a day ago

All right I did some more testing and now its crashing on save load, its definitely a compatibility issues but might not necessarily be with blueprint sandboxes, could have been coincidental. As for the exact error it reads as follow. Also I have the PVE mode enabled, in case that matters.

The mod Space Warfare (0.5.9) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Space-Warfare::on_init()
Force already exists
stack traceback:
[C]: in function 'create_force'
Space-Warfare/control.lua:944: in function 'initialize_storage'
Space-Warfare/control.lua:970: in function <Space-Warfare/control.lua:969>

here is my mod list json, I will do a bisect when I have time but I have to do some stuff right now.

{
"mods":
[

{
  "name": "base",
  "enabled": true
},

{
  "name": "elevated-rails",
  "enabled": true
},

{
  "name": "quality",
  "enabled": true
},

{
  "name": "recycler",
  "enabled": true
},

{
  "name": "space-age",
  "enabled": true
},

{
  "name": "aai-containers",
  "enabled": true
},

{
  "name": "aai-signal-transmission",
  "enabled": true
},

{
  "name": "advanced_target_priorities",
  "enabled": true
},

{
  "name": "air-filtering",
  "enabled": true
},

{
  "name": "Aircraft-space-age",
  "enabled": true
},

{
  "name": "AircraftRealism",
  "enabled": true
},

{
  "name": "alien-biomes",
  "enabled": true
},

{
  "name": "alien-biomes-graphics",
  "enabled": true
},

{
  "name": "Arachnids_enemy",
  "enabled": true
},

{
  "name": "ArmouredBiters",
  "enabled": true
},

{
  "name": "AutoDeconstruct",
  "enabled": true
},

{
  "name": "behemoth-enemies",
  "enabled": true
},

{
  "name": "belt-visualizer",
  "enabled": true
},

{
  "name": "BeltRouter-lite",
  "enabled": true
},

{
  "name": "BeltThreadUpgrades",
  "enabled": true
},

{
  "name": "bigger-artillery",
  "enabled": true
},

{
  "name": "blueprint-sandboxes",
  "enabled": true
},

{
  "name": "bobinserters",
  "enabled": true
},

{
  "name": "BottleneckLite",
  "enabled": true
},

{
  "name": "bullet-trails",
  "enabled": true
},

{
  "name": "circuit_visualizer_fork",
  "enabled": true
},

{
  "name": "Cold_biters",
  "enabled": true
},

{
  "name": "colossal-enemies",
  "enabled": true
},

{
  "name": "combat-mechanics-overhaul",
  "enabled": true
},

{
  "name": "condensing-agricultural-tower",
  "enabled": true
},

{
  "name": "Constructron-Continued",
  "enabled": true
},

{
  "name": "dad-jokes",
  "enabled": true
},

{
  "name": "distant-misfires-2_1-fork",
  "enabled": true
},

{
  "name": "diurnal-dynamics-fork",
  "enabled": true
},

{
  "name": "Electric-Weapons",
  "enabled": true
},

{
  "name": "Electric_flying_enemies",
  "enabled": true
},

{
  "name": "equipment-gantry",
  "enabled": true
},

{
  "name": "Explosive_biters",
  "enabled": true
},

{
  "name": "Factorio-Tiberium",
  "enabled": true
},

{
  "name": "Fill4Me",
  "enabled": true
},

{
  "name": "fire-lights-fork",
  "enabled": true
},

{
  "name": "flib",
  "enabled": true
},

{
  "name": "Flow Control",
  "enabled": true
},

{
  "name": "HandyHandsRefactored",
  "enabled": true
},

{
  "name": "heavy_gun_turret",
  "enabled": true
},

{
  "name": "HelicopterRevival",
  "enabled": true
},

{
  "name": "Hovercrafts",
  "enabled": true
},

{
  "name": "informatron",
  "enabled": true
},

{
  "name": "integrated-orbital-strike-system",
  "enabled": true
},

{
  "name": "inventory-repair",
  "enabled": true
},

{
  "name": "Kux-CoreLib",
  "enabled": true
},

{
  "name": "Kux-GuiLib",
  "enabled": true
},

{
  "name": "Kux-OrbitalIonCannon",
  "enabled": true
},

{
  "name": "lamp-post",
  "enabled": true
},

{
  "name": "lex-aircraft",
  "enabled": true
},

{
  "name": "LogisticTrainNetwork",
  "enabled": true
},

{
  "name": "mferrari_graphics_pack_1",
  "enabled": true
},

{
  "name": "migratus-orchestrus",
  "enabled": true
},

{
  "name": "ModuleInserterSimplified",
  "enabled": true
},

{
  "name": "more-quality-scaling",
  "enabled": true
},

{
  "name": "planetaris-arig",
  "enabled": true
},

{
  "name": "planetaris-dyes",
  "enabled": true
},

{
  "name": "planetaris-hyarion",
  "enabled": true
},

{
  "name": "planetaris-tellus",
  "enabled": true
},

{
  "name": "planetaris-unbounded",
  "enabled": true
},

{
  "name": "PlanetsLib",
  "enabled": true
},

{
  "name": "PlutoniumEnergy",
  "enabled": true
},

{
  "name": "power-propagation",
  "enabled": true
},

{
  "name": "qol_research",
  "enabled": true
},

{
  "name": "range-tech",
  "enabled": true
},

{
  "name": "RateCalculator",
  "enabled": true
},

{
  "name": "RealisticDecorationCleanup",
  "enabled": true
},

{
  "name": "rec-blue-plus",
  "enabled": true
},

{
  "name": "Redrawn-Space-Connections",
  "enabled": true
},

{
  "name": "Repair_Turret_2",
  "enabled": true
},

{
  "name": "shield-generators",
  "enabled": true
},

{
  "name": "shield-projector",
  "enabled": true
},

{
  "name": "show-max-underground-distance",
  "enabled": true
},

{
  "name": "slp-dyson-sphere-reworked-fork",
  "enabled": true
},

{
  "name": "snouz_long_electric_gun_turret",
  "enabled": true
},

{
  "name": "some-autoresearch",
  "enabled": true
},

{
  "name": "Space-Warfare",
  "enabled": true
},

{
  "name": "SpidertronEnhancements",
  "enabled": true
},

{
  "name": "SpidertronPatrols",
  "enabled": true
},

{
  "name": "squeak-through-2",
  "enabled": true
},

{
  "name": "StableFoundations",
  "enabled": true
},

{
  "name": "Toxic_biters",
  "enabled": true
},

{
  "name": "UPSFriendlyNixieTubeDisplay",
  "enabled": true
},

{
  "name": "visible-planets",
  "enabled": true
},

{
  "name": "vtk-cannon-turret",
  "enabled": true
},

{
  "name": "Water-Friendly-Walls",
  "enabled": true
}

]
}

a day ago

It seems like this issue happens when another mod creates a force with the same name as the npc force in my mod. In the next update I will attempt to fix this issue.

a day ago

so after some preliminary testing the issue seems to be with my existing save; if I disable all mods but yours and its requirements I cant load the save, it just crashes with the error above, if I make a new game it starts fine. If I then go and enable my entire mod list make a new game it starts fine, so the issue is with my save.

I have uploaded the save in question to my google cloud so you can test it yourself, hope this helps. - Adam.

https://drive.google.com/file/d/17s5nOiQYZ6H0FasygH7nZsnmkzyvLant/view?usp=sharing

a day ago

Try your save with the 0.5.10 (latest) version of the mod. It should now correctly handle the possibility of a force named NPC already existing.

a day ago

well it took about 10 minutes but the save finally loaded, however I got the error I got before when I tried to use blueprint sandbox. It seems like its two separate errors, its strange that its my save that is the issue, as new games 'seem' fine.

Would a bisect help or is my save borked?

The mod Space Warfare (0.5.10) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Space-Warfare::on_player_changed_surface (ID 61)
Space-Warfare/control.lua:104: attempt to index field 'frame' (a nil value)
stack traceback:
Space-Warfare/control.lua:104: in function 'build_combat_buttons'
Space-Warfare/control.lua:996: in function <Space-Warfare/control.lua:993>

a day ago

Ok there is something you can try with this error. My mod has a custom command used for testing the combat interface. Open chat using the ~ button and type in "/build_combat_interface" not including the quotes. If there is a way to fix your problem then this is it.

a day ago

That seemed to have fixed it, thanks.

I don't know if its possible or what the command does exactly but if its not too expensive could you just make it run on save load and on new games, that way the bug never happens again to any one.

a day ago

I think I know what happened. Did you add Space Warfare to an existing save? The function triggered by this command is set up to run whenever a player is created, but if the world and all the characters already existed when the mod was loaded, that wouldn't have happened. I have implemented a fix that will be in the next update.

a day ago

yes I added it to an existing save, I didn't start the game with it.

22 hours ago

That makes sense. The update will be out by the end of the day. Thanks for the bug report!

New response