Hovercrafts


Speed across land and water in your own personal hovercraft. 2 versions, plus 2 more with the mod 'Laser Tanks'.

Content
24 days ago
0.16 - 2.0
66.1K
Transportation Combat

b [Fixed]0.17.01

5 years ago

Since the update 30 minutes ago getting this error upon loading a map:

 516.118 Error AppManager.cpp:613: The mod Hovercrafts caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Hovercrafts::on_init()
Unknown interface: electric-vehicles-lib
stack traceback:
        __Hovercrafts__/control.lua:88: in function <__Hovercrafts__/control.lua:87>
stack traceback:
        [C]: in function 'call'
        __Hovercrafts__/control.lua:88: in function <__Hovercrafts__/control.lua:87>
5 years ago

Okay, I am looking into it now. I would assume it is because you aren't using the electric vehicle mods so it is attempting to make a call to a mod you don't have installed.

5 years ago
(updated 5 years ago)

Would you mind uploading the save you're using for me? I can't seem to recreate this issue after saving a world with the electric vehicle mods and then reloading it after I have removed them both.

Save location:
%appdata% - Type that into window search
Appdata/Roaming/Factorio/Saves/

5 years ago

I do indeed not have the electric vehicle mod, it's a bit UPS heavy at times so leaving it out, in addition it's not a required dependency so it shouldn't be necessary. The issue appears to be on line 88, containing remote.call("electric-vehicles-lib", "register-transformer", {name = "extra-high-voltage-transformer"}), where the "electric-vehicles-lib" is attempting to have "register-transformer" called on it when the necessary mod that implements that interface is not loaded. That mod should be tested for existing first before calling its remote interface.

A save is not possible as it happens while generating a map before the display has switched over to rendering the map itself (in addition, running linux, thus those paths are incorrect even if it were possible to generate a save).

5 years ago

You're correct it isn't a required dependency. I have tried everything I can think of to recreate your error to no avail. I also was mistaken that you were attempting to load an old save that was causing the error.

Unfortunately, the only suggestion I can make at this point is attempt loading a world with no other mods then mine and see if it is some other mod causing the problem. I will continue to look into this in the morning as it is almost midnight. Hopefully we can work this out for you and anyone else with the issue.

5 years ago

Hmm, well I extracted all of the mods in this pack and unable to find any references within:

╰─➤  grep -R electric-vehicles-lib .
./Hovercrafts_0.17.01/control.lua:    remote.call("electric-vehicles-lib", "register-transformer", {name = "extra-high-voltage-transformer"})
./Hovercrafts_0.17.01/info.json:                "? electric-vehicles-lib-reborn >= 0.1.1",

╰─➤  grep -R register-transformer . 
./Hovercrafts_0.17.01/control.lua:    remote.call("electric-vehicles-lib", "register-transformer", {name = "extra-high-voltage-transformer"})

╰─➤  grep -R extra-high-voltage-transformer .
./Hovercrafts_0.17.01/control.lua:    remote.call("electric-vehicles-lib", "register-transformer", {name = "extra-high-voltage-transformer"})
./Hovercrafts_0.17.01/data.lua: prerequisites = {"hovercraft-tech", "electric-vehicles-electric-cars",  "extra-high-voltage-transformer-tech", "speed-module-3"},
./Hovercrafts_0.17.01/data.lua:    name = "extra-high-voltage-transformer",
./Hovercrafts_0.17.01/data.lua:    icon = "__Hovercrafts__/graphics/extra-high-voltage-transformer-icon.png",
./Hovercrafts_0.17.01/data.lua:    placed_as_equipment_result = "extra-high-voltage-transformer",
./Hovercrafts_0.17.01/data.lua:    name = "extra-high-voltage-transformer-tech",
./Hovercrafts_0.17.01/data.lua:    icon = "__Hovercrafts__/graphics/extra-high-voltage-transformer.png",
./Hovercrafts_0.17.01/data.lua:        recipe = "extra-high-voltage-transformer-recipe",
./Hovercrafts_0.17.01/data.lua:    name = "extra-high-voltage-transformer-recipe",
./Hovercrafts_0.17.01/data.lua:    result = "extra-high-voltage-transformer",
./Hovercrafts_0.17.01/data.lua:    name = "extra-high-voltage-transformer",
./Hovercrafts_0.17.01/data.lua:      filename = "__Hovercrafts__/graphics/extra-high-voltage-transformer-equipment.png",
./Hovercrafts_0.17.01/locale/en/en.cfg: extra-high-voltage-transformer=Extra High voltage transformer
./Hovercrafts_0.17.01/locale/en/en.cfg: extra-high-voltage-transformer=Transforms energy stored in batteries into a form that can be used to power extra heavy duty electric vehicles.
./Hovercrafts_0.17.01/locale/en/en.cfg: extra-high-voltage-transformer-tech=Extra High voltage transformer
./Hovercrafts_0.17.01/locale/en/en.cfg: extra-high-voltage-transformer-recipe=Extra High voltage transformer
./Hovercrafts_0.17.01/locale/en/en.cfg: extra-high-voltage-transformer-tech=Unlocks transformers capable of providing enough power to move extra heavy duty electric vehicles.
./Hovercrafts_0.17.01/locale/en/en.cfg: extra-high-voltage-transformer=Extra High voltage transformer

╰─➤  ls -1
AAI-CraftTab_1.0.1
aai-industry_0.3.5
aai-motor-speed-tweak_0.0.3
aai-programmable-structures_0.5.2
aai-programmable-vehicles_0.5.4
aai-signals_0.4.1
aai-vehicles-chaingunner_0.4.1
aai-vehicles-flame-tank_0.3.1
aai-vehicles-flame-tumbler_0.4.1
aai-vehicles-hauler_0.4.2
aai-vehicles-laser-tank_0.4.1
aai-vehicles-miner_0.4.2
aai-vehicles-warden_0.3.1
aai-zones_0.4.1
Actual_Craft_Time_0.3.6
Aircraft_1.6.5
alien-biomes_0.4.5
AlternativeSteam_1.1.0
angelsaddons-cab_0.1.2
angelsaddons-oresilos_0.5.0
angelsaddons-petrotrain_0.4.0
angelsaddons-pressuretanks_0.4.0
angelsaddons-smeltingtrain_0.2.0
angelsaddons-warehouses_0.4.0
angelsbioprocessing_0.6.1
angelsinfiniteores_0.8.3
angelspetrochem_0.8.2
angelsrefining_0.10.8
angelssmelting_0.5.4
AngelsUsedCoolant_0.17.0
apm_lib_0.17.09
apm_power_0.17.09
apm_recycling_0.17.05
AsphaltRoads_1.1.5
Automatic_Coupling_System_0.2.2
auto-research
AutoTrash_4.0.1
Avatars_0.4.17
BeastFinder_0.17.0
betterCargoPlanes
Big_Brother_0.5.0
BigDrills_0.5.4
Bio_Industries_0.17.11
bobassembly_0.17.2
bobclasses_0.17.3
bobelectronics_0.17.2
bobenemies_0.17.2
bobinserters_0.17.3
boblibrary_0.17.0
boblogistics_0.17.4
bobmining_0.17.2
bobmodules_0.17.2
bobores_0.17.1
bobplates_0.17.2
bobpower_0.17.2
bobrevamp_0.17.1
bobtech_0.17.2
bobvehicleequipment_0.17.0
bobwarfare_0.17.2
Bottleneck_0.10.3
brave-new-world
bulkteleport_0.1.14
bullet-trails_0.4.1
CanalBuilder17_0.0.1
cargo-ships_0.0.35
ChangeMapSettings_3.0.4
CharcoalBurner_1.17.24
Clockwork_0.17.1
Clowns-AngelBob-Nuclear_1.1.2
Clowns-Extended-Minerals_1.1.3
Clowns-Nuclear_1.3.2
Clowns-Processing_1.3.2
Command_and_Conquer_RedAlert_Sounds_0.2.1
CompressedFluids_0.1.10
Construction_Drones_0.1.10
creative-mod_1.0.4
creative-world-plus
deadlock-beltboxes-loaders_2.1.3
DeadlockCrating_1.4.3
deadlock-integrations_2.0.6
DeadlockLoaders_1.7.3
DeadlocksStacking4Pyanadon_0.4.8
DeadlockStacking_1.7.3
deadlock-stacking-crating-bobs_0.7.4
deathmarkers_0.1.1
Dectorio_0.9.9
DeleteEmptyChunks_0.3.4
ERPTbaAB_0.1.3
even-distribution_0.3.4
EvoGUI_0.4.401
expanded-rocket-payloads_0.17.1
Explosive Excavation_1.1.5
extendedangels_0.2.2
Factorissimo2_2.3.1
FARL_3.1.1
Fill4Me_0.5.4
Flammable_Oils_0.2.1
fluid_permutations_0.1.1
FNEI_0.2.3
Geothermal_1.17.2
HandyHands_1.7.1
helmod_0.8.6
Hovercrafts_0.17.01
KS_Power_0.3.5
LandmineGridlock_1.0.1
LoaderRedux_1.4.6
logicarts_0.1.29
logistic-cargo-wagon_0.17.5
LossPrevention_1.17.2
ModuleInserter_4.0.4
multi-product-recipe-details_0.17.2
Nanobots_3.0.6
Natural_Evolution_Buildings_0.17.12
Natural_Evolution_Enemies_0.17.7
NightBrightness_0.0.4
Nightfall_0.17.1
nixie-tubes_0.17.3
Noxys_Extra_Settings_Info_0.1.0
Noxys_Swimming_0.1.1
Noxys_Trees_0.1.4
only-smelting_0.2.2
OpteraLib_0.1.1
Orbital Ion Cannon_1.7.2
OverMods_0.17.2
PavementDriveAssist_2.1.9
PickerAtheneum_1.0.0
PickerBeltTools_1.0.1
PickerBlueprinter_1.0.1
PickerCheats_1.0.0
PickerDollies_1.0.0
PickerEquipmentKeys_1.0.0
PickerExtended_4.0.0
PickerInventoryTools_1.0.0
PickerTweaks_2.0.3
PickerVehicles_1.0.0
platforms_19.18.3
power-grid-comb_0.17.2
ProgressiveRunning_1.0.17
pycoalprocessing_1.1.0
PyCoalTBaA_0.0.44
pyfusionenergy_1.2.0
pyhightech_1.1.0
pyindustry_1.1.4
pyrawores_1.1.18
Rampant_0.17.13
RampantArsenal_0.17.5
Raven_0.1.4
recursive-blueprints_0.17.3
Reinforced-Walls_0.17.0
remote-switch_2.0.0
RibbonMaze_0.7.1
robotarmy_0.4.0
robot_attrition_0.3.1
rso-mod_4.0.3
Sandros-chemics_0.2.1
Sandros-fixes_0.4.5
SantasNixieTubeDisplay_0.1.8
scattergun_turret_4.1.0
SchallAlienLoot_0.17.1
SchallAlienMutation_0.17.2
SchallAlienTech_0.17.2
SchallAmmoTurrets_0.17.1
SchallArtillery_0.17.0
SchallEndgameEvolution_0.17.2
SchallGunPod_0.17.1
SchallPickupTower_0.17.0
SchallRechargingWeapon_0.17.2
SchallRemainsPickup_0.17.0
SchallTankPlatoon_0.17.2
ScienceCostTweakerM_0.17.7
ShinyBobGFX_0.17.2
ShinyBob_Techs_Update_0.17.2
ShinyIcons_0.17.1
Shinys-parkingzone_A16_1.17.1
Shortcuts_0.5.0
space-exploration_0.1.1
SpaceMod_0.4.2
Stamina_2.1.0
stdlib_1.0.2
Swarm_1.2.0
swarmageddon
Teleporters_0.1.8
textplates_0.4.1
TheFatController_4.0.5
Total_Automization_0.1.5
train-pubsub_0.4.4
underground-pipe-pack_0.17.0
Unit_Control_0.1.6
upgrade-planner-next_1.6.2
usage-detector_0.17.1
VehicleSnap_1.17.1
VehicleWagon2_1.2.7
visual-signals_0.17.0
walls-block-spitters_0.4.3
Warehousing_0.2.2
what-is-missing_0.17.0
WhistleStopFactories_0.1.16
xcompat_bobvehicleequipment_0.17.1

Not all of those are actually active here (none of [Pp]y* for example), so I'm unsure what could be causing it.

Is there an event for listening to interfaces or something that mandates there existence?

I know Creative Mod does a lot with introspecting interfaces, wonder if it is causing something...

The interesting bit is the error is given by the engine on the line of code in this mod, without anything else in the stacktrace. It 'should' still be fixed is the remote.call/3 call were gated behind a test of if the requisite mod is loaded or not though I would think?

5 years ago
(updated 5 years ago)

If you wish I can upload a trivial save, if you choose it and click the "Sync mods with save" button in the upper-right then the game will auto-download all the required mods if you allow it to (such a nice 0.17 feature): https://overminddl1.com/Factorio/saves/ACT_Test.zip

5 years ago

This is what I'm getting:
The mod Hovercrafts caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Hovercrafts::on_init()
Unknown interface: electric-vehicles-lib
stack traceback:
Hovercrafts/control.lua:88: in function <Hovercrafts/control.lua:87>
stack traceback:
[C]: in function 'call'
Hovercrafts/control.lua:88: in function <Hovercrafts/control.lua:87>

Thanks, hope it helps.

5 years ago

the same problem when generating maps in the editor

5 years ago

Okay, I have worked out the issue and will be pushing the update soon. Sorry for the inconvenience to everyone.

5 years ago

Update is out. Let me know if you still have issues. Thanks again for your patience.

5 years ago

Awesome, thanks much!!

New response