Search found 3895 matches

by Krock
Sat Feb 27, 2021 14:55
Forum: Problems
Topic: [solved] MTG 5.4 Mapgen Bug (it was the RealTest Game)
Replies: 10
Views: 273

Re: MTG 5.4 Mapgen Bug

You are missing the "biomes" flag in the map_meta.txt file. Note that it's the opposite of "nobiomes". The setting value should be similar to this: mg_flags = caves, dungeons, light, decorations, biomes Also adjust your minetest.conf accordingly so that new maps are generated cor...
by Krock
Mon Feb 22, 2021 20:23
Forum: News
Topic: Minetest 5.4.0 release candidate 1
Replies: 50
Views: 5890

Re: Minetest 5.4.0 release candidate 1

if you change this line https://github.com/minetest/minetest_game/blob/master/mods/player_api/api.lua#L85 to something like player:set_animation(anim, speed or model.animation_speed, 1 or animation_blend) The very same file states on the top that values other than 0 do not work due to some Irrlicht...
by Krock
Mon Feb 22, 2021 19:59
Forum: Problems
Topic: crash - String too long for serializeString
Replies: 6
Views: 150

Re: crash - String too long for serializeString

https://github.com/minetest/minetest/issues/10981 Please run your game in "gdb" (Linux) or "windbg" (Windows) and reproduce the crash. Alternatively upload a world to properly reproduce it. PS: You can ignore the "Packet quota used up" messages as long no players discon...
by Krock
Sun Feb 21, 2021 13:01
Forum: General Discussion
Topic: The Sneak Glitch is NOT dead!
Replies: 10
Views: 431

Re: The Sneak Glitch is NOT dead!

Could it be that you simply forgot about this? viewtopic.php?t=17734
by Krock
Sat Feb 20, 2021 13:17
Forum: General Discussion
Topic: Minetest Engine has stopped working
Replies: 4
Views: 196

Re: Minetest Engine has stopped working

1) Download/install a new Minetest version from https://forum.minetest.net/viewtopic.php?f=42&t=1523&p=389266#p389266 or https://gitlab.com/minetest/minetest/pipelines/ . I don't think a Win32 build would make any difference. 2) Start Minetest from a Console (cmd) window 3) Check for additio...
by Krock
Fri Feb 19, 2021 13:37
Forum: Modding Discussion
Topic: [Question] Pre-Dig function when crack_anylength.png is used[Answered]
Replies: 5
Views: 113

Re: [Question] Pre-Dig function when crack_anylength.png is used

https://github.com/minetest/minetest/blob/b2ab5fd1615ac5f907e43992d0905a56cddf798f/src/client/game.cpp#L1362-L1368 What it does is very simple: 1) Load the texture and get its dimensions 2) Get the amount of animated frames (height / width) 3) (in Game::handleDigging) get the ratio of the digging ti...
by Krock
Mon Feb 15, 2021 13:54
Forum: WIP Mods
Topic: [Mod] Living (dynamic) trees [living_trees] [WIP]
Replies: 4
Views: 203

Re: [Mod] Living (dynamic) trees [living_trees] [WIP]

This growth mechanism already looks very good. Keep up the good work! It would be possible to use faster node timers on the next lower trunk node to spawn new branches. ABMs are quite slow and do not scale well when there's neighbour nodes to check. PS: There's an L-tree/system implementation in Min...
by Krock
Sat Feb 13, 2021 10:28
Forum: Problems
Topic: Unified Inventory - how can I remove a bag?
Replies: 2
Views: 103

Re: Unified Inventory - how can I remove a bag?

You must empty the bag before you can move it to your main inventory slots.
by Krock
Thu Feb 11, 2021 09:58
Forum: Modding Discussion
Topic: [solved] unified inventory: remove individual items
Replies: 3
Views: 121

Re: unified inventory: remove individual items

Craft bags and put them into these separate slots. Afterwards you can press the corresponding button below to open the bag.
by Krock
Sun Feb 07, 2021 07:37
Forum: General Discussion
Topic: I'm gonna disappear for a while
Replies: 9
Views: 356

Re: I'm gonna disappear for a while

Have fun in your Minecraft worlds! I hope you can enjoy it as much you're looking forward to it. If you'd like to keep your mods maintained by minetest-mods, you may post a repo transfer request . I don't think they will be developed actively, but at least user contributions (bug fixes or feature PR...
by Krock
Fri Feb 05, 2021 17:47
Forum: Problems
Topic: Another way to grant privileges on game start?
Replies: 4
Views: 194

Re: Another way to grant privileges on game start?

You can also adjust this (and any other) setting in the Main Menu -> Settings -> All Settings, but I don't know how usable that is on Android.
by Krock
Mon Jan 11, 2021 16:50
Forum: General Discussion
Topic: Minetest featured in a PC magazine!!!
Replies: 5
Views: 404

Re: Mintest included in a PC magazine!!!

Although even if Minetest were mentioned in a TV news show, it probably would still not get its own English Wikipedia article due to brigarding.

Nonetheless it's great to see publications, even if they're not entirely correct about the game it's still a good advertisement.
by Krock
Wed Jan 06, 2021 12:49
Forum: Deutsch
Topic: Modhilfe: Geräte
Replies: 19
Views: 335

Re: Modhilfe: Geräte

Mit der "pipeworks"-Mod erhälst du einen neuen Block der "Autocrafter" heisst. Mit dem Block, Rohren und "Filtern" (alle in pipeworks) kannst du eine Fabrik aufbauen.

Dazu gibt es verschiedene Videos auf Youtube, welche dir beim zusammenbauen helfen können.
by Krock
Wed Jan 06, 2021 12:43
Forum: General Discussion
Topic: Why are there so few funny Minetest videos?
Replies: 6
Views: 314

Re: Why are there so few funny Minetest videos?

C'mon, I tried my best demonstrating this bug in a funny manner.
by Krock
Fri Jan 01, 2021 11:21
Forum: Modding Discussion
Topic: [Solved] model element texture trouble
Replies: 12
Views: 287

Re: model element texture trouble

The bug is already reported here: https://github.com/minetest/minetest/issues/10614 Nonetheless, how about this? (escaping texture combiners) local str = "character.png^(default_diamondblock.png^armor_alpha_helmet.png^[makealpha:0,255,0)" str = str:gsub("%^%[", "\\%^\\%[&quo...
by Krock
Sat Dec 19, 2020 11:25
Forum: Problems
Topic: [Solved] Mapgen flat + worldedit
Replies: 1
Views: 153

Re: Mapgen flat + worldedit

You should run /emergeblocks first, and run Worldedit after. If worldedit writes into non-existent mapblocks, they're not marked as "generated", resulting in this funny map generation when loading the mapblocks later on.
by Krock
Sun Nov 29, 2020 14:42
Forum: News
Topic: Minetest 5.3.0
Replies: 46
Views: 17288

Re: Minetest 5.3.0

I just downloaded 5.3.0 a few days ago. When I try to play in a local world, it crashes and gives: There's no such assertion check near L400 in 5.3.0. The assertion was present until before version 5.1.0, which indicates that your installation did not complete properly. Please re-install Minetest a...
by Krock
Tue Nov 24, 2020 20:08
Forum: Modding Discussion
Topic: attached player doesnt move player:get_pos()
Replies: 3
Views: 179

Re: attached player doesnt move player:get_pos()

"set_pos()" for attached objects does nothing because the position is controlled by the attachment/parent. I used the following code to confirm that "get_pos()" is working properly. Riding a cart updates the printed value (see terminal/console window). local t = 0 minetest.regist...
by Krock
Sat Nov 21, 2020 20:41
Forum: Modding Discussion
Topic: attached player doesnt move player:get_pos()
Replies: 3
Views: 179

Re: attached player doesnt move player:get_pos()

What's your Minetest version? I thought I fixed that a while ago by updating the player's absolute position every now and then using the attachment's position. EDIT: This code requires that the player's position is correct on server-side: https://github.com/minetest/minetest/blob/master/src/server.c...
by Krock
Mon Nov 16, 2020 18:50
Forum: Servers
Topic: How To Host an Minetest [4.0 +5.0] server?
Replies: 2
Views: 216

Re: How To Host an Minetest [4.0 +5.0] server?

A: No, there's no way.
Multicraft sacrifices multiple features and improvements to ensure compatibility.
by Krock
Mon Nov 16, 2020 18:48
Forum: Modding Discussion
Topic: Disable ABM execution
Replies: 3
Views: 175

Re: Disable ABM execution

Code: Select all

abm_interval = 1E100
# alternatively, if that ^ cannot be parsed: (317 years)
abm_interval = 10000000000
The value "0" would result in running the ABM checks at every server step. If you think that should indicate a disabled state -> PR?
by Krock
Mon Nov 09, 2020 17:28
Forum: Modding Discussion
Topic: "allow_metadata_inventory_put" for players inventory
Replies: 5
Views: 184

Re: "allow_metadata_inventory_put" for players inventory

Try "`minetest.register_allow_player_inventory_action". https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4665 Example: https://github.com/SmallJoker/upgrade_packs/blob/master/init.lua#L74 Note that those inventory fields are persistent, which means that players can use it ...
by Krock
Sun Nov 08, 2020 16:07
Forum: General Discussion
Topic: How's map data stored in the database?
Replies: 3
Views: 251

Re: How's map data stored in the database?

key: https://github.com/minetest/minetest/blob/master/src/database/database.cpp#L59-L68 blob: 1) https://github.com/minetest/minetest/blob/master/src/map.cpp#L1880-L1884 main "frame" to hold a mapblock 2) https://github.com/minetest/minetest/blob/master/src/mapblock.cpp#L358 zlib-compresse...
by Krock
Sun Nov 08, 2020 10:55
Forum: Modding Discussion
Topic: [Question]register_on_leaveplayer and Mod Storage[Answered]
Replies: 2
Views: 157

Re: [Question]register_on_leaveplayer and Mod Storage

Are you testing the mod in singleplayer? AFAIK the "register_on_leaveplayer" is not run when the server shuts down. This also applies when leaving the singleplayer world. As a solution, register a "register_on_shutdown" callback to save/change the data of all connected players th...