[fixed] dumpnodes with mineclone2

Post Reply
User avatar
Walker
Member
Posts: 1816
Joined: Tue Oct 03, 2017 09:22
In-game: Walker
Contact:

[fixed] dumpnodes with mineclone2

by Walker » Post

on my minetest_game based German-Creativ-server server runs dumpnodes from minetestmapper

but on my mineclone2 based German-MineClone2-server server i get this error massage

Code: Select all

AsyncErr: Lua: Runtime error from mod 'dumpnodes' in callback on_chat_message(): ...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: attempt to concatenate local 'tex' (a nil value)
stack traceback:
	...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: in function 'func'
	...home/ubuntu/minetest561/bin/../builtin/game/chat.lua:79: in function '?'
	.../ubuntu/minetest561/bin/../builtin/game/register.lua:431: in function <.../ubuntu/minetest561/bin/../builtin/game/register.lua:417>
is this a known issue with a simple fix or a "dead end" ???
Last edited by Walker on Fri Mar 24, 2023 04:56, edited 1 time in total.

User avatar
Mr. Rar
Member
Posts: 109
Joined: Tue Oct 04, 2016 20:13
GitHub: MrRar
In-game: MrRar

Re: dumpnodes with mineclone2

by Mr. Rar » Post

Walker wrote:
Wed Mar 22, 2023 17:28
on my minetest_game based German-Creativ-server server runs dumpnodes from minetestmapper

but on my mineclone2 based German-MineClone2-server server i get this error massage

Code: Select all

AsyncErr: Lua: Runtime error from mod 'dumpnodes' in callback on_chat_message(): ...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: attempt to concatenate local 'tex' (a nil value)
stack traceback:
	...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: in function 'func'
	...home/ubuntu/minetest561/bin/../builtin/game/chat.lua:79: in function '?'
	.../ubuntu/minetest561/bin/../builtin/game/register.lua:431: in function <.../ubuntu/minetest561/bin/../builtin/game/register.lua:417>
is this a known issue with a simple fix or a "dead end" ???
Looking at: https://bitbucket.org/adrido/dumpnodes/ ... r/init.lua

Line 48 is blank. What version of the mod are you using?
"Only in Christ do we find real love, and the fullness of life. And so I invite you today to look to Christ." - St. John Paul II

User avatar
Blockhead
Member
Posts: 1622
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: dumpnodes with mineclone2

by Blockhead » Post

5.6.0 introduced a regression that broke dumpnodes, but this was fixed in 5.6.1 in an alternative to this PR. My guess is you are using 5.6.0 and not 5.6.1.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
初音 ミク
Member
Posts: 108
Joined: Wed Mar 03, 2021 07:17

Re: dumpnodes with mineclone2

by 初音 ミク » Post

Mr. Rar wrote:
Wed Mar 22, 2023 20:40
Walker wrote:
Wed Mar 22, 2023 17:28
on my minetest_game based German-Creativ-server server runs dumpnodes from minetestmapper

but on my mineclone2 based German-MineClone2-server server i get this error massage

Code: Select all

AsyncErr: Lua: Runtime error from mod 'dumpnodes' in callback on_chat_message(): ...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: attempt to concatenate local 'tex' (a nil value)
stack traceback:
	...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: in function 'func'
	...home/ubuntu/minetest561/bin/../builtin/game/chat.lua:79: in function '?'
	.../ubuntu/minetest561/bin/../builtin/game/register.lua:431: in function <.../ubuntu/minetest561/bin/../builtin/game/register.lua:417>
is this a known issue with a simple fix or a "dead end" ???
Looking at: https://bitbucket.org/adrido/dumpnodes/ ... r/init.lua

Line 48 is blank. What version of the mod are you using?
i guess he use the version included in minetestmapper on github

link: https://github.com/minetest/minetestmap ... s/init.lua
Blockhead wrote:
Thu Mar 23, 2023 02:02
5.6.0 introduced a regression that broke dumpnodes, but this was fixed in 5.6.1 in an alternative to this PR. My guess is you are using 5.6.0 and not 5.6.1.
all his servers are running with 5.6.1
初音 ミク = Hatsune Miku --- my page on Wikipedia > https://en.wikipedia.org/wiki/Hatsune_Miku

and now Walker's official mistress

User avatar
初音 ミク
Member
Posts: 108
Joined: Wed Mar 03, 2021 07:17

Re: dumpnodes with mineclone2

by 初音 ミク » Post

also his dump says clearly ".../ubuntu/minetest561/bin/.." ... so minetest 5.6.1 it is
初音 ミク = Hatsune Miku --- my page on Wikipedia > https://en.wikipedia.org/wiki/Hatsune_Miku

and now Walker's official mistress

User avatar
Walker
Member
Posts: 1816
Joined: Tue Oct 03, 2017 09:22
In-game: Walker
Contact:

Re: dumpnodes with mineclone2

by Walker » Post

初音 ミク wrote:
Thu Mar 23, 2023 13:02
Mr. Rar wrote:
Wed Mar 22, 2023 20:40
Walker wrote:
Wed Mar 22, 2023 17:28
on my minetest_game based German-Creativ-server server runs dumpnodes from minetestmapper

but on my mineclone2 based German-MineClone2-server server i get this error massage

Code: Select all

AsyncErr: Lua: Runtime error from mod 'dumpnodes' in callback on_chat_message(): ...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: attempt to concatenate local 'tex' (a nil value)
stack traceback:
	...-MineClone2-server-2023/worldmods/dumpnodes/init.lua:48: in function 'func'
	...home/ubuntu/minetest561/bin/../builtin/game/chat.lua:79: in function '?'
	.../ubuntu/minetest561/bin/../builtin/game/register.lua:431: in function <.../ubuntu/minetest561/bin/../builtin/game/register.lua:417>
is this a known issue with a simple fix or a "dead end" ???
Looking at: https://bitbucket.org/adrido/dumpnodes/ ... r/init.lua

Line 48 is blank. What version of the mod are you using?
i guess he use the version included in minetestmapper on github

link: https://github.com/minetest/minetestmap ... s/init.lua
jip the github one

wait ... there are more out there !?!

witch one i am suposed to use ?
初音 ミク wrote:
Thu Mar 23, 2023 13:02
Blockhead wrote:
Thu Mar 23, 2023 02:02
5.6.0 introduced a regression that broke dumpnodes, but this was fixed in 5.6.1 in an alternative to this PR. My guess is you are using 5.6.0 and not 5.6.1.
all his servers are running with 5.6.1
jip 5.6.1

User avatar
Mr. Rar
Member
Posts: 109
Joined: Tue Oct 04, 2016 20:13
GitHub: MrRar
In-game: MrRar

Re: dumpnodes with mineclone2

by Mr. Rar » Post

初音 ミク wrote:
Thu Mar 23, 2023 13:02

i guess he use the version included in minetestmapper on github

link: https://github.com/minetest/minetestmap ... s/init.lua
Thanks for that.



The problem is that MineClone2 has deprecated usages of the image property in the tile definition of some nodes.
It should be name and not image.

The respawn anchor and several nodes in mcl_crimson are affected.
I will fix this in MineClone2 some time.

But for now you can modify line 4 in init.lua in the dumpnodes mod.
Change it from:

Code: Select all

		return tile.name
To:

Code: Select all

		return tile.name or tile.image
"Only in Christ do we find real love, and the fullness of life. And so I invite you today to look to Christ." - St. John Paul II

User avatar
Walker
Member
Posts: 1816
Joined: Tue Oct 03, 2017 09:22
In-game: Walker
Contact:

Re: dumpnodes with mineclone2

by Walker » Post

thanks that worked fine

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests