Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

[Tutorial] Dedicated Server on Ubuntu 13.10 using Wine

Discussion in 'Groups & Dedicated Servers' started by AdamAnt, May 30, 2014.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. illuzian Trainee Engineer

    Messages:
    3
    Guys some tips - not sure if this has been mentioned:
    Use tmux instead of screen - all the cool kids use it and it's a lot more powerful
    You can supress the 'fixme' errors for a clean console as per http://wiki.winehq.org/FAQ#head-51e2c09a43f0ac997f818617bec098e97170c503:
    WINEDEBUG=-all wine pathtoserver/server.exe

    For tmux here is my commandline:
    tmux new -d -s se 'WINEDEBUG=-all wine /home/ubuntu/.wine/drive_c/space_engineers/DedicatedServer/SpaceEngineersDedicated.exe -console'
    To attach do
    tmux a -t se

    To detach do ctrl+a then press d but you can disconnect your ssh session without fear of it dying anyway - tmux is also multiuser so multiple clients can connect to the same tmux session

    I've got this running(so far) fine on Ubuntu 14.04 and Win 1.7 on an Amazon EC2 spot instance.

    Edit: with the above awesome info about steam cmd, add this to a script and chmod +x it and chuck it in rc.local or create a service script:
    tmux new -d -s se '~/steamcmd/steamcmd.sh +login anonymous +force_install_dir ~/.wine/drive_c/space_engineers +app_update 298740 +quit; WINEDEBUG=-all wine /home/ubuntu/.wine/drive_c/space_engineers/DedicatedServer/SpaceEngineersDedicated.exe -console'

    This will update it at every launch - I'm not sure if this is tmux or what but as a side note my ctrl+c works
     
    Last edited by a moderator: Feb 5, 2015
  2. brotherchris Trainee Engineer

    Messages:
    3
    Thanks for the tutorial, I now have SE running under 14.04 with no issues.

    Does anyone have a start up script for SE? I would like it to come up on reboots.

    Thanks,
    Chris
     
  3. podgrade Trainee Engineer

    Messages:
    2
    Hi,
    I have the same problem like some of the guys here.

    Does anyone have an idea?

    I testet it with and without firewall. Nothing helps...

    Greetz
    Podgrade


     
  4. podgrade Trainee Engineer

    Messages:
    2
    Hi,
    I have the same problem like some of the guys here.

    Does anyone have an idea?

    I testet it with and without firewall. Nothing helps...

    Greetz,
    Podgrade


     
  5. Anora Peart Trainee Engineer

    Messages:
    1
    I have mono installed on my Ubuntu box and i cant remove it as its needed for another program is there a work around?
     
  6. Jimmydehond Trainee Engineer

    Messages:
    1
    Hi there, I tried setting up a server on my VPS but it doesn't work. The VPS platform is Ubuntu 12.04.

    The log when I try "wine SpaceEngineersDedicated.exe -console":
    Code:
    root@server1:~/steamcmd/spaceengineers/DedicatedServer# wine SpaceEngineersDedicated.exe -console
    fixme:mscoree:ConfigFileHandler_startElement Unknown element L"enforceFIPSPolicy" in state 4
    fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1442f4,0x1449b0): stub
    fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1442f4,0x144ab0): stub
    Space Engineers  01_090_014
    Is official: True [NO]
    Environment.Is64BitProcess: False
    fixme:mscoree:ConfigFileHandler_startElement Unknown element L"enforceFIPSPolicy" in state 4
    fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1441cc,0x1440d0): stub
    fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1441cc,0x144970): stub
    root@server1:~/steamcmd/spaceengineers/DedicatedServer#
    
    The server crash log:


    All help will be greatly appreciated and sorry for my "Linux noobness"...
     
  7. Cheatanct Trainee Engineer

    Messages:
    2
    I have a Similar issue to Jimmydehond

    When i try to run the server i get the following

    Code:
    cheata@Dedicated:~/.wine/drive_c/users/cheata/SEServer/DedicatedServer$ wine SpaceEngineersDedicated.exe -console
    Space Engineers  01_095_09
    Is official: True [NO]
    Environment.Is64BitProcess: False
    cheata@Dedicated:~/.wine/drive_c/users/cheata/SEServer/DedicatedServer$
    
    and the server log shows:
    Code:
     
    2015-08-15 00:55:25.439 - Thread:  1 ->  Log Started
    2015-08-15 00:55:25.447 - Thread:  1 ->  Timezone (local - UTC): 12h
    2015-08-15 00:55:25.447 - Thread:  1 ->  App Version: 01_095_009
    2015-08-15 00:55:25.447 - Thread:  1 ->  Steam build: Always true
    2015-08-15 00:55:25.447 - Thread:  1 ->  Is official: True [NO][NIS][NAMP]
    2015-08-15 00:55:25.447 - Thread:  1 ->  Environment.ProcessorCount: 2
    2015-08-15 00:55:25.447 - Thread:  1 ->  Environment.OSVersion: Microsoft Windows NT 5.1.2600.196608 Service Pack 3
    2015-08-15 00:55:25.448 - Thread:  1 ->  Environment.CommandLine: C:\users\cheata\SEServer\DedicatedServer\SpaceEngineersDedicated.exe -console
    2015-08-15 00:55:25.448 - Thread:  1 ->  Environment.Is64BitProcess: False
    2015-08-15 00:55:25.448 - Thread:  1 ->  Environment.Is64BitOperatingSystem: False
    2015-08-15 00:55:25.448 - Thread:  1 ->  Environment.Version: 4.0.30319.17020
    2015-08-15 00:55:25.448 - Thread:  1 ->  Environment.CurrentDirectory: C:\users\cheata\SEServer\DedicatedServer
    2015-08-15 00:55:25.451 - Thread:  1 ->  MainAssembly.ProcessorArchitecture: X86
    2015-08-15 00:55:25.451 - Thread:  1 ->  ExecutingAssembly.ProcessorArchitecture: X86
    2015-08-15 00:55:25.451 - Thread:  1 ->  IntPtr.Size: 4
    2015-08-15 00:55:25.451 - Thread:  1 ->  Default Culture: en-US
    2015-08-15 00:55:25.451 - Thread:  1 ->  Default UI Culture: en-US
    2015-08-15 00:55:25.452 - Thread:  1 ->  IsAdmin: False
    2015-08-15 00:55:25.502 - Thread:  1 ->  MySandboxGame.Constructor() - START
    2015-08-15 00:55:25.504 - Thread:  1 ->  Game dir: C:\users\cheata\SEServer\DedicatedServer
    2015-08-15 00:55:25.504 - Thread:  1 ->  Content dir: C:\users\cheata\SEServer\Content
    2015-08-15 00:55:25.870 - Thread:  1 ->  Found processor count: 2
    2015-08-15 00:55:25.870 - Thread:  1 ->  Using processor count: 2
    2015-08-15 00:55:26.007 - Thread:  1 ->  MyDefinitionManager.LoadScenarios() - START
    2015-08-15 00:55:26.014 - Thread:  1 ->  e4f5658f35c54c5d273fa283d2e1a0f711b6ed48
    2015-08-15 00:55:26.566 - Thread:  1 ->  Exception occured: System.TypeInitializationException: An exception was thrown by the type initializer for VRage.ObjectBuilders.MyObjectBuilderSerializer ---> System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_CubeBlock ---> System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_CubeBlock'. ---> System.InvalidOperationException: There was an error reflecting field 'ConstructionInventory'. ---> System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_Inventory'. ---> System.InvalidOperationException: There was an error reflecting field 'InventoryFlags'. ---> System.ArgumentNullException: Argument cannot be null.
    Parameter name: value
      at System.Enum.Format (System.Type enumType, System.Object value, System.String format) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue (System.Xml.Serialization.TypeData typeData, System.Object defaultValue) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportElementInfo (System.Type cls, System.String defaultName, System.String defaultNamespace, System.Type defaultType, System.Xml.Serialization.XmlTypeMapMemberElement member, System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlSerializer..ctor (System.Type type) [0x00000] in <filename unknown>:0  
      at VRage.ObjectBuilders.MyObjectBuilderSerializer.LoadSerializers () [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at VRage.ObjectBuilders.MyObjectBuilderSerializer.LoadSerializers () [0x00000] in <filename unknown>:0  
      at VRage.ObjectBuilders.MyObjectBuilderSerializer..cctor () [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at Sandbox.Definitions.MyDefinitionManager.Load[MyObjectBuilder_ScenarioDefinitions] (System.String path) [0x00000] in <filename unknown>:0  
      at Sandbox.Definitions.MyDefinitionManager.LoadScenarios (Sandbox.Definitions.MyModContext context, Sandbox.Definitions.DefinitionSet definitionSet, Boolean failOnDebug) [0x00000] in <filename unknown>:0  
      at Sandbox.Definitions.MyDefinitionManager.LoadScenarios () [0x00000] in <filename unknown>:0  
      at Sandbox.MySandboxGame..ctor (Sandbox.VRageGameServices services, System.String[] commandlineArgs) [0x00000] in <filename unknown>:0  
      at VRage.Dedicated.DedicatedServer.RunInternal () [0x00000] in <filename unknown>:0  
      at VRage.Dedicated.DedicatedServer.RunMain (System.String instanceName, System.String customPath, Boolean isService, Boolean showConsole) [0x00000] in <filename unknown>:0  
      at VRage.Dedicated.DedicatedServer.ProcessArgs (System.String[] args) [0x00000] in <filename unknown>:0  
      at VRage.Dedicated.DedicatedServer.Run[MyObjectBuilder_SessionSettings] (System.String[] args) [0x00000] in <filename unknown>:0  
      at SpaceEngineersDedicated.MyProgram.Main (System.String[] args) [0x00000] in <filename unknown>:0  
    2015-08-15 00:55:26.567 - Thread:  1 ->  InnerException:  
    2015-08-15 00:55:26.567 - Thread:  1 ->  Exception occured: System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_CubeBlock ---> System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_CubeBlock'. ---> System.InvalidOperationException: There was an error reflecting field 'ConstructionInventory'. ---> System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_Inventory'. ---> System.InvalidOperationException: There was an error reflecting field 'InventoryFlags'. ---> System.ArgumentNullException: Argument cannot be null.
    Parameter name: value
      at System.Enum.Format (System.Type enumType, System.Object value, System.String format) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue (System.Xml.Serialization.TypeData typeData, System.Object defaultValue) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportElementInfo (System.Type cls, System.String defaultName, System.String defaultNamespace, System.Type defaultType, System.Xml.Serialization.XmlTypeMapMemberElement member, System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlSerializer..ctor (System.Type type) [0x00000] in <filename unknown>:0  
      at VRage.ObjectBuilders.MyObjectBuilderSerializer.LoadSerializers () [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at VRage.ObjectBuilders.MyObjectBuilderSerializer.LoadSerializers () [0x00000] in <filename unknown>:0  
      at VRage.ObjectBuilders.MyObjectBuilderSerializer..cctor () [0x00000] in <filename unknown>:0  
    2015-08-15 00:55:26.567 - Thread:  1 ->  InnerException:  
    2015-08-15 00:55:26.567 - Thread:  1 ->  Exception occured: System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_CubeBlock'. ---> System.InvalidOperationException: There was an error reflecting field 'ConstructionInventory'. ---> System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_Inventory'. ---> System.InvalidOperationException: There was an error reflecting field 'InventoryFlags'. ---> System.ArgumentNullException: Argument cannot be null.
    Parameter name: value
      at System.Enum.Format (System.Type enumType, System.Object value, System.String format) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue (System.Xml.Serialization.TypeData typeData, System.Object defaultValue) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportElementInfo (System.Type cls, System.String defaultName, System.String defaultNamespace, System.Type defaultType, System.Xml.Serialization.XmlTypeMapMemberElement member, System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlSerializer..ctor (System.Type type) [0x00000] in <filename unknown>:0  
      at VRage.ObjectBuilders.MyObjectBuilderSerializer.LoadSerializers () [0x00000] in <filename unknown>:0  
    2015-08-15 00:55:26.567 - Thread:  1 ->  InnerException:  
    2015-08-15 00:55:26.567 - Thread:  1 ->  Exception occured: System.InvalidOperationException: There was an error reflecting field 'ConstructionInventory'. ---> System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_Inventory'. ---> System.InvalidOperationException: There was an error reflecting field 'InventoryFlags'. ---> System.ArgumentNullException: Argument cannot be null.
    Parameter name: value
      at System.Enum.Format (System.Type enumType, System.Object value, System.String format) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue (System.Xml.Serialization.TypeData typeData, System.Object defaultValue) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportElementInfo (System.Type cls, System.String defaultName, System.String defaultNamespace, System.Type defaultType, System.Xml.Serialization.XmlTypeMapMemberElement member, System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
    2015-08-15 00:55:26.567 - Thread:  1 ->  InnerException:  
    2015-08-15 00:55:26.567 - Thread:  1 ->  Exception occured: System.InvalidOperationException: There was an error reflecting type 'Sandbox.Common.ObjectBuilders.MyObjectBuilder_Inventory'. ---> System.InvalidOperationException: There was an error reflecting field 'InventoryFlags'. ---> System.ArgumentNullException: Argument cannot be null.
    Parameter name: value
      at System.Enum.Format (System.Type enumType, System.Object value, System.String format) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue (System.Xml.Serialization.TypeData typeData, System.Object defaultValue) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportElementInfo (System.Type cls, System.String defaultName, System.String defaultNamespace, System.Type defaultType, System.Xml.Serialization.XmlTypeMapMemberElement member, System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
    2015-08-15 00:55:26.567 - Thread:  1 ->  InnerException:  
    2015-08-15 00:55:26.567 - Thread:  1 ->  Exception occured: System.InvalidOperationException: There was an error reflecting field 'InventoryFlags'. ---> System.ArgumentNullException: Argument cannot be null.
    Parameter name: value
      at System.Enum.Format (System.Type enumType, System.Object value, System.String format) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue (System.Xml.Serialization.TypeData typeData, System.Object defaultValue) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
    2015-08-15 00:55:26.567 - Thread:  1 ->  InnerException:  
    2015-08-15 00:55:26.567 - Thread:  1 ->  Exception occured: System.ArgumentNullException: Argument cannot be null.
    Parameter name: value
      at System.Enum.Format (System.Type enumType, System.Object value, System.String format) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue (System.Xml.Serialization.TypeData typeData, System.Object defaultValue) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type declaringType, System.Xml.Serialization.XmlReflectionMember rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
      at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0  
    2015-08-15 00:55:26.567 - Thread:  1 ->  Hiding window
    2015-08-15 00:55:26.586 - Thread:  1 ->  Showing message
    
    I suspect it has something to do with the xml not pharsing properly but i have no idea how to fix it can anybody make any suggestions please.

    Im working with Debian 8, Wine1.6.2 and im running the 32bit version of the server
     
  8. Cheatanct Trainee Engineer

    Messages:
    2
    OK so i actully managed to solve the problem myself...

    Jimmydehond try reinstalling the dot net framework

    Code:
     winetricks -q dotnet40 
     
  9. Desul Trainee Engineer

    Messages:
    2
    I'm getting the following error wich I can't solve.
    Code:
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessDEPPolicy (1): stub
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    err:systray:initialize_systray Could not create tray window
    wine: cannot find L"C:\\windows\\system32\\SpaceEngineersDedicated.exe"
    
    I can't figure out why wine can't find the exe file. I believe the other 'errors' can be ignored.
     
  10. King Leaf Trainee Engineer

    Messages:
    1
    I'm having the same problems as Jimmydehond(exact same errors) and reinstalling the dot net framework did nothing.
     
  11. Usche Trainee Engineer

    Messages:
    7
    It's pretty sad, that there is no answer to the stated question.

    The reason it cannot find an *.exe file ist, that there IS NO *.exe file!
    This is because the dedicated server is now 64bit-only, so you would need to execute the file in [...]\DedicatedServer64.

    It tried to get it work with a 64bit version of wine, but I had no luck so far. So for now, there is only one conclusion for me of which I hope someone proof me wrong:

    SpaceEngineers Dedicated Server on Linux is DEAD.
     
  12. hemato Trainee Engineer

    Messages:
    3
    wine: bad exe format for :S
     
  13. Viny Trainee Engineer

    Messages:
    4
    Sad ;/
     
  14. Bailey Burnsed Trainee Engineer

    Messages:
    26
    My dad has Ubuntu 16.10 would this would for him and how did you get it to run on Ubuntu Linux in the first place?
     
  15. PazDim Trainee Engineer

    Messages:
    17
    Can't install dotnet40 on wine64. Any solutions?
     
  16. Roxette Senior Engineer

    Messages:
    1,546
    Dude... do you even read the previous 4 posts on the thread before posting? :/ SpaceEngineers Dedicated Server on Linux is DEAD. There are dozens of old threads about running it on Linux and the answer is always the same: ITS NEVER GOING TO HAPPEN. GET OVER IT.
     
    • Disagree Disagree x 1
  17. PazDim Trainee Engineer

    Messages:
    17
    Dude himself. This information is over a year old. Here is a more recent guide:
    https://www.reddit.com/r/wine_gaming/comments/8r6low/guide_how_to_install_net_45_on_64bit_prefixes/
    In the evening I'll try.
     
  18. PazDim Trainee Engineer

    Messages:
    17
    Well, I was not able to start the server under wine. I'm looking at a small virtual machine. The server itself is working. But how to start the service correctly? To run at the start of the OS and automatically shut down when shutting down the OS? Now it does not always start and does not always save data.
     
  19. PazDim Trainee Engineer

    Messages:
    17
    So, I found another solution :). VirtualBox and Windows 7 64bit with a minimum set of programs and a SE server. The problem with the correct completion of the work, I had to set the auto-save period in 1 minute. The virtual machine is installed on the CentOS. I've been playing for over two hours and no problems!
     
Thread Status:
This last post in this thread was made more than 31 days old.