aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2007-06-24 17:48:53 +0000
committerAdam Frisby2007-06-24 17:48:53 +0000
commit210e7c931f9e15ed104f251a52eefd467a333697 (patch)
tree95677f560368e72c46838ebe6a7b2db3e759f8d7
parent* Added partial support for OGS/1 grid servers with the Sugilite patch. (diff)
downloadopensim-SC_OLD-210e7c931f9e15ed104f251a52eefd467a333697.zip
opensim-SC_OLD-210e7c931f9e15ed104f251a52eefd467a333697.tar.gz
opensim-SC_OLD-210e7c931f9e15ed104f251a52eefd467a333697.tar.bz2
opensim-SC_OLD-210e7c931f9e15ed104f251a52eefd467a333697.tar.xz
* Adding sugilite updates to Sugilite OGS
-rw-r--r--OpenGridServices/OpenGridServices.GridServer/GridManager.cs14
1 files changed, 14 insertions, 0 deletions
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
360 simProfileBlock["agents"] = 1; 360 simProfileBlock["agents"] = 1;
361 simProfileBlock["map-image-id"] = aSim.Value.regionMapTextureID.ToString(); 361 simProfileBlock["map-image-id"] = aSim.Value.regionMapTextureID.ToString();
362 362
363 // For Sugilite compatibility
364 simProfileBlock["regionhandle"] = aSim.Value.regionHandle.ToString();
365 simProfileBlock["sim_ip"] = aSim.Value.serverIP.ToString();
366 simProfileBlock["sim_port"] = aSim.Value.serverPort.ToString();
367 simProfileBlock["sim_uri"] = aSim.Value.serverURI.ToString();
368 simProfileBlock["uuid"] = aSim.Value.UUID.ToStringHyphenated();
369
363 simProfileList.Add(simProfileBlock); 370 simProfileList.Add(simProfileBlock);
364 } 371 }
365 OpenSim.Framework.Console.MainLog.Instance.Verbose("World map request processed, returned " + simProfileList.Count.ToString() + " region(s) in range via FastMode"); 372 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
384 simProfileBlock["agents"] = 1; 391 simProfileBlock["agents"] = 1;
385 simProfileBlock["map-image-id"] = simProfile.regionMapTextureID.ToString(); 392 simProfileBlock["map-image-id"] = simProfile.regionMapTextureID.ToString();
386 393
394 // For Sugilite compatibility
395 simProfileBlock["regionhandle"] = aSim.Value.regionHandle.ToString();
396 simProfileBlock["sim_ip"] = aSim.Value.serverIP.ToString();
397 simProfileBlock["sim_port"] = aSim.Value.serverPort.ToString();
398 simProfileBlock["sim_uri"] = aSim.Value.serverURI.ToString();
399 simProfileBlock["uuid"] = aSim.Value.UUID.ToStringHyphenated();
400
387 simProfileList.Add(simProfileBlock); 401 simProfileList.Add(simProfileBlock);
388 } 402 }
389 } 403 }