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
a month ago
2.0
12.7K
Combat

g Crash on startup

3 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.

3 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.

3 months ago

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

3 months ago

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

3 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

3 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

3 months ago
(updated 3 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.

2 months ago
(updated 2 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