From ffe0fc9bcca35ca8f7e48bd1170dd2a8efa016cd Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 24 Jun 2007 17:43:05 +0000 Subject: [PATCH] * Added extensions to trunk/OGS to support Sugilite regions. Anyone running a grid is highly advised to update before 1.18 hits on monday. --- .../OpenGridServices.GridServer/GridManager.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OpenGridServices/OpenGridServices.GridServer/GridManager.cs b/OpenGridServices/OpenGridServices.GridServer/GridManager.cs index 10cbf829c4..79e74fa8d6 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.MainConsole.Instance.Verbose("World map request processed, returned " + simProfileList.Count.ToString() + " region(s) in range via FastMode");