Spidertron Enhancements


Some simple features to make your life easier whilst using a spidertron: - Enter a vehicle without leaving your spidertron - Quickly toggle between engineer and spidertron - Use spidertron remote pathfinder to navigate around lakes - Automatically sort spidertron inventories - Pipette remotes from inventory by hovering over spidertrons - Directly open the inventory of a vehicle that you are currently driving

Utilities
7 days ago
1.0 - 2.0
67.6K
Transportation

b [Fixed-1.6.1] Crash on entering locomotive with K2+RSO

3 years ago
(updated 3 years ago)

I get an error message when I try to enter any entity (such as locomotives but apparently that also includes other spidertrons) using [Enter] in my Krastorio 2 playthrough:

7267.052 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:56: Searching for nearby entities to enter
7267.052 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:64: Found entity to drive: kr-fusion-locomotive
7267.058 Error MainLoop.cpp:1285: Exception at tick 43553606: The mod Spidertron Enhancements (1.6.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SpidertronEnhancements::spidertron-enhancements-toggle-driving (ID 203)
SpidertronEnhancements/scripts/spidertron_lib.lua:109: attempt to index local 'burner' (a nil value)
stack traceback:
SpidertronEnhancements/scripts/spidertron_lib.lua:109: in function 'deserialise_burner'
SpidertronEnhancements/scripts/spidertron_lib.lua:274: in function 'deserialise_spidertron'
SpidertronEnhancements/scripts/hidden-spidertron.lua:98: in function 'enter_nearby_entity'
SpidertronEnhancements/scripts/hidden-spidertron.lua:221: in function <SpidertronEnhancements/scripts/hidden-spidertron.lua:205>

3 years ago

Modlist for reference:

AdvancedArtilleryRemotesContinued = "1.0.0",
ArmouredBiters = "1.1.4",
AutoTrash = "5.3.13",
Automatic_Train_Painter = "1.1.2",
BetterAlertArrows = "1.0.0",
Clockwork = "1.1.0",
Cold_biters = "1.1.1",
Explosive_biters = "1.1.35",
FluidMustFlow = "1.2.16",
FluidWagonColorMask = "1.1.0",
GhostScanner = "1.6.3",
["Inventory Sensor"] = "1.10.4",
Krastorio2 = "1.1.1",
["Krastorio2-more-locomotives"] = "11.0.0",
["Kux-GhostInHand"] = "2.2.0",
Mining_Drones = "1.1.10",
Rampant = "1.1.0",
RateCalculator = "2.2.0",
RecipeBook = "2.7.1",
SantasNixieTubeDisplay = "0.1.12",
SpidertronEnhancements = "1.6.0",
Transport_Drones = "1.0.4",
TreeCleaner = "0.1.2",
VehicleSnap = "1.18.4",
YARM = "0.8.203",
["alien-biomes"] = "0.6.4",
["alien-biomes-hr-terrain"] = "0.6.1",
base = "1.1.33",
["bbr-fix"] = "1.1.1",
beautiful_bridge_railway = "1.1.1",
blueprint_flip_and_turn = "101.8.6",
factoryplanner = "1.1.20",
flib = "0.7.0",
["power-grid-comb"] = "1.1.0",
railloader = "1.1.2",
["rso-mod"] = "6.2.5",
["vtk-armor-reach"] = "1.11.0"

3 years ago

Hello, unfortunately I cannot reproduce this crash, even with your modlist! From looking at the code, my only thought is if you've recently changed the mod startup settings related to spidertrons or installed a new mod... but even then I don't see how it can crash.

Would you be able to provide a save game please?

3 years ago

What I have done is I have recently added Spidertron Enhancements after I started to fully embrace the spidertron life. :-) All other functions of the mod seem to work completely fine.

Here is the save: https://plik.root.gg/file/mBqHofNxNGI0YyWs/9EyXWZl2rAACIBvI/Krastorio2-31c%20SpidertronShananigans.zip
There is a car, some nearby trains and some nearby other spidertrons. Pressing [Enter] near any of them will crash the game for me.

Thanks for helping out. :-)

3 years ago

Ok, fixed in v1.6.1. When I was trying to reproduce it I didn't actually install all the mods because I didn't see how they would affect the problem. It turns out that RSO was the culprit, because it has an optional dependency on K2, so when both were installed, K2 would load before SpidertronEnhancements, which caused it to not generate the travelling spidertron prototype properly.

It has nothing to do with you recently adding this mod.

3 years ago

Thanks for fixing it so fast. I can confirm that this solved the issue.

New response