add some minor debug info to the webhook server, fix the server version reply, update assembly version
This commit is contained in:
parent
2b246a8817
commit
18a4fc0186
3 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ using LibZNI;
|
||||||
[assembly: AssemblyCompany("ZNI")]
|
[assembly: AssemblyCompany("ZNI")]
|
||||||
[assembly: AssemblyAlgorithmId(System.Configuration.Assemblies.AssemblyHashAlgorithm.MD5)]
|
[assembly: AssemblyAlgorithmId(System.Configuration.Assemblies.AssemblyHashAlgorithm.MD5)]
|
||||||
[assembly: AssemblyCopyright("(C) 2020 Tara Piccari")]
|
[assembly: AssemblyCopyright("(C) 2020 Tara Piccari")]
|
||||||
[assembly: AssemblyFileVersion("5.0.6.1710")]
|
[assembly: AssemblyFileVersion("5.0.7.9119")]
|
||||||
[assembly: AssemblyDescription("Second Life Bot - BotCore5")]
|
[assembly: AssemblyDescription("Second Life Bot - BotCore5")]
|
||||||
[assembly: AutoUpdater("/job/Bot", "!os!.tar")]
|
[assembly: AutoUpdater("/job/Bot", "!os!.tar")]
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ namespace Bot.Assemble
|
||||||
public class ASMInfo
|
public class ASMInfo
|
||||||
{
|
{
|
||||||
public static string BotName = "ZBotCore";
|
public static string BotName = "ZBotCore";
|
||||||
public static string BotVer = "5.0.6.1710";
|
public static string BotVer = "5.0.7.9119";
|
||||||
public static string GitPassword
|
public static string GitPassword
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace Bot.WebHookServer
|
||||||
CustomReplyStr = reply.ReplyString;
|
CustomReplyStr = reply.ReplyString;
|
||||||
byte[] buffer = Encoding.UTF8.GetBytes("\n" + CustomReplyStr);
|
byte[] buffer = Encoding.UTF8.GetBytes("\n" + CustomReplyStr);
|
||||||
CTX.Response.ContentLength64 = buffer.Length;
|
CTX.Response.ContentLength64 = buffer.Length;
|
||||||
CTX.Response.AddHeader("Server", "1.7");
|
CTX.Response.AddHeader("Server", "1.8");
|
||||||
CTX.Response.StatusCode = reply.Status;
|
CTX.Response.StatusCode = reply.Status;
|
||||||
if (reply.ReturnContentType != "" && reply.ReturnContentType != null)
|
if (reply.ReturnContentType != "" && reply.ReturnContentType != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -96,7 +96,7 @@ namespace Bot.WebHookServer
|
||||||
|
|
||||||
}catch(Exception e)
|
}catch(Exception e)
|
||||||
{
|
{
|
||||||
//MessageFactory.Post(Destinations.DEST_LOCAL, "Error: Program could not escalate to Admin Privileges. WebHook engine not running\n\n" + e.Message + "\n" + e.StackTrace, UUID.Zero);
|
MessageFactory.Post(Destinations.DEST_LOCAL, "Error: Program could not escalate to Admin Privileges. WebHook engine not running\n\n" + e.Message + "\n" + e.StackTrace, UUID.Zero);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue