mt-mods / signs_lib

Other
4 stars 12 forks source link

Error: "default:sign_steel_yard_yard" is not a registered node #1

Closed S-S-X closed 2 months ago

S-S-X commented 2 years ago

The following occurred when I tried to place default:sign_steel_yard:

2021-04-19 17:07:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback item_OnPlace(): "default:sign_steel_yard_yard" is not a registered node!
2021-04-19 17:07:27: ERROR[Main]: stack traceback:
2021-04-19 17:07:27: ERROR[Main]:   [C]: in function 'swap_node'
2021-04-19 17:07:27: ERROR[Main]:   ...Minetest\bin\..\games\antum\mods\signs\signs_lib/api.lua:887: in function 'after_place_node'
2021-04-19 17:07:27: ERROR[Main]:   ...Minetest\bin\..\games\antum\mods\signs\signs_lib/api.lua:934: in function 'after_place_node'
2021-04-19 17:07:27: ERROR[Main]:   C:\Games\Minetest\bin\..\builtin\game\item.lua:385: in function <C:\Games\Minetest\bin\..\builtin\game\item.lua:258>

I am running Minetest server v5.4.1 with signs_lib 2021-03-04-2.

Edit: Happened with hanging sign as well:

2021-04-19 17:18:46: ACTION[Server]: AntumDeluge places node default:sign_steel_hanging at (289,6,80)
2021-04-19 17:18:46: ACTION[Main]: Server: Shutting down
compassgps writing settings
[PrivilegeAreas] Saving data
2021-04-19 17:18:52: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback item_OnPlace(): "default:sign_steel_hanging_yard" is not a registered node!
2021-04-19 17:18:52: ERROR[Main]: stack traceback:
2021-04-19 17:18:52: ERROR[Main]:       [C]: in function 'swap_node'
2021-04-19 17:18:52: ERROR[Main]:       ...Minetest\bin\..\games\antum\mods\signs\signs_lib/api.lua:887: in function 'after_place_node'
2021-04-19 17:18:52: ERROR[Main]:       ...Minetest\bin\..\games\antum\mods\signs\signs_lib/api.lua:934: in function 'after_place_node'
2021-04-19 17:18:52: ERROR[Main]:       C:\Games\Minetest\bin\..\builtin\game\item.lua:385: in function <C:\Games\Minetest\bin\..\builtin\game\item.lua:258>

The were signs that I used /giveme command with.

Edit: I see now that what I wanted was default:sign_wall_steel. So perhaps this is invalid as the other entities were never meant to be able to be held.

Vanessa Dannenberg VanessaE · 7 months ago Maintainer Indeed, your guess is correct; no normal user should have those nodes, as they are "internal" to the mod. The fact that you can't properly place one is itself a bug, so this issue is still valid, but low-priority.

Jordan Irwin AntumDeluge · 7 months ago Author Okay, thanks for letting me know :). I will leave it open then.

sangeet79 commented 2 years ago

i still have the same problem with the latest version of the mod.