Search found 1683 matches

by Blockhead
Thu Apr 18, 2024 03:52
Forum: Modding Discussion
Topic: string to code
Replies: 1
Views: 49

Re: string to code

The function you are after that turns a string into Lua code is loadstring . But I really think that is a bad idea for security, because people could literally do anything with it, like give themselves privileges, delete areas, teleport themselves around... I would recommend you instead limit the in...
by Blockhead
Thu Apr 18, 2024 03:28
Forum: Modding Discussion
Topic: Adding a subheading field to default books?
Replies: 2
Views: 29

Re: Adding a subheading field to default books?

It looks like you have a separate mod called bummedbooks that copies the book code from default with your modifications. Without having a copy of that mod, it's pretty hard to tell what went wrong because "attempt to concatenate nil" is a very common error resulting from a variable not bei...
by Blockhead
Thu Apr 18, 2024 03:22
Forum: Modding Discussion
Topic: Skills Mod ? Help
Replies: 2
Views: 50

Re: Skills Mod ? Help

I can think of some code references for this: Player Effect Potions , since it might have implemented a number of the effects you are after. Shadow Forest , since in that game you collect items and use them to level up, which permanently changes your stats. XP Redo , since it tracks block digging, b...
by Blockhead
Wed Apr 17, 2024 12:07
Forum: Modding Discussion
Topic: How to get the "sneak key was pressed" event?
Replies: 1
Views: 53

Re: How to get the "sneak key was pressed" event?

The effect is even worse if you're connecting to a server a long way away. You have to wait for at least a whole round trip plus Lua processing delay before keypresses will register. This means they become more like key holds. To launch a train in Advtrains from a client in Australia to a German ser...
by Blockhead
Wed Apr 17, 2024 11:53
Forum: Game Releases
Topic: [Game] Voxelgarden (revived) [5.8.0]
Replies: 25
Views: 1288

Re: [Game] Voxelgarden (revived) [5.8.0]

rudzik8 wrote:
Wed Apr 17, 2024 11:27
Blockhead wrote:
Mon Mar 25, 2024 12:54
But there are rough spots like how the inventory formspec looks like the engine builtin-in -snip-
What would you think of this?

screenshot_20240417_182347.png
Well, it's a start that makes sense at least. The rounding matches the hotbar.
by Blockhead
Wed Apr 17, 2024 03:58
Forum: Servers
Topic: dxt73 Hades Revisted server
Replies: 13
Views: 507

Re: dxt73 Hades Revisted server

Would adding mob_animal to hades work? On one hand it can add a lot to the game, but on the other hand i don't know how it would work with the bioms; there might not be any spawn of animals... There would need to be a small modification to mobs animal, but after that it should work. The mobs in Mob...
by Blockhead
Wed Apr 17, 2024 03:43
Forum: Game Discussion
Topic: Hello everyone
Replies: 2
Views: 92

Re: Hello everyone

I believe JP had a WIP "Camera API" fork of the engine, but he's no longer involved with Minetest. I checked his GitHub fork but couldn't find a branch for it there. His demo video is here . Since that's no longer a possibility, I think the best you could do it attach the player to an enti...
by Blockhead
Tue Apr 16, 2024 09:33
Forum: WIP Games
Topic: [Game] Mineclonia [0.94.0]
Replies: 140
Views: 32309

Re: [Game] Mineclonia [0.94.0]

I still wish blatantly MC specific aspects could be more unique as to not be such a direct clone... As much as I have been critical of the Mineclone-family games in the past - due to their lack of originality - I think giving people a way to transition from proprietary to free software can be helpf...
by Blockhead
Sun Apr 14, 2024 16:05
Forum: General Discussion
Topic: Creating flexible moving structures made of nodes
Replies: 7
Views: 235

Re: Creating flexible moving structures made of nodes

This idea, as you have noticed, needs a lot of questions answer. It occurred to me to suggest that entities might still work better than nodes, since entities can be solid. You can even have rotating entity selection boxes as of 5.7. But then: Unlike nodes, there is only one selection- and one colli...
by Blockhead
Sun Apr 14, 2024 15:31
Forum: General Discussion
Topic: formspec model scaling
Replies: 3
Views: 149

Re: formspec model scaling

I'm afraid I think not. I only know about the listed options in lua_api.txt , which doesn't mention visual size or zoom or anything similar. You can, as Sokomine said, make the whole box that contains the model larger and smaller. But you can't scale the model itself in just one dimension. Have you ...
by Blockhead
Sun Apr 14, 2024 15:26
Forum: Mod Releases
Topic: [Mod] Mobs Redo [1.61] [mobs]
Replies: 2502
Views: 640382

Re: [Mod] Mobs Redo [1.61] [mobs]

Attached: Old cow textures from 2016 found in git Available at Codeberg: File browser for other old files on commit 654c5407. That should have the sheep textures and the models. You can copy them over a current version. I would not use the code of the old version, it will likely not work with the la...
by Blockhead
Sun Apr 14, 2024 15:06
Forum: General Discussion
Topic: how to change public port announced to the server list ?
Replies: 3
Views: 155

Re: how to change public port announced to the server list ?

I don't think this is possible without modifying the engine. The same port that is listened on will be used in the announcement to the server list: server.cpp:748 if (!isSingleplayer() && (!counter || counter >= 300.0) && g_settings->getBool("server_announce")) { ServerList...
by Blockhead
Sun Apr 14, 2024 03:05
Forum: Mod Releases
Topic: [Mod] Mobs Redo [1.61] [mobs]
Replies: 2502
Views: 640382

Re: [Mod] Mobs Redo [1.61] [mobs]

Hi! Where I can I find the latest Git repository for this API, as well as the mobs using it? I run Minetest from Git and as such prefer having all mods from it as well: My repo is very old, initially I thought this was discontinued but I'm happy to see it's still maintained which makes me feel bett...
by Blockhead
Sat Apr 13, 2024 02:34
Forum: WIP Mods
Topic: The new Flash mode for Minetest
Replies: 7
Views: 223

Re: The new Flash mode for Minetest

Don't put a zip file in a GitHub repository. That's what the "download zip" feature on GitHub is for.
by Blockhead
Fri Apr 12, 2024 18:37
Forum: Feature Discussion
Topic: Some weird ahh thought
Replies: 5
Views: 433

Re: Some weird ahh thought

I don't remember harassment of sfan5 and I think he is an anime girl. Here is a photo of his face from github: With hecks it's not just having an anime profile pic, it's having skimpy anime girl avatars in the game and using them in screenshots on the GitHub, then getting criticised for that instea...
by Blockhead
Fri Apr 12, 2024 16:24
Forum: Servers
Topic: [Server] Tunnelers' Abyss
Replies: 211
Views: 69010

Re: [Server] Tunnelers' Abyss

I was always under the impression that breaking changes in Minetest like this wouldn't occur within a major version (i.e. 5.x) as backwards compatibility is always guaranteed, even if features are deprecated. Has this guideline changed? In this case, newer client versions require data from the serv...
by Blockhead
Fri Apr 12, 2024 09:23
Forum: Modding Discussion
Topic: [Solved] Is it possible to trigger a specific area to load in Lua?
Replies: 0
Views: 108

[Solved] Is it possible to trigger a specific area to load in Lua?

skivling on the Minetest Matrix asked: Here's an unrelated question: Would it be possible for me to trigger a specific area to load? I need to be able to read what nodes are there before teleporting a Tardis in order to change the y pos so it lands on the ground instead of in the air. I have code th...
by Blockhead
Fri Apr 12, 2024 09:20
Forum: Modding Discussion
Topic: [Solved] Animated Textures
Replies: 9
Views: 1682

Re: [Help] Animated Textures

I wish MT would simply support APNG files for textures. Me too. APNG is not a very popular format. You need a GIMP plugin just to export it. Meanwhile, you can easily see a "filmstrip" of frames in an ordinary PNG file, and I don't think it is that difficult to set up animated-texture nod...
by Blockhead
Fri Apr 12, 2024 09:12
Forum: General Discussion
Topic: Server Hardening?
Replies: 12
Views: 1306

Re: Server Hardening?

okay. also another question. does enabling port forwarding make my network more vulnerable too? Port forwarding open the port for incoming traffic. Outgoing traffic is typically always allowed. Notice how the default Minetest port is 30000. You can still connect to Minetest servers without forwardi...
by Blockhead
Fri Apr 12, 2024 04:59
Forum: General Discussion
Topic: Server Hardening?
Replies: 12
Views: 1306

Re: Server Hardening?

@Blockhead lol i played on some servers that uhh... have some chat that SEEMS LIKE a good place for the fbi- The internet is used by everyone: nazis, communists, military recruiters, undesirables, ... Stay safe out there :) wait so dosent this mean that if a dedicated enough hacker can... BREAK int...
by Blockhead
Fri Apr 12, 2024 04:06
Forum: Modding Discussion
Topic: The best way to store player-related data
Replies: 4
Views: 151

Re: The best way to store player-related data

I would suggest removal not as an engine change or feature but with a mod in the vein of Cleaner or my mod Riddance . The Cleaner approach would be to automatically remove any modstorage and/or player metadata entries that are part of a mod that isn't loaded. As has been pointed out, that is dangero...
by Blockhead
Fri Apr 12, 2024 03:28
Forum: Feature Discussion
Topic: Minetest Code is inefficient (according to the White House)
Replies: 23
Views: 1174

Re: Minetest Code is inefficient (according to the White House)

But the modified Irrlicht is still a dependency of Minetest Incorrect, that distinction no longer exists. irrlichtMt was moved into the main repository in f638482 (5.9.0-dev), since the devs have been busy refactoring it, shrinking its size and scope in some areas, adding gltf, etc., such that it i...
by Blockhead
Fri Apr 12, 2024 03:25
Forum: General Discussion
Topic: Generate larger biomes?
Replies: 1
Views: 113

Re: Generate larger biomes?

Already answered at "How can I make the biomes bigger?". Ask there if you need further guidance.
by Blockhead
Thu Apr 11, 2024 07:03
Forum: General Discussion
Topic: Server Hardening?
Replies: 12
Views: 1306

Re: Server Hardening?

So minetest can be man-in-the-middle attacked?! I will put a big disclaimer on this: I am not a cybersecurity expert and these opinions are not personalised advice. Consider your own goals and requirements for security and try to stay safe out there. Yes. But if you think about the average internet...
by Blockhead
Thu Apr 11, 2024 05:35
Forum: Mod Releases
Topic: [Mod] Game background music [mpd]
Replies: 41
Views: 17738

Re: [Mod] Game background music [mpd]

rob123 wrote:
Thu Apr 11, 2024 05:33
Do not use the mod then. It is not forced on you.
99% sure that's a bot btw