D.A.R.T


Save ammunition by smarter targeting

Content
2 days ago
2.0
821
Factorio: Space Age Icon Space Age Mod
Combat Circuit network

b [fixed] error

3 months ago

i setup the dart radar and hooked up turrets to the fcc conrtoller i see the rings from the radar, when i open up the fcc controller the gui just shows radars and turrets and nothing underneath like in your Configuration photo then it ends up crashing

The mod D.A.R.T. (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event dart::on_nth_tick(60)
dart/scripts/dart.lua:330: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
dart/scripts/dart.lua:330: in function 'getManagedTurrets'
dart/scripts/dart.lua:421: in function 'handler'
core/lualib/event_handler.lua:56: in function <core/lualib/event_handler.lua:54>

3 months ago

when i open up the fcc controller the gui just shows radars and turrets and nothing underneath like in your Configuration photo then it ends up crashing

Did I understand you right - you mean that the GUI only shows the two tabs, but none of the turrets or dart-radars on your platform?

3 months ago

Another question 😉 - did you upgrade from 1.0.0 or did you immediately start with 1.0.1?

3 months ago
(updated 3 months ago)

The error happens to me as soon as I connect a wire between the FCC and the radar.

EDIT: Specifically, if I connect a wire between the FCC and the radar without a turret connected to the FCC. Connecting the turret to the FCC first cause it to not crash, but there is nothing in the UI for the FCC; both tabs are empty. https://i.imgur.com/TTiiEFo.png

Also, got this error as well when closing the UI of a turret (after it has been connected to the FCC and radar).

___dart__/scripts/gui/dart-gui.lua:221: attempt to index local 'pons' (a nil value)

https://i.imgur.com/FpLQpuK.png

3 months ago

Already know the new one 😉 - have had it too when looking for your problem - which is unfortunately a bit nasty as it occurs during the first initialization of the mod. But I am working on a solution. Sorry for the trouble

3 months ago

published V 1.0.2 which should solve your problems

3 months ago

I upgraded from 1.0.0 and yes it just shows the two tabs with no turrets or darts on the platform

3 months ago
(updated 3 months ago)

More progress. I can place the FCC and radars now and connect them all to the turrets. Plus, they show up on the FCC UI now as well.

However, how, once I travel to another planet and medium asteroids start spawning, it crashes again.

Error while running event dart::on_nth_tick(60)
__dart__/scripts/dart.lua:206:attempt to index field 'first_signal' (a nil value)

https://i.imgur.com/zYPj0or.png

It is also worth noting, it looks like the turrets were shotting at an out-of-range asteroid (one that would not hit the ship). Kind of hard to see it because if I click confirm, it will close my save, but best I can get:

https://i.imgur.com/xMD9YyS.png

3 months ago
(updated 3 months ago)

I upgraded from 1.0.0 and yes it just shows the two tabs with no turrets or darts on the platform

@jcasta29 You may want to destroy/replace the FCC/radars. And/or uninstall the mod, let it delete everything and reinstall it/re-research everything. It looks like the original errors I was having are all fixed, but now they just do not work when in use/shooting asteroids.

3 months ago

I upgraded from 1.0.0 and yes it just shows the two tabs with no turrets or darts on the platform

Is this the answer to my earlier questions (before publish of 1.0.2) or does the GUI really show nothing after upgrading to 1.0.2 although there are turrets and radars placed on the platform?

3 months ago

More progress. I can place the FCC and radars now and connect them all to the turrets. Plus, they show up on the FCC UI now as well.

However, how, once I travel to another planet and medium asteroids start spawning, it crashes again.

Error while running event dart::on_nth_tick(60) __dart__/scripts/dart.lua:206:attempt to index field 'first_signal' (a nil value)

https://i.imgur.com/zYPj0or.png

Could you please show me how you have set the circuit network condition in your turrets?

It is also worth noting, it looks like the turrets were shotting at an out-of-range asteroid (one that would not hit the ship). Kind of hard to see it because if I click confirm, it will close my save, but best I can get:

https://i.imgur.com/xMD9YyS.png

In your image I see (at the bottom) the defense area from another radar (outside the picture). Due to the curvature, I would assume that it is a bit further to the left - so that the attacked asteroid could possible reach this area. Do you remember whether it was marked green (= passing), yellow (asteroid grazes area) or red (hitting). Asteroids are only ignored if marked green.

3 months ago

I upgraded from 1.0.0 and yes it just shows the two tabs with no turrets or darts on the platform

Is this the answer to my earlier questions (before publish of 1.0.2) or does the GUI really show nothing after upgrading to 1.0.2 although there are turrets and radars placed on the platform?

yes this was before 1.0.2 now it shows the turrets and radars placed in the gui after the update

3 months ago

Error while running event dart::on_nth_tick(60) __dart__/scripts/dart.lua:206:attempt to index field 'first_signal' (a nil value)

In the meantime, I was able to reproduce this. It occurs, if you have a turret with an empty 1st signal like this

https://imgur.com/iZinbn2

As a workaround I would recommend you to check all your turrets and setting the empty 1st signal(s). Nevertheless I'll make a fix for it, so stay tuned 😉

3 months ago

V 1.0.3 is online

This thread has been locked.