Search found 569 matches

by cx384
Wed Mar 13, 2024 19:12
Forum: Modding Discussion
Topic: Save object in node metadata
Replies: 7
Views: 237

Re: Save object in node metadata

Example: I have a block and when it's built, the block creates an entity but when the block is destroyed, the entity must disappear. I just don't know how to store the object. Oh, so you want to store an object which is a luaentity without destroying it, in this case it is not much different than t...
by cx384
Tue Mar 12, 2024 17:37
Forum: Modding Discussion
Topic: Save object in node metadata
Replies: 7
Views: 237

Re: Save object in node metadata

Is there a function to convert an object in a string to be stored or an id object ? Yes, assuming your object is a table and not userdata: minetest.serialize(table) and minetest.deserialize(string) . https://github.com/minetest/minetest/blob/32f68f35cf5eabd4223ef4901486d43bb806867e/doc/lua_api.md?p...
by cx384
Mon Mar 11, 2024 17:35
Forum: Modding Discussion
Topic: [SOLVED] Warp Block for Wrap-around
Replies: 5
Views: 225

Re: Warp Block for Wrap-around

Hello and welcome. Blockhead already gave an extensive explanation, so I will keep short and just give a concrete example how it can be implemented. I hope it helps. -- Check only twice a second. If you remove it, it will be checked every server step. (usually 0.1 sec) local delay = 0.5 local time =...
by cx384
Tue Mar 05, 2024 08:54
Forum: Modding Discussion
Topic: voxelManipulator's was_modified() not working?
Replies: 1
Views: 120

Re: voxelManipulator's was_modified() not working?

The documentation seems to be wrong. IIRC, was_modified() can only become true for a mapgen VoxelManip. (which you get by using minetest.get_mapgen_object("voxelmanip") inside an on generated callback.) Those functions can make it true. minetest.set_node(pos, node) minetest.add_node(pos, n...
by cx384
Sun Feb 18, 2024 14:30
Forum: Deutsch
Topic: Stadt nachbauen
Replies: 6
Views: 337

Re: Stadt nachbauen

Minecraft nutze ich nicht.... Das ist irrelevant, es geht bloß um die Erstellung einer Map mit einem externen Editor, welche dann zu einer Minetest Map umgewandelt werden kann. WorldPainter ist zum Beispiel ein Programm (welches auch in der Liste auftaucht, die ich verlinkt hatte) dass für Minecraf...
by cx384
Fri Feb 09, 2024 15:23
Forum: Servers
Topic: [Server] The Architect's Server [Pre-launch]
Replies: 6
Views: 365

Re: [Server] The Architect's Server [Pre-launch]

This looks promising and I hope you will succeed. It is also nice that you provide the source code and don't hide anything or use closed source parts, if I see this correctly. The GitHub repository is not licensed properly, some mods don't have a license and the overall project does not have a licen...
by cx384
Tue Feb 06, 2024 21:51
Forum: Deutsch
Topic: Stadt nachbauen
Replies: 6
Views: 337

Re: Stadt nachbauen

realterrain ist sehr alt und ich weiß nicht wie schwierig es ist ihn dazuzubekommen genau das zu machen, was du willst. Hier sind noch ein paar weitere Werkzeuge: https://wiki.minetest.net/Programs_and_Editors#World_editing Theoretisch kannst du die map auch in Minecraft erstellen und dann zu Minete...
by cx384
Mon Feb 05, 2024 17:00
Forum: Problems
Topic: Is there a known bottleneck with media sending to clients?
Replies: 5
Views: 301

Re: Is there a known bottleneck with media sending to clients?

It seems like this should definitely be changed. Using a remote media server is an alternative solution for now, I think.
by cx384
Thu Jan 25, 2024 11:04
Forum: General Discussion
Topic: Minetest is used in a class at a junior high school in Japan
Replies: 3
Views: 452

Re: Minest is used in a class at a junior high school in Japan

Interesting how white their PC setups are.

(You have a typo in your title, it's Minetest not "Minest".)

Maybe this should be added to minetest.net/education, to include more countries.
https://github.com/minetest/minetest.github.io/pull/292
by cx384
Sat Jan 20, 2024 10:54
Forum: Problems
Topic: Development Mode Only
Replies: 7
Views: 626

Re: Development Mode Only

Alternatively to what Blockhead wrote you can also press the "+" button right next to the devtest icon (where you select games) to directly go to the content installation window for games. The main menu really needs to be improved, if users who are not too familiar with Minetest have probl...
by cx384
Fri Jan 19, 2024 08:57
Forum: General Discussion
Topic: How to build a custom minetest client
Replies: 1
Views: 474

Re: How to build a custom minetest client

(I hope "make my own" referrers to compiling and not rewriting the whole client code ...)

Read the built instructions:
https://github.com/minetest/minetest/bl ... g/linux.md

Everything else should be no different than compiling any other C++ project.
by cx384
Fri Jan 19, 2024 08:27
Forum: Problems
Topic: Crash while playing world
Replies: 4
Views: 387

Re: Crash while playing world

It's right there in the error text, animalia or creatura caused this error. (Note that animalia depends on creatura ) You should complain to ElCeejo, since he made this mods. There are many bugs in animalia , but it doesn't look like ElCeejo will fix them any time soon: https://github.com/ElCeejo/an...
by cx384
Mon Jan 15, 2024 17:42
Forum: Modding Discussion
Topic: cooking recipe output
Replies: 1
Views: 249

Re: cooking recipe output

Yes, sadly they can only output one item.
Using replacements is a hacky way to still output multiply items but it may not work that well.
by cx384
Mon Jan 15, 2024 10:27
Forum: General Discussion
Topic: Roller banner design needed for FOSDEM 2024
Replies: 18
Views: 4171

Re: Roller banner design needed for FOSDEM 2024

I'm not an artist or a graphic designer, but for anyone who wants to create the banner I have a design idea. (Please ignore it if it is trash.) A brief timeline to show how old/well established Minetest is and to emphasize key aspects like: A brief version history (To show some features, e.g. when t...
by cx384
Fri Jan 05, 2024 22:06
Forum: Problems
Topic: [SOLVED] Disabling Christmas Chest texture
Replies: 2
Views: 388

Re: Disabling Christmas Chest texture

Here is how you can disable it:

1. Open the file .../.minetest/games/mineclone2/mods/ITEMS/mcl_chests/init.lua.

2. At line 16 replace

Code: Select all

local it_is_christmas = mcl_util.is_it_christmas()
with

Code: Select all

local it_is_christmas = false
3. Restart the game



Or alternatively override it with a texturepack.
by cx384
Mon Dec 25, 2023 19:38
Forum: Deutsch
Topic: Flaschenhals
Replies: 5
Views: 257

Re: Flaschenhals

flegel wrote:
Mon Dec 25, 2023 17:12
[...] hängt es.
Was genau ist damit gemeint?
Wenig FPS? Der server reagiert langsam?

Du kamst F5 drücken um die RTT und drawtime anzuzeigen, /status um den max lag anzuzeigen, oder F6 für profiler information.
by cx384
Mon Dec 18, 2023 10:11
Forum: Modding Discussion
Topic: Intercept a node from being dug
Replies: 2
Views: 382

Re: Intercept a node from being dug

Better use minetest.handle_node_drops(pos, drops, digger) . E.g. local old_handle_node_drops = minetest.handle_node_drops minetest.handle_node_drops = function(pos, drops, digger) for k, name in pairs(drops) do if minetest.get_item_group(name, "stone") > 0 then drops[k] = nil end end retur...
by cx384
Wed Dec 13, 2023 19:28
Forum: Modding Discussion
Topic: Why does the LuaVoxelManip area differ from the on_generated area?
Replies: 8
Views: 1878

Re: Why does the LuaVoxelManip area differ from the on_generated area?

I looked into the code and this does not seem to be very intentional. ¯\_(ツ)_/¯ minetest.get_mapgen_object("voxelmanip") just returns the Edge pos of the MMVManip object (it's a VoxelManipulator object handled by the Mapgen) mg->vm->m_area.MinEdge and mg->vm->m_area.MaxEdge https://github....
by cx384
Sun Dec 10, 2023 00:28
Forum: Problems
Topic: How to fix broken crosshair display?
Replies: 5
Views: 1151

Re: How to fix broken crosshair display?

I searched in the git history and apparently this is a new feature.
https://github.com/minetest/minetest/pull/13772

Maybe changing your hud_scaling setting will fix it.
Or maybe making the texture's height and width odd/even, such that there is/isn't a single centered pixel.
by cx384
Thu Dec 07, 2023 08:46
Forum: Modding Discussion
Topic: Is it possible to register an Elepower machine that can consume and produce power?
Replies: 1
Views: 456

Re: Is it possible to register an Elepower machine that can consume and produce power?

I haven't looked into the code, but can't you just register two Elepower nodes, one for generation power and one for using power, and swap them with minetest.swap_node(pos, node) depending on the circumstances.
by cx384
Sat Dec 02, 2023 05:57
Forum: Problems
Topic: [Minetest Game] Menu : ui and texture
Replies: 4
Views: 692

Re: [Minetest Game] Menu : ui and texture

Wow, thank a lot ! I will take my time to read the API :) You probably already found it, but the modding book may be a better starting point if you are new to Minetest. However, in case anything is unclear or incomplete refer to the API reverence manual. (There also exists a conversion to HTML if y...
by cx384
Sat Dec 02, 2023 05:54
Forum: General Discussion
Topic: Defragmenting the Minetest community
Replies: 36
Views: 7916

Re: Defragmenting the Minetest community

MirceaKitsune wrote:
Fri Dec 01, 2023 17:51
Also we forgot one: There's no Minetest group chat on Telegram! Gotta catch them all.
*cough* viewtopic.php?t=22128
by cx384
Fri Dec 01, 2023 16:32
Forum: Problems
Topic: [Minetest Game] Menu : ui and texture
Replies: 4
Views: 692

Re: [Minetest Game] Menu : ui and texture

Hi all ! Sorry if the question was already convered. I have lot trouble to understand how minetest files are structure and slowly reading the wiki. I recommend reading the API documentation: https://github.com/minetest/minetest/blob/master/doc/lua_api.md It is up to date and complete which may no b...
by cx384
Thu Nov 30, 2023 08:37
Forum: Mod Releases
Topic: Topic move requests
Replies: 4
Views: 67902

Re: Topic move requests

Lord_Narkissos wrote:
Thu Nov 30, 2023 01:45
Is there a way where I can make a topic myself? I have made a mod, and I want to post it to the forums.
Please read viewtopic.php?f=11&t=1271
First post it in WIP mods viewforum.php?f=9
and then ask for moving it to mod releases.
by cx384
Wed Nov 29, 2023 08:35
Forum: WIP Mods
Topic: [Mod] Warehouse [warehouse]
Replies: 0
Views: 2760

[Mod] Warehouse [warehouse]

The Warehouse Mod This is a fast, reliable and completely automated storage mod. It doesn't use minetest inventories for storing items and automatically distributes the items to slots of different sizes to accomplish optimale utilization. So the users don't have to care where the items are stored. ...