[Mod] Item frames and pedestal [github] [itemframes]
The items are saved inside the node itself, it should reappear after 5 seconds IIRC.
EDIT: fixed the abm, now it should reappear after 2 seconds. The problem was that it had 1/2 chance of happening.
EDIT: fixed the abm, now it should reappear after 2 seconds. The problem was that it had 1/2 chance of happening.
Last edited by Zeg9 on Wed Apr 17, 2013 06:28, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
Is this mod still being worked on? If so, would it be possible to make locked frames and frames capable of having more than one item in them?
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
Frames are locked by default, but I may work on having more items (if I get enough motivation ).Inocudom wrote:Is this mod still being worked on? If so, would it be possible to make locked frames and frames capable of having more than one item in them?
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
You could make display pedestals to go along with the frames.
With some items (like the doors of the homedecor mod) the game crashes and the stack-traceback-nil-value error comes up when you try to display them in frames.
With some items (like the doors of the homedecor mod) the game crashes and the stack-traceback-nil-value error comes up when you try to display them in frames.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
I like the idea of pedestals. Should items auto-rotate when placed above ?Inocudom wrote:You could make display pedestals to go along with the frames.
With some items (like the doors of the homedecor mod) the game crashes and the stack-traceback-nil-value error comes up when you try to display them in frames.
Thanks for bug reporting. I'll try to fix it this afternoon.
Last edited by Zeg9 on Fri May 31, 2013 11:06, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
They could auto-rotate on one type of pedestal and be still on another type.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
UPDATE:
Add pedestals and use staticdata for entity
This breaks existing item frames, just take the item out and put it back.
Items are NOT lost, only the visual will show "unknown node" or similar.
Add pedestals and use staticdata for entity
This breaks existing item frames, just take the item out and put it back.
Items are NOT lost, only the visual will show "unknown node" or similar.
Last edited by Zeg9 on Fri May 31, 2013 16:53, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
Yes, they are. if you want it might be changed.Hybrid Dog wrote:Are the items rotating?
Last edited by Zeg9 on Mon Jun 03, 2013 16:33, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- webdesigner97
- Member
- Posts: 1328
- Joined: Mon Jul 30, 2012 19:16
- GitHub: webD97
- IRC: webdesigner97
- In-game: webdesigner97
- Location: Cologne, Germany
- Contact:
When I try to put a "mahagony Closet door (homedecor) into an itemframe or pedestal, the game crashes saying:
But I like the idea of the mod! It's great!itemframes/init.lua:125 attempt to index local 'itemstack' (a nil value)
Visit me: webD97.de | @GitHub | @DeviantArt
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
I'll try to fix this. But maybe the only way to do is to forbid placing these items (still better than crashing).webdesigner97 wrote:When I try to put a "mahagony Closet door (homedecor) into an itemframe or pedestal, the game crashes saying:
But I like the idea of the mod! It's great!itemframes/init.lua:125 attempt to index local 'itemstack' (a nil value)
Will edit this post when done...
EDIT: done, it won't crash server anymore, but you still won't be able to place them.
EDIT2: actually the bug is in homedecor.
It should work if you add ", itemstack" after "placer" at the end of line 297 of doors_and_gates.lua:
https://github.com/VanessaE/homedecor/b ... s.lua#L297
Last edited by Zeg9 on Fri Jun 07, 2013 11:02, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
The signs of the homedecor mod also cause the itemstack error. It looks like you and VanessaE will have to go through the homedecor mod and see what can be done.Zeg9 wrote:I'll try to fix this. But maybe the only way to do is to forbid placing these items (still better than crashing).webdesigner97 wrote:When I try to put a "mahagony Closet door (homedecor) into an itemframe or pedestal, the game crashes saying:
But I like the idea of the mod! It's great!itemframes/init.lua:125 attempt to index local 'itemstack' (a nil value)
Will edit this post when done...
EDIT: done, it won't crash server anymore, but you still won't be able to place them.
EDIT2: actually the bug is in homedecor.
It should work if you add ", itemstack" after "placer" at the end of line 297 of doors_and_gates.lua:
https://github.com/VanessaE/homedecor/b ... s.lua#L297
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
EDIT: It should work now (just update homedecor), thanks to VanessaE for fixing it !Inocudom wrote:The signs of the homedecor mod also cause the itemstack error. It looks like you and VanessaE will have to go through the homedecor mod and see what can be done.
Last edited by Zeg9 on Fri Jun 07, 2013 17:38, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
For others in this thread, the itemstack issue in homedecor has been fixed.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
- webdesigner97
- Member
- Posts: 1328
- Joined: Mon Jul 30, 2012 19:16
- GitHub: webD97
- IRC: webdesigner97
- In-game: webdesigner97
- Location: Cologne, Germany
- Contact:
Great!VanessaE wrote:For others in this thread, the itemstack issue in homedecor has been fixed.
Visit me: webD97.de | @GitHub | @DeviantArt
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
I found a bug.
I crafted an itemframe, and put it on a wall. When I tried to put a diamond on it, it crashed the server I was on. I tested with other materials, and I had no problems. So, I crafted another itemframe and put it next to the original that caused the crash, and when I put a diamond in it, nothing out of the ordinary happened. I'm not sure if it's the itemframe, its placement, or the material placed in it that caused the crash, but all I know is that a diamond on that specific itemframe crashes the server I was on.
I crafted an itemframe, and put it on a wall. When I tried to put a diamond on it, it crashed the server I was on. I tested with other materials, and I had no problems. So, I crafted another itemframe and put it next to the original that caused the crash, and when I put a diamond in it, nothing out of the ordinary happened. I'm not sure if it's the itemframe, its placement, or the material placed in it that caused the crash, but all I know is that a diamond on that specific itemframe crashes the server I was on.
Do you have any log (debug.txt) of what happened?Froggy wrote:I found a bug.
I crafted an itemframe, and put it on a wall. When I tried to put a diamond on it, it crashed the server I was on. I tested with other materials, and I had no problems. So, I crafted another itemframe and put it next to the original that caused the crash, and when I put a diamond in it, nothing out of the ordinary happened. I'm not sure if it's the itemframe, its placement, or the material placed in it that caused the crash, but all I know is that a diamond on that specific itemframe crashes the server I was on.
Does putting an itemframe at the exact same place cause the same crash?
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
-
- Member
- Posts: 67
- Joined: Sat Jun 01, 2013 01:05
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
You need to embed the image address in img tags
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
Zeg9 is it possible to change how far the Item is from the pedestal and is it possible to stop the spinning?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
Mods: Orichalcum Stonebricks Extra Chests
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
Can you make it so that just anyone (or say, someone with a given privilege) can punch these to update them, e.g. if the original owner isn't around after a /clearobjects ?
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
- CraigyDavi
- Member
- Posts: 582
- Joined: Sat Aug 10, 2013 13:08
- GitHub: davisonio
- IRC: davisonio
- In-game: CraigyDavi
- Location: Hampshire, UK
- Contact:
That's a good idea. I'd like too see this too, on this mod, if it is still being worked on.VanessaE wrote:Can you make it so that just anyone (or say, someone with a given privilege) can punch these to update them, e.g. if the original owner isn't around after a /clearobjects ?
Last edited by CraigyDavi on Sat Nov 16, 2013 20:57, edited 1 time in total.
-
- Member
- Posts: 158
- Joined: Sat Aug 03, 2013 15:16
- In-game: naro
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
[02-15 12:41] <VE-Survival> <AspireMint> month ago i put bannana to frame, and today/yesterday i right-clicked on frame, and then put bannana to frame
[02-15 12:41] <VE-Survival> <AspireMint> so i updated this old frame
He told me of this error after the fact. The banana probably got removed due to /clearobjects at some point after the first add event. This was the resultant error in the log:
terminate called after throwing an instance of 'ServerError' what(): .../games/vanessae_game/mods/itemframes/itemframes/init.lua:69: attempt to index local 'posad' (a nil value)
stack traceback:
.../games/vanessae_game/mods/itemframes/itemframes/init.lua:69: in function 'update_item'
.../games/vanessae_game/mods/itemframes/itemframes/init.lua:124: in function 'on_rightclick'
/usr/local/share/minetest/builtin/item.lua:326: in function </usr/local/share/minetest/builtin/item.lua:319>
/home/minetest/Scripts/minetestserver-survival.sh: line 25: 10535 Aborted
[02-15 12:41] <VE-Survival> <AspireMint> so i updated this old frame
He told me of this error after the fact. The banana probably got removed due to /clearobjects at some point after the first add event. This was the resultant error in the log:
terminate called after throwing an instance of 'ServerError' what(): .../games/vanessae_game/mods/itemframes/itemframes/init.lua:69: attempt to index local 'posad' (a nil value)
stack traceback:
.../games/vanessae_game/mods/itemframes/itemframes/init.lua:69: in function 'update_item'
.../games/vanessae_game/mods/itemframes/itemframes/init.lua:124: in function 'on_rightclick'
/usr/local/share/minetest/builtin/item.lua:326: in function </usr/local/share/minetest/builtin/item.lua:319>
/home/minetest/Scripts/minetestserver-survival.sh: line 25: 10535 Aborted
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
Who is online
Users browsing this forum: No registered users and 69 guests