GithubHelp home page GithubHelp logo

torchapi / torch Goto Github PK

View Code? Open in Web Editor NEW
143.0 143.0 76.0 1.84 MB

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!

License: Apache License 2.0

C# 99.61% Batchfile 0.04% PowerShell 0.35%
space-engineers

torch's People

Contributors

biscuitwizard avatar bishbash777 avatar casimir255 avatar dorimanx avatar equinox- avatar foogs avatar gwindalmir avatar jimmacle avatar jimmble avatar maldark avatar n1ran avatar nnmavy avatar pbtada avatar rexxar-tc avatar ryo0ka avatar sinz163 avatar sirhamsteralot avatar susu avatar thakyz avatar yuxuanchiadm avatar zznty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

torch's Issues

[Suggestion] Lock Server after restart option

Hey

I want to suggest some function to manually lock the Server with next restart, so only admins can join until they type in some command. Would be helpful for fast adjusting from Setting - Idk if somebody else thinks thats helpful ^^

Greez from Vienna
HP

Torch doesn't load mod list from sandbox.sbc

How to reproduce:

  • open torch, pointed at a save file created with SEDS
  • start server
  • gracefully stop server
  • edit mods list (via double click)
  • click "save config" button below mods list
  • close torch
  • open torch again -- old mods list will be listed in the mods box

NOTE: it does look like Sandbox.sbc is getting written when I click "save Config" and it does have the proper mods. The part that is failing is when I load torch again, it appears to have the old mod list.

What did I expect to happen?

  • mods list should have been saved

Versions:

  • Torch: Torch 1.0.136.343
  • SE 1.180.503

Sending text or commands via Torch GUI chat causes application crash.

Torch Version: 1.1.207.007 SE Version: 1.182.019

Expected Behavior

The chat text should have been submitted and displayed to players on the server and in the console.

Observed Behavior

Torch crashed with lots of angry red text in the console. (console text pasted in the last section here)

Steps to Reproduce

  1. Run Torch and start a server.
  2. In the "Chat/Players" tab, put the cursor in the text field to the left of the "Send" button.
  3. Type some text or enter a command.
  4. Press the [Enter] key on the keyboard or click the "Send" button.

Other Information

Stacktrace:
20:48:02.3177 [FATAL] Torch: System.InvalidCastException: Unable to cast object of type 'Microsoft.Windows.Themes.ClassicBorderDecorator' to type 'System.Windows.Controls.Border'.
at Torch.Server.ChatControl.ChatHistory_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at Torch.ObservableList`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at Torch.Managers.MultiplayerManager.SendMessage(String message, String author, Int64 playerId, String font)
at Torch.Server.ChatControl.OnMessageEntered()
at Torch.Server.ChatControl.Message_OnKeyDown(Object sender, KeyEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.ShowDialog()
at Torch.Server.Program.RunServer(TorchConfig config)
at Torch.Server.Program.Main(String[] args)

Crash

crash on loading up.
Log:

14:24:34.0781 [INFO] Torch: Loading config C:\Users\Administrator\Desktop\BattleSrv\TorchConfig.xml
14:24:34.2103 [INFO] SteamCMD: Checking for DS updates.
14:24:35.1131 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:24:35.2142 [INFO] SteamCMD: -- type 'quit' to exit --
14:24:35.3163 [INFO] SteamCMD: Loading Steam API...OK.
14:24:35.4177 [INFO] SteamCMD:
14:24:37.2423 [INFO] SteamCMD: Connecting anonymously to Steam Public...Logged in OK
14:24:37.3444 [INFO] SteamCMD: Waiting for user info...OK
14:24:38.8547 [INFO] SteamCMD: Success! App '298740' already up to date.
14:24:39.3502 [INFO] SteamCMD:
14:24:41.4591 [INFO] Torch: RELEASE
14:24:41.4591 [INFO] Torch: Torch 1.0.182.329, SE 1.181.502
14:24:41.4591 [INFO] Torch: Executing assembly: Torch.Server, Version=1.0.182.329, Culture=neutral, PublicKeyToken=null
14:24:41.4591 [INFO] Torch: Executing directory: C:\Users\Administrator\Desktop\BattleSrv
14:24:41.4591 [INFO] Torch: Init server 'Battle' at 'C:\Users\Administrator\Desktop\BattleSrv\Instance'
14:24:42.6195 [FATAL] Torch: System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_TriggerAggregate ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\2\ixardunp.tmp'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at VRage.MyXmlSerializerManager.RegisterType(Type type, Boolean forceRegister, Boolean checkAttributes)
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
--- End of inner exception stack trace ---
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.RegisterAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.Init()
at Torch.Server.TorchServer.Init()
at Torch.Server.Program.RunServer(TorchConfig options, TorchCli cli)
at Torch.Server.Program.Main(String[] args)
14:24:47.9913 [INFO] Torch: Loading config C:\Users\Administrator\Desktop\BattleSrv\TorchConfig.xml
14:24:48.1104 [INFO] SteamCMD: Checking for DS updates.
14:24:48.7443 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:24:48.8464 [INFO] SteamCMD: -- type 'quit' to exit --
14:24:48.9475 [INFO] SteamCMD: Loading Steam API...OK.
14:24:49.0487 [INFO] SteamCMD:
14:24:51.3062 [INFO] SteamCMD: Connecting anonymously to Steam Public...Logged in OK
14:24:52.7359 [INFO] SteamCMD: Waiting for user info...OK
14:24:53.1263 [INFO] SteamCMD: Success! App '298740' already up to date.
14:24:53.9090 [INFO] SteamCMD:
14:24:54.3695 [INFO] Torch: RELEASE
14:24:54.3695 [INFO] Torch: Torch 1.0.182.329, SE 1.181.502
14:24:54.3695 [INFO] Torch: Executing assembly: Torch.Server, Version=1.0.182.329, Culture=neutral, PublicKeyToken=null
14:24:54.3695 [INFO] Torch: Executing directory: C:\Users\Administrator\Desktop\BattleSrv
14:24:54.3695 [INFO] Torch: Init server 'Battle' at 'C:\Users\Administrator\Desktop\BattleSrv\Instance'
14:24:55.0402 [FATAL] Torch: System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_TriggerAggregate ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\2\kz14ocd5.tmp'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at VRage.MyXmlSerializerManager.RegisterType(Type type, Boolean forceRegister, Boolean checkAttributes)
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
--- End of inner exception stack trace ---
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.RegisterAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.Init()
at Torch.Server.TorchServer.Init()
at Torch.Server.Program.RunServer(TorchConfig options, TorchCli cli)
at Torch.Server.Program.Main(String[] args)
14:25:00.4383 [INFO] Torch: Loading config C:\Users\Administrator\Desktop\BattleSrv\TorchConfig.xml
14:25:00.5555 [INFO] SteamCMD: Checking for DS updates.
14:25:01.1893 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:25:01.2914 [INFO] SteamCMD: -- type 'quit' to exit --
14:25:01.3925 [INFO] SteamCMD: Loading Steam API...OK.
14:25:01.9550 [INFO] Torch: RELEASE
14:25:01.9550 [INFO] Torch: Torch 1.0.182.329, SE 1.181.502
14:25:01.9550 [INFO] Torch: Executing assembly: Torch.Server, Version=1.0.182.329, Culture=neutral, PublicKeyToken=null
14:25:01.9550 [INFO] Torch: Executing directory: C:\Users\Administrator\Desktop\BattleSrv
14:25:01.9550 [INFO] Torch: Init server 'Battle' at 'C:\Users\Administrator\Desktop\BattleSrv\Instance'
14:25:02.5226 [FATAL] Torch: System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_TriggerAggregate ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\2\ry4yqfoi.tmp'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at VRage.MyXmlSerializerManager.RegisterType(Type type, Boolean forceRegister, Boolean checkAttributes)
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
--- End of inner exception stack trace ---
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.RegisterAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.Init()
at Torch.Server.TorchServer.Init()
at Torch.Server.Program.RunServer(TorchConfig options, TorchCli cli)
at Torch.Server.Program.Main(String[] args)
14:25:06.9608 [INFO] Torch: Loading config C:\Users\Administrator\Desktop\BattleSrv\TorchConfig.xml
14:25:07.0780 [INFO] SteamCMD: Checking for DS updates.
14:25:07.8041 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:25:07.9052 [INFO] SteamCMD: -- type 'quit' to exit --
14:25:08.0063 [INFO] SteamCMD: Loading Steam API...OK.
14:25:08.1078 [INFO] SteamCMD:
14:25:09.8257 [INFO] SteamCMD: Connecting anonymously to Steam Public...Logged in OK
14:25:09.9272 [INFO] SteamCMD: Waiting for user info...OK
14:25:10.7020 [INFO] SteamCMD: Success! App '298740' already up to date.
14:25:10.9681 [INFO] SteamCMD:
14:25:11.4296 [INFO] Torch: RELEASE
14:25:11.4296 [INFO] Torch: Torch 1.0.182.329, SE 1.181.502
14:25:11.4296 [INFO] Torch: Executing assembly: Torch.Server, Version=1.0.182.329, Culture=neutral, PublicKeyToken=null
14:25:11.4296 [INFO] Torch: Executing directory: C:\Users\Administrator\Desktop\BattleSrv
14:25:11.4296 [INFO] Torch: Init server 'Battle' at 'C:\Users\Administrator\Desktop\BattleSrv\Instance'
14:25:12.0392 [FATAL] Torch: System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_TriggerAggregate ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\2\iv0zmwas.tmp'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at VRage.MyXmlSerializerManager.RegisterType(Type type, Boolean forceRegister, Boolean checkAttributes)
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
--- End of inner exception stack trace ---
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.RegisterAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.Init()
at Torch.Server.TorchServer.Init()
at Torch.Server.Program.RunServer(TorchConfig options, TorchCli cli)
at Torch.Server.Program.Main(String[] args)
14:25:17.3762 [INFO] Torch: Loading config C:\Users\Administrator\Desktop\BattleSrv\TorchConfig.xml
14:25:17.4783 [INFO] SteamCMD: Checking for DS updates.
14:25:18.2034 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:25:18.3055 [INFO] SteamCMD: -- type 'quit' to exit --
14:25:18.4066 [INFO] SteamCMD: Loading Steam API...OK.
14:25:18.5079 [INFO] SteamCMD:
14:25:22.9395 [INFO] SteamCMD: Connecting anonymously to Steam Public...threadtools.cpp (3294) : Assertion Failed: Illegal termination of worker thread 'CIPCServer::m_ThreadClient'

Torch throwing exception in vrage on startup

How to reproduce:

  • Load torch 1.0.136.343 with my space engineers world and torch config (I can provide both if needed to reproduce)
  • Click start button
  • watch text console. The error will appear in red after ~ 2 minutes.

What do I expect to happen?:

  • server to launch without exception

versions:
Windows Server 2012 R2
Torch 1.0.136.343
SE 1.181.58 (with June 2nd hotfixes)

Error:
2017-06-02 17:44:34.3697 [INFO] Torch: Loading config C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\DedicatedServer64\TorchConfig.xml
2017-06-02 17:44:34.7397 [INFO] Torch: RELEASE
2017-06-02 17:44:34.7397 [INFO] Torch: Torch 1.0.136.343, SE 1.181.58
2017-06-02 17:44:34.7397 [INFO] Torch: Executing assembly: Torch.Server, Version=1.0.136.343, Culture=neutral, PublicKeyToken=null
2017-06-02 17:44:34.7397 [INFO] Torch: Executing directory: C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\DedicatedServer64
2017-06-02 17:44:34.7397 [INFO] Torch: Init server 'Torch' at 'C:\ProgramData\SpaceEngineersDedicated\WhiskeyAndCookies-PVE'
2017-06-02 17:45:41.9586 [INFO] Torch: Starting server.
2017-06-02 17:45:42.637: Bind IP : 0.0.0.0:27016
Setting breakpad minidump AppID = 244850
2017-06-02 17:45:47.026: Server successfully started
2017-06-02 17:45:47.026: Product name: Space Engineers
2017-06-02 17:45:47.026: Desc: Space Engineers
2017-06-02 17:45:47.026: Public IP: 34.206.227.163
2017-06-02 17:45:47.026: Steam ID: 90109071845200896
2017-06-02 17:45:52.591: Loading last session C:\ProgramData\SpaceEngineersDedicated\WhiskeyAndCookies-PVE\Saves\Whiskey And Cookies(PVE)
2017-06-02 17:45:53.939: Server connected to Steam
2017-06-02 17:45:53.941: Server PolicyResponse (1)
2017-06-02 17:45:54.511: Up to date mod: id = 316190120
2017-06-02 17:45:54.511: Up to date mod: id = 320125359
2017-06-02 17:45:54.511: Up to date mod: id = 328494103
2017-06-02 17:45:54.512: Up to date mod: id = 364731781
2017-06-02 17:45:54.512: Up to date mod: id = 484504816
2017-06-02 17:45:54.513: Up to date mod: id = 500818376
2017-06-02 17:45:54.513: Up to date mod: id = 502782983
2017-06-02 17:45:54.513: Up to date mod: id = 502784953
2017-06-02 17:45:54.514: Up to date mod: id = 531851337
2017-06-02 17:45:54.514: Up to date mod: id = 562591320
2017-06-02 17:45:54.515: Up to date mod: id = 570766073
2017-06-02 17:45:54.515: Up to date mod: id = 570767247
2017-06-02 17:45:54.515: Up to date mod: id = 595665128
2017-06-02 17:45:54.516: Up to date mod: id = 643820962
2017-06-02 17:45:54.516: Up to date mod: id = 646084488
2017-06-02 17:45:54.516: Up to date mod: id = 647256866
2017-06-02 17:45:54.517: Up to date mod: id = 655922051
2017-06-02 17:45:54.517: Up to date mod: id = 685986346
2017-06-02 17:45:54.518: Up to date mod: id = 688819658
2017-06-02 17:45:54.518: Up to date mod: id = 709189094
2017-06-02 17:45:54.518: Up to date mod: id = 709997713
2017-06-02 17:45:54.519: Up to date mod: id = 719015315
2017-06-02 17:45:54.519: Up to date mod: id = 725801285
2017-06-02 17:45:54.520: Up to date mod: id = 728555954
2017-06-02 17:45:54.520: Up to date mod: id = 775214124
2017-06-02 17:45:54.520: Up to date mod: id = 824449049
2017-06-02 17:45:54.521: Up to date mod: id = 842998839
2017-06-02 17:45:54.521: Up to date mod: id = 856019339
2017-06-02 17:45:54.521: Up to date mod: id = 901545502
2017-06-02 17:45:54.586: Loading session: C:\ProgramData\SpaceEngineersDedicated\WhiskeyAndCookies-PVE\Saves\Whiskey And Cookies(PVE)
2017-06-02 17:48:13.401: Session loaded
2017-06-02 17:48:13.753: Logging off Steam...
2017-06-02 17:48:13.754: Shutting down server...
2017-06-02 17:48:13.781: Done
2017-06-02 17:48:13.820 [FATAL] Torch: System.Reflection.TargetInvocationExcept ion: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Unable to cast object of type 'System.Collections.Generic.Dictionary2[Sandbox.Engine.Multiplayer.MyTransportLayer+HandlerId,System.Action1[VRage.MyPacket]]' to type 'System.Collections.Generic.Dictionary2[Sandbox.Engine.Multiplayer.MyMessageId,System.Action1[VRage.MyPacket]]'.
at Torch.Managers.NetworkManager.Init()
at Torch.TorchBase.Init(Object gameInstance)
at Torch.Server.TorchServer.Init(Object gameInstance)
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashSc reen)
at VRage.Dedicated.DedicatedServer.RunInternal()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Objec t[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture)
at Torch.Server.TorchServer.Start()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C ontextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Mod List:
901545502
856019339
842998839
824449049
775214124
728555954
725801285
719015315
709997713
709189094
688819658
685986346
655922051
647256866
646084488
643820962
595665128
570766073
570767247
562591320
531851337
502782983
502784953
500818376
484504816
364731781
328494103
320125359
316190120

Report

Torch Version: IDK SE Version: Medieval

Expected Behavior

Clang

Observed Behavior

Clunk

Steps to Reproduce

  1. How did this issue get triggered?
    It was overly sensitive and was triggered by salty trolls.

Other Information

Congrats on the release. You've worked for ages on this! I'm glad to see it happen

[PEBKAC] SpaceEngineers-Dedicated.cfg reading from one location, saving to another.

Torch Version: 1.1.207.7 SE Version: 1.182.019

Summary:
I've just tested this for an hour attempting to figure out why my world would not save, so I am leaving this bug open as TENTATIVE and to be edited with further notes.

Torch appears to be requiring SpaceEngineers-Dedicated.cfg to be located at */TORCH/Instance/Saves in order to not throw the exception regarding "unable to write config". Once placed into the location, torch no longer throws the exception.

However, when you utilize the GUI and press "Save Config", TORCH saves SpaceEngineers-Dedicated.cfg one directory backwards in */TORCH/Instance

This is likely the cause for the GUI interface not enacting changes to the config, as the config is merely saving a new copy in a location other than what is referenced at start.

Expected Behavior

SpaceEngineers-Dedicated.cfg to read and save from the same location

Observed Behavior

  • Read directory is */TORCH/Instance/Saves
  • Save directory is */TORCH/Instance

Steps to Reproduce

  1. Start with a freshly unzipped TORCH
  2. Add XML to Torch.cfg to auto-download plugins on launch
  3. Start Torch
  4. Notice exception for missing SpaceEngineers-Dedicated.cfg and no worlds to load
  5. Paste your world into */TORCH/Instance/Saves
  6. Start torch WITHOUT SpaceEngineers-Dedicated.cfg pasted into any directory
  7. Notice Exception and close TORCH
  8. Paste SpaceEngineers-Dedicated.cfg into */TORCH/Instance/Saves
  9. Launch torch and notice no exception
  10. Add a mod into the mods list and press save
  11. Notice now that a new SpaceEngineers-Dedicated.cfg is now in */TORCH/Instance
  12. Close torch and restart
    13 Notice no change, as TORCH is reading from */TORCH/Instance/Saves

Other Information

I have yet to establish the reason for my lack of worldsaving at current, but at this juncture, that will likely be a separate bug.

Mods Not Saved

Mods in torch gui is not saved when modified. I can manually go into SpaceEngineers-Dedicated.cfg and put the modID in and it works but any changes in torch GUI is unaffected to the cfg file.

Torch Version: 1.1.207.7 SE Version: 1.182.19

Expected Behavior

Any changes made in torch GUI in the mods section should reflect in SpaceEngineers-Dedicated.cfg

Observed Behavior

Changes were made to torch GUI but were not saved in SpaceEngineers-Dedicated.cfg

Concealment Plugin - Sub-grids (wheels, rotors, pistons) detach, explode, and/or go physics crazy on Reveal action

Torch Version: 1.1.207.007 SE Version: 1.182.019

Expected Behavior

Sub-grids should remain attached to their parent grids and remain stable when grids are revealed, such as on client log in. This is particularly noticeable in planet gravity, since there is a force acting on the subgrids even if the parent grid is stationary.

Observed Behavior

In my case, logging on to my server would cause my piston gantry to explode and my carrier (with a rotor-based ramp) to take a cruise to the center of the earth. Most vehicles with wheels also would lose their wheels.

The carrier was actually my first medbay in the list, and it got thrown so far and so fast that the server would never stream it to me, and I could not spawn at that medbay.

Steps to Reproduce

  1. Create any sort of planetary base that includes sub-grids, especially with piston heads hanging down with plenty of weight on them (though it doesn't seem to discriminate too much), as well as ships with rotors.
  2. Log off the server.
  3. Turn Concealment on.
  4. Verify that the station has been concealed.
  5. Log on.
  6. Inspect the locations where subgrids presumably used to be.

Other Information

GitHub apparently hates me and won't let me upload a zipped world. Let me know if you need one and I can explore other upload options.

System.IndexOutOfRangeException immediately after Concealment: Revealing grids

How to reproduce:

  • Start a server
  • have a few people log in
  • wait

Versions:
Torch 1.0.153.575
SE 1.181.58
Windows Server 2012 R2

It looks like it happened at the end of a long list of "Revealing grids". I will include the full torch.log as an attachment

Exception from Torch.log
2017-06-02 22:49:04.8767 [INFO] Concealment: Revealing grids: Static Grid 6164
2017-06-02 22:49:04.8767 [INFO] Concealment: Revealing grids: Military Minelayer
2017-06-02 22:49:04.9517 [FATAL] Torch: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VRageMath.MyDynamicAABBTreeD.RemoveLeaf(Int32 leaf)
at VRageMath.MyDynamicAABBTreeD.RemoveProxy(Int32 proxyId)
at Concealment.ConcealmentPlugin.RevealGroup(ConcealGroup group)
at Concealment.ConcealmentPlugin.<>c__DisplayClass21_0.b__0()
at Sandbox.MySandboxGame.ProcessInvoke()
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at VRage.Dedicated.DedicatedServer.RunInternal()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Torch.Server.TorchServer.Start()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

SpaceEngineersDedicated.log from around the same time
2017-06-02 22:47:49.645 - Thread: 12 -> GC Memory: 2,254,355,184 B
2017-06-02 22:48:19.654 - Thread: 12 -> GC Memory: 2,285,648,824 B
2017-06-02 22:48:37.668 - Thread: 12 -> Peer2Peer_SessionRequest 76561198067690153
2017-06-02 22:48:41.350 - Thread: 12 -> OnConnectedClient SHO attempt
2017-06-02 22:48:41.653 - Thread: 12 -> World request received: SHO
2017-06-02 22:48:41.653 - Thread: 12 -> ...responding
2017-06-02 22:48:49.669 - Thread: 12 -> GC Memory: 2,316,760,048 B
2017-06-02 22:49:04.729 - Thread: 12 -> Network readers disposed
2017-06-02 22:49:04.733 - Thread: 12 -> Logging off Steam...
2017-06-02 22:49:04.734 - Thread: 12 -> Shutting down server...
2017-06-02 22:49:04.778 - Thread: 12 -> Done
2017-06-02 22:53:41.448 - Thread: 1 -> Saving world - START
2017-06-02 22:53:41.448 - Thread: 1 -> Making world state snapshot.
2017-06-02 22:53:41.448 - Thread: 1 -> Before snapshot.: GC Memory: 2,198,209,144 B

SpaceEngineersDedicated.log.txt
torch.log.txt

Plugin update failure and Entity Manager not realtime

Torch Version: 1.0.168.389

Expected Behavior

1 - Plugins are not updating
2 - Entity Manager not realtime
3 - Chat/Player screen shows no players at the right side

Observed Behavior

1 - Give an error that it not can find a part in the manifest
We did remove the manifest files in the 2 plugin maps, torch will skip the update and load the DLL's

2- Delete Entities im world is working, but in the Manager you don't see it going away, if you delete someting in the manager the torch will crash.

3 - No further info

Steps to Reproduce

1 - just put manifest file back in the folder

arguments

Hello, This is a suggestion unless it already exists.

How does one go about starting up torch with no gui? and how do i install as a process? thanks :)

Users do not have permission to use /help

  • Verify that this issue is related to Torch and not a Torch plugin or the vanilla game
  • Ensure that the issue is reproducible for testing (provide a link to a test world if necessary)

Torch Version: 1.0.180.471SE Version: 1.181.401

Expected Behavior

User gets list of commands they have permission to use.

Observed Behavior

"User tried to use command help without permission"

Steps to Reproduce

User without admin privilege types /help

System crash on connect - log appears to indicate issue with turret targeting.

Torch Version: 1.0.182.329 SE Version: 1.181.401

Expected Behavior

User should have been able to log in and begin playing on the server.

Observed Behavior

Client bumped user back to Space Engineers title screen with "Server host has left the game" message. Server attempted to restart but failed.

Steps to Reproduce

  1. Server admin started server via the "Start" button in the Torch GUI.
  2. Client attempted to log on.

Other Information

I don't think this is a vanilla issue, as I have tested this today and last night with a mix of Torch, SESE, and vanilla DS with the same world. Only Torch throws the exception pasted below:

12:36:49.9806 [FATAL] Torch: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.EntityComponents.MyGridTargeting.Scan()
at Sandbox.Game.EntityComponents.MyGridTargeting.RescanIfNeeded()
at Sandbox.Game.Weapons.MyLargeTurretBase.CheckAndSelectNearTargetsParallel()
at Sandbox.Game.Weapons.MyLargeTurretBase.UpdateAfterSimulation10()
at Sandbox.Game.Entities.MyEntities.b__e(MyEntity x)
at VRage.Collections.MyDistributedUpdater2.Iterate(Action1 p)
at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()
at Sandbox.Game.World.MySector.UpdateAfterSimulation()
at Sandbox.Game.World.MySession.UpdateComponents()
at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at VRage.Dedicated.DedicatedServer.RunInternal()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Torch.Server.TorchServer.Start()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

[Suggestion]: service selections (SESE thing i would like added)

IN SESE you loaded up the configurator and you could click something called 'use common program data'
which allowed you to select from a drop down of each service created in SE dedicated server process.
I used to use this to switch between worlds more-often and kept me from having to create multiple server install folders with multiple configs taking up all my disk space i don't have.

Anyway.
just add a drop down to select the different services (or easier just select the different folders inside programdata where server saves are normally held) by name.
Then you can add 'load world' by selecting the '/saves directory in that program data directory
ex.
Instance: C:\ProgramData\SpaceEngineersDedicated\Hydro Survival
World directory: C:\ProgramData\SpaceEngineersDedicated\Hydro Survival\Saves\Hydro Survival
Then have an optional selection drop down for worlds via the saves\foldername* (psst SESE didn't have this but i would like it <3)

[Suggestion]: manually configurable update options

maybe some auto-update config where you can point to each folder
I.E. for auto-update select your root folder, your steamcmd folder etc

The reason for this is because i use "C:\Program Files\Space Engineers DS" for my server path and I prefer doing this the hard way.

So, for example, I want to keep C:\Program Files\Space Engineers DS but also auto-update my server.
I have steamcmd installed on c:steamcmd so i could just copy that over, but instead I would rather just be able to select the folder I have it in.
(to make it simple I can write an install guide for this if you get it implemented but here's a short idea)
put torch in dedicated 64 for manual install
start torch, manual install detected
go to 'auto update config area in torch' and there's an option to select root 'steamcmd' folder
option for selecting your root DS folder.
and finally an option to select the plugins folder (would also make it easier to update plugins)

Command/Permissions System

A centralized chat command system to simplify adding chat commands through plugins and to allow server admins to easily control which players can use certain commands through permission groups.

Plugin System

Allows Torch to be solely a framework to be built upon by modular bits of code which will improve maintainability.

Cannot delete grids of players not on server

  • Verify that this issue is related to Torch and not a Torch plugin or the vanilla game
  • Ensure that the issue is reproducible for testing (provide a link to a test world if necessary)
  • Is this a suggestion?

Torch 1.0.182.329, SE 1.181.502

Expected Behavior

What did you expect to happen?
I wanted to delete all grids relating to player DukkyJr

Observed Behavior

Initially nothing happed except for an error that "DukkyJr does not exist"
I assumed that Torch was trying locate all grids for DukkyJr but any grids owned by players not only show up as DukkyJr [dead] on the control panel

I then tried using /delete grids ownedby DukkyJr [dead] - Then the server crashed

Steps to Reproduce

As above

  1. How did this issue get triggered?

Entering the following command triggers the crash: /delete grids ownedby DukkyJr [dead]

  1. Write the steps here.

Other Information

https://pastebin.com/NX8tCVgb
My server: 95.154.229.151:28015

Torch doesn't create a full instance template.

  • Verify that this issue is related to Torch and not a Torch plugin or the vanilla game
  • Ensure that the issue is reproducible for testing (provide a link to a test world if necessary)
  • Is this a suggestion?

**Torch Version:**Latest SE Version: Latest (04/07/2017) (UK)

Expected Behavior

App open.

Observed Behavior

App instantly crashes

Steps to Reproduce

  1. How did this issue get triggered?
    a: During the first run of the application
  2. Write the steps here.
    a: Double click to run app. Crash.

Other Information

Log:

14:28:35.5342 [INFO] Torch: Generating default config at C:\Users\Administrator\Desktop\SE\TorchConfig.xml
14:28:35.5872 [WARN] Torch: Would you like to enable automatic updates? (Y/n):
14:28:38.7150 [INFO] Torch: Automatic updates enabled, updating server.
14:28:38.7210 [INFO] SteamCMD: Downloading SteamCMD.
14:28:38.9112 [INFO] SteamCMD: SteamCMD downloaded successfully!
14:28:38.9112 [INFO] SteamCMD: Checking for DS updates.
14:28:44.4604 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:28:44.5615 [INFO] SteamCMD: -- type 'quit' to exit --
14:28:44.6626 [INFO] SteamCMD: Loading Steam API...OK.
14:28:45.2329 [INFO] SteamCMD:
14:28:47.5122 [INFO] SteamCMD: Connecting anonymously to Steam Public...Logged in OK
14:28:52.4742 [INFO] SteamCMD: Waiting for user info...OK
14:28:52.8656 [INFO] SteamCMD: Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
14:28:54.0042 [INFO] SteamCMD: Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
14:28:56.0016 [INFO] SteamCMD: Update state (0x61) downloading, progress: 0.23 (4194304 / 1803022067)
14:28:58.0017 [INFO] SteamCMD: Update state (0x61) downloading, progress: 1.37 (24744928 / 1803022067)
14:29:00.0252 [INFO] SteamCMD: Update state (0x61) downloading, progress: 1.37 (24744928 / 1803022067)
14:29:02.0184 [INFO] SteamCMD: Update state (0x61) downloading, progress: 1.37 (24744928 / 1803022067)
14:29:04.0156 [INFO] SteamCMD: Update state (0x61) downloading, progress: 1.37 (24744928 / 1803022067)
14:29:06.0161 [INFO] SteamCMD: Update state (0x61) downloading, progress: 1.37 (24744928 / 1803022067)
14:29:08.0181 [INFO] SteamCMD: Update state (0x61) downloading, progress: 1.37 (24744928 / 1803022067)
14:29:10.0120 [INFO] SteamCMD: Update state (0x61) downloading, progress: 4.95 (89220258 / 1803022067)
14:29:12.0159 [INFO] SteamCMD: Update state (0x61) downloading, progress: 14.39 (259431512 / 1803022067)
14:29:14.0078 [INFO] SteamCMD: Update state (0x61) downloading, progress: 22.09 (398280107 / 1803022067)
14:29:16.0197 [INFO] SteamCMD: Update state (0x61) downloading, progress: 32.55 (586872474 / 1803022067)
14:29:18.0251 [INFO] SteamCMD: Update state (0x61) downloading, progress: 43.50 (784390455 / 1803022067)
14:29:20.0070 [INFO] SteamCMD: Update state (0x61) downloading, progress: 53.43 (963438585 / 1803022067)
14:29:22.0171 [INFO] SteamCMD: Update state (0x61) downloading, progress: 55.24 (995957227 / 1803022067)
14:29:24.0196 [INFO] SteamCMD: Update state (0x61) downloading, progress: 56.23 (1013870714 / 1803022067)
14:29:26.0158 [INFO] SteamCMD: Update state (0x61) downloading, progress: 65.01 (1172190876 / 1803022067)
14:29:28.0245 [INFO] SteamCMD: Update state (0x61) downloading, progress: 66.16 (1192879766 / 1803022067)
14:29:30.0036 [INFO] SteamCMD: Update state (0x61) downloading, progress: 74.46 (1342610036 / 1803022067)
14:29:32.0156 [INFO] SteamCMD: Update state (0x61) downloading, progress: 77.29 (1393499826 / 1803022067)
14:29:34.0209 [INFO] SteamCMD: Update state (0x61) downloading, progress: 82.95 (1495680862 / 1803022067)
14:29:36.0158 [INFO] SteamCMD: Update state (0x61) downloading, progress: 86.76 (1564323772 / 1803022067)
14:29:38.0000 [INFO] SteamCMD: Update state (0x61) downloading, progress: 90.20 (1626384957 / 1803022067)
14:29:40.0031 [INFO] SteamCMD: Update state (0x61) downloading, progress: 94.48 (1703556752 / 1803022067)
14:29:42.0438 [INFO] SteamCMD: Update state (0x61) downloading, progress: 97.01 (1749070176 / 1803022067)
14:29:44.0164 [INFO] SteamCMD: Update state (0x61) downloading, progress: 98.19 (1770468770 / 1803022067)
14:29:46.0172 [INFO] SteamCMD: Update state (0x61) downloading, progress: 98.57 (1777299677 / 1803022067)
14:29:48.0142 [INFO] SteamCMD: Update state (0x61) downloading, progress: 98.57 (1777299677 / 1803022067)
14:29:50.0162 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802895840 / 1803022067)
14:29:52.0148 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:29:54.0114 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:29:56.0024 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:29:58.0231 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:00.0202 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:02.0154 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:04.0099 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:06.0026 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:08.0224 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:10.0172 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:12.0110 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:14.0064 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:16.0001 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:18.0187 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:20.0163 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:22.0081 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:24.0044 [INFO] SteamCMD: Update state (0x61) downloading, progress: 99.99 (1802922176 / 1803022067)
14:30:26.0133 [INFO] SteamCMD: Update state (0x101) committing, progress: 69.55 (1253948733 / 1803022067)
14:30:28.0160 [INFO] SteamCMD: Update state (0x101) committing, progress: 84.42 (1522130976 / 1803022067)
14:30:29.3411 [INFO] SteamCMD: Success! App '298740' fully installed.
14:30:30.5949 [INFO] SteamCMD: Redirecting stderr to 'C:\Users\Administrator\Desktop\SE\steamcmd\logs\stderr.txt'
14:30:30.7313 [INFO] SteamCMD: Checking for DS updates.
14:30:31.4337 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:30:31.5358 [INFO] SteamCMD: -- type 'quit' to exit --
14:30:31.6379 [INFO] SteamCMD: Loading Steam API...OK.
14:30:31.7400 [INFO] SteamCMD:
14:30:33.8425 [INFO] SteamCMD: Connecting anonymously to Steam Public...Logged in OK
14:30:33.9449 [INFO] SteamCMD: Waiting for user info...OK
14:30:34.8744 [INFO] SteamCMD: Success! App '298740' already up to date.
14:30:35.5900 [INFO] SteamCMD:
14:30:36.0404 [INFO] Torch: RELEASE
14:30:36.0404 [INFO] Torch: Torch 1.0.182.329, SE 1.181.401
14:30:36.0404 [INFO] Torch: Executing assembly: Torch.Server, Version=1.0.182.329, Culture=neutral, PublicKeyToken=null
14:30:36.0404 [INFO] Torch: Executing directory: C:\Users\Administrator\Desktop\SE
14:30:36.0404 [INFO] Torch: Init server 'Torch' at 'C:\Users\Administrator\Desktop\SE\Instance'
14:30:36.5859 [FATAL] Torch: System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_TriggerAggregate ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\2\2odncwvv.tmp'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at VRage.MyXmlSerializerManager.RegisterType(Type type, Boolean forceRegister, Boolean checkAttributes)
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
--- End of inner exception stack trace ---
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.RegisterAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.Init()
at Torch.Server.TorchServer.Init()
at Torch.Server.Program.RunServer(TorchConfig options, TorchCli cli)
at Torch.Server.Program.Main(String[] args)
14:31:58.1835 [INFO] Torch: Loading config C:\Users\Administrator\Desktop\SE\TorchConfig.xml
14:31:58.2876 [INFO] SteamCMD: Checking for DS updates.
14:31:59.0205 [INFO] SteamCMD: Steam Console Client (c) Valve Corporation
14:31:59.1226 [INFO] SteamCMD: -- type 'quit' to exit --
14:31:59.2237 [INFO] SteamCMD: Loading Steam API...OK.
14:31:59.3248 [INFO] SteamCMD:
14:32:01.4352 [INFO] SteamCMD: Connecting anonymously to Steam Public...Logged in OK
14:32:01.5363 [INFO] SteamCMD: Waiting for user info...OK
14:32:02.3953 [INFO] SteamCMD: Success! App '298740' already up to date.
14:32:03.1760 [INFO] SteamCMD:
14:32:03.6055 [INFO] Torch: RELEASE
14:32:03.6055 [INFO] Torch: Torch 1.0.182.329, SE 1.181.401
14:32:03.6055 [INFO] Torch: Executing assembly: Torch.Server, Version=1.0.182.329, Culture=neutral, PublicKeyToken=null
14:32:03.6055 [INFO] Torch: Executing directory: C:\Users\Administrator\Desktop\SE
14:32:03.6105 [INFO] Torch: Init server 'Torch' at 'C:\Users\Administrator\Desktop\SE\Instance'
14:32:04.1010 [FATAL] Torch: System.InvalidOperationException: Error creating XML serializer for type MyObjectBuilder_TriggerAggregate ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\2\2ocqiu0s.tmp'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at VRage.MyXmlSerializerManager.RegisterType(Type type, Boolean forceRegister, Boolean checkAttributes)
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
--- End of inner exception stack trace ---
at VRage.MyXmlSerializerManager.RegisterFromAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.RegisterAssembly(Assembly assembly)
at VRage.Game.ObjectBuilder.MyGlobalTypeMetadata.Init()
at Torch.Server.TorchServer.Init()
at Torch.Server.Program.RunServer(TorchConfig options, TorchCli cli)
at Torch.Server.Program.Main(String[] args)

Windows service

Allow the Torch server to be installed and managed as a Windows service.

Suggestion: Import Options when importing grids from file.

I t would be nice that when you import a grid to server torch could first "pre-load" the grid and let you configure its settings before loading onto server such as being able to reset its speed or its gps location, whether its off or on. has its weapons enable disabled. but most importantly being able to set its ownership and built by to a player entity.

[Feature request: Torch 1.0.180.471, SE 1.181.400] Changed from BUG! Critical mod error does not have appropriate logging

Torch 1.0.180.471, SE 1.181.400

Description:

When a mod has a critical error, no feedback is given to console as to why the server is shutting down or exiting and may cause hours of investigation and bad bug reports!

Expected Behavior

When mod with critical error found, some log of said error.

Observed Behavior

Torch exits and server stops.

Steps to Reproduce

(Reproduction steps not solid due to lack of log)

  1. Break a mod
  2. Forget to remove mod from mod list
  3. Enjoy the failcascade

Other Information

https://pastebin.com/nUPHzbs4 Torch.log
https://pastebin.com/c4gYFNDt Console

Oxide?

Would you guys be open to using Oxide or working with https://github.com/lukespragg ? or is the aim/goal of Torch different than just a plugin system?

I used to run a top Space Engineers server and loved Extender and Essentials,
I recently have been running a Rust server and have really enjoyed Oxide (there were at least 2-3 other Rust plugin systems that died out or are barely crawling along)


Oxide
http://docs.oxidemod.org/

Rust Oxide API
http://docs.oxidemod.org/rust/#getting-started

Rust Oxide Plugins
http://oxidemod.org/plugins/categories/rust.24/?order=rating_weighted


I believe Oxide somewhat support Space Engineers

https://github.com/OxideMod/Oxide/tree/master/Games/Other/Oxide.Game.SpaceEngineers

http://oxidemod.org/threads/oxide-for-space-engineers.17808/

Required client functionality

List of things the server needs to be able to invoke on the client. To be added in the base game just for us.

  • Show dialog
  • Show chat messages
  • Notifications
  • Mission objectives

[BUG: Torch 1.0.180.471, SE 1.181.400] chat grayed out when using -autostart

Torch 1.0.180.471, SE 1.181.400

Expected Behavior

When starting Torch with -autostart I would expect the chat tab to function and the stop button to not be grayed out

Observed Behavior

Chat/Players tab is all grayed out and unusable and the stop button it grayed out as if the server is not running altho its is

Steps to Reproduce

create a shortcut to Torch.Server.exe and add the argument of -autostart then run the shortcut

Other Information

Torch Chat/Players Tab

DS GUI

Hi,

I don't know if I should post it here since this is suggestion...

On SESE, the GUI was very convenient but 99% of the time I run it without it from automated script.
It would be nice to keep a GUI that we can start on demand easily without restarting server.
If we could start GUI from an distant computer it would be even better.

was it planned ? I don't know, but if you do want to implement it, this is a reminder :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.