From 210e7c931f9e15ed104f251a52eefd467a333697 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 24 Jun 2007 17:48:53 +0000 Subject: * Adding sugilite updates to Sugilite OGS --- .../OpenGridServices.GridServer/GridManager.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'OpenGridServices') diff --git a/OpenGridServices/OpenGridServices.GridServer/GridManager.cs b/OpenGridServices/OpenGridServices.GridServer/GridManager.cs index 8ae365f..cfbf591 100644 --- a/OpenGridServices/OpenGridServices.GridServer/GridManager.cs +++ b/OpenGridServices/OpenGridServices.GridServer/GridManager.cs @@ -360,6 +360,13 @@ namespace OpenGridServices.GridServer simProfileBlock["agents"] = 1; simProfileBlock["map-image-id"] = aSim.Value.regionMapTextureID.ToString(); + // For Sugilite compatibility + simProfileBlock["regionhandle"] = aSim.Value.regionHandle.ToString(); + simProfileBlock["sim_ip"] = aSim.Value.serverIP.ToString(); + simProfileBlock["sim_port"] = aSim.Value.serverPort.ToString(); + simProfileBlock["sim_uri"] = aSim.Value.serverURI.ToString(); + simProfileBlock["uuid"] = aSim.Value.UUID.ToStringHyphenated(); + simProfileList.Add(simProfileBlock); } OpenSim.Framework.Console.MainLog.Instance.Verbose("World map request processed, returned " + simProfileList.Count.ToString() + " region(s) in range via FastMode"); @@ -384,6 +391,13 @@ namespace OpenGridServices.GridServer simProfileBlock["agents"] = 1; simProfileBlock["map-image-id"] = simProfile.regionMapTextureID.ToString(); + // For Sugilite compatibility + simProfileBlock["regionhandle"] = aSim.Value.regionHandle.ToString(); + simProfileBlock["sim_ip"] = aSim.Value.serverIP.ToString(); + simProfileBlock["sim_port"] = aSim.Value.serverPort.ToString(); + simProfileBlock["sim_uri"] = aSim.Value.serverURI.ToString(); + simProfileBlock["uuid"] = aSim.Value.UUID.ToStringHyphenated(); + simProfileList.Add(simProfileBlock); } } -- cgit v1.1