How to disable desync reports?
How to disable desync reports?
We are playing really big map and desync causes long pause because it generates 1GB+ report. How do i disable it?
Re: How to disable desync reports?
You upload the desync report to the bug report forums and we fix the desync problem so it doesn't happen again.
If you want to get ahold of me I'm almost always on Discord.
Re: How to disable desync reports?
Our desyncs are 'fixed for 0.15'. How do we disable desync reports for 0.14?Rseding91 wrote:You upload the desync report to the bug report forums and we fix the desync problem so it doesn't happen again.
Edit: Fix typo
Last edited by Xeanoa on Mon Feb 13, 2017 12:01 am, edited 1 time in total.
Re: How to disable desync reports?
You can't and probably never will be able to.Xeanoa wrote:Or desyncs are 'fixed for 0.15'. How do we disable desync reports for 0.14?Rseding91 wrote:You upload the desync report to the bug report forums and we fix the desync problem so it doesn't happen again.
If you want to get ahold of me I'm almost always on Discord.
Re: How to disable desync reports?
Disassembly you say? Thought i'd never have to hack an app. Too bad.
Re: How to disable desync reports?
Please let me know if you managed. I've lost all interest playing 0.14, waiting for about 5 minutes several times a session just breaks the spirit, and the inconvenience of trying to avoid them doesn't help.
Re: How to disable desync reports?
You do realize that at a minimum if you do manage to disable the creation of desync reports (unlikely as you'd need to patch the server and all peers) you still have to reconnect and re-download after a desync?Xeanoa wrote:Please let me know if you managed. I've lost all interest playing 0.14, waiting for about 5 minutes several times a session just breaks the spirit, and the inconvenience of trying to avoid them doesn't help.
If you give us the desync report we can fix the issue forever and then you never have to wait for a download or a desync report to be created.
If you want to get ahold of me I'm almost always on Discord.
Re: How to disable desync reports?
If the bottleneck is the write speed (1 GB is kinda much), it is kinda possible to speed things up, I guess (I've tested this on small games).
I did it on ubuntu.
While the the game hangs up completely if it is unable to open file for writing (for example if the directory is readonly), which I'd say is a bug, it is possible to let it write to ram which should be fast. For this you'll probably have to sacrifice the amount of ram the size of the desync log. And ubuntu has tools to automatically remove those logs to free the space for the next ones.
So, in ubuntu I've opened the terminal in the factorio folder and then used the following commands:
Guess on windows you could find equivalent tools but I'm of no help here.
Also, funnily, pretty much every I've traversed while searching "redirect directory to /dev/null" starts with "A particular program is making log files, I cant disable them and I want to prevent their creation" and among the discussion there's always "why on the earth someone would not allow to configure writing logs?"
I did it on ubuntu.
While the the game hangs up completely if it is unable to open file for writing (for example if the directory is readonly), which I'd say is a bug, it is possible to let it write to ram which should be fast. For this you'll probably have to sacrifice the amount of ram the size of the desync log. And ubuntu has tools to automatically remove those logs to free the space for the next ones.
So, in ubuntu I've opened the terminal in the factorio folder and then used the following commands:
Bash
I got this knowledge from stack overflow, it also suggests alternative method, but I didn't fancy fiddling with kernel modules.Guess on windows you could find equivalent tools but I'm of no help here.
Also, funnily, pretty much every I've traversed while searching "redirect directory to /dev/null" starts with "A particular program is making log files, I cant disable them and I want to prevent their creation" and among the discussion there's always "why on the earth someone would not allow to configure writing logs?"
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: How to disable desync reports?
I have a feeling write speed is not the reason it's slow. Otherwise they'd take only a few seconds. Usually it takes 2-3 minutes just for the report.
- Attachments
-
- Capture.PNG (542.69 KiB) Viewed 5083 times
Re: How to disable desync reports?
We already do saving to RAM first and to disk at the same time. We use a 20 x 1 MB cycling buffer while saving. As pieces of the map are saved they're written into a 1 MB chunk of the buffer and when that chunk is full it's swapped over to the thread that in parallel is compressing and writing those chunks out to disk.Adil wrote:If the bottleneck is the write speed (1 GB is kinda much), it is kinda possible to speed things up, I guess (I've tested this on small games).
I did it on ubuntu.
While the the game hangs up completely if it is unable to open file for writing (for example if the directory is readonly), which I'd say is a bug, it is possible to let it write to ram which should be fast. For this you'll probably have to sacrifice the amount of ram the size of the desync log. And ubuntu has tools to automatically remove those logs to free the space for the next ones.
So, in ubuntu I've opened the terminal in the factorio folder and then used the following commands:BashI got this knowledge from stack overflow, it also suggests alternative method, but I didn't fancy fiddling with kernel modules.
Guess on windows you could find equivalent tools but I'm of no help here.
Also, funnily, pretty much every I've traversed while searching "redirect directory to /dev/null" starts with "A particular program is making log files, I cant disable them and I want to prevent their creation" and among the discussion there's always "why on the earth someone would not allow to configure writing logs?"
If you want to get ahold of me I'm almost always on Discord.
Re: How to disable desync reports?
Our MODDED game is desyncing! Nobody fixes that!
Re: How to disable desync reports?
Yes we do. The last few modded desyncs ended up being core-game desyncs with work arounds to prevent the desyncs until 0.15 is released.cpy wrote:Our MODDED game is desyncing! Nobody fixes that!
If you want to get ahold of me I'm almost always on Discord.
Re: How to disable desync reports?
Now this conversation is getting into a loop.
And over a nothing, really. It's not like the addition of a switch will require a major rewrite that will severely impact the game fps or something.
Code: Select all
- My game takes too long to create a desync log!
- But we need those to fix the bugs.
- Okay, here it is.
- Oh, we've already fixed that for release in the end of march.
- But my game still takes too long to create a log!!
- But we need those...
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: How to disable desync reports?
And now everyone has desync reports disabled. So desyncs don't get fixed. If you want to avoid descyns don't do the things that are causing the desyncs until they are fixed.Adil wrote:And over a nothing, really. It's not like the addition of a switch will require a major rewrite that will severely impact the game fps or something.
Re: How to disable desync reports?
I fail to follow your logic.
There are times to disable it and there are times when it doesn't hurt. Have it as a command line option and then only people who really need that will bother.
And even if it is disabled. So what? It's their choice.
Why is that?Nexela wrote:And now everyone has desync reports disabled.
There are times to disable it and there are times when it doesn't hurt. Have it as a command line option and then only people who really need that will bother.
And even if it is disabled. So what? It's their choice.
Not to mention that a mere creation of the log doesn't mean anything. It ain't gona send itself without the user.Nexela wrote:So desyncs don't get fixed.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: How to disable desync reports?
I'm not uploading 1400MB desync logs because of some power pole placement with HEAVILY modded and scripted game!
Quote from modded bug report forum:
Desyncs in modded game will be ignored most of the time, until it is clearly proven that the desync is not caused by scripting.
So there you have it. Let us disable all reports with mods detected and everyone will be happy. Do you even know how long that friggin report generates?
Quote from modded bug report forum:
Desyncs in modded game will be ignored most of the time, until it is clearly proven that the desync is not caused by scripting.
So there you have it. Let us disable all reports with mods detected and everyone will be happy. Do you even know how long that friggin report generates?
Re: How to disable desync reports?
How about you fix the cause of the desync then?
If it's caused by the base game, file a bug report.
If it's caused by a mod, complain to the author.
If it's caused by a piece of code you wrote yourself and have no idea how to fix it, ask in the modding help forum.
If you could disable desync reports, desyncs would still be annoying, just slightly less so. Seems better to fix the cause.
If it's caused by the base game, file a bug report.
If it's caused by a mod, complain to the author.
If it's caused by a piece of code you wrote yourself and have no idea how to fix it, ask in the modding help forum.
If you could disable desync reports, desyncs would still be annoying, just slightly less so. Seems better to fix the cause.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: How to disable desync reports?
Just deleted 12 GiB of logs on my second machine because I was running out of disk space. It only has a 120 GiB SSD. At least they should not stay there infinitely.cpy wrote:I'm not uploading 1400MB desync logs because of some power pole placement with HEAVILY modded and scripted game!