Porting the old instance complete. Added DD necessities

This commit is contained in:
Cyberboss
2017-10-26 14:01:28 -04:00
parent d769212f95
commit 26bf35bc4b
15 changed files with 234 additions and 109 deletions
@@ -577,7 +577,7 @@ namespace TGServerService
GenCommsKey();
StartingSecurity = Config.Security;
Proc.StartInfo.Arguments = String.Format("{0} -port {1} {5}-close -verbose -params \"server_service={3}&server_service_version={4}\" -{2} -public", DMB, Config.Port, SecurityWord(), serviceCommsKey, Version(), Config.Webclient ? "-webclient " : "");
Proc.StartInfo.Arguments = String.Format("{0} -port {1} {5}-close -verbose -params \"server_service={3}&server_service_version={4}&server_instance={6}\" -{2} -public", DMB, Config.Port, SecurityWord(), serviceCommsKey, Version(), Config.Webclient ? "-webclient " : "", Config.Name);
UpdateInterfaceDll(true);
lock (topicLock)
{
@@ -24,7 +24,7 @@ namespace TGServerService
/// <summary>
/// The configuration settings for the instance
/// </summary>
public readonly InstanceConfig Config;
readonly InstanceConfig Config;
/// <summary>
/// Constructs and a <see cref="ServerInstance"/>
/// </summary>
@@ -51,6 +51,7 @@ namespace TGServerService
DisposeByond();
DisposeRepo();
DisposeChat();
Config.Save();
}
/// <summary>