Search found 1707 matches

Return to advanced search

Re: Tools events in mods

Ah thanks for that link :D After endless searching of Google, for some reason it never turned up that issue. I'll give it a read, and see if maybe I could help or contribute in some way to get this rolling! there's a link to a PR in that thread that's currently pending. I've expressed my support fo...
by sofar
Sun Jan 13, 2019 22:04
 
Forum: Modding Discussion
Topic: Tools events in mods
Replies: 5
Views: 182

Re: Tools events in mods

sorcerykid wrote:Unless I missed something, a callback should therefore be extremely easy to implement in the engine. And it would undoubtedly streamline a number of mods (like 3d_armor and wield3d) that need to constantly poll this information.


totally agreed.

https://github.com/minetest/minetest/issues/1377
by sofar
Sun Jan 13, 2019 20:21
 
Forum: Modding Discussion
Topic: Tools events in mods
Replies: 5
Views: 182

Re: How to check real lag of server?

The value you see in /status is max_lag which is a sliding average meaning it goes down slowly after 1 lag spike. Main problem - server show 'fake lag' with /status even when i havent any lags or it doesnt show lags when server has huge lags. As a player, you should just look at RTT . You have litt...
by sofar
Thu Jan 10, 2019 21:43
 
Forum: Problems
Topic: How to check real lag of server?
Replies: 9
Views: 279

Re: How to check real lag of server?

bosapara wrote:Even to be a noob in minetest development (me), im not shure that i can check server lag with default /status or check mod with profiler.


If you didn't understand what I wrote, please tell me what parts of my post were not understood.
by sofar
Thu Jan 10, 2019 20:01
 
Forum: Problems
Topic: How to check real lag of server?
Replies: 9
Views: 279

Re: How to check real lag of server?

How to check real lag of server? Any mods or tricks for server owners? Unfortunately /status and profiler can't show it correctly An example when im using code for island spawn - i have lag up (from /status) for 1 sec (from 0.2), but im not sure its real lag "lag" is a subjective term. Ma...
by sofar
Thu Jan 10, 2019 18:23
 
Forum: Problems
Topic: How to check real lag of server?
Replies: 9
Views: 279

Re: More quality videos of Minetest!

I made a few videos for ITB (See: https://minetest.foo-projects.org/videos.html ). Of course, the purpose wasn't "cool youtube generation entertainment" but more for people who need to learn how to build boxes and use the special blocks. I haven't gotten too much feedback, though, but it w...
by sofar
Thu Jan 10, 2019 04:05
 
Forum: General Discussion
Topic: More quality videos of Minetest!
Replies: 17
Views: 627

Re: [Mod] Exchange stuff between servers [Interkom]

I'm not sure of how everything works in your system but you might be able to create a 'status file' for each server in the folder and set it up so that before a server writes anything it checks the other server's status files. If none of the other servers is writing have it set the contents of its ...
by sofar
Mon Jan 07, 2019 02:35
 
Forum: WIP Mods
Topic: [Mod] Exchange stuff between servers [Interkom]
Replies: 13
Views: 464

Re: [Mod] Exchange stuff between servers [Interkom]

My initial thoughts on this mod are to secure the wire protocol and not use files as they are obviously prone to locking issues (as lua does none) and 2 servers could write the same file at the same time. A better implementation would be to use sockets to do all the communication, where each server ...
by sofar
Sun Jan 06, 2019 19:54
 
Forum: WIP Mods
Topic: [Mod] Exchange stuff between servers [Interkom]
Replies: 13
Views: 464

Re: [Mod] Exchange stuff between servers [Interkom]

This code looks super iffy. just for the record: -I do not post something "iffy" in mods section, this works for months without iussues on my two public servers -We are here in wip mods section.Wip means: work in progress. Do not expect something here what would not needed to be worked on...
by sofar
Sat Jan 05, 2019 18:07
 
Forum: WIP Mods
Topic: [Mod] Exchange stuff between servers [Interkom]
Replies: 13
Views: 464

Re: [Mod] Exchange stuff between servers [Interkom]

This code looks super iffy. A fun read to find input validation issues so people can send arbitrary stuff they don't have to players on other servers. Are you sure you're checking all the input correctly? Did you protect against races and properly lock the transfer files? You should post the depende...
by sofar
Fri Jan 04, 2019 18:48
 
Forum: WIP Mods
Topic: [Mod] Exchange stuff between servers [Interkom]
Replies: 13
Views: 464

Re: [Server] Inside The Box [Puzzles]

The "rankings" page on the website will now show the top 25 rankings for each category. If you didn't make the top 10, maybe now you can see where you landed. This also means there are actually more than 25 established builders, which is great progress to getting more people to build and m...
by sofar
Thu Jan 03, 2019 21:25
 
Forum: Servers
Topic: [Server] Inside The Box [Puzzles]
Replies: 402
Views: 23566

Re: Public Remote Media Server Project

Well, after compiling 0.4.13 and attempting to see if the placeholder image actually shows up in-game, I've stopped the experiment. The 0.4.13 MT client code does download the placeholder, but then properly checks the checksum and does not use the placeholder image in-game, and so it's more efficien...
by sofar
Thu Jan 03, 2019 20:01
 
Forum: Minetest-related projects
Topic: Public Remote Media Server Project
Replies: 91
Views: 8853

Re: Daily Worlds Backups Script

Agreed. The inconvenience of shutting down the server far outweighs the potential consequences of a bad backup procedure. Maybe on most servers this would be a better priority. But not for my server. On ITB, the worst thing that can happen is that someone builds for 4 hours and loses their box. I'd...
by sofar
Thu Jan 03, 2019 19:55
 
Forum: Servers
Topic: Daily Worlds Backups Script
Replies: 39
Views: 842

Re: Public Remote Media Server Project

I'm running an experiment on the PRMS - the PRMS will be sending a custom error image to clients that ask for the wrong files and do not honor the remote media protocol. The image contains the text "game client is out of date. Get it without ads for free: minetest.net". So you intercept a...
by sofar
Thu Jan 03, 2019 18:10
 
Forum: Minetest-related projects
Topic: Public Remote Media Server Project
Replies: 91
Views: 8853

Re: Daily Worlds Backups Script

But that does mean that mod_storage, or any mod file writing, can be out of sync with the map if you backup both at separate times while minetest is running? Or do I overlook something. yes, they can be out of sync. You could schedule your backups when no players are online to avoid any of those is...
by sofar
Wed Jan 02, 2019 23:12
 
Forum: Servers
Topic: Daily Worlds Backups Script
Replies: 39
Views: 842

Re: Daily Worlds Backups Script

wziard wrote:But what about mod storage? Those sometimes only written at shutdown I think


mod_storage is committed periodically, after changes are needed to be committed. The changes are kept for a small amount of time in memory and then saved, within a few seconds.
by sofar
Wed Jan 02, 2019 21:31
 
Forum: Servers
Topic: Daily Worlds Backups Script
Replies: 39
Views: 842

Re: [Mod] Terraria Swords [terrariaswords]

This mod post is wrong in various ways:

- doesn't list license
- no screenshots
- no dependencies listed
- license violation, most likely
- no project page linked

please fix all these issues.
by sofar
Wed Jan 02, 2019 20:30
 
Forum: WIP Mods
Topic: [Mod] Terraria Swords [terrariaswords]
Replies: 50
Views: 1520

Re: Public Remote Media Server Project

[EDIT] this experiment is cancelled now [/EDIT] I'm running an experiment on the PRMS - the PRMS will be sending a custom error image to clients that ask for the wrong files and do not honor the remote media protocol. The image contains the text "game client is out of date. Get it without ads f...
by sofar
Wed Jan 02, 2019 20:16
 
Forum: Minetest-related projects
Topic: Public Remote Media Server Project
Replies: 91
Views: 8853

Re: Public Remote Media Server Project

And what about only providing the raw file and not the sha1sum? I‘m using this way and it worked for my client. That would break if mod A and mod B both wanted to provide different versions of the same file name. Which happens, a lot. The above method is broken by design. The PRMS has many files th...
by sofar
Wed Jan 02, 2019 18:42
 
Forum: Minetest-related projects
Topic: Public Remote Media Server Project
Replies: 91
Views: 8853

Re: Daily Worlds Backups Script

I don't completely shutdown my server, but I don't want it running while I create my backup. I'm afraid the mod metadata files will be out of sync with the map as it takes a substantial amount of time to replicate the map and I don't know if minetest's sqlite3 updates are atomic (I guess probably n...
by sofar
Tue Jan 01, 2019 20:28
 
Forum: Servers
Topic: Daily Worlds Backups Script
Replies: 39
Views: 842

Re: Daily Worlds Backups Script

Is Bzip a better option? I have that available even though I don't think the map.sqlite will get that big though maybe so. How about the the various LZ compression algorithms? All compression algorithms are the best. It just matters what your idea of $BEST is: If you like "it works everywhere&...
by sofar
Tue Jan 01, 2019 05:52
 
Forum: Servers
Topic: Daily Worlds Backups Script
Replies: 39
Views: 842

Re: Public Remote Media Server Project

Hi, please may you add capturetheflag and ctf_pvp_engine? https://github.com/MT-CTF/capturetheflag https://github.com/MT-CTF/ctf_pvp_engine Done, added. Also, any idea why normal MTG resources aren't being picked up? I get a lot of messages like: 2018-12-31 17:00:06: ERROR[CurlFetch]: http://minete...
by sofar
Tue Jan 01, 2019 04:09
 
Forum: Minetest-related projects
Topic: Public Remote Media Server Project
Replies: 91
Views: 8853

Re: Creative Pirvs in server.

DoyleChris wrote:I do not want creative privs on a server im hosting i have tried removing them but they keep coming back.
I have one name with all the privileges but i want another with out creative privileges.


Check out the `name` setting in `minetest.conf`.
by sofar
Mon Dec 31, 2018 01:26
 
Forum: General Discussion
Topic: Creative Pirvs in server.
Replies: 3
Views: 143

Re: Daily Worlds Backups Script

You can backup your world without shutting it down entirely. All you need to do is run something like this: #!/bin/sh for db in map players sauth; do sqlite3 $db.sqlite ".timeout 1000" ".backup $db-backup.sqlite" done And then moving the backup files to a different location, of c...
by sofar
Mon Dec 31, 2018 01:23
 
Forum: Servers
Topic: Daily Worlds Backups Script
Replies: 39
Views: 842
Next

Return to advanced search



cron