TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

[Critical BUG] Word file is corrupted and could not be loaded #69

Closed LetalDark closed 7 years ago

LetalDark commented 7 years ago

Torch Version: 1.1.229.265 SE Version: 1.183.13

Expected Behavior

Join the game.

Observed Behavior

Can't join the game.

Steps to Reproduce

  1. Start a new world.
  2. Load this mods: 941516623 720686764 559202083 380165093 316190120 484504816 690295204 915690707 856352904 862644452 949115393 598401076 836407307 643820962 352900717 758597413 514062285 489964772 502782983 946724937 646796262 810329357 960943569 857363742 772650039 914369510 321588701 701311692 720159837 834823482 824449049 927381544 693253011 508161635 633061554 649455598 649454204

Other Information

The original dedicated server and all it's related mods works when executed using "SpaceEngineersDedicated.exe". The issue remains even if we execute it by Torch (even without mods).

Jimmacle commented 7 years ago

I need the log from the client and the server.

LetalDark commented 7 years ago

Updated to SE Version: 1.183.14 and still fail. Where are the location of the logs you need? Please.

Jimmacle commented 7 years ago

The server log should be in the Logs folder and the client log will be in %AppData%\SpaceEngineers.

Jimmacle commented 7 years ago

Just upload it to pastebin 😆 There's no way you're fitting two logs into GitHub comments.

LetalDark commented 7 years ago

ServerSpaceEngineers-Dedicated.txt

ClientSpaceEngineers.txt

You're right.. xD I'm new here hahaha!

Jimmacle commented 7 years ago

Based on all the reports I'm getting it seems like it's a vanilla issue. We're probably gonna have to wait for Keen to fix it.

LetalDark commented 7 years ago

And why can I run this save and mods with "SpaceEngineersDedicated.exe" and not with "Torch.Server.exe"? =(

Jimmacle commented 7 years ago

I'm not sure, but Keen said they are going to hotfix the issue in about half an hour because a bunch of people are experiencing it in vanilla as well.

LetalDark commented 7 years ago

They released the 183.14 in less an hour xD...

LetalDark commented 7 years ago

183.16 still bug.. =(

ToTaLReFuSeD commented 7 years ago

indeed! still not working. it will load the game but in the torch panel the configuration is all grayed out. and when i login with the game it still say that the world map is currupt etc.

zarozak commented 7 years ago

i have a completely vanilla server and get the same issue, world loads in torch fine, no errors but no one can join the server. it says world file corrupted . Text window shows connection, and disconnection no issues.

all saves, current and past open and are multiplayer connectable when run as dedicated, as soon as I run through torch it says corrupted for anyone connecting

LetalDark commented 7 years ago

Same to me.

SaitamOcir commented 7 years ago

Same here... still not working, configuration torch panel is all grayed out and nobody can join on server (world is corrupt)

Muxa1L commented 7 years ago

The same for me. Tried to join the server running on Torch - world corrupted. Restarted server on vanilla dedicated - everything is Ok... Found this error in client log. Seems like the reason for "World corrupted"

2017-08-17 23:23:50.433 - Thread: 1 -> ERROR: Loading screen failed 2017-08-17 23:23:50.434 - Thread: 1 -> Exception occured: System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Sandbox.Engine.Multiplayer.MyMultiplayerClient.LoadMembersFromWorld(List1 clients) at Sandbox.Game.World.MySession.LoadMembersFromWorld(MyObjectBuilder_World world, MyMultiplayerBase multiplayerSession) at Sandbox.Game.World.MySession.LoadMultiplayer(MyObjectBuilder_World world, MyMultiplayerBase multiplayerSession) at Sandbox.Graphics.GUI.MyGuiScreenBase.RunLoadingAction() at Sandbox.Game.Gui.MyGuiScreenLoading.RunLoad() 2017-08-17 23:23:50.434 - Thread: 1 -> MyGuiScreenGamePlay.UnloadData - START 2017-08-17 23:23:50.434 - Thread: 1 -> MyGuiScreenGamePlay.UnloadData - END

ToTaLReFuSeD commented 7 years ago

hmmm i have now this when i start it with Torch and also with normal Dedicated server.exe I can login when it is loaded with normal dedicatedserver.exe

2017-08-18 21:45:11.345 - Thread: 6 -> MySession.Static.LogSettings - END 2017-08-18 21:45:12.515 - Thread: 6 -> ERROR: Exception during objectbuilder read! (xml): MyObjectBuilder_VSFiles 2017-08-18 21:45:12.518 - Thread: 6 -> Exception occured: System.InvalidOperationException: There is an error in the XML document. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlReader.MoveToContent() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read1377_MyObjectBuilder_VSFiles() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at VRage.ObjectBuilders.MyObjectBuilderSerializer.DeserializeXML(Stream reader, MyObjectBuilder_Base& objectBuilder, Type builderType, Dictionary`2 typeOverrideMap) 2017-08-18 21:45:12.518 - Thread: 6 -> InnerException: 2017-08-18 21:45:12.518 - Thread: 6 -> Exception occured: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlReader.MoveToContent() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read1377_MyObjectBuilder_VSFiles() 2017-08-18 21:45:12.565 - Thread: 6 -> Session loaded 2017-08-18 21:45:12.620 - Thread: 6 -> MySandboxGame.Initialize() - END 2017-08-18 21:45:12.621 - Thread: 6 -> Timer Frequency: 3215400 2017-08-18 21:45:12.622 - Thread: 6 -> Ticks per frame: 53814 2017-08-18 21:45:12.678 - Thread: 6 -> Updating continues.

Muxa1L commented 7 years ago

@ToTaLReFuSeD

Data at the root level is invalid. Line 1, position 1.

What is the beginning of your sandbox.sbc? Seems like there is some incorrect symbol... Mine looks like

<?xml version="1.0"?>
<MyObjectBuilder_Checkpoint xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CurrentSector x="0" y="0" z="0" />
  <ElapsedGameTime>57328069600000</ElapsedGameTime>
  <SessionName>StarSystem_clean</SessionName>
  <SpectatorPosition>
ToTaLReFuSeD commented 7 years ago

@Muxa1L this is my part, looks the same in line 1 ` <?xml version="1.0"?>

82115941600000 `
Muxa1L commented 7 years ago

@ToTaLReFuSeD Select all the XML and then press "insert code". Also had some troubles with it =) It must be surrounded with triple `

ToTaLReFuSeD commented 7 years ago

@Muxa1L again :-) `<?xml version="1.0"?>

82137188000000 InterStellar Journey 3.0`
Muxa1L commented 7 years ago

@ToTaLReFuSeD And I dont know where can be the trouble here... At last you can try opening it in, for example, notepad++ and enable it to show all symbols, even hidden. Maybe there is some unreadable symbol...

ToTaLReFuSeD commented 7 years ago

@Muxa1L this is so wierd. all seems good. can not find any error etc. im really confused that it is working in normal mode and in torch it will crash. grrrr

Jimmacle commented 7 years ago

At this point I'm pretty much waiting for Keen to fix as many of their issues as they can on their end and then I'll figure out what's actually Torch's problem and fix those.

LetalDark commented 7 years ago

We can fix ourself with that code?

Jimmacle commented 7 years ago

I'm pushing a release soon that will include the fix.

LetalDark commented 7 years ago

When we have a fix? Sorry..

Equinox- commented 7 years ago

It's a release canidate pinned in the #general channel on discord.

zarozak commented 7 years ago

so its still a problem untill release, problem still open? sorry confused if i can use torch again or not, which version.

Jimmacle commented 7 years ago

You can get the latest stable build of Torch here: http://server.torchapi.net:8080/job/Torch/job/Torch/job/master/

You'll need to get updated versions of your plugins as well which are only on the Discord server as of this moment.