Search found 5841 matches

by rubenwardy
Sun Feb 28, 2021 02:10
Forum: Partly official engine development
Topic: v-rob's roadmap
Replies: 8
Views: 213

Re: v-rob's roadmap

Ah I must have misread "entirely in client-side Lua", I thought you meant no server Lua API, but little client-side C++ makes more sense
by rubenwardy
Sat Feb 27, 2021 23:01
Forum: Partly official engine development
Topic: v-rob's roadmap
Replies: 8
Views: 213

Re: v-rob's roadmap

I disagree with making it client-side only, in the long run. I think that having an API to show GUIs from the server without sending Lua code is very useful. This can come later though, ofc So we need SSCSM whitelists in our clients now like we have in our browsers? Otherwise servers can do whatever...
by rubenwardy
Sat Feb 27, 2021 17:46
Forum: News
Topic: Minetest 5.4.0
Replies: 53
Views: 5149

Re: Minetest 5.4.0

Thank you !! I'm so happy : Automatic updates ! Waw ! But I don't see MAC app (for creating home server). Is there a link or planning or trick to complilate this one ? When I make a BREW command, it remains to 5.3.0. version (I'm on MACOS 11.13.6.) Thank you again ! Homebrew should be updated now. ...
by rubenwardy
Sat Feb 27, 2021 16:06
Forum: Problems
Topic: [solved] MT 5.4 mob nametag bug
Replies: 6
Views: 109

Re: MT 5.4 mob nametag bug

To be clear, you can set a transparent background (alpha=0) to hide the nametag background for your mob. So: initial_properties = { nametag_bgcolor = "#00000000", } or self.object:set_nametag_attributes({ text = "example", bgcolor = "#00000000", }) show_nametag_backgrou...
by rubenwardy
Sat Feb 27, 2021 15:49
Forum: Problems
Topic: [solved] MT 5.4 mob nametag bug
Replies: 6
Views: 109

Re: MT 5.4 mob nametag bug

It's useful for contrast and accessibility.

You can either change show_nametags_background in the minetest settings, or set a background for your mob using the nametag attributes API
by rubenwardy
Sat Feb 27, 2021 13:33
Forum: News
Topic: Minetest 5.4.0
Replies: 53
Views: 5149

Re: Minetest 5.4.0

debiankaios wrote:
Sat Feb 27, 2021 08:04
The old german translations was better! Please translate back
You can translate Minetest here: https://hosted.weblate.org/projects/minetest/minetest/
by rubenwardy
Thu Feb 25, 2021 02:09
Forum: Modding Discussion
Topic: Ghaydn's miscellaneous modding questions
Replies: 12
Views: 227

Re: Place tools as nodes

One thing you can do is have a node registration and a tool registration. Tool registrations aren't limited, only node registrations. You can override on_place to place a node from a tool, and drops to drop a tool. This will be seamless

Doors in the door mod in MTG does this
by rubenwardy
Wed Feb 24, 2021 12:47
Forum: News
Topic: Minetest 5.4.0
Replies: 53
Views: 5149

Re: Minetest 5.4.0

Debian is an intentionally outdated distro, so yes, you'll need to get Minetest in other ways
by rubenwardy
Wed Feb 24, 2021 02:33
Forum: Feature Discussion
Topic: object:get_id() and get_object_by_id()
Replies: 8
Views: 329

Re: object:get_id() and get_object_by_id()

They're an active object Id. They change when the object is unloaded and loaded. The same object may use different IDs, and different objects may use the same ID at different times. It's better to just use an objectref for the same purpose as the active object Id, and find other ways of indexing ent...
by rubenwardy
Tue Feb 23, 2021 20:20
Forum: News
Topic: Minetest 5.4.0 release candidate 1
Replies: 50
Views: 5894

Re: Minetest 5.4.0 release candidate 1

You can place subfolders in any media path to organise media, and minetest will load from them. A media path is a mod's media folder (textures/models/sounds) or a texture pack. For one level deep this already works for texture packs … But now I can have ./mods/my_cool_mod/textures/cool_things/of_ty...
by rubenwardy
Tue Feb 23, 2021 19:12
Forum: News
Topic: Minetest 5.4.0 release candidate 1
Replies: 50
Views: 5894

Re: Minetest 5.4.0 release candidate 1

What does “Load media from subfolders” mean? You can place subfolders in any media path to organise media, and minetest will load from them. A media path is a mod's media folder (textures/models/sounds) or a texture pack. I believe the root of the texture pack takes priority, meaning that you can s...
by rubenwardy
Mon Feb 22, 2021 17:58
Forum: General Discussion
Topic: The Sneak Glitch is NOT dead!
Replies: 10
Views: 431

Re: The Sneak Glitch is NOT dead!

Sounds pernicious. Something like that ought to be pulled out and rewritten so it doesn't affect the rest of the code. Making it an option is fine if the devs want to do the work to support it, but leaving busted legacy code in place, bugs and all, just to support a silly feature like that seems wr...
by rubenwardy
Sun Feb 21, 2021 05:30
Forum: Modding Discussion
Topic: minetest.after and variable scope
Replies: 7
Views: 183

Re: minetest.after and variable scope

The first and second are exactly the same Not quite true. The first copies the variables, while the second has upvalues. Therefore, the second will reflect any changes to the variables, while the first will only show what the variables were like at the point of calling minetest.after . They're both...
by rubenwardy
Sun Feb 21, 2021 03:56
Forum: Problems
Topic: How to speed up the loading in offline mode?
Replies: 2
Views: 116

Re: How to speed up the loading in offline mode?

Hi, when you play offline in singleplayer, Minetest still needs a server. It creates a local server that only you can connect to, and then your client joins as singleplayer. This makes the code much much easier to write and maintain This creating server message is usually due to mods taking a while ...
by rubenwardy
Sun Feb 21, 2021 03:43
Forum: Modding Discussion
Topic: minetest.after and variable scope
Replies: 7
Views: 183

Re: minetest.after and variable scope

local pos = {x=1,y=2,z=3} local str = "hello world" minetest.after(3.5, function(pos, str) print("3.5 seconds later, we can do " .. str .. " at " .. minetest.pos_to_string(pos)) end, pos, str) This is a weird way of writing it, don't do this. You're shadowing variables...
by rubenwardy
Wed Feb 17, 2021 10:53
Forum: General Discussion
Topic: Serverlist Statistic
Replies: 19
Views: 733

Re: Serverlist Statistic

Hi, is it possible to put the data to grafana? I am also interested in getting data from minetest serverslist but I also want to save the list of playernames to make correlation. I have a Prometheus endpoint here: https://minetest.rubenwardy.com/metrics with this source code: https://gitlab.com/rub...
by rubenwardy
Wed Feb 17, 2021 01:56
Forum: General Discussion
Topic: Servers claiming to offer 0.4 and 5?
Replies: 22
Views: 1719

Re: Servers claiming to offer 0.4 and 5?

What do you mean no right? You are violating the LGPL because under the terms you must DISCLOSE the source code when requested. -_- http://www.gnu.org/licenses/gpl-violation.html Not true. You only need to share the source code if you give binaries to end users. This means that you can modify and u...
by rubenwardy
Wed Feb 17, 2021 01:47
Forum: Modding Discussion
Topic: Post your mapgen questions here (modding or engine)
Replies: 737
Views: 80787

Re: Post your mapgen questions here (modding or engine)

I would like to see some kind of FAQ topic about at least v7 mapgen, about basic stuff with basic questions, like: + how to shift terrain down/up? (changing water level) + how to stretch terrain horizontally/vertically? + how to make single biome world? + how to make biomes bigger/smaller? + how to...
by rubenwardy
Sun Feb 14, 2021 16:27
Forum: Modding Discussion
Topic: How to access request_http_api() functions from other scripts than init?
Replies: 3
Views: 123

Re: How to access request_http_api() functions from other scripts than init?

Can you finish that line? Is it http since that is the variable you passed in the loadfile command? That is the finished line. ... is used to capture variable arguments as a tuple. You can also use arg , which captures variable arguments as a table. For example, if you passed in two arguments you c...
by rubenwardy
Wed Feb 10, 2021 13:21
Forum: Modding Discussion
Topic: How to access request_http_api() functions from other scripts than init?
Replies: 3
Views: 123

Re: How to access request_http_api() functions from other scripts than init?

You need to pass it in to other files. init.lua: local http = minetest.request_http_api() local path = minetest.get_modpath("mymod") loadfile(path .. "/myscript.lua")(http) myscript.lua: local http = ... Files are functions in Lua. loadfile loads a file as a function. dofile is, ...
by rubenwardy
Sun Feb 07, 2021 15:06
Forum: News
Topic: Minetest 5.4.0 release candidate 1
Replies: 50
Views: 5894

Re: Minetest 5.4.0 release candidate 1

I think I found a bug with the entity nametag: This is a new future called "Semi-transparent background for nametags" by Zughy. There will probably be a nametag attribute to customise the background color in the future. If you have any complaints about this, please open an issue or post t...
by rubenwardy
Sat Feb 06, 2021 19:29
Forum: Mod Releases
Topic: Topic move requests
Replies: 72
Views: 42973

Re: Topic move requests

Please move my 'driftgame' game to 'Game Releases' https://forum.minetest.net/viewtopic.php?f=50&t=25367 Please move my 'saveschems' mod to 'Mod Releases' https://forum.minetest.net/viewtopic.php?f=9&t=12011 Note: This may not technically comply with some of the requirements for a move, but...
by rubenwardy
Sat Feb 06, 2021 17:02
Forum: News
Topic: ContentDB - database for the mod/game/txp in-menu installer
Replies: 227
Views: 43806

Re: ContentDB - database for the mod/game/txp in-menu installer

runs wrote:
Sat Feb 06, 2021 14:53
I mean, it is not documented not to use certain keys in mod.conf...
https://github.com/minetest/minetest/bl ... pi.txt#L84
release: Ignore this: Should only ever be set by ContentDB, as it is an internal ID used to track versions.
by rubenwardy
Fri Feb 05, 2021 17:50
Forum: News
Topic: Minetest 5.4.0 release candidate 1
Replies: 50
Views: 5894

Re: Minetest 5.4.0 release candidate 1

That's already been fixed. It did also happen only under specific circumstances

The issues in known issues are all the things that are blocking the release. We list them to avoid double reports not because we don't intend to fix them before releasing
by rubenwardy
Thu Feb 04, 2021 16:57
Forum: Problems
Topic: HELP PLEASE
Replies: 1
Views: 108

Re: HELP PLEASE

Hi, the problem is ý in your name. This will be fixed in Minetest 5.4.0 which will release in a few days. In the meantime, you could move minetest to C:\Minetest or a USB drive