Space Engineers

Space Engineers

Nanite Control Factory - Automated Construction (Not working - Old Version)
Visentinel 20 Aug, 2016 @ 2:57pm
Bitstream exceptions for dedicated server multiplayer
Heres a copy of all my comments so far and information to begin a discussion to hopefully sort out the server/client problems. We are on stable branch.

It just happens anytime when any player returns to their base that has a nanite factory, either mostly they return to an out of sync factory that is visually dead or the more severe issue is the server crashes with that bitstream error. the factory can be idle or working it doesn’t matter what the factory is working on, or as mentioned it can simply be idle.

The interesting part is there’s never an issue the very first time a grid is transmitted to the client by the server (first join), the issue only occurs on all subsequent loads of the grid when the client enters the view distance and it has been theorised the server crashes after 3 to 4 reloads of the grid as the de-sync gets worse ? that’s not been fully tested yet but the players and have been trying to fully debug this issue as much as possible so i can bring tyrsis the most amount of information as possible.

--continued

Visentinel Just now
--continued

When I reported this to modders on discord I was told it’s an issue with the way the mod is talking to the clients, (the way mods talk to each other was the wording used exactly) and simply the mod needs to be fixed.
I have never ran into this kind of issue before, and I am happy to help with testing on my server Tyrsis if you want to accept my friend request allowing me to deploy test versions on the server to report back if the issue is fixed or not as you test, you can also join the steam group to actually join the server anytime for testing.

if i remove nanites it doesn’t happen, if i add nanites it happens. its the only correlation that I have that its the nanites. Also the crash it vastly reduced if people stay around the nanites in MP view distance., the more people come and go the more the crash occurs.

heres the full stack trace.

http://pastebin.com/Ug1VrZWv
< >
Showing 1-15 of 19 comments
Shroom 21 Aug, 2016 @ 1:43pm 
How recently did this begin happening?
tyrsis  [developer] 21 Aug, 2016 @ 3:06pm 
Not seeing nanites / status is due to how horrible MP is, and is actually just a client side bug. It would not crash the server. If they relogged it would be fine again. I just don't have time to track down why the client is losing all the valid nanite factories. For some reason the server isn't responding as expected. In other words, this is not related at all to the above crash.

Who on discord is telling you that it's the mod? They are wrong.
Visentinel 21 Aug, 2016 @ 10:55pm 
Its been happening since nanites in June, since then anytime we use the nanites those crashes occur, and when i remove the nanites the crash's stop.

lastnight the server began to crash several times an hour (it got that bad) i simply removed the nanites and now the server hasnt crashed in nearly 24 hours. please dont keep saying its not the nanites its always been this way.

this behaviour follows new worlds, and across 3 different dedicated servers we have used (one on vilayer, one on streamline and now in my home on a new broadband link)
Visentinel 21 Aug, 2016 @ 10:59pm 
There is also another pointer, if using SESE the crash (due to the nanites crashing in the networking) is unhandled and SESE just crashes with "Has Stopped Working" this also stops happening when i remove the nanites.
Shroom 22 Aug, 2016 @ 8:17am 
Since June? I had almost 0 crashes from June through July, and I have a lot of nanites on my server and frequently go several km away and return, never having an issue.

I only started experiencing crashing late July/early August but that could have been due to any other mod among the 180+ I was running.

I now have a new server up with a fresh mod list (including nanites) and so far have not experienced any crashing.

So unless something has since changed with regard to how Nanites access the bitstream, It's possible your issue lies with another mod or a conflict between this mod and another.
Last edited by Shroom; 22 Aug, 2016 @ 8:17am
Shroom 22 Aug, 2016 @ 8:23am 
I want to add that this was while using the vanilla launcher, not SESE. I had tried running SESE for a while using the original world I was using since the birth of my server and had experienced frequent crashes. I was told this was due to using a vanilla world with SESE, and that SESE runs better with worlds it generates on its own.

Your issues may lie with SESE rather than any particular mod. I believe I was getting bitstream errors too when it was crashing. I had to ditch SESE, as great as it was, because it was not at all reliable. Upon switching back to the vanilla wrapper, it then ran without any crashes for quite a while, until the mod issues arose that I described in my last comment.

I am now using SESE again with a fresh world generated from SESE since last night and will report if I still experience the same issues I did previously.
Visentinel 22 Aug, 2016 @ 8:39am 
As i pointed out it occurs with or without sese, also we have tested without any other scripted mods and found with only nanites using the script modapi we still got allot of crashes after a few factories where built.

-edit
I noticed theres another posting in the comments he has this crash to.
Last edited by Visentinel; 22 Aug, 2016 @ 8:42am
Shroom 22 Aug, 2016 @ 8:44am 
I'll do some rigorous testing tonight and report what I find.
Visentinel 22 Aug, 2016 @ 8:46am 
Remember to wait for the grid with the factory to unload after leaving the view distance, i think its around 5-10 minutes or you efforts would be for naught.
Shroom 22 Aug, 2016 @ 8:50am 
Copy that
Visentinel 8 Sep, 2016 @ 1:51pm 
Sucks that the issue is still there, KSH is trying to find out what it is but Tyrsis hasnt followed up with the BitStream issue at all :(
Visentinel 14 Sep, 2016 @ 10:29am 
it seems the bitstream DS crashing with nanites is affecting another popular server called Ramblers Frontier.

sucks that tyrsis still hasnt commented since the first time he did. we really need to clarify this "Works in Multiplayer" in the mod picture if the issue is not going to be fixed.
Visentinel 17 Sep, 2016 @ 2:16pm 
rexxar recently mentioned he had to investigate bit-stream crashes in one of his mods and found it was his mod causing it. so it looks like the nanites mod has the issue not the game.. maybe.

talk to rexxar about it he seems to know more.
Shroom 17 Sep, 2016 @ 4:10pm 
Yeah, I still haven't had any crashes from nanites yet. Been running for a few weeks.
< >
Showing 1-15 of 19 comments
Per page: 1530 50