Search found 13 matches

Return to advanced search

Re: env_meta error

Miniontoby wrote:Is there an solution???

pgimeno wrote:No, sorry. As I said, without the possibility of reproducing it, there's no way for anyone to diagnose it.

This still applies.
by pgimeno
Mon Oct 21, 2019 16:10
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: Player Control Switch Discussion...

For a quick proof of concept of the above idea, try this patch: diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp index dabeee6f..fd440e8b 100644 --- a/src/client/localplayer.cpp +++ b/src/client/localplayer.cpp @@ -198,6 +198,11 @@ void LocalPlayer::move(f32 dtime, Environment *e...
by pgimeno
Wed May 29, 2019 20:43
 
Forum: Feature Discussion
Topic: Player Control Switch Discussion...
Replies: 8
Views: 480

Re: Player Control Switch Discussion...

My idea of player knockback is a function like player:apply_impulse(velocity_change) which sends the change to the client, and upon reception, the client adds the given vector to the player's current internal velocity. No need to override controls or to apply acceleration; just let normal friction a...
by pgimeno
Wed May 29, 2019 14:15
 
Forum: Feature Discussion
Topic: Player Control Switch Discussion...
Replies: 8
Views: 480

Re: env_meta error

No, sorry. As I said, without the possibility of reproducing it, there's no way for anyone to diagnose it..

Perhaps with some luck, the above patch is incorporated into the core and you can use the next version to help us diagnose it, but the chances of that are slim.
by pgimeno
Tue May 14, 2019 14:45
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

It does work (, I think) That means that the problem is not in the file. For some reason the rename succeeds in the command line but it fails in the client. Without a client that can emit diagnostics (in particular the errno for the rename operation) I don't think anyone can do anything. Do you thi...
by pgimeno
Mon May 13, 2019 16:14
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

Edited my post, I was wrong, sorry.

Please try this. Using a terminal, change to the directory of your world, then type these:

Code: Select all
cp env_meta.txt env_meta.txt.~mt
mv env_meta.txt.~mt env_meta.txt

and report the output (or tell us if it succeeds).
by pgimeno
Sun May 12, 2019 15:26
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

I have set it (but it was already setted) and I try a world and get the error 2019-05-12 15:21:53: WARNING[Server]: Failed to write to file: XXX\bin\..\worlds\server_daconcepts.com_30000\env_meta.txt 2019-05-12 15:21:53: ERROR[Server]: An unhandled exception occurred: Couldn't save env meta 2019-05...
by pgimeno
Sun May 12, 2019 14:54
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

Miniontoby wrote:Does anyone has a solution????

Try setting num_emerge_threads = 1; that will probably solve it.

How many do you have currently? It looks like 20 or more because one of the threads that gave errors had ID 15h = 21.
by pgimeno
Sat May 11, 2019 16:24
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

pgimeno: The error is actually here https://github.com/minetest/minetest/blob/72feab081c336d2d71d300131d30e71694b485f3/src/serverenvironment.cpp#L657 I don't understand what this has to do with server.cpp:74, as it's only called in lines 283 and 989. Me neither. It enters there only when safeWriteT...
by pgimeno
Sat May 11, 2019 13:40
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

You don't know what Minetest version you're using? o.O
by pgimeno
Fri May 10, 2019 21:49
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

Miniontoby wrote:
Code: Select all
/src/server.cpp:74: run: A fatal error occurred: Couldn't save env meta


What version is that? Line 74 doesn't make sense for such an error.
by pgimeno
Fri May 10, 2019 17:46
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

Re: env_meta error

This may well be another missing lock in the threading code. The temporary file that safeWriteToFile creates is not really thread-safe, it's just the original name with .~mt appended.

Please don't use multiple emerge threads.
by pgimeno
Fri May 10, 2019 16:40
 
Forum: Problems
Topic: env_meta error
Replies: 34
Views: 1608

FFIopt mod - Thread lost - Cache copy

Since this thread was created after the last backup, it got lost. Fortunately I kept a copy in my browser's cache, which I could save to disk, so in the hope that it helps the participants rebuild it, I'm posting it here: http://www.formauri.es/personal/pgimeno/temp/%5BMod%5DFFIopt%20%5Bffiopt%5D%20...
by pgimeno
Fri May 03, 2019 12:29
 
Forum: WIP Mods
Topic: FFIopt mod - Thread lost - Cache copy
Replies: 2
Views: 172

Return to advanced search