Induction Charging deprecated

by Raeon

Power your equipment grid whilst in range of power poles, albeit at a price.

Content
3 years ago
1.1
21.7K
Armor

b crashes

3 years ago

Your mod crashes the game whenever i enter a building (https://mods.factorio.com/mod/Factorissimo2) from that mod? Is there no fix for this or do they just not work together?

3 years ago

It is helpful if you can post the error message. Unless the game crashes to desktop and it's a core engine bug, there should be a lua line error you can copy either from factorio-current.log or as a screenshot!

3 years ago

Sorry for the late response, I got this from the game when it crashed to the menu

Text i get during game

"The mod Induction Charging (2.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Induction Charging::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__Induction Charging
/control.lua:164: in function 'updateShadow'
Induction Charging/control.lua:280: in function <Induction Charging/control.lua:272>"

But there's also this in the file, it just repeats a bunch so here's some of it

" 931.588 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
931.588 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
931.588 Script @SpidertronEngineer/control.lua:409: Driving state already changed this tick
931.588 Script @SpidertronEngineer/control.lua:291: Finished ensure_player_is_in_correct_spidertron()
931.588 Script @SpidertronEngineer/control.lua:293: Not creating spidertron for player - player or character does not exist
931.871 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
931.871 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
931.871 Script @SpidertronEngineer/control.lua:385: Searching for nearby entities to enter
931.872 Script @SpidertronEngineer/control.lua:266: Not in a vehicle
931.872 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
931.872 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
931.872 Script @SpidertronEngineer/control.lua:409: Driving state already changed this tick
931.872 Script @SpidertronEngineer/control.lua:291: Finished ensure_player_is_in_correct_spidertron()
931.872 Script @SpidertronEngineer/control.lua:293: Not creating spidertron for player - player or character does not exist
932.154 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
932.154 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
932.154 Script @SpidertronEngineer/control.lua:385: Searching for nearby entities to enter
932.154 Script @SpidertronEngineer/control.lua:266: Not in a vehicle
932.154 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
932.154 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
932.154 Script @SpidertronEngineer/control.lua:409: Driving state already changed this tick
932.155 Script @SpidertronEngineer/control.lua:291: Finished ensure_player_is_in_correct_spidertron()
932.155 Script @SpidertronEngineer/control.lua:293: Not creating spidertron for player - player or character does not exist
932.437 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
932.437 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
932.437 Script @SpidertronEngineer/control.lua:385: Searching for nearby entities to enter
932.437 Script @SpidertronEngineer/control.lua:266: Not in a vehicle
932.438 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
932.438 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
932.438 Script @SpidertronEngineer/control.lua:409: Driving state already changed this tick
932.438 Script @SpidertronEngineer/control.lua:291: Finished ensure_player_is_in_correct_spidertron()
932.438 Script @SpidertronEngineer/control.lua:293: Not creating spidertron for player - player or character does not exist
932.970 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
932.970 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
932.970 Script @SpidertronEngineer/control.lua:385: Searching for nearby entities to enter
932.971 Script @SpidertronEngineer/control.lua:266: Not in a vehicle
932.971 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
932.971 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
932.971 Script @SpidertronEngineer/control.lua:409: Driving state already changed this tick
932.971 Script @SpidertronEngineer/control.lua:291: Finished ensure_player_is_in_correct_spidertron()
932.971 Script @SpidertronEngineer/control.lua:293: Not creating spidertron for player - player or character does not exist
933.204 Script @SpidertronEnhancements/scripts/hidden-spidertron.lua:164: Driving state already changed this tick
933.204 Script @SpidertronEngineer/control.lua:376: on_player_driving_changed_state
933.204 Script @SpidertronEngineer/control.lua:385: Searching for nearby entities to enter
933.204 Script @SpidertronEngineer/control.lua:396: Found entity to drive: companion
933.338 Error MainLoop.cpp:1285: Exception at tick 3841979: The mod Induction Charging (2.0.2) caused a non-recoverable error.
Please report this error to the mod author."

By the way, I have the companion drone mod, spidertron engineer mod, and the previously mentioned factory mod, I have a feeling it might be the companion mod maybe?

New response