D.A.R.T.


An optimized asteroid defense that saves a lot of ammunition by smarter targeting

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

b [fixed] Welp I recently wanted to go back to this mod and...

10 days ago

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

Error while running event dart::on_gui_click (ID 1)
dart/scripts/gui/ammos.lua:312: attempt to index local 'fop' (a nil value)
stack traceback:
dart/scripts/gui/ammos.lua:312: in function 'handler'
dart/scripts/gui/components.lua:328: in function 'wrapper'
flib/gui.lua:147: in function 'handler'
flib/gui.lua:177: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>"

It crashed when I clicked the ammo button. None of the turret I connect appear (they were vanilla BUT quality laser turrets) nor did the radars appear on the controller. I believe it got updated and I need to re-learn how it works but it really shouldn't crash like this and work completely differently so I think something broke too

10 days ago
(updated 10 days ago)

Well, your description at first sounds like several problems at the same time.

1)

None of the turret I connect appear (they were vanilla BUT quality laser turrets)

That's intended as laser turrets are not consuming ammunition. Currently only ammo-turrets (e.g. gun turrets or rocket turrets) are supported, neither are electric-turrets (like the laser turrets) nor are artillery-turrets.

2)

nor did the radars appear on the controller

Quite surprising. Are you sure that you really placed dart-radars on your platform - and not conventional radars? 😉

3)
I agree with you, that such a crash shouldn't happen. If you could share your save file with that the error occurs, that would help me a lot to narrow the problem and to fix it.

10 days ago

1) Good to know, I was hoping I could control special modded "scythe" turrets that have destroyed my ship few times by trying to shoot something far away

2) I can tell cause normal radars are 3/3 and not 1/1 and blue...

3) It probably was an issue that I didn't have any turrets connected to the controller so it got null data probably.

10 days ago

hm... It would be useful to be able to control laser turrets too since then you could save electrical energy which with REALLY high quality turrets could be an issue since they target shit even if it's on a different space platform (joke) and don't target the important stuff that's about to crash into the platform

10 days ago
(updated 10 days ago)

1) Good to know, I was hoping I could control special modded "scythe" turrets that have destroyed my ship few times by trying to shoot something far away

and

hm... It would be useful to be able to control laser turrets too since then you could save electrical energy which with REALLY high quality turrets could be an > issue since they target shit even if it's on a different space platform (joke) and don't target the important stuff that's about to crash into the platform

According to https://wiki.factorio.com/Laser_turret many asteroids have high resistance against laser fire - that's why I currently have no plans to support laser turrets as they seem to be highly ineffective to me

2) I can tell cause normal radars are 3/3 and not 1/1 and blue...

And that means? Sorry, but I don't understand what you would like to tell me

3) It probably was an issue that I didn't have any turrets connected to the controller so it got null data probably.

I was suspicious, that this could be a reason and already checked that and now I am quite sure, that this is not a problem.

10 days ago
(updated 10 days ago)

One possible reason for the crash are invalid data (I have no really good idea, how this happened).

If you currently don't have too many platforms with a dart system, I have a possible workaround for you.

  • uninstall my mod and save that state to a new save file
  • reinstall my mod with this new save file and try to build the dart installations from scratch

This procedure should wipe all existing (and potentially invalid) data and create new.

Nevertheless I'll try to mitigate the error by adding some additional checks, but this will take some time.

P.S.: I am still interested in your (original) save file 😉

10 days ago

I don't really have that save file, I could try and recreate it but that would take a while.

Now for the first thing, lasers are really good on space platforms, especially when docking on a planet since they are slow and come at you from angles you might not be able to defend yourself from easily (the back behind thrusters) and with enough damage upgrades they can even help in flight, but do as i mentioned try shooting shit that won't hurt you wasting not energy or ammo but their time and damage potential.

Second thing is : I used the d.a.r.t. radars, I just said that I know the difference cause normal radars are 3/3 and gray meanwhile the D.A.R.T. radars are blueish and 1/1

10 days ago

Second thing is : I used the d.a.r.t. radars, I just said that I know the difference cause normal radars are 3/3 and gray meanwhile the D.A.R.T. radars are blueish and 1/1

That's a shame, because that would have been a simple explanation if you had confused the two - and I love simple explanations 😆.

10 days ago

Yeah I also prefer simple solutions but right now I'm trying to fix a mod issue in both factorio and rimworld and neither is simple

2 days ago

V 1.2.10 that should fix your problem is online. Could you please give a short feedback if it works for you now?

New response