Daïmanu wrote:Hi.
I found a bug: when you click on the bed while your moving, the movement will continue in your sleep.
yay a sleepwalking mod
Daïmanu wrote:Hi.
I found a bug: when you click on the bed while your moving, the movement will continue in your sleep.
Casimir wrote:Every time I rejoin, I spawn at the bed (without dying). Is this the intended behavior or a bug?
Edit: Somehow sometimes it does not happen. Another problem, the beds do not appear in the craft guide (tested with zcg).
13:43:39: ERROR[main]: ServerError: /home/john/.minetest/mods/beds/init.lua:86: attempt to index field 'player_attached' (a nil value)
13:43:39: ERROR[main]: stack traceback:
13:43:39: ERROR[main]: /home/john/.minetest/mods/beds/init.lua:86: in function 'lay_down'
13:43:39: ERROR[main]: /home/john/.minetest/mods/beds/init.lua:146: in function 'on_rightclick'
13:43:39: ERROR[main]: /home/john/.minetest/mods/beds/nodes.lua:62: in function 'on_rightclick'
13:43:39: ERROR[main]: /usr/share/minetest/builtin/game/item.lua:326: in function </usr/share/minetest/builtin/game/item.lua:319>
13:43:39: ERROR[main]: (tail call): ?
PsiGuy60 wrote:Getting errors when I try to sleep in single player...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
13:43:39: ERROR[main]: ServerError: /home/john/.minetest/mods/beds/init.lua:86: attempt to index field 'player_attached' (a nil value)
I might be missing something though.
Krock wrote:PsiGuy60 wrote:Getting errors when I try to sleep in single player...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
13:43:39: ERROR[main]: ServerError: /home/john/.minetest/mods/beds/init.lua:86: attempt to index field 'player_attached' (a nil value)
I might be missing something though.
You need the newest minetest version for this mod. (version 0.4.10 or 0.4.10-dev)
PsiGuy60 wrote:I'm on 0.4.10, still getting that error. Should have said it earlier though.
EDIT: No I'm not. It's working on regular Minetest, not on Minetest+ or any of the other games I added myself.
Krock wrote:PsiGuy60 wrote:I'm on 0.4.10, still getting that error. Should have said it earlier though.
EDIT: No I'm not. It's working on regular Minetest, not on Minetest+ or any of the other games I added myself.
Sorry. I meant the minetest_game.
https://github.com/minetest/minetest_ga ... er.lua#L38
You're using a (sub)game which does not contain this variable.
afflatus wrote:Is it possible to add a chatcommand to deregister yourself?
As admin, having tested the beds, I don't want to participate in sleeping.
Naturally I will edit the files in /worlds when I reboot, but it would be useful to be able to do this in-game.
Or deregister on_dignode would be even better.
Users browsing this forum: No registered users and 20 guests