mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -298,7 +298,6 @@ namespace ArchiSteamFarm {
|
||||
break;
|
||||
}
|
||||
|
||||
ASF.ArchiLogger.LogGenericInfo("Command sent: " + arg);
|
||||
ASF.ArchiLogger.LogGenericInfo("Response received: " + WCF.SendCommand(arg));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace ArchiSteamFarm {
|
||||
// We must keep it synchronous until either Mono gets fixed, or culprit for freeze located (and corrected)
|
||||
string output = bot.Response(Program.GlobalConfig.SteamOwnerID, command).Result;
|
||||
|
||||
ASF.ArchiLogger.LogGenericInfo("Answered to command: " + input + " with: " + output);
|
||||
ASF.ArchiLogger.LogGenericInfo("Answered to WCF command: " + input + " with: " + output);
|
||||
return output;
|
||||
}
|
||||
|
||||
@@ -94,6 +94,8 @@ namespace ArchiSteamFarm {
|
||||
return null;
|
||||
}
|
||||
|
||||
ASF.ArchiLogger.LogGenericInfo("Sending command: " + input + " to WCF server on " + URL + "...");
|
||||
|
||||
if (Client == null) {
|
||||
Client = new Client(new NetTcpBinding { Security = { Mode = SecurityMode.None } }, new EndpointAddress(URL));
|
||||
}
|
||||
@@ -106,7 +108,7 @@ namespace ArchiSteamFarm {
|
||||
return;
|
||||
}
|
||||
|
||||
ASF.ArchiLogger.LogGenericInfo("Starting WCF server on " + URL + " ...");
|
||||
ASF.ArchiLogger.LogGenericInfo("Starting WCF server on " + URL + "...");
|
||||
|
||||
try {
|
||||
ServiceHost = new ServiceHost(typeof(WCF), new Uri(URL));
|
||||
|
||||
Reference in New Issue
Block a user