fixs caller support issue
This commit is contained in:
parent
5fbab6f118
commit
5b919cead4
4 changed files with 11 additions and 7 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using OpenMetaverse;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -17,7 +18,7 @@ namespace BetterSecondBot.HttpServer.Control.Interface
|
|||
{
|
||||
if (ArgsCheck(args) == true)
|
||||
{
|
||||
if (bot.GetCommandsInterface.Call(args[0], args[1]) == true)
|
||||
if (bot.GetCommandsInterface.Call(args[0], args[1], UUID.Zero) == true)
|
||||
{
|
||||
return new string[] { "OK" };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using OpenMetaverse;
|
||||
|
||||
namespace BSB.RLV.Movement
|
||||
{
|
||||
|
|
@ -13,7 +14,7 @@ namespace BSB.RLV.Movement
|
|||
{
|
||||
if (args[1] == "force")
|
||||
{
|
||||
return bot.GetCommandsInterface.Call("rotateto", args[0]);
|
||||
return bot.GetCommandsInterface.Call("rotateto", args[0], UUID.Zero);
|
||||
}
|
||||
return Failed("magic word force is required [dont ask me]");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using OpenMetaverse;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -16,7 +17,7 @@ namespace BSB.RLV.Sitting
|
|||
{
|
||||
if (args[1] == "force")
|
||||
{
|
||||
return bot.GetCommandsInterface.Call("sit", args[0]);
|
||||
return bot.GetCommandsInterface.Call("sit", args[0], UUID.Zero);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using OpenMetaverse;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -10,7 +11,7 @@ namespace BSB.RLV.Sitting
|
|||
{
|
||||
if (args[0] == "force")
|
||||
{
|
||||
return bot.GetCommandsInterface.Call("stand", "");
|
||||
return bot.GetCommandsInterface.Call("stand", "", UUID.Zero);
|
||||
}
|
||||
else if ((args[0] == "y") || (args[0] == "n"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue