From 64a98c736848de6099254f23483058668273c1a5 Mon Sep 17 00:00:00 2001 From: gareth Date: Mon, 14 May 2007 03:13:47 +0000 Subject: Finished off adding the new management API to gridserver Updated VersionInfo.cs finally Updated prebuild and rebuilt nant build files Completed Management agent basics --- ExportBot/Commands/FindSimCommand.cs | 43 ------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 ExportBot/Commands/FindSimCommand.cs (limited to 'ExportBot/Commands/FindSimCommand.cs') diff --git a/ExportBot/Commands/FindSimCommand.cs b/ExportBot/Commands/FindSimCommand.cs deleted file mode 100644 index c6cc9c4..0000000 --- a/ExportBot/Commands/FindSimCommand.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using libsecondlife; -using libsecondlife.Packets; - -namespace libsecondlife.TestClient -{ - public class FindSimCommand : Command - { - public FindSimCommand(TestClient testClient) - { - Name = "findsim"; - Description = "Searches for a simulator and returns information about it. Usage: findsim [Simulator Name]"; - } - - public override string Execute(string[] args, LLUUID fromAgentID) - { - if (args.Length < 1) - return "Usage: findsim [Simulator Name]"; - - // Build the simulator name from the args list - string simName = string.Empty; - for (int i = 0; i < args.Length; i++) - simName += args[i] + " "; - simName = simName.TrimEnd().ToLower(); - - //if (!GridDataCached[Client]) - //{ - // Client.Grid.RequestAllSims(GridManager.MapLayerType.Objects); - // System.Threading.Thread.Sleep(5000); - // GridDataCached[Client] = true; - //} - - GridRegion region; - - if (Client.Grid.GetGridRegion(simName, out region)) - return String.Format("{0}: handle={1} ({2},{3})", region.Name, region.RegionHandle, region.X, region.Y); - else - return "Lookup of " + simName + " failed"; - } - } -} -- cgit v1.1