Rampant

by Veden
Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, raids, rallying death cry, and player hunting. Uses non-homing blockable biter projectiles. Adds new Enemies (disabled by default). Can completely replace the vanilla AI. Difficulty setting in mod options menu.
8 days ago
0.13 - 0.17
122873

b Crash on startup

- 10 months ago

'failed to load .../prototypes/SwarmUtils.lua:1267: attempt to perform arithmetic on local "scaleValue"(a nil value).

Using latest experimental or latest stable, either way it crashes. Only mod causing this problem.

- 10 months ago

What are your mod settings?

- 10 months ago

I get the same error (reverting to 0.16.29 fixes it). My mod list is:

aai-programmable-structures_0.4.2.zip
aai-programmable-vehicles_0.4.4.zip
aai-signals_0.3.1.zip
aai-vehicles-chaingunner_0.3.1.zip
aai-vehicles-flame-tank_0.2.1.zip
aai-vehicles-flame-tumbler_0.3.1.zip
aai-vehicles-hauler_0.3.1.zip
aai-vehicles-laser-tank_0.3.1.zip
aai-vehicles-miner_0.3.3.zip
aai-vehicles-warden_0.2.1.zip
aai-zones_0.3.4.zip
AfraidOfTheDark_1.0.20.zip
Aircraft_1.4.11.zip
air-filtering_0.6.0.zip
angelsaddons-oresilos_0.4.0.zip
angelsaddons-pressuretanks_0.3.0.zip
angelsaddons-warehouses_0.3.0.zip
angelsbioprocessing_0.5.6.zip
angelsinfiniteores_0.7.3.zip
angelspetrochem_0.7.9.zip
angelsrefining_0.9.12.zip
angelssmelting_0.4.4.zip
AsphaltRoads_1.1.3.zip
autofill_2.0.1.zip
AutoTrash_3.0.3.zip
backpacks_0.1.3.zip
Big_Brother_0.4.6.zip
Big_Brother_Bobs_plugin_0.1.7.zip
Bio_Industries_2.6.5.zip
bobassembly_0.16.1.zip
bobelectronics_0.16.0.zip
bobenemies_0.16.0.zip
bobinserters_0.16.8.zip
boblibrary_0.16.6.zip
boblogistics_0.16.23.zip
bobmining_0.16.0.zip
bobmodules_0.16.0.zip
bobores_0.16.2.zip
bobplates_0.16.4.zip
bobpower_0.16.5.zip
bobtech_0.16.6.zip
bobvehicleequipment_0.16.2.zip
bobwarfare_0.16.7.zip
Bottleneck_0.9.1.zip
bullet-trails_0.3.1.zip
Clowns-AngelBob-Nuclear_1.0.1.zip
Clowns-Extended-Minerals_1.0.10.zip
Clowns-Locale_1.0.2.zip
Clowns-Nuclear_1.2.0.zip
Clowns-Processing_1.2.8.zip
Clowns-Science_1.0.7.zip
ColorblindCircuitNetwork_0.1.1.zip
Crafting_Speed_Research_0.2.0.zip
DayNightExtender_1.1.13.zip
deadlock-stacking-crating-bobs_0.0.7.zip
Dectorio_0.8.8.zip
EfficienSee_1.0.54.zip
Electric Furnaces_2.3.1.zip
ElectricTrain_0.16.5.zip
Enhanced_Map_Colors_1.4.5.zip
even-distribution_0.2.8.zip
EvoGUI_0.4.302.zip
Expanded_Robot_Tech_0.5.3.zip
Factorissimo2_2.2.3.zip
far-reach_0.0.7.zip
FNEI_0.1.8.zip
folk-aquarium_0.1.6.zip
Foreman_3.0.2.zip
Geothermal_1.0.80.zip
HandyHands_for_016_1.6.0.zip
Helicopters_0.2.16.zip
helmod_0.7.11.zip
Honk_2.1.4.zip
KS_Power_0.2.4.zip
Laser_Beam_Turrets_0.2.0.zip
LoaderRedux_1.2.7.zip
LogisticTrainNetwork_1.7.10.zip
miniloader_1.5.22.zip
mod-list.json
mod-settings.dat
Nanobots_2.0.7.zip
Natural_Evolution_Buildings_8.1.2.zip
Natural_Evolution_Enemies_8.1.6.zip
Natural_Evolution_Expansion_8.0.2.zip
nixie-tubes_0.16.4.zip
Nuclear Fuel_0.1.3.zip
Oil Patches Organizer_0.0.9.zip
Orbital Ion Cannon_1.6.3.zip
Power Armor MK3_0.1.3.zip
pushbutton_0.16.0.zip
Rampant_0.16.29.zip
Renamer_1.2.1.zip
rso-mod_3.7.7.zip
ShinyAngelGFX_0.16.8.zip
ShinyBobGFX_0.16.20.zip
ShinyIcons_0.16.19.zip
Soundpack-alerts-and-sirens_1.0.1.zip
SpaceMod_0.3.8.zip
Squeak Through_1.2.2.zip
textplates_0.3.3.zip
TheFatController_3.0.4.zip
tree_collision_0.4.2.zip
upgrade-planner_1.5.3.zip
UsefulCombinators_0.4.4.zip
Vehicle Wagon_1.2.5.zip
VoidChestPlus_2.1.0.zip
vtk-deep-core-mining_1.11.3.zip
vtk-ta-big-bertha-artillery-sounds_1.1.1.zip
WaiTex_Full_1.3.4.zip
YARM_0.7.306.zip

- 10 months ago

Sorry you asked for settings. I can see a fair few strings in mod-settings.dat related to Rampant, but I'm not sure how to dump these out properly. About to try deleting mod-settings.dat, updating Rampant again, and see how that goes.

I tried debugging through the lua a bit but it seemed pretty fundamentally broken (I assume from picking up old settings).

- 10 months ago

I wrote a little bit of code to parse the settings as I'm stuck without Windows atm, bit rough but the following keys are present in the config that causes the issue:

$ cat foo | grep -i ramp

Key 70: rampant-useDumbProjectiles
Key 71: rampant-useNEUnitLaunchers
Key 72: rampant-addWallResistanceAcid
Key 73: rampant-removeBloodParticles
Key 74: rampant-enableSwarm
Key 255: rampant-enemySeed
Key 256: rampant-newEnemies
Key 258: rampant-newEnemyVariations
Key 267: rampant-enableBobsUnits
Key 268: rampant-enableNEUnits
Key 269: rampant-newEnemyNestVariations
Key 270: rampant-newEnemyUnitVariations
Key 271: rampant-newEnemyWormVariations
Key 272: rampant-newEnemyNestTiers
Key 273: rampant-newEnemyUnitTiers
Key 274: rampant-newEnemyWormTiers
Key 275: rampant-disallowFriendlyFire
Key 276: rampant-tierStart
Key 277: rampant-tierEnd
Key 279: rampant-forceOldProjectiles
Key 282: rampant-disableVanillaAI
Key 283: rampant-enableMigration
Key 324: rampant-unitBiterHealthScaler
Key 325: rampant-unitBiterSpeedScaler
Key 326: rampant-unitBiterDamageScaler
Key 327: rampant-unitBiterRangeScaler
Key 328: rampant-unitSpitterHealthScaler
Key 329: rampant-unitSpitterSpeedScaler
Key 330: rampant-unitSpitterDamageScaler
Key 331: rampant-unitSpitterRangeScaler
Key 332: rampant-unitDroneHealthScaler
Key 333: rampant-unitDroneSpeedScaler
Key 334: rampant-unitDroneDamageScaler
Key 335: rampant-unitDroneRangeScaler
Key 336: rampant-unitWormHealthScaler
Key 337: rampant-unitWormDamageScaler
Key 338: rampant-unitWormRangeScaler
Key 339: rampant-unitSpawnerHealthScaler
Key 340: rampant-unitSpawnerOwnedScaler
Key 341: rampant-unitSpawnerRespawnScaler
Key 342: rampant-unitSpawnerSpawnScaler
Key 38: rampant-attackWaveGenerationUsePollution
Key 39: rampant-attackWaveGenerationUsePlayerProximity
Key 40: rampant-attackWaveGenerationThresholdMin
Key 41: rampant-attackWaveGenerationThresholdMax
Key 42: rampant-attackPlayerThreshold
Key 43: rampant-attackWaveMaxSize
Key 44: rampant-safeBuildings
Key 45: rampant-safeBuildings-curvedRail
Key 46: rampant-safeBuildings-straightRail
Key 47: rampant-safeBuildings-bigElectricPole
Key 48: rampant-safeBuildings-railSignals
Key 49: rampant-safeBuildings-railChainSignals
Key 50: rampant-safeBuildings-trainStops
Key 51: rampant-safeBuildings-lamps
Key 52: rampant-permanentNocturnal
Key 53: rampant-aiPointsScaler
Key 120: rampant-deadZoneFrequency
Key 9: rampant-attack-warning

I've got the values if they're needed.

- 10 months ago

The only thing to know is what settings where changed from default and what are those values.

- 10 months ago
(updated 10 months ago)

Ah not too sure. I think I tweaked the levels of biters (from 1->2?) and maybe tiers. I can get the values next to the keys, just will take a bit of time. Not sure how I'll determine which differ from default though.

Edit: Sorry I can get the changed ones, defaults are empty.

- 10 months ago

I figured you would have grabbed them out of the in-game mod settings.

- 10 months ago

I could screenshot them I guess. Here's a rough dump though (the doubles are wonky but I can get ingame values for those).

Key 70: rampant-useDumbProjectiles
Boolean: true
Key 71: rampant-useNEUnitLaunchers
Boolean: true
Key 72: rampant-addWallResistanceAcid
Boolean: true
Key 73: rampant-removeBloodParticles
Boolean: false
Key 74: rampant-enableSwarm
Boolean: true
--
Key 255: rampant-enemySeed
Double: 0x00x00x00x00x00x00x00x0
Key 256: rampant-newEnemies
Boolean: true
--
Key 258: rampant-newEnemyVariations
Double: 0x00x00x00x00x00x00x2400x63
--
Key 267: rampant-enableBobsUnits
Boolean: true
Key 268: rampant-enableNEUnits
Boolean: true
Key 269: rampant-newEnemyNestVariations
Double: 0x00x00x00x00x00x00x00x64
Key 270: rampant-newEnemyUnitVariations
Double: 0x00x00x00x00x00x00x00x64
Key 271: rampant-newEnemyWormVariations
Double: 0x00x00x00x00x00x00x00x64
Key 272: rampant-newEnemyNestTiers
Double: 0x00x00x00x00x00x00x360x64
Key 273: rampant-newEnemyUnitTiers
Double: 0x00x00x00x00x00x00x360x64
Key 274: rampant-newEnemyWormTiers
Double: 0x00x00x00x00x00x00x360x64
Key 275: rampant-disallowFriendlyFire
Boolean: false
Key 276: rampant-tierStart
Double: 0x00x00x00x00x00x00x2400x63
Key 277: rampant-tierEnd
Double: 0x00x00x00x00x00x00x200x64
--
Key 279: rampant-forceOldProjectiles
Boolean: false
--
Key 282: rampant-disableVanillaAI
Boolean: true
Key 283: rampant-enableMigration
Boolean: true
--
Key 324: rampant-unitBiterHealthScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 325: rampant-unitBiterSpeedScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 326: rampant-unitBiterDamageScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 327: rampant-unitBiterRangeScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 328: rampant-unitSpitterHealthScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 329: rampant-unitSpitterSpeedScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 330: rampant-unitSpitterDamageScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 331: rampant-unitSpitterRangeScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 332: rampant-unitDroneHealthScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 333: rampant-unitDroneSpeedScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 334: rampant-unitDroneDamageScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 335: rampant-unitDroneRangeScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 336: rampant-unitWormHealthScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 337: rampant-unitWormDamageScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 338: rampant-unitWormRangeScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 339: rampant-unitSpawnerHealthScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 340: rampant-unitSpawnerOwnedScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 341: rampant-unitSpawnerRespawnScaler
Double: 0x00x00x00x00x00x00x2400x63
Key 342: rampant-unitSpawnerSpawnScaler
Double: 0x00x00x00x00x00x00x2400x63
--
Key 38: rampant-attackWaveGenerationUsePollution
Boolean: true
Key 39: rampant-attackWaveGenerationUsePlayerProximity
Boolean: true
Key 40: rampant-attackWaveGenerationThresholdMin
Double: 0x00x00x00x00x00x00x00x0
Key 41: rampant-attackWaveGenerationThresholdMax
Double: 0x00x00x00x00x00x00x520x64
Key 42: rampant-attackPlayerThreshold
Double: 0x00x00x00x00x00x00x280x64
Key 43: rampant-attackWaveMaxSize
Double: 0x00x00x00x00x00x1920x980x64
Key 44: rampant-safeBuildings
Boolean: true
Key 45: rampant-safeBuildings-curvedRail
Boolean: true
Key 46: rampant-safeBuildings-straightRail
Boolean: true
Key 47: rampant-safeBuildings-bigElectricPole
Boolean: true
Key 48: rampant-safeBuildings-railSignals
Boolean: true
Key 49: rampant-safeBuildings-railChainSignals
Boolean: true
Key 50: rampant-safeBuildings-trainStops
Boolean: true
Key 51: rampant-safeBuildings-lamps
Boolean: true
Key 52: rampant-permanentNocturnal
Boolean: false
Key 53: rampant-aiPointsScaler
Double: 0x00x00x00x00x00x00x2400x63
--
Key 120: rampant-deadZoneFrequency
Double: 0x1540x1530x1530x1530x1530x1530x1850x63
--
Key 9: rampant-attack-warning
Boolean: true

- 10 months ago

Deleting mod-settings.dat, updating to Rampant 0.16.30 (and downgrading Natural Evolutions Enemies 9.0.0 -> 8.1.6) gets things a bit further, not sure what the repercussions on the existing save are though (it loaded, I think any existing bases were deleted, but new tiles seem to have correct bug bases - elemental etc).

- 10 months ago

Downgrading Rampant did the job, sure enough. Thanks.

- 10 months ago

This should be fixed in the latest build. Thanks for the report.

- 10 months ago
(updated 10 months ago)

Thanks a lot for the fix and the mod, I've updated everything to the latest version and it's all working smoothly now.