[Mod] MoreMesecons [moremesecons]

TurboWafflz
New member
Posts: 6
Joined: Sat Oct 22, 2016 00:50
GitHub: turbowafflz
In-game: TurboWafflz
Contact:

Re: [Mod] MoreMesecons [moremesecons]

by TurboWafflz » Post

Will it run on 0.16 stable?

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] MoreMesecons [moremesecons]

by Andrey01 » Post

TurboWafflz wrote:Will it run on 0.16 stable?
At first "0.4.16", at second i think it should work.

User avatar
Palige
Member
Posts: 105
Joined: Sun Nov 23, 2014 14:39
GitHub: paly2
IRC: Upsilon
In-game: Upsilon
Contact:

Re: [Mod] MoreMesecons [moremesecons]

by Palige » Post

TurboWafflz wrote:Will it run on 0.16 stable?
Yes, it runs on 0.4.15-dev since 6 may, 0.4.16-stable and 0.4.16-dev.
Sorry for my english : I am french...

Some of my minetest stuff:
MoreMesecons
Throwing Redo
PvP-Plus
A few other things

I'm hosting the Eurythmia server

Emojiminetest
Member
Posts: 38
Joined: Sat Jun 06, 2020 00:21
GitHub: Emojigit

Re: [Mod] MoreMesecons [moremesecons]

by Emojiminetest » Post

I think can add a block call "adjustable insulated mese", that can let the user choose which port link to another port, like link west port to top port.

How to craft:
^ = Luacontroller
* = mesecons_insulated:insulated_off
$ = blank

Code: Select all

---------------
$  *  $
*  ^  *
$  *  $

Merak
Member
Posts: 116
Joined: Sat Nov 05, 2016 20:34

Re: [Mod] MoreMesecons [moremesecons]

by Merak » Post

TimeGate is getting stuck as on when I leave and return. In order to get it to change states again, I must dig it and re-enter the time.

MT_Dad
Member
Posts: 10
Joined: Sun Oct 25, 2020 14:10

Re: [Mod] MoreMesecons [moremesecons]

by MT_Dad » Post

Is it possible to query the position of a luablock in it's code?

Greetings!

I am new to MT and discovering the possibilities of LUA. I got referred to this thread by another user, so I hope this is the right spot to ask.

I would like to use a luablock to trigger an action relavite to the position of the luablock, so it would be quite useful to query it's position in the code. Something like

pseudocode:

local pos = self:get_position
minetest.set_node({x=pos.x, y=pos.y+2, z=pos.z}, {name="default:ice"})


This way, it would not be necessary to look up (and hardcode) the current position of the block and adapting the code when copying/moving the luablock.

User avatar
Palige
Member
Posts: 105
Joined: Sun Nov 23, 2014 14:39
GitHub: paly2
IRC: Upsilon
In-game: Upsilon
Contact:

Re: [Mod] MoreMesecons [moremesecons]

by Palige » Post

MT_Dad wrote:
Sun Oct 25, 2020 20:56
Is it possible to query the position of a luablock in it's code?

Greetings!

I am new to MT and discovering the possibilities of LUA. I got referred to this thread by another user, so I hope this is the right spot to ask.

I would like to use a luablock to trigger an action relavite to the position of the luablock, so it would be quite useful to query it's position in the code. Something like

pseudocode:

local pos = self:get_position
minetest.set_node({x=pos.x, y=pos.y+2, z=pos.z}, {name="default:ice"})


This way, it would not be necessary to look up (and hardcode) the current position of the block and adapting the code when copying/moving the luablock.
Hi, thanks for using this mod! There's already a "pos" variable in the LuaBlock automatically created before the code runs that contains its position, so you can simply write:

minetest.set_node({x=pos.x, y=pos.y+2, z=pos.z}, {name="default:ice"})

There is indeed no documentation for this in the README, I'll try to fix that soon :-)
Sorry for my english : I am french...

Some of my minetest stuff:
MoreMesecons
Throwing Redo
PvP-Plus
A few other things

I'm hosting the Eurythmia server

User avatar
TenPlus2
Member
Posts: 22
Joined: Sun May 09, 2021 20:54

Re: [Mod] MoreMesecons [moremesecons]

by TenPlus2 » Post

Bug in mesechest init.lua starting at line 117 you are registering crafts for default:mesechest when it is just "mesechest" same for default:mesechest_locked is just "mesechest_locked"

hence the crafts don't register for the chests

maybe it works in unified, idk, but in sinv, did not work.

User avatar
Palige
Member
Posts: 105
Joined: Sun Nov 23, 2014 14:39
GitHub: paly2
IRC: Upsilon
In-game: Upsilon
Contact:

Re: [Mod] MoreMesecons [moremesecons]

by Palige » Post

TenPlus2 wrote:
Mon May 24, 2021 09:11
Bug in mesechest init.lua starting at line 117 you are registering crafts for default:mesechest when it is just "mesechest" same for default:mesechest_locked is just "mesechest_locked"

hence the crafts don't register for the chests

maybe it works in unified, idk, but in sinv, did not work.
Thank you, this was due to a change in behavior of the default.chest.register_chest function. This is fixed in the latest release.
Sorry for my english : I am french...

Some of my minetest stuff:
MoreMesecons
Throwing Redo
PvP-Plus
A few other things

I'm hosting the Eurythmia server

User avatar
mr_chicken
Member
Posts: 37
Joined: Sat Sep 07, 2019 07:18
GitHub: root
IRC: Doris Day
In-game: Faded_Glory Rex_2000
Location: Here
Contact:

Re: [Mod] MoreMesecons [moremesecons]

by mr_chicken » Post

Palige wrote:
Mon Apr 24, 2017 09:15
A new node has been added: the LuaBlock!

The LuaBlock is an admin item which can execute any Lua code in the global namespace when turned on. Placing it and changing its code requires the server privilege. Of course, it is uncraftable.
Hi, in singleplayer luablock works fine and dandy for me, bu as admin on my own server it doesn't work at all, how come?
Playing minnoye ispytaniye on a Агат II, driving a Лaдa that goes 300 hectares on a single tank of kerosene

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest