Re: [Mod] basic_machines [basic_machines]
Posted: Sun Jul 30, 2017 21:21
whats
Code: Select all
basic_machines.hardness
The official Minetest discussion board
https://forum.minetest.net/
Code: Select all
basic_machines.hardness
Where did you see that?ManElevation wrote:whatsCode: Select all
basic_machines.hardness
in mover.luahajo wrote:Where did you see that?ManElevation wrote:whatsCode: Select all
basic_machines.hardness
well, just read the comment in the line above the first occurrence:ManElevation wrote:whatsin mover.luaCode: Select all
basic_machines.hardness
Code: Select all
-- how hard it is to move blocks, default factor 1, ...
ok thxhajo wrote:well, just read the comment in the line above the first occurrence:ManElevation wrote:whatsin mover.luaCode: Select all
basic_machines.hardness
Code: Select all
-- how hard it is to move blocks, default factor 1, ...
Oh! I thought it was how hard you need to kick the machine to make it work ... O_ohajo wrote:well, just read the comment in the line above the first occurrence:Code: Select all
-- how hard it is to move blocks, default factor 1, ...
UPDATE: fixed. also doors now open properly when activated.dracmas wrote:Can someone else test pressure plates beside doors crashing minetest with this mod active? Just wanted to see if it's just me. It occurs for me after stepping on the pressure plate.
I wonder if switches and pressure plates could be used to turn lights on/off ?rnd wrote:UPDATE: fixed. also doors now open properly when activated.dracmas wrote:test pressure plates beside doors crashing minetest with this mod active?
Energy from a battery is used by the device powered by the battery, eg. a mover or grinder.SOULYMANE wrote:energy .. to the battery .. battery doesn't consume it.
But what I want see that rnd must make the battery consum the energy auto for example I put 25 power rod it will be consumed autohajo wrote:Energy from a battery is used by the device powered by the battery, eg. a mover or grinder.SOULYMANE wrote:energy .. to the battery .. battery doesn't consume it.
How much those need depends on the operation, eg. grinding diamonds uses more energy
than grinding dirt.
Code: Select all
2017-08-13 14:10:31: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback on_playerReceiveFields(): Invalid float vector dimension range 'x' (expected -2.14748e+06 < x < 2.14748e+06 got 1.23457e+15).
2017-08-13 14:10:31: ERROR[Main]: stack traceback:
2017-08-13 14:10:31: ERROR[Main]: [C]: in function 'get_areas_for_pos'
2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/areas/api.lua:6: in function 'getAreasAtPos'
2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/areas/api.lua:60: in function 'canInteract'
2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/areas/interact.lua:4: in function 'old_is_protected'
2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/basic_machines/protect.lua:12: in function 'is_protected'
2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/basic_machines/mover.lua:2145: in function </root/.minetest/mods/basic_machines/mover.lua:1971>
2017-08-13 14:10:31: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:412: in function </usr/share/minetest/builtin/game/register.lua:392>
I got the same error it seems that basic machines is y as Ving problems protecting the mover, and says "protection fail"SaKeL wrote:Hi all, just got some weird error on the server, is that something known ?
UPDATE: nevermind seems like its not from this mod..Code: Select all
2017-08-13 14:10:31: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback on_playerReceiveFields(): Invalid float vector dimension range 'x' (expected -2.14748e+06 < x < 2.14748e+06 got 1.23457e+15). 2017-08-13 14:10:31: ERROR[Main]: stack traceback: 2017-08-13 14:10:31: ERROR[Main]: [C]: in function 'get_areas_for_pos' 2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/areas/api.lua:6: in function 'getAreasAtPos' 2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/areas/api.lua:60: in function 'canInteract' 2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/areas/interact.lua:4: in function 'old_is_protected' 2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/basic_machines/protect.lua:12: in function 'is_protected' 2017-08-13 14:10:31: ERROR[Main]: /root/.minetest/mods/basic_machines/mover.lua:2145: in function </root/.minetest/mods/basic_machines/mover.lua:1971> 2017-08-13 14:10:31: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:412: in function </usr/share/minetest/builtin/game/register.lua:392>
already in the code as far as i can see..Rflm wrote:Hello.
Is possible to make machines work if players are not playing?
It's easy or all code must be changed?
Regards
Code: Select all
-- MACHINE PRIVILEGE
minetest.register_privilege("machines", {
description = "Player is expert basic_machine user: his machines work while not present on server, can spawn more than 2 balls at once",
})