Spidertron Engineer


Build your factory as a Spidertron from the start! Instead of unlocking better weapons and armor, unlock upgrades to yourself.

Content
1 year, 5 months ago
1.0 - 1.1
3.52K
Transportation Combat

b [Fixed-1.6.2] BeltLayer compatibility (and probably pipelayer as well)

3 years ago

Crash when exiting PipeLayer layer, and I suppose it would be the same for beltlayer. here's the log. Looks like the
Looks like the mod can't place the player back into spidertron because there's no player with exiting
same behavior if I exit spidertron before going into the BeltLayer.

249.301 Script @SpidertronEngineer/control.lua:320: on_player_driving_changed_state
249.301 Script @SpidertronEngineer/control.lua:184: Already in a spidertron-engineer with name spidertron-engineer-2 (target_name = spidertron-engineer-2)
249.301 Script @SpidertronEngineer/control.lua:192: Returning early from ensure_player_is_in_correct_spidertron() - in correct spidertron already
249.301 Script @SpidertronEngineer/control.lua:232: Finished ensure_player_is_in_correct_spidertron()
265.900 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
269.866 Script @SpidertronEngineer/control.lua:320: on_player_driving_changed_state
269.866 Script @SpidertronEngineer/control.lua:329: Searching for nearby entities to enter
269.866 Script @SpidertronEngineer/control.lua:201: Not in a vehicle
269.866 Script @SpidertronEngineer/control.lua:206: Player BLucky attempted to leave spidertron, and allowed to leave = limited-time
269.866 Script @SpidertronEngineer/control.lua:209: Settings allow player to leave spidertron
270.151 Script @SpidertronEngineer/control.lua:307: on_player_changed_surface - player 1
270.151 Script @SpidertronEngineer/control.lua:312: Entering ensure
270.151 Script @SpidertronEngineer/control.lua:201: Not in a vehicle
270.151 Script @SpidertronEngineer/control.lua:215: Creating spidertron for player BLucky
270.152 Script @SpidertronEngineer/control.lua:69: Placing saved data back into spidertron:
{
ammo = {
["firearm-magazine"] = 8
},
auto_target = {
auto_target_with_gunner = false,
auto_target_without_gunner = true
},
equipment = {},
index = 1,
trunk = {}
}
270.152 Script @SpidertronEngineer/control.lua:320: on_player_driving_changed_state
270.152 Script @SpidertronEngineer/control.lua:184: Already in a spidertron-engineer with name spidertron-engineer-2 (target_name = spidertron-engineer-2)
270.152 Script @SpidertronEngineer/control.lua:192: Returning early from ensure_player_is_in_correct_spidertron() - in correct spidertron already
270.152 Script @SpidertronEngineer/control.lua:232: Finished ensure_player_is_in_correct_spidertron()
277.201 Script @SpidertronEngineer/control.lua:320: on_player_driving_changed_state
277.201 Script @SpidertronEngineer/control.lua:329: Searching for nearby entities to enter
277.201 Script @SpidertronEngineer/control.lua:201: Not in a vehicle
277.201 Script @SpidertronEngineer/control.lua:206: Player BLucky attempted to leave spidertron, and allowed to leave = limited-time
277.201 Script @SpidertronEngineer/control.lua:209: Settings allow player to leave spidertron
278.399 Script @SpidertronEngineer/control.lua:320: on_player_driving_changed_state
278.399 Script @SpidertronEngineer/control.lua:184: Already in a spidertron-engineer with name spidertron-engineer-2 (target_name = spidertron-engineer-2)
278.399 Script @SpidertronEngineer/control.lua:192: Returning early from ensure_player_is_in_correct_spidertron() - in correct spidertron already
293.199 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
305.299 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
312.232 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
322.182 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
323.284 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
325.848 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
349.115 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
510.632 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
533.350 Info AppManager.cpp:298: Saving to _autosave2 (blocking).
534.113 Info BlueprintShelf.cpp:734: Saving blueprint storage.
534.128 Saved blueprint storage to cloud
534.180 Info AppManagerStates.cpp:1837: Saving finished
568.985 Script @SpidertronEngineer/control.lua:589: Setting color for player BLucky
577.257 Script @SpidertronEngineer/control.lua:307: on_player_changed_surface - player 1
577.257 Script @SpidertronEngineer/control.lua:312: Entering ensure
577.257 Script @SpidertronEngineer/control.lua:235: Cannot create Spidertron for player - has no player or character
584.633 Script @SpidertronEngineer/control.lua:307: on_player_changed_surface - player 1
584.652 Error MainLoop.cpp:1207: Exception at tick 4089027: The mod Beltlayer (0.6.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event beltlayer::beltlayer-toggle-editor-view (ID 173)
The mod Spidertron Engineer (1.6.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SpidertronEngineer::on_player_changed_surface (ID 51)
SpidertronEngineer/control.lua:51: attempt to index local 'spidertron' (a nil value)
stack traceback:
SpidertronEngineer/control.lua:51: in function 'store_spidertron_data'
SpidertronEngineer/control.lua:309: in function <SpidertronEngineer/control.lua:306>
stack traceback:
beltlayer/lualib/BaseEditor/BaseEditor.lua:412: in function 'return_player_from_editor'
beltlayer/lualib/BaseEditor/BaseEditor.lua:423: in function 'toggle_editor_status_for_player'
beltlayer/control.lua:62: in function <beltlayer/control.lua:61>
stack traceback:
[C]: in function 'teleport'
beltlayer/lualib/BaseEditor/BaseEditor.lua:412: in function 'return_player_from_editor'
beltlayer/lualib/BaseEditor/BaseEditor.lua:423: in function 'toggle_editor_status_for_player'
beltlayer/control.lua:62: in function <beltlayer/control.lua:61>
598.793 Loading map /Users/blucky/Library/Application Support/factorio/saves/_autosave2.zip: 6175644 bytes.
598.826 Loading level.dat: 16512861 bytes.
598.829 Info Scenario.cpp:187: Map version 1.0.0-0
599.131 Loading blueprint storage: Local timestamp 1599320387, Cloud timestamp 1599320386

3 years ago

Thanks for the report! Not really surprised that something like that didn't work, but it should be fixable.

3 years ago

Fixed in 1.6.2 :)

3 years ago

Hi, sorry for the necropost, I just took a long break from factorio and just came back. now I just stay as the engineer when coming back from the BeltLayer layer and don't get mounted into the spidertron. going into another layer (like a factorissimo warehouse) doesn't fix it either

3 years ago

Should be fixed in tomorrow's 1.8.0.

New response