Search found 635 matches

by bosapara
Mon Aug 07, 2023 18:11
Forum: Problems
Topic: [solved] Is there a way to hide the world seed? | [Hide world seed option]
Replies: 12
Views: 1400

Re: 🪀 Is there a way to hide the world seed? | [Hide world seed option]

If you don't mind, perhaps you could make it so that it can be switched on/off in the settings (if fake seed option is on, the game would send a fake seed, if it's off it would send the actual seed), that way it could be generalized into a PR for minetest upstream and perhaps be a part of a future ...
by bosapara
Wed Aug 02, 2023 21:46
Forum: WIP Mods
Topic: [Mod] Free from Android [free_from_andoid]
Replies: 45
Views: 4236

Re: [Mod] Free from Android [free_from_andoid]

HighPopes wrote:
Wed Aug 02, 2023 21:35
Why block phone users?
Mod created by request from "Post your mod requests/ideas here". I don't care about the reasons for using this mod.

P.S. Somewhere I heard that someone asked for a mod that blocks PC clients 🙃
by bosapara
Tue Aug 01, 2023 17:26
Forum: Feature Discussion
Topic: It's 2023 and the signs are still terrible
Replies: 23
Views: 3470

Re: It's 2023 and the signs are still terrible

The signs. Or more to the point, reading them. Right now you need to point your mouse at the sign to read it. Why? All simple - default minetest signs are non laggy in comparing with signs with "real text". Signs with entity make your signs extremely laggy (like chests with entity in mine...
by bosapara
Mon Jul 31, 2023 13:18
Forum: Feature Discussion
Topic: Do not store chunks player's just passing through on disk
Replies: 12
Views: 1336

Re: Do not store chunks player's just passing through on disk

That's not easy to backup or pass on when the time comes that the server is terminated. For comparison: All I was able to save from Redcrabs' server - most of the surface, multiple towns, server having run for years - was about 150 MB. Agree. I should always backup a huge 80gb map, ~0.1% (< 800mb) ...
by bosapara
Mon Jul 31, 2023 11:59
Forum: Feature Discussion
Topic: Do not store chunks player's just passing through on disk
Replies: 12
Views: 1336

Re: Do not store chunks player's just passing through on disk

I think this can even be done by a mod. (I could try to make such a mod) However, I'm not sure how much of a performance problem the mark checking will be. Sounds good, but if the map size was 100GB, then the map will take up the same size even after blocks removal. For high-quality removal of bloc...
by bosapara
Sat Jul 22, 2023 20:21
Forum: Problems
Topic: [solved] Is there a way to hide the world seed? | [Hide world seed option]
Replies: 12
Views: 1400

Re: 🪀 Is there a way to hide the world seed? | [Hide world seed option]

LMD, cx384, Thank you so much, I appreciate it! Successfully added changes and compiled. It works great https://i.ibb.co/gJdJvDg/2023-07-22-23-07-34.png P.S. What is it? Server client send to players fake seed: 31415926, the real seed is: 5414291257697692212 if someone would like to use this versio...
by bosapara
Sat Jul 22, 2023 18:22
Forum: Problems
Topic: [solved] Is there a way to hide the world seed? | [Hide world seed option]
Replies: 12
Views: 1400

Re: 🪀 Is there a way to hide the world seed? | [Hide world seed option]

Astrobe wrote:
Sat Jul 22, 2023 16:17
... and then replace all constant seeds with PcgRandom:next() for your important stuff.
Astrobe, good solution, but i can't use it, because already have generated map with constant map seed.
by bosapara
Sat Jul 22, 2023 15:52
Forum: Problems
Topic: [solved] Is there a way to hide the world seed? | [Hide world seed option]
Replies: 12
Views: 1400

Re: Is there a way to hide the world seed? | [Hide world seed option]

Thank you for advice, but this is client side setting. Players with hacked clients still can get map seed and other debug information. So the game server still send real map seed to users.
by bosapara
Sat Jul 22, 2023 10:41
Forum: Problems
Topic: [solved] Is there a way to hide the world seed? | [Hide world seed option]
Replies: 12
Views: 1400

[solved] Is there a way to hide the world seed? | [Hide world seed option]

I have a critical need to hide the map seed from the players. how to hide the map seed? or send fake map seed to players? I'm ready to modify source code, but need advices Why we need this feature? Players can use the map seed for bad purposes: to find ore, to find rare hidden buildings or structure...
by bosapara
Mon Jul 17, 2023 13:02
Forum: Feature Discussion
Topic: Giant screenshots
Replies: 9
Views: 1260

Re: Giant screenshots

rudzik8, All you need to get high resolution screenshot is Ubuntu Open the game and use "alt + F7", then move the window like on GIF below, then make a sreenshot using F12: https://i.ibb.co/rbRvr7L/ezgif-com-video-to-gif-1.gif In result you can get 8k, 16k or even 32k, depends on your vid...
by bosapara
Sat Apr 08, 2023 16:45
Forum: Minetest-related projects
Topic: Fail2ban to protect player logins
Replies: 8
Views: 1639

Re: Fail2ban to protect player logins

Blockhead wrote:
Sat Apr 08, 2023 11:49
That's not simpler, but it is within Minetest, which can make it easier to deploy. Do you have source code or are you just making a suggestion?
Works very simple. Here you can test already finished version, don't forget to setup it correctly.

https://github.com/Emojigit/ban_hacker/
by bosapara
Sat Apr 08, 2023 05:39
Forum: Minetest-related projects
Topic: Fail2ban to protect player logins
Replies: 8
Views: 1639

Re: Fail2ban to protect player logins

I use fail2ban script to prevent players from guessing each-other passwords. Lag1 , thank you for sharing. Currently we can use other, more simple method: minetest.register_on_authplayer + minetest.register_on_prejoinplayer An example 3 login fails - block player's name and IP within next 10 mins.
by bosapara
Wed Mar 08, 2023 08:36
Forum: Modding Discussion
Topic: How do I tie a registered dbgm song to a function?
Replies: 2
Views: 537

Re: How do I tie a registered dbgm song to a function?

>I just need to reduce memory use by using the dynamic background music library.

No way to reduce memory with current version of engine, mods can't help with it. When all the sounds are loaded you will still get overflowing RAM.
I don't use background sounds by this reason (until it's not fixed).
by bosapara
Wed Feb 08, 2023 09:43
Forum: WIP Mods
Topic: [Mod] Piano Keyboard [piano]
Replies: 12
Views: 2077

Re: [Mod] Piano Keyboard [piano]

Use minetest.show_formspec(player:get_player_name(), "piano_keyboard", piano_form) changes for piano mod: local w_note = "white_button.png" local w_pressed = "white_button_pressed.png" local b_note = "black_button.png" local b_pressed = "black_button_pres...
by bosapara
Tue Feb 07, 2023 18:08
Forum: WIP Mods
Topic: [Mod] Piano Keyboard [piano]
Replies: 12
Views: 2077

Re: [Mod] Piano Keyboard [piano]

Would it be possible to add a way to export the formspec of the keys? I add this mod as dependency to interior_decor so I could play the piano from there, but I had to copy the forsmpec to interior_decor because it was all locally defined and I didn't know how to make it visible to other mods. Easy...
by bosapara
Mon Jan 30, 2023 13:12
Forum: Problems
Topic: Too much memory in use...
Replies: 4
Views: 587

Re: Too much memory in use...

Try dynamic background music Even "minetest.dynamic_add_media" function will not help, the RAM of clients is increasing exponentially. 10 tracks - 2GB of RAM DS-minetest already made good work with PR. As far as I understood maintest engine needs to be changed (to remove unused data from ...
by bosapara
Fri Nov 25, 2022 15:05
Forum: General Discussion
Topic: Benchmark your MT with /emergeblocks
Replies: 13
Views: 2741

Re: Benchmark your MT with /emergeblocks

Let's continue benchmarks.

Code: Select all

MT 0.4.17.1 - 274478 ms; MT 5.1.0 - 232636; MT 5.7.0 - 177820 ms

Code: Select all

i7 8700, 3.2ghz, 32gb 2600mhz, 240gb nvme, Ubuntu 20
Due to the full single-threaded operation within full test, I suppose the processor with a higher frequency will complete the benchmark faster.
by bosapara
Sun Nov 20, 2022 16:21
Forum: Problems
Topic: [Not Solved] Critical RAM consumption, probably bug
Replies: 3
Views: 669

Re: Critical RAM consumption, probably bug

DS-minetest,

Thank you for explaining and PR, great work.
by bosapara
Sun Nov 20, 2022 13:47
Forum: Problems
Topic: [Not Solved] Critical RAM consumption, probably bug
Replies: 3
Views: 669

[Not Solved] Critical RAM consumption, probably bug

When we add audio tracks to the default minetest game it spend an incredible amount of RAM. RAM consumption of the default minetest game without mods: ~150mb. 1. Lets add "audio" mod (empty code). 30 audio files (size 65mb): RAM consumption: 2000mb. 2. If we add everyone's favorite mod &qu...
by bosapara
Fri Oct 23, 2020 08:42
Forum: General Discussion
Topic: minetest.register_on_cheat / false positives
Replies: 2
Views: 663

Re: minetest.register_on_cheat / false positives

Yes, to reproduce this bug - you need modified client with dig on_punch.

"minetest.get_dig_params" can't help to check the cheat, because it works only when node was dug.

In any way default anticheat works well, but its still impossible to check who tried to dig unbreakable node.
by bosapara
Wed Oct 07, 2020 08:40
Forum: General Discussion
Topic: minetest.register_on_cheat / false positives
Replies: 2
Views: 663

minetest.register_on_cheat / false positives

Using cheat.type == "dug_unbreakable" give us false positives if we dig an example the dirt, must work only with unbreakable node like " stone + hand ". Any advices how to check on_cheat for unbreakable nodes? minetest.register_on_cheat(function(player, cheat) local name = player...
by bosapara
Mon Oct 05, 2020 17:28
Forum: General Discussion
Topic: hacked PunTrue client
Replies: 13
Views: 2254

Re: hacked PunTrue client

Name of hacked client in the title and descriptions of the thread still looks like an ad :)

Recommend to delete it, otherwise you bring much more cheaters to minetest servers.

About anticheat, it depends on version. Default anticheat must be on without config.
by bosapara
Mon Oct 05, 2020 11:37
Forum: General Discussion
Topic: hacked PunTrue client
Replies: 13
Views: 2254

Re: hacked PunTrue client

Try to turn on default anticheat and add anticheat mod, i prefer rnd's version.

Part of your message looks like an advertisement of hacked client, i hope i'm wrong.
by bosapara
Mon Sep 21, 2020 20:19
Forum: Minetest-related projects
Topic: MtBotter: A library to create Minetest bots (latest version: 0.0)
Replies: 10
Views: 2355

Re: MtBotter: A library to create Minetest bots (latest version: 0.0)

farkz wrote:
Mon Sep 21, 2020 18:44
add_compile_options(-fPIC)
Compiled successfully, thanks. Noob's question - but how to start it?
by bosapara
Mon Sep 21, 2020 17:37
Forum: Minetest-related projects
Topic: MtBotter: A library to create Minetest bots (latest version: 0.0)
Replies: 10
Views: 2355

Re: MtBotter: A library to create Minetest bots (latest version: 0.0)

https://notabug.org/farooqkz/mtbotter/src/master/CREATE-BOT.md Thanks, missed it, now have compile error: /usr/bin/ld: ../lib/gmp/libgmp.a(mini-gmp.c.o): relocation R_X86_64_PC32 against symbol `mpn_invert_3by2' can not be used when making a shared object; recompile with the parameter -fPIC /usr/bi...