[Mod] Beds [beds]

User avatar
BlockMen
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen

by BlockMen » Wed Apr 24, 2013 12:32

PilzAdam wrote:Well, I really change the position of the camera and not just the pitch (in fact I dont change the pitch at all). I also disallow moving away, so it isnt real fake laying.


You change the position of the player (which sometimes falls down when using bed in second floor) So its also no real lying, its fake too, but maybe a better one. ;)
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48

by Traxie21 » Wed Apr 24, 2013 12:34

Oh, I thought you actually set the camera position. As opposed to player position.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Apr 24, 2013 14:27

Traxie21 wrote:Oh, I thought you actually set the camera position. As opposed to player position.

Ehm.... I do set the camera position.

BlockMen wrote:
PilzAdam wrote:Well, I really change the position of the camera and not just the pitch (in fact I dont change the pitch at all). I also disallow moving away, so it isnt real fake laying.


You change the position of the player (which sometimes falls down when using bed in second floor) So its also no real lying, its fake too, but maybe a better one. ;)

I have no idea how the player can fall down when the gravity is set to 0. Maybe network latency :-/
 

kpo
Member
 
Posts: 38
Joined: Sun Mar 31, 2013 19:01

by kpo » Wed Apr 24, 2013 19:47

PilzAdam wrote:
Traxie21 wrote:Oh, I thought you actually set the camera position. As opposed to player position.

Ehm.... I do set the camera position.

BlockMen wrote:
PilzAdam wrote:Well, I really change the position of the camera and not just the pitch (in fact I dont change the pitch at all). I also disallow moving away, so it isnt real fake laying.


You change the position of the player (which sometimes falls down when using bed in second floor) So its also no real lying, its fake too, but maybe a better one. ;)

I have no idea how the player can fall down when the gravity is set to 0. Maybe network latency :-/


No it has nothing to do with network latency. I tried this placing a bed on the 2nd floor and I fell through the floor and then have to log out and in again to be able to move :-) Something is not quite right in the code. This is on latest git on local machine.
To me it really looks like the player is moved 1block or ½ a block down, then falls through the floor.
 

User avatar
onpon4
Member
 
Posts: 517
Joined: Thu Mar 21, 2013 01:54

by onpon4 » Thu Apr 25, 2013 13:45

Is there any way you could add a link to download the latest version that worked with 0.4.6 until 0.4.7 comes out? Would that be http://github.com/PilzAdam/beds/archive/4cf28c00dc51b95ab5649d5f69c371fc781dbe9b.zip (4cf28c00dc)?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Apr 25, 2013 13:49

onpon4 wrote:Is there any way you could add a link to download the latest version that worked with 0.4.6 until 0.4.7 comes out? Would that be http://github.com/PilzAdam/beds/archive/4cf28c00dc51b95ab5649d5f69c371fc781dbe9b.zip (4cf28c00dc)?

Done.
 

CalumMc
Member
 
Posts: 58
Joined: Mon Dec 12, 2011 16:50

by CalumMc » Sat Jun 29, 2013 17:42

I'm having some problems with this mod and I'm wondering if you could help. The first problem is that when lying in the bed, the camera is actually inside the bed itself. Also when leaving the bed, if there is a wall on the right hand side I get stuck in it. How can I have beds only accessible from the left? Thanks!
 

CrafterZ123
New member
 
Posts: 3
Joined: Sat Jun 29, 2013 12:47

by CrafterZ123 » Sun Jun 30, 2013 03:11

it does not work for me my minetest version is 0.4.7
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sun Jun 30, 2013 03:34

CrafterZ123 wrote:it does not work for me my minetest version is 0.4.7

Try renaming the folder to 'beds'.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

mindbuster
New member
 
Posts: 5
Joined: Fri Jun 21, 2013 15:56

by mindbuster » Mon Jul 01, 2013 19:45

this mod work with 0.4.4 version? thank you
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Jul 01, 2013 20:17

mindbuster wrote:this mod work with 0.4.4 version? thank you

Try it, but I dont think so.
 

User avatar
ak399g
Member
 
Posts: 160
Joined: Tue Jul 30, 2013 02:36
In-game: SAFR

by ak399g » Tue Aug 06, 2013 22:20

BUG: I slept in my bed a couple times. Now, whever the sun is about to set, even if I'm not in my bed, the time skips over the night and resets to morning. This is terrible!
Last edited by ak399g on Tue Aug 06, 2013 22:20, edited 1 time in total.
aka SAFR
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Wed Aug 07, 2013 01:44

ak399g wrote:BUG: I slept in my bed a couple times. Now, whever the sun is about to set, even if I'm not in my bed, the time skips over the night and resets to morning. This is terrible!


I had the same issue once.
 

User avatar
thefamilygrog66
Member
 
Posts: 169
Joined: Mon Jul 09, 2012 19:08

by thefamilygrog66 » Thu Aug 08, 2013 20:30

ak399g wrote:BUG: I slept in my bed a couple times. Now, whever the sun is about to set, even if I'm not in my bed, the time skips over the night and resets to morning. This is terrible!


You can reset the beds if you go to the folder for your world (i.e. minetestpath\worlds\worldname\) and delete the file named:

beds_player_spawns

After that, you will spawn at spawn, as opposed to your bed, until you sleep in a bed at night time.
 

User avatar
Silent-Hunter
Member
 
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Thu Nov 07, 2013 20:38

kpo wrote:I tried this placing a bed on the 2nd floor and I fell through the floor and then have to log out and in again to be able to move :-) Something is not quite right in the code. This is on latest git on local machine. To me it really looks like the player is moved 1block or ½ a block down, then falls through the floor.


I have the same problem! I don't know LUA, but I might look over the code and see if I can fix it.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Thu Nov 07, 2013 20:40

Silent-Hunter wrote:
kpo wrote:I tried this placing a bed on the 2nd floor and I fell through the floor and then have to log out and in again to be able to move :-) Something is not quite right in the code. This is on latest git on local machine. To me it really looks like the player is moved 1block or ½ a block down, then falls through the floor.


I have the same problem! I don't know LUA, but I might look over the code and see if I can fix it.
I've had the bug too, but it solves going down stairs or a ladder every morning! ;)

It's an unintended feature of a bug...

Fixing it is pretty trivial:

player respawns should be,
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
x = player .. _x
y = player .. _y + 1
z = player .. _z

The Y axis is the up and down, not Z like that other voxel game.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
Silent-Hunter
Member
 
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Thu Nov 07, 2013 21:15

Actually, I fixed it by changing line 118 of init.lua from
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
                pos.y = pos.y-1

to
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
                pos.y = pos.y-0.5
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Thu Nov 07, 2013 21:16

Silent-Hunter wrote:Actually, I fixed it by changing line 118 of init.lua from
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
                pos.y = pos.y-1

to
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
                pos.y = pos.y-0.5
Well, I only made an estimate and not a full figure... :D

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
Silent-Hunter
Member
 
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Sat Nov 09, 2013 07:37

Oh! I guess I didn't realise we were talking about the same bit of code. *derps*
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Tue Dec 17, 2013 18:21

work in version 0.4.8?
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Dec 17, 2013 18:25

brunob.santos wrote:work in version 0.4.8?

works in version 0.4.8
 

spillz
Member
 
Posts: 138
Joined: Thu Feb 13, 2014 05:11

by spillz » Fri Feb 14, 2014 16:10

A few bed issues (using github master):

1/ If someone breaks your bed while lying in it, you are stuck
2/ Objects placed to right side of beds cause problems when you get out (end up stuck in whatever it is)
3/ Any way to improve on character positioning? In multiplayer it looks really odd to see characters standing up in the ground below their bed!
4/ How does passage of time work? Does the time actually change to day the second you go to "sleep" in the bed at night? Some visual indication of what is happening would be good here (e.g. see how minecraft does it).

Otherwise thanks for a nice mod.
 

User avatar
HolyPhoenix
Member
 
Posts: 27
Joined: Sun Mar 31, 2013 18:20

by HolyPhoenix » Fri Feb 14, 2014 18:25

On 4.9 I also had an issue. I will try taking a video of it in action and post it when I get home.

Basically, when I lay down in the bed my character kept floating down for a while. I went way into the first floor of the house I had made and could not move. I used /home to try and get out of the predicament. It put me at my home location. But I still could not remove. Exiting the game and re-entering allowed my character to move again.
 

sawik
Member
 
Posts: 14
Joined: Sun Jan 12, 2014 18:11

by sawik » Sun Apr 06, 2014 17:16

I have the same problem as HolyPhoenix. I also can't sleep after game reload.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Sun Apr 06, 2014 17:42

spillz wrote:A few bed issues (using github master):

1/ If someone breaks your bed while lying in it, you are stuck
2/ Objects placed to right side of beds cause problems when you get out (end up stuck in whatever it is)
3/ Any way to improve on character positioning? In multiplayer it looks really odd to see characters standing up in the ground below their bed!
4/ How does passage of time work? Does the time actually change to day the second you go to "sleep" in the bed at night? Some visual indication of what is happening would be good here (e.g. see how minecraft does it).

Otherwise thanks for a nice mod.


1. It should be possible to add some meta to a bed and a check for it on_dig. If someone's laying on a bed, then there should be some meta and then we'll need to "release" our dear player.

2 & 3. It should be possible to find_node_near that is air and check if there's air above it. Then teleport our dear player to a given pos (having detached him/her beforehand).

4. It should be possible to add some semi-transparent texture using HUD which would be "fullscreen". Then we need to add 2, 3, 4, etc layers of the same texture until it would be pitch black. In the morning a reversed procedure would be necessary.
 

Rajacon
New member
 
Posts: 2
Joined: Thu Jun 19, 2014 04:51

Re: [Mod] Beds [beds]

by Rajacon » Thu Jun 19, 2014 04:54

For some strange reason, I download ANY of your mods, and I always receive an error, saying the game is not able to read them. I'm using 0.4.9
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Beds [beds]

by Krock » Thu Jun 19, 2014 10:35

Rajacon wrote:For some strange reason, I download ANY of your mods, and I always receive an error, saying the game is not able to read them. I'm using 0.4.9

Welcome! Have you read this sticky post yet?

How do I install mods?
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

knottyboy589
New member
 
Posts: 2
Joined: Tue Jun 24, 2014 11:43
In-game: knottyboy589

Re: [Mod] Beds [beds]

by knottyboy589 » Tue Jun 24, 2014 11:47

I get this issue aswell, and I did install the mod correctly, because I followed the instructions on that sticky post that u sent rajacon, and all other mods work fine! Please help! Pilz adam does the best minetest mods, and yet I can't get any of them! :'-(
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: [Mod] Beds [beds]

by kaeza » Tue Jun 24, 2014 11:55

knottyboy589 wrote:I get this issue aswell, and I did install the mod correctly, because I followed the instructions on that sticky post that u sent rajacon, and all other mods work fine! Please help! Pilz adam does the best minetest mods, and yet I can't get any of them! :'-(

Follow the instructions in this topic, but post here instead of creating a new topic.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

Baggypants
Member
 
Posts: 30
Joined: Mon Aug 25, 2014 17:42
GitHub: Baggypants

Re:

by Baggypants » Mon Aug 25, 2014 17:45

thefamilygrog66 wrote:
ak399g wrote:BUG: I slept in my bed a couple times. Now, whever the sun is about to set, even if I'm not in my bed, the time skips over the night and resets to morning. This is terrible!


You can reset the beds if you go to the folder for your world (i.e. minetestpath\worlds\worldname\) and delete the file named:

beds_player_spawns

After that, you will spawn at spawn, as opposed to your bed, until you sleep in a bed at night time.


I'm getting this as part of the Carbone game. Can it be fixed without deleting stuff on the server?
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 9 guests

cron