[Mod] Bed [0.1] [beds]

SelfishCar
Member
Posts: 137
Joined: Sun Dec 04, 2011 12:22
Location: Sweden
Contact:

by SelfishCar » Post

This happens ALL THE TIME for me when I download mods... It's so friggin ANNOYING!!!

Code: Select all

15:38:24: ERROR[ServerThread]: ERROR: An unhandled exception occurred: LuaError: error: ...otta\Skrivbord\MT\bin\..\data\mods\beds/sleeping.lua:29: attempt to call method 'set_timeofday' (a nil value)
15:38:24: ERROR[ServerThread]: stack traceback:
Can somebody PLEASE help me?
In-game Username: Axel
In-game Username #2: SelfishCar

SoLA: Part 1: Angela's Disappearance: http://minetest.net/forum/viewtopic.php?id=1586

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

by bgsmithjr » Post

Out of date client.

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

by JoseMing » Post

what latest build?
Nothing is impossible, Only you need you mind to create... and Sorry for my Bad English :D
Add me on remobo as JoseGarcia

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

by Death Dealer » Post

JoseMing wrote:what latest build?
look at celerons blog
Keep calm and code python^_^

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

by sfan5 » Post

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

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

by Death Dealer » Post

thats the latest
Keep calm and code python^_^

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

by JoseMing » Post

0.4.dev-20120320 right?
Nothing is impossible, Only you need you mind to create... and Sorry for my Bad English :D
Add me on remobo as JoseGarcia

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

by Death Dealer » Post

JoseMing wrote:0.4.dev-20120320 right?
yes
Keep calm and code python^_^

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

by bgsmithjr » Post

I have 03/26/2012, I have a client built on 03/27 and then built the server on the 28th and it gave me the same message, he must have made a major change within the past 3 days.

User avatar
Ragnarok
Member
Posts: 217
Joined: Thu Mar 22, 2012 12:56
Location: Poland
Contact:

by Ragnarok » Post

@bgsmithjr Its freeky awesome! Thanks you made it =)

I made some textures for bed. You can download it along with slightly modified code here:

DLLINK: http://db.tt/tq07Ogyj
MD5: http://db.tt/ejB69yRo

Image
By vibender at 2012-03-29

Image
By vibender at 2012-03-29

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

by bgsmithjr » Post

What did you modify?

Just the images, and removed a line of whitespace?
Last edited by bgsmithjr on Thu Mar 29, 2012 18:05, edited 1 time in total.

User avatar
Ragnarok
Member
Posts: 217
Joined: Thu Mar 22, 2012 12:56
Location: Poland
Contact:

by Ragnarok » Post

Names, images, added bottom texture (instead of above texture), inventory textures and this line:

Code: Select all

    groups            = { choppy = 3, oddly_breakable_by_hand = 3},
Bed disassembling faster.

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

by bgsmithjr » Post

Just took it and made it your own, I see. But that's fine you can even redistribute it and say you made it if you want.

User avatar
Ragnarok
Member
Posts: 217
Joined: Thu Mar 22, 2012 12:56
Location: Poland
Contact:

by Ragnarok » Post

I only create textures, the code is yours :) I think about few versions of bed:

Your bed with recipe:
wood, wood, wood
stick, none, stick

my papyrus bed:
papyrus, papyrus, papyrus
stick, none, stick

marriage bed (?)
wool, wool, wool
stick, none, stick

This can be fun.

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

by bgsmithjr » Post

I didn't write the sleep function. I just made the bed,and on_place. A guy wrote the sleeping.init and I did the rest.
Last edited by bgsmithjr on Thu Mar 29, 2012 19:27, edited 1 time in total.

User avatar
Hackeridze
Member
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Post

bgsmithjr wrote: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
Try to use opacity instead of black and "glasslike" drawtype.
My game: RTMG
GENTOO USER

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

by Jordach » Post

Hackeridze wrote:
bgsmithjr wrote: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
Try to use opacity instead of black and "glasslike" drawtype.
It uses chest like to look like beds, any other way and it wont.

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

by bgsmithjr » Post

And I think alpha=* option that they use for water changes the whole block or just the side. But I was thinking if I used drawtype= allfaces optional like leaves it would work but then it tiles one image on all sides.

User avatar
1omar1
Member
Posts: 27
Joined: Tue Mar 13, 2012 13:11

by 1omar1 » Post

The best mod!
I usally play in tsundere.fi (port 30001). My nickname is FMMAF or 1omar1.
My mod: http://minetest.net/forum/viewtopic.php?id=1987

User avatar
Stef
Member
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Post

can't sleep in it
Sorry for my crappy english, im dutch :D

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

by LolManKuba » Post

its outdated

User avatar
kddekadenz
Member
Posts: 323
Joined: Mon Jun 27, 2011 17:21
GitHub: tinyworlds
Location: Germany
Contact:

by kddekadenz » Post

LolManKuba wrote:its outdated
Would be cool if it would be updated and a 3D 'model' added.

neo
Member
Posts: 56
Joined: Fri Jun 15, 2012 07:50
Location: france

by neo » Post

working on this, put a hand on a bed.lua on the forums that works.

I need a little work but is a good base to start from.

User avatar
Mineing Master
Member
Posts: 26
Joined: Mon Jun 25, 2012 18:04
Location: Wisconsin
Contact:

by Mineing Master » 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

I downloaded this and on the minetest-0.4.dev-20120606-win32 the bed mod works but i'm starting to use minetest-0.4.dev-20120606-c57e508-win32 and this one will not let the bed mod work so i need some help. becouse I wan't to use the bed to go to sleep. That's the only problem I have with it I can build and place the bed but not sleep on it.
Last edited by Mineing Master on Tue Jun 26, 2012 12:20, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Mods have to be updated to work with the latest versions, sometimes.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest