sirrobzeroone / elepower

MIT License
5 stars 3 forks source link

ERROR[Main]: ModError: Failed to load and run script from \elepower\elepower_dynamics\init.lua: #13

Open Pantyhose-X opened 1 year ago

Pantyhose-X commented 1 year ago

elepower, 3d_armor run together with an error

2023-01-26 12:25:34: ERROR[Main]: ModError: Failed to load and run script from F:\TW\minetest-5.6.1-win64\bin\..\mods\elepower\elepower_dynamics\init.lua:
2023-01-26 12:25:34: ERROR[Main]: ...in64\bin\..\mods\elepower\elepower_dynamics/conduits.lua:71: attempt to call field 'register_transfer_node' (a nil value)
2023-01-26 12:25:34: ERROR[Main]: stack traceback:
2023-01-26 12:25:34: ERROR[Main]:   ...in64\bin\..\mods\elepower\elepower_dynamics/conduits.lua:71: in main chunk
2023-01-26 12:25:34: ERROR[Main]:   [C]: in function 'dofile'
2023-01-26 12:25:34: ERROR[Main]:   ....1-win64\bin\..\mods\elepower\elepower_dynamics\init.lua:9: in main chunk

2023-01-26 12:25:34: [Main]: warning:[3d_armor] Registered armor elepower_solar:helmet does not have "_material" specified at the end of the item registration name

DustyBagel commented 12 months ago

This can be fixed by adding fluid_transfer as a dependency in the mod.conf file in the elepower_dynamics mod in the elepower modpack. Until that is added you can avoid this issue by enabling that mod manually. This mod is in the Fluid Containers API modpack which should have been downloaded when you downloaded minetest from the content database assuming you did do that.

I have made a pull request that fixes this issue. It is pull request #19. That should fix it.