Spidertron Patrols


Send spidertrons on patrols and automatically load and unload them using docks. Adds mid-game spiderling to allow the new features to be used sooner. Replacement for Spidertron Waypoints. Simpler alternative to AAI Programmable Vehicles. Allows creating patrols for Lex's Aircraft.

Content
5 days ago
1.1 - 2.0
46.6K
Logistics Combat

b [Fixed] Crash when dock has request of 0

7 months ago
(updated 7 months ago)

Only mod active is Spidertron Patrols (and dependencies):

Crash 1:
1. activate mod settings "Add logistic requests to spidertron docks"
2. set down a spidertron dock
3. move spidertron to dock
4. add request to spidertron dock with any item with value 0
5. move spidertron away from dock
6. crash

The mod Spidertron Patrols (2.4.10) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SpidertronPatrols::on_tick (ID 0)
count must be positive)
stack traceback:
[C]: in function 'set_request_slot'
SpidertronPatrols/scripts/dock.lua:161: in function 'replace_dock'
SpidertronPatrols/scripts/dock.lua:341: in function 'callback'
SpidertronPatrols/scripts/utils.lua:91: in function 'for_n_of'
SpidertronPatrols/scripts/dock.lua:381: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

Crash 2:

  1. activate mod settings "Add logistic requests to spidertron docks"
  2. set down a spidertron dock
  3. add request to spidertron dock with any item with value 0
  4. move spidertron to dock
  5. crash

The mod Spidertron Patrols (2.4.10) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SpidertronPatrols::on_tick (ID 0)
count must be positive)
stack traceback:
[C]: in function 'set_request_slot'
SpidertronPatrols/scripts/dock.lua:161: in function 'replace_dock'
SpidertronPatrols/scripts/dock.lua:304: in function 'connect_to_spidertron'
SpidertronPatrols/scripts/dock.lua:355: in function 'callback'
SpidertronPatrols/scripts/utils.lua:91: in function 'for_n_of'
SpidertronPatrols/scripts/dock.lua:381: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

7 months ago

Weird, I can't reproduce either crash.

7 months ago

Also cannot reproduce it again with factorio 1.1.107 and Spidertron Patrols 2.4.10.

7 months ago

Oh looks like it just happened to be fixed yesterday in 1.1.107: https://forums.factorio.com/110676

New response