Server Shuts Down when clicking on Armor in the Inventory GUI

Post Reply
User avatar
KingBull
Member
Posts: 22
Joined: Tue Aug 07, 2018 07:23

Server Shuts Down when clicking on Armor in the Inventory GUI

by KingBull » Post

I'm having difficulties with the mod 3d_armor.
I'm using version.[583df] created 2021-03-11.

ERROR

Code: Select all

2021-03-18 04:44:01: ACTION[Main]: Server: Shutting down
2021-03-18 04:44:01: ACTION[Main]: [mana] Server shuts down. Rescuing data into mana.mt
2021-03-18 04:44:01: ACTION[Main]: [mana] Wrote mana data into /var/games/minetest-server/.minetest/worlds/world/mana.mt.
2021-03-18 04:44:01: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback on_playerReceiveFields(): ...test-server/.minetest/mods/3d_armor/3d_armor_ui/init.lua:41: attempt to call field 'make_inv_img_grid' (a nil value)
2021-03-18 04:44:01: ERROR[Main]: stack traceback:
2021-03-18 04:44:01: ERROR[Main]: 	...test-server/.minetest/mods/3d_armor/3d_armor_ui/init.lua:41: in function 'get_formspec'
2021-03-18 04:44:01: ERROR[Main]: 	...share/games/minetest/mods/unified_inventory/internal.lua:84: in function 'get_formspec'
2021-03-18 04:44:01: ERROR[Main]: 	...share/games/minetest/mods/unified_inventory/internal.lua:263: in function 'set_inventory_formspec'
2021-03-18 04:44:01: ERROR[Main]: 	/usr/share/games/minetest/mods/unified_inventory/api.lua:296: in function 'action'
2021-03-18 04:44:01: ERROR[Main]: 	...hare/games/minetest/mods/unified_inventory/callbacks.lua:68: in function <...hare/games/minetest/mods/unified_inventory/callbacks.lua:50>
2021-03-18 04:44:01: ERROR[Main]: 	/usr/share/games/minetest/builtin/game/register.lua:429: in function </usr/share/games/minetest/builtin/game/register.lua:413>


-------------
  Separator
-------------

2021-03-18 04:44:02: [Main]: Automatically selecting world at [/var/games/minetest-server/.minetest/worlds/world]
2021-03-18 04:44:02: ACTION[Main]: [MOD]infinite_chest -- loaded from /usr/share/games/minetest/mods/infinite_chest
2021-03-18 04:44:02: ACTION[Main]: [MOD] Mobs Redo loaded
2021-03-18 04:44:02: ACTION[Main]: hb.register_hudbar: health
2021-03-18 04:44:02: ACTION[Main]: hb.register_hudbar: breath
2021-03-18 04:44:02: ACTION[Main]: [mana] mana.mt opened.
2021-03-18 04:44:02: ACTION[Main]: [mana] mana.mt successfully read.
2021-03-18 04:44:02: ACTION[Main]: hb.register_hudbar: mana
2021-03-18 04:44:02: ERROR[Main]: loadSchematicFromFile: unable to open file '/usr/share/games/minetest/games/minetest_game/mods/default/schematics/corals.mts'
2021-03-18 04:44:02: WARNING[Main]: @3d_armor_ip)3d_armor_ip: Mod loaded but unused.

2021-03-18 04:44:02: ACTION[Main]: hb.register_hudbar: armor
2021-03-18 04:44:02: ACTION[Main]: hb.register_hudbar: satiation
2021-03-18 04:44:02: WARNING[Main]: Not registering alias, item with same name is already defined: homedecor:armchair -> homedecor:armchair_black
2021-03-18 04:44:08: ACTION[Main]: World at [/var/games/minetest-server/.minetest/worlds/world]
2021-03-18 04:44:08: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:30000.
Any ideas?

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Server Shuts Down when clicking on Armor in the Inventory GUI

by Festus1965 » Post

Did you just change anything as minetest server or client version or settings or update the mods, any new mods ?

Check this cases, and revers this one by one ...
As this failure didn't happen before and a change happened then you will find the solution fast ... the problem-maker.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
KingBull
Member
Posts: 22
Joined: Tue Aug 07, 2018 07:23

Re: Server Shuts Down when clicking on Armor in the Inventory GUI

by KingBull » Post

Thank you Festus1965, I ended up bringing the server down for now. It seems that every time I "fix" one thing another breaks. I wish there was a minetest package which included the most used mods already configured to work with each other so you wouldn't have to install too many on their own....

sfan5
Moderator
Posts: 4093
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Server Shuts Down when clicking on Armor in the Inventory GUI

by sfan5 » Post

On 10th March 3D Armor was updated to make use the new Unified Inventory features that were added a day before that (this includes the make_inv_img_grid function).
So that must mean you have updated 3D Armor without updating Unified Inventory at the same time. The fix should be simple: Update Unified Inventory too

If you're not running Minetest 5.4.0 and you grabbed the updates from ContentDB then the mod author messed up since neither of those updates should have reached you.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Server Shuts Down when clicking on Armor in the Inventory GUI

by Festus1965 » Post

KingBull wrote:
Mon Mar 22, 2021 20:38
Thank you Festus1965, I ended up bringing the server down for now. It seems that every time I "fix" one thing another breaks. I wish there was a minetest package which included the most used mods already configured to work with each other so you wouldn't have to install too many on their own....
see sfan5 answer, but
you brought the complaint to the point:

We have to fast updating on main mt source,
and we have too much updates on mods,
where also there we would need a break, bugfix only, to a point, all mods might be fixed to a special just actual mt server/client version,
and set together as now working failure free on a special date everything works.

And then we might go ahead with new version, or new features ...

So you see, some of us stuck on older versions, and also denies to update mods, as I said ...
you might fix one problem your looking for (forced to look as server crash)
but you buy a lot of other (even unknown) bugs and incompatibly also.

Good Luck with that solution, or - I hope you keep your last mod in reserve like this - take the last mod back in, when there was no need to update.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
KingBull
Member
Posts: 22
Joined: Tue Aug 07, 2018 07:23

Re: Server Shuts Down when clicking on Armor in the Inventory GUI

by KingBull » Post

Thank you Sfan5 and Festus1965 for your replies.
I'll might give it another crack... soon :)

User avatar
KingBull
Member
Posts: 22
Joined: Tue Aug 07, 2018 07:23

Re: Server Shuts Down when clicking on Armor in the Inventory GUI

by KingBull » Post

O.k, I believe I found what I was looking for :).

I now have an apparently fully working server with my world on it
and a whole bunch of mods and running the latest minetest.
All in three simple steps.

Here is what I did on my VPS running Ubuntu 20.10 "groovy" server:

1- First I installed docker and then pulled the linuxserver/minetest (https://hub.docker.com/r/linuxserver/minetest) Minetest 5.4

2- Added my world.

3- And pulled Pandorabox-io-mods (https://github.com/pandorabox-io/pandorabox-mods)

After a few minor changes to minetest.conf and world.mt.... Voilà! :D Happy camper!

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests