HeroTurrets


Turrets are built using salvaged self-learning AI tech from your ship allowing them to get deadlier with practice. Extends turrets via ranking system based on kills. Turrets generated so not limited to vanilla, identifiable by overlaid rank insignia. Rank buffs individual turrets.

Content
1 year, 2 months ago
1.0 - 1.1
55.1K
Combat

b Unrecoverable Error

3 years ago

24260.387 Script @heroturrets/control.lua:328: control.on_load
24260.398 Script @Bio_Industries/control.lua:127: Entered On_Load!
24260.954 Script @heroturrets/control.lua:470: control.local_on_start
24261.192 Script @heroturrets/prototypes/scripts/turrets.lua:159: {
50,
250,
500,
5000
}
24285.643 Error MainLoop.cpp:1207: Exception at tick 4501482: The mod HeroTurrets (0.1.40) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event heroturrets::on_entity_died (ID 4)
heroturrets/prototypes/scripts/turrets.lua:66: attempt to index local 'new_entity' (a nil value)
stack traceback:
heroturrets/prototypes/scripts/turrets.lua:66: in function 'local_replace_turret'
heroturrets/prototypes/scripts/turrets.lua:296: in function 'v'
heroturrets/control.lua:381: in function 'local_on_standard_entity_event'
heroturrets/control.lua:413: in function <heroturrets/control.lua:412>

3 years ago

It keeps happening. Version 0.1.40 btw, on Factorio 1.0. I don't know what to do.

3 years ago

Hero turrets is now in 1.1 um if you drop this line in turrets.lua it should prevent it.
Add after Line 66 (im on my phone)
if new_entity == nil then return end ill see about adding a fix for 1.0 but just about to head of to work.

3 years ago
(updated 3 years ago)

If your not experienced with lua its understandable jusy cant do anything right now

3 years ago

I will try that later. Thank you in advance. I'd play on 1.1, but for some reason it rejects all mods that are not tagged 1.1, even though in 1.0 I play with some mods that are still tagged 0.18 and one that is 0.16, all of which still work.

(Also, I am not experienced with Lua. Lua is scary. Hugs my precious Java)

3 years ago

loading now untested

This thread has been locked.