Search found 1386 matches

by LMD
Thu Apr 11, 2024 20:00
Forum: Modding Discussion
Topic: The best way to store player-related data
Replies: 4
Views: 152

Re: The best way to store player-related data

Player metadata and mod storage differ slightly: Mod storage also allows you to store key-value pairs that are not tied to players, and is also accessible while players are offline. There are two cases to consider: (1) removal of a player; (2) removal of a mod / disabling a mod in a world. (1) will ...
by LMD
Thu Apr 11, 2024 12:12
Forum: Problems
Topic: Delete Orphaned Privs
Replies: 9
Views: 379

Re: Delete Orphaned Privs

That approach works. It's also possible to use the auth handler to go through all player auth entries (whether the player is online or not), revoking privs that aren't registered anymore. The advantage of this is that it can also revoke privileges of offline players.
by LMD
Mon Apr 01, 2024 23:17
Forum: Modding Discussion
Topic: Globalstep timer causes insane lag delay
Replies: 10
Views: 286

Re: Globalstep timer causes insane lag delay

Nininik wrote:
Mon Apr 01, 2024 21:17
what about the bird noises? yall seem to only care about the skybox switch.
You tell me after you've profiled.
by LMD
Mon Apr 01, 2024 15:20
Forum: Modding Discussion
Topic: Globalstep timer causes insane lag delay
Replies: 10
Views: 286

Re: Globalstep timer causes insane lag delay

This is premature optimization (look the term up online to know what it is and why it's generally considered bad practice). A cheap globalstep - and everything presented so far looks very cheap - is not a performance concern. If you want to find out what the actual performance problem is, use jitpro...
by LMD
Mon Apr 01, 2024 13:08
Forum: Modding Discussion
Topic: Custom ItemStack Movement in Hand (?)
Replies: 7
Views: 180

Re: Custom ItemStack Movement in Hand (?)

Would making it an entity work with just the image, or would I have to put some model in? I've seen 2D entities before so I imagine not, and I could look myself, but thought to may as well ask while I'm at it X3 Yes, "2d entities" (sprite, upright sprite visual types) are a thing. But you...
by LMD
Mon Apr 01, 2024 01:24
Forum: Modding Discussion
Topic: Custom ItemStack Movement in Hand (?)
Replies: 7
Views: 180

Re: Custom ItemStack Movement in Hand (?)

Hmm... Would I be able to hide and unhide the hand in runtime? Yes, see player:hud_set_flags . First-person attachments? :o Like having an entity attach and only be visible to the player? I haven't looked into such yet beyond a quick skim, what would I use in specific? :o Yes, attach and be visible...
by LMD
Sun Mar 31, 2024 17:59
Forum: Modding Discussion
Topic: Removing Functions from Node/Item/Tool Def (?)
Replies: 11
Views: 259

Re: Removing Functions from Node/Item/Tool Def (?)

Please file an issue so we know that you're relying on this and don't break it in the future. I'm not so sure that it should work. I would have thought it would need a deep table copy of the original, a deletion of the relevant function, an unregister_item then a register_<node|craftitem|tool> agai...
by LMD
Sun Mar 31, 2024 11:14
Forum: Modding Discussion
Topic: Custom ItemStack Movement in Hand (?)
Replies: 7
Views: 180

Re: Custom ItemStack Movement in Hand (?)

Hiding the hand is a special feature (HUD flag). There is hardly any wieldhand "animation" control besides this.

To an extent, it might be possible to implement what you want using first-person attachments.
by LMD
Sun Mar 31, 2024 11:12
Forum: Modding Discussion
Topic: Removing Functions from Node/Item/Tool Def (?)
Replies: 11
Views: 259

Re: Removing Functions from Node/Item/Tool Def (?)

Please file an issue so we know that you're relying on this and don't break it in the future.
by LMD
Sun Mar 31, 2024 00:36
Forum: Modding Discussion
Topic: Client side moving platforms?
Replies: 5
Views: 195

Re: Client side moving platforms?

I would say this is a known limitation. You are right that this needs a clientside solution if you don't want it to be janky. Client mods are a thing, but a bit crippled, and can not be required or sent by servers (yet). Related issues: Server-provided client-side scripting , allow clientside custom...
by LMD
Sun Mar 24, 2024 16:22
Forum: Feature Discussion
Topic: Minetest Major Breakages
Replies: 19
Views: 1102

Re: Minetest Major Breakages

* remove player gravity multiplier (*2) Hopefully a replacement will be provided, because that's a cornerstone for my game. Currently, the engine even handles negative gravity multipliers as expected, which is awesome. I don't think the meaning here is to remove a feature of player physics override...
by LMD
Mon Mar 04, 2024 12:58
Forum: General Discussion
Topic: Post your screenshots!
Replies: 11112
Views: 2063482

Re: Post your screenshots!

Do your clouds work or not? If not, please report a bug on our bugtracker, with as many details as possible. If you're using a dev build, this could be related to https://github.com/minetest/minetest/pull/14395.
by LMD
Sun Mar 03, 2024 15:00
Forum: Feature Discussion
Topic: Minetest Code is inefficient (according to the White House)
Replies: 23
Views: 1176

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

I have returned to (reactivated) my Juanpy project . It is a 2D minetest. [...] It is made in Love2D. https://love2d.org/ Cool! Love2D & Lua are a good choice for a little 2d game. Sorry, this post is an eye opener. I don't personally like the way Minetest has been going this past year. What, o...
by LMD
Sat Mar 02, 2024 13:08
Forum: Feature Discussion
Topic: Minetest Code is inefficient (according to the White House)
Replies: 23
Views: 1176

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

https://www.infoworld.com/article/3713203/white-house-urges-developers-to-dump-c-and-c.html We should migrate the code to Python or Rust. I don't program in C++. I absolutely refuse. It's not the right language, it's over 70 years old! It is old and unused today. It is better to do it now before it...
by LMD
Fri Feb 23, 2024 12:41
Forum: Problems
Topic: Why does this happen?
Replies: 9
Views: 327

Re: Why does this happen?

Please provide the code or a link to the code (source & liquid node definitions). Otherwise, we can't help you.
by LMD
Fri Feb 23, 2024 11:23
Forum: Modding Discussion
Topic: Are Player object references unique?
Replies: 4
Views: 187

Re: Are Player object references unique?

It's commonly assumed that player ObjectRefs are immutable (while the player is online) and unique by MineClone developers and myself. Please, if you make such assumptions, also open (or comment on) corresponding feature requests - or even better, open a PR to document this right away - so that we ...
by LMD
Thu Feb 22, 2024 16:43
Forum: Modding Discussion
Topic: How do i check if the player mid air?
Replies: 6
Views: 227

Re: How do i check if the player mid air?

@BlockHead - It would be even better if we were able to read moveresults for the player object :) I definitely agree, why is that even absent..? I think it's only available for entities like mobs? Architectural reasons, I would assume. I don't think the server does player collisions; the clients do...
by LMD
Sat Feb 17, 2024 21:58
Forum: Feature Discussion
Topic: Minetest and Twine (or Ink)
Replies: 15
Views: 792

Re: Minetest and Twine

I just found there's also a Lua implementation of Ink, so it could be integrated in Minetest as a mod rather than a C++ engine feature. (I can foresee that Ink support might be a little too left-field to merge into Minetest, so having it as a mod would prevent making someone maintain a Minetest+Ink...
by LMD
Mon Feb 12, 2024 20:46
Forum: General Discussion
Topic: Wiki account requests
Replies: 15
Views: 29202

Re: Wiki account requests

nehakakar wrote:
Mon Feb 12, 2024 10:11
Hey, I want to an account for my projects. Thanks.
The wiki is not for self-promotion. Minetest-related mods and games should better have their info on ContentDB or the forums (as has been pointed out already).
by LMD
Mon Feb 05, 2024 19:24
Forum: Problems
Topic: Is there a known bottleneck with media sending to clients?
Replies: 5
Views: 319

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

The media sending process should probably be async (if possible). I agree that files should also be cached in memory (that's what my remote media server written in Java did in fact, not that I would necessarily recommend running it :P). Suggestion: You could consider setting a limit on media memory ...
by LMD
Wed Jan 24, 2024 20:48
Forum: Servers
Topic: [5.8.0] IniKiwi's Funny Capture The Flag (free crafting, only classic with special nodes, TNT)
Replies: 6
Views: 425

Re: [5.8.0] IniKiwi's Capture The Flag (free crafting, only classic with special nodes)

Then you could consider increasing the "max_packets_per_iteration" setting. You might also want to look into remote media if you find that this reduces the performance of your server too much.
by LMD
Mon Jan 22, 2024 19:44
Forum: Game Discussion
Topic: Submit my new game to ContentDB?
Replies: 2
Views: 306

Re: Submit my new game to ContentDB?

Hi! It's quite well polished in a gameplay sense. That's great, we could use more of that. I've been hesitant in the past to do this due to all the concerns about copyright, etc. but I suppose the whole point is to get help making sure it's clean before submission. Part of my hesitance comes from ha...
by LMD
Fri Jan 19, 2024 00:09
Forum: General Discussion
Topic: Minetest character making.
Replies: 3
Views: 494

Re: Minetest character making.

I was thinking the blender file can be made into a b3d file from something I do not remember, though it may have been a python file on this forum. You're probably thinking of GreenXenith's b3d exporter . Though what other file formats can be used with minetest now or in more early versions, like 5....
by LMD
Tue Jan 16, 2024 21:33
Forum: Servers
Topic: [Server] Tunnelers' Abyss
Replies: 211
Views: 69023

Re: [Server] Tunnelers' Abyss

" [content violating forum rules removed by LMD] " Very nice:) We may not criticize server admins:) We may not describe server problems:) What a wonderful world:) Only pictures with flowers allowed:) Thank you, that you reminded me about this:)) You may very well criticize server admins o...
by LMD
Wed Dec 27, 2023 13:08
Forum: Problems
Topic: How to fix broken crosshair display?
Replies: 12
Views: 1561

Re: How to fix broken crosshair display?

And the discussion doesn't REALLY read like "we simply ignore it", […] In the end, exactly THIS is the statement that is conveyed through comments, IRC discussions, and actions. I stopped caring for MT development long time ago because it is always like that – and I stopped using Microsof...