Rampant Arsenal (Fork)


Fork of abandoned mod Rampant Arsenal. Ported to Factorio 2.0 Adds a variety of weapons to wage war. Adds Additional Turrets, Ammo Types, Landmines, Equipment, Capsules, Walls, Vehicles. Origninal mod is Rampant Arsenal https://mods.factorio.com/mod/RampantArsenal?from=search

Content
8 months ago
2.0
22.3K
Combat

g Crash on startup

10 months ago

I'm getting a crash on startup, here's the stacktrace:

stack traceback:
RampantArsenalFork/data-final-fixes.lua:59: in function 'setResistancePercent'
RampantArsenalFork/data-final-fixes.lua:82: in main chunk
46.670 Loading mod core 0.0.0 (data.lua)
46.862 Checksum for core: 2220362065
46.888 Error ModManager.cpp:1758: Error in assignID: recipe-category with name 'recycling' does not exist.

Probably some other mod, but I cant find anything in the logs. Here's the full log https://pastebin.com/bhdBsgit

This is also happening on the other fork.

10 months ago

It looks like the error is not in this place at all. Try disabling Rampant Arsenal. Most likely, the error will appear in another mod.

10 months ago

Dammit, yeah it does work without rampant arsenal, but the game is way harder cause biters outrange the vanilla turrets.

10 months ago

I'll need your save or mod list to reproduce the error.

10 months ago

The pastebin link I posted has a full mod list. It crashes on startup so I'm not sure if a save would be helpful

10 months ago

I definitely don't want to download so many mods manually. In addition, there may be settings that differ from the default ones..
You can make a save with Rampant Arsenal disabled. I'll add it myself

10 months ago
(updated 10 months ago)

I think I found the cause. Can you mark https://mods.factorio.com/mod/quality-asteroids as incompatible with Rampant Arsenal? Thanks.

Edit: https://mods.factorio.com/mod/space-debris also appears to cause the same crash. I wonder what about asteroid mods is conflicting.

9 months ago
(updated 9 months ago)

In the case of "Quality Asteroids", it creates dummy asteroids in the process of upgrading asteroid quality, and doesn't initialize the resistances table.

I changed the "data-final-fixes.lua" file's function 'setResistancePercent' to first check if the entity.resistances table exists before doing anything else in the function. Code I used:

if entity.resistances == type(table) then

Didn't test for bugs, but it gets past the startup error.

New response