Evolution Technology

by wodzu93

Adds a tech tree to biter force, based on evolution factor. With evolution, biter units will improve in several ways.

Content
24 days ago
1.1 - 2.0
3.22K
Enemies

b Crash @ 70% evo

2 years ago

Hi, I guess this mod caused the game to crash at around 70% evolution =). I'll post all the details:

Factorio v1.1.49

15081.162 Error MainLoop.cpp:1283: Exception at tick 1770544: The mod Evolution Technology (0.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event evo_tech::on_tick (ID 0)
The mod Evolution Technology (0.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event evo_tech::on_research_finished (ID 18)
Expected table or string.
stack traceback:
[C]: in function 'add_research'
evo_tech/control.lua:70: in function <evo_tech/control.lua:47>
[C]: in function 'newindex'
__evo_tech
/control.lua:75: in function <evo_tech/control.lua:73>
stack traceback:
[C]: in function 'newindex'
__evo_tech
/control.lua:75: in function <evo_tech/control.lua:73>

Modlist:
- Advanced-Electric-Revamped-v16 0.6.8
- ArmouredBiters 1.1.4
- AttilaZoomMod 1.1.1
- CombatTechnology 1.0.1
- Enhanced_Map_Colors 1.5.5
- even-distribution 1.0.10
- far-reach 1.1.1
- Fill4Me 0.10.0
- flib 0.9.2
- inventory-repair 19.0.1
- KingsTurret-Shields 1.110.2
- Make_Artillery_Great_Again 1.0.6
- RPGsystem 1.2.0
- SchallAlienMutation 1.1.0
- SchallEndgameEvolution 1.1.1
- solar-walls 0.0.15
- Squeak Through 1.8.2
- Swarmageddon 1.0.6
- ups-fps 0.3.1
- BottleneckLite 1.2.3
- evo_tech 0.1.1
- factoryplanner 1.1.30
- heroturrets 1.1.11
- reverse-factory 8.1.2

I believe the research finished was on biter's force cuz mine wasn't finished yet, I tried to go back to the previous autosave and reload the map, but the same error occurs. Let me know if you need other info

2 years ago

I need to know how far biter research has advanced. Do the following:
- load the earlier save
- go to mod settings and enable "Show debug messages" option for this mod.
- game should print in chat debug messages about biter research periodically from that point on. Paste that message here.
- enter in chat the following command twice:

/c game.player.print(game.map_settings.pollution.enemy_attack_pollution_consumption_modifier)

This will return a pollution cost multiplier for biter units. Paste it here.

2 years ago
(updated 2 years ago)

enemy_attack_pollution_consumption_modifier: 0.4286875
Research progress: 0.9919
Current tech: w93-spitter-shooting-speed-1
Current tech tier: 5

---> here it crashes:

Researched: w93-spitter-shooting-speed-1 Tier: 5

2 years ago

Function responsible for choosing next biter research returned nil, which caused the crash. I suspect array index was somehow out of bounds, but I'm not sure. New version is uploaded, try it out and see if crash is still happening.

2 years ago

Thanks, now it doesn't crash anymore. I've also tested it on 10x for a little and it advance to next tier without problems. Thanks for the hot fix!

New response