Page 1 of 1

Is minetest-game at fault here and not scifi_nodes?

PostPosted: Sat Nov 19, 2016 02:44
by Inocudom
Inocudom wrote:This strange error came up:
2016-11-08 00:07:08: ERROR[Main]: ModError: Failed to load and run script from /home/derek/.minetest/mods/scifi_nodes/init.lua:
2016-11-08 00:07:08: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:130: attempt to compare number with string
2016-11-08 00:07:08: ERROR[Main]: stack traceback:
2016-11-08 00:07:08: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:130: in function 'register_item'
2016-11-08 00:07:08: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:206: in function 'really_register_node'
2016-11-08 00:07:08: ERROR[Main]: .../derek/.minetest/mods/technic/technic_worldgen/nodes.lua:159: in function 'really_register_node'
2016-11-08 00:07:08: ERROR[Main]: ...derek/.minetest/mods/technic/technic_worldgen/crafts.lua:167: in function 'register_node'
2016-11-08 00:07:08: ERROR[Main]: /home/derek/.minetest/mods/scifi_nodes/init.lua:336: in main chunk
2016-11-08 00:07:08: ERROR[Main]: Check debug.txt for details.
When technic is disabled:
2016-11-08 00:35:44: ERROR[Main]: ModError: Failed to load and run script from /home/derek/.minetest/mods/scifi_nodes/init.lua:
2016-11-08 00:35:44: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:130: attempt to compare number with string
2016-11-08 00:35:44: ERROR[Main]: stack traceback:
2016-11-08 00:35:44: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:130: in function 'register_item'
2016-11-08 00:35:44: ERROR[Main]: /usr/local/share/minetest/builtin/game/register.lua:206: in function 'register_node'
2016-11-08 00:35:44: ERROR[Main]: /home/derek/.minetest/mods/scifi_nodes/init.lua:336: in main chunk
2016-11-08 00:35:44: ERROR[Main]: Check debug.txt for details.

The mod scifi_nodes does not seem to work with minetest-game very well. It seems that the issue may lie within minetest-game and not scifi_nodes. How is this so?

Re: Is minetest-game at fault here and not scifi_nodes?

PostPosted: Sat Nov 19, 2016 03:17
by Byakuren
It's your fault, you used "12" and "20" (line 325/326 of init.lua) as light values, but light values must be numbers, not strings.

Re: Is minetest-game at fault here and not scifi_nodes?

PostPosted: Sat Nov 19, 2016 20:28
by Inocudom
Byakuren wrote:It's your fault, you used "12" and "20" (line 325/326 of init.lua) as light values, but light values must be numbers, not strings.

I am not the author of this mod. You should post that information here:
https://forum.minetest.net/viewtopic.php?f=9&t=11751

Re: Is minetest-game at fault here and not scifi_nodes?

PostPosted: Sat Nov 19, 2016 21:22
by Byakuren
Inocudom wrote:
Byakuren wrote:It's your fault, you used "12" and "20" (line 325/326 of init.lua) as light values, but light values must be numbers, not strings.

I am not the author of this mod. You should post that information here:
https://forum.minetest.net/viewtopic.php?f=9&t=11751

Alright