[Mod] Bed [0.1] [beds]

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

[Mod] Bed [0.1] [beds]

by bgsmithjr » Post

A blue bed two blocks long that changes the time to dawn when all players are in bed.
I changed the inventory images to the bed without shadows.
NOTE: You have to bed standing on the bed to change to daylight.
License: WTFPL
Mod dependencies: default

Download:
Link broken until further notice.
Screenshots:
Image
Image
Last edited by bgsmithjr on Sat Apr 07, 2012 08:02, edited 1 time in total.

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

by sfan5 » Post

Nice!
But you should make a different Bed Texture for the Inventory

BTW: Should I move this to Mod Releases?
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Jordach
Member
Posts: 4523
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

Finally, beds!
viewtopic.php?f=10&t=19056 Solar Plains Dev Server

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

bgsmithjr wrote:A blue bed two blocks long that changes the time to dawn when all players are in bed.
License: WTFPL
Mod dependencies: default

Download:
http://www.filedropper.com/beds_2
Screenshots:
Image
Image
:D nice
Keep calm and code python^_^

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

thanks

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

I changed the inventory image, I removed the shadows.

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

sfan5 wrote:Nice!
But you should make a different Bed Texture for the Inventory

BTW: Should I move this to Mod Releases?
Sure

User avatar
Gilli
Member
Posts: 20
Joined: Sat Mar 17, 2012 21:15

by Gilli » Post

Hellobgsmithjr,

Thank you, you're amazing, really !

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

by sfan5 » Post

Topic Moved!
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

Thanks

User avatar
frogcrush
New member
Posts: 2
Joined: Wed Mar 28, 2012 20:01
Contact:

by frogcrush » Post

I can't get this to work; I copied the folder to my /mods directory and try making one but nothing happens. I am running 0.4 dev 20120320
I'm a sixteen-year-old homeschooled programmer who loves to use new technologies. I program mainly in VB.NET (for the syntax) but can also do some C#. I write markup in XAML and HTML. I also know some CSS. You can check out my website at http://tylorstech.com

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

are you connecting to a server?
open debug.txt, it should be next to the minetest executable and find [LUA ERROR] or [beds] and send me the text.

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

by sfan5 » Post

frogcrush wrote:I can't get this to work; I copied the folder to my /mods directory and try making one but nothing happens. I am running 0.4 dev 20120320
I think the Mods should be in mods/minetest not mods
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

sfan5 saves the day.

User avatar
cosarara97
Member
Posts: 180
Joined: Tue Nov 01, 2011 18:53

by cosarara97 » Post

I think they should be in mods/mesetint, not mods/minetest :D
:D

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

cosarara97 wrote:I think they should be in mods/mesetint, not mods/minetest :D
he said he is using version from 03/20/2012, on that version they are located in ... minetest-dir/mods/mesetint.

User avatar
Scott
Member
Posts: 100
Joined: Sun Nov 13, 2011 06:35

by Scott » Post

how do i get in it?
ubuntu would be #1, without unity

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

What are you referring to?

User avatar
jordan4ibanez
Member
Posts: 1895
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez
Location: Rhode Island, USA

by jordan4ibanez » Post

BG make a note: you have to stand on the bed to be
I've been gone for a long time

User avatar
Scott
Member
Posts: 100
Joined: Sun Nov 13, 2011 06:35

by Scott » Post

Lov this mod! btw, is there any way to turn the bed?
ubuntu would be #1, without unity

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

wow this is way cooler than i thought:D sets time and its two block. but it should be a punch activate time set. and also i found a bug. if you put it in a hole with just one block it says server error not enough room then just takes the bed.
edit: ok sorry it is punch activated
Last edited by Death Dealer on Thu Mar 29, 2012 00:58, edited 1 time in total.
Keep calm and code python^_^

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

This works but it takes a while when you go to bed and wake up, which takes about 1 minute.

User avatar
JoseMing
Member
Posts: 107
Joined: Tue Feb 21, 2012 00:01
Location: Venezuela

by JoseMing » Post

23:08:25: ERROR[ServerThread]: ERROR: An unhandled exception occurred: LuaError: error: ...-20120122-1-win32\bin\..\data\mods\beds/sleeping.lua:29: attempt to call method 'set_timeofday' (a nil value)
23:08:25: ERROR[ServerThread]: stack traceback:

ammm why that send me this error¿?
Nothing is impossible, Only you need you mind to create... and Sorry for my Bad English :D
Add me on remobo as JoseGarcia

Jordach
Member
Posts: 4523
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

JoseMing wrote:23:08:25: ERROR[ServerThread]: ERROR: An unhandled exception occurred: LuaError: error: ...-20120122-1-win32\bin\..\data\mods\beds/sleeping.lua:29: attempt to call method 'set_timeofday' (a nil value)
23:08:25: ERROR[ServerThread]: stack traceback:

ammm why that send me this error¿?
out of date client. you need the latest build, ill email you with it in a link. (compiled from source)
viewtopic.php?f=10&t=19056 Solar Plains Dev Server

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

noted added. Change the directory you are facing to change the direction of the bed. it is always one block in front of you and one to the left. Nevermind I see, if you change the way you are facing it puts one on the right instead.
Last edited by bgsmithjr on Thu Mar 29, 2012 12:43, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests