Electric Vehicles Lib

by mknejp

Contains all the support code that allows for electric vehicles and their recharging. Powers the the Electric Vehicles mod.

8 years ago
0.14
13

b Loading the Low Power Induction Coil on worn armor causes server to crash

8 years ago

Here's the relevant portion of the server log:

325.963 Info ServerMultiplayerManager.cpp:742: mapTick(7477836) received stateChanged peerID(2) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
1540.446 Error MainLoop.cpp:788: Exception at tick 7550604: Error while running event on_player_placed_equipment (ID 38)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
wireless-charging-lib/src/main.lua:218: in function 'update_equipment'
wireless-charging-lib/src/main.lua:555: in function <wireless-charging-lib/src/main.lua:552>
1540.446 Error ServerMultiplayerManager.cpp:93: MultiplayerManager failed: "Error while running event on_player_placed_equipment (ID 38)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
wireless-charging-lib/src/main.lua:218: in function 'update_equipment'
wireless-charging-lib/src/main.lua:555: in function <wireless-charging-lib/src/main.lua:552>"
1540.446 Info ServerMultiplayerManager.cpp:658: mapTick(7550604) changing state from(InGame) to(Failed)

This caused the server to Crash the game completely and suffer an unrecoverable error.
Tried to send this privately but there is no way to do this on here or the forums.

New response