[Mod] Item frames and pedestal [github] [itemframes]

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Fri May 31, 2013 11:06

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.

I like the idea of pedestals. Should items auto-rotate when placed above ?
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).
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Fri May 31, 2013 15:34

They could auto-rotate on one type of pedestal and be still on another type.
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Fri May 31, 2013 16:50

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.

Image
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).
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Mon Jun 03, 2013 16:30

Hybrid Dog wrote:Are the items rotating?

Yes, they are. if you want it might be changed.
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).
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Fri Jun 07, 2013 06:03

When I try to put a "mahagony Closet door (homedecor) into an itemframe or pedestal, the game crashes saying:

itemframes/init.lua:125 attempt to index local 'itemstack' (a nil value)


But I like the idea of the mod! It's great!
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Fri Jun 07, 2013 10:53

webdesigner97 wrote:When I try to put a "mahagony Closet door (homedecor) into an itemframe or pedestal, the game crashes saying:

itemframes/init.lua:125 attempt to index local 'itemstack' (a nil value)


But I like the idea of the mod! It's great!

I'll try to fix this. But maybe the only way to do is to forbid placing these items (still better than crashing).
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/blob/master/doors_and_gates.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).
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Fri Jun 07, 2013 14:42

Zeg9 wrote:
webdesigner97 wrote:When I try to put a "mahagony Closet door (homedecor) into an itemframe or pedestal, the game crashes saying:

itemframes/init.lua:125 attempt to index local 'itemstack' (a nil value)


But I like the idea of the mod! It's great!

I'll try to fix this. But maybe the only way to do is to forbid placing these items (still better than crashing).
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/blob/master/doors_and_gates.lua#L297


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.
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Fri Jun 07, 2013 16:35

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.

EDIT: It should work now (just update homedecor), thanks to VanessaE for fixing it !
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).
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Fri Jun 07, 2013 18:17

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 (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Sat Jun 08, 2013 08:11

VanessaE wrote:For others in this thread, the itemstack issue in homedecor has been fixed.

Great!
 

User avatar
lonely
Member
 
Posts: 58
Joined: Fri Feb 01, 2013 15:30

by lonely » Sat Jun 08, 2013 09:34

jojoa1997 wrote:Forget creative mode. Mainly when you place an item in a frame the item is taken.

not to me
Aperture science:[url]http:forum.minetest.net/viewtopic.php?id=5917[/url]
I v'e got MineCraft now, so goodbye. You can look for me at the minecraft forum. my name there
is Portalfreaky.
 

User avatar
Froggy
Member
 
Posts: 24
Joined: Wed Jun 12, 2013 00:32

by Froggy » Wed Jun 12, 2013 01:18

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.
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Wed Jun 12, 2013 06:09

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.

Do you have any log (debug.txt) of what happened?
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).
 

yohanes828
Member
 
Posts: 67
Joined: Sat Jun 01, 2013 01:05

by yohanes828 » Sat Aug 17, 2013 10:46

how to make a image
=_ = |p
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Aug 17, 2013 13:08

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 (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Chinchow
Member
 
Posts: 683
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Sun Sep 08, 2013 18:34

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
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu Nov 14, 2013 03:07

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 (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
CraigyDavi
Member
 
Posts: 565
Joined: Sat Aug 10, 2013 13:08
GitHub: davisonio
IRC: davisonio or CraigyDavi
In-game: davisonio or CraigyDavi

by CraigyDavi » Sat Nov 16, 2013 20:57

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 ?


That's a good idea. I'd like too see this too, on this mod, if it is still being worked on.
Last edited by CraigyDavi on Sat Nov 16, 2013 20:57, edited 1 time in total.
 

jenova99sephiros
Member
 
Posts: 158
Joined: Sat Aug 03, 2013 15:16
In-game: Jenova

by jenova99sephiros » Sat Nov 16, 2013 22:11

Great mod
I english google translator
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Feb 15, 2014 17:39

[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
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Achilles
Member
 
Posts: 246
Joined: Sun Dec 15, 2013 11:55
In-game: Achilles

by Achilles » Mon Feb 17, 2014 07:54

Great Mod, i especially like how the objects on the pedestal spin, It makes a great attraction in the game. :D
The Ironic Thing About Common Sense Is That It Isn't Very Common
 

LazyJ
Member
 
Posts: 479
Joined: Wed Sep 12, 2012 12:29

Re: [Mod] Item frames and pedestal [github] [itemframes]

by LazyJ » Thu Jun 26, 2014 05:24

It's been a while since I last looked into this mod.

  • What happens to the items in the frames and on the pedestals after clearobjects has been run?

  • Does this mod still crash Minetest when items are punched in the frames to reset them?

  • Any other bugs or issues that folks have encountered using this mod?

Thanks ;)
.: Minetest 0.4.14 ~ Linux Mint ~ A moka pot, a French press, a dirty coffee cup, and a spoiled-rotten kitty :.
Visit our Minetest server at: LinuxGaming2.com, port 30000
Screenshots, overview maps, and server info at: http://forum.minetest.net/viewtopic.php?f=10&t=5684
My blog: http://lazyjminetest.blogspot.com/
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Item frames and pedestal [github] [itemframes]

by TenPlus1 » Thu Jun 26, 2014 09:53

Running /clearobjects on a server will remove all items inside frames and on pedestals but punching them will drop the item and let you replace it...

Rotating an item frame and placing an item will crash minetest it seems...
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Item frames and pedestal [github] [itemframes]

by Inocudom » Thu Aug 07, 2014 18:10

This mod was updated yesterday, so displayed objects will now reappear after /clearobjects actions.
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: [Mod] Item frames and pedestal [github] [itemframes]

by ExeterDad » Thu Aug 07, 2014 18:13

Yes!! Thank you!
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

Re: [Mod] Item frames and pedestal [github] [itemframes]

by JPRuehmann » Fri Aug 08, 2014 19:53

where i can download the updated version?
Github says last Update a Year ago.
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Item frames and pedestal [github] [itemframes]

by Inocudom » Fri Aug 08, 2014 20:08

 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Mod] Item frames and pedestal [github] [itemframes]

by VanessaE » Thu Aug 28, 2014 19:25

Another small update on my fork, the cause of that "nil posad" bug I reported back in February was finally traced back to the screwdriver mod being able to rotate the frame into an orientation the code can't deal with. I've added a tweak to stop the crash.
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Item frames and pedestal [github] [itemframes]

by SaKeL » Sun Jan 10, 2016 01:04

Pushing item frames/stands with piston (mesecons) will throw the item out of the frame, but then you can get the item out of the frame by punching it (2nd time)- duplicating items for sure :/ is this something what can get fixed it this mod ?
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Item frames and pedestal [github] [itemframes]

by mahmutelmas06 » Tue Jan 12, 2016 23:16

SaKeL wrote:Pushing item frames/stands with piston (mesecons) will throw the item out of the frame, but then you can get the item out of the frame by punching it (2nd time)- duplicating items for sure :/ is this something what can get fixed it this mod ?



xdecor has better itemframes
viewtopic.php?f=11&t=12534
My Mods:

Beverage
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 60 guests

cron