diff options
Diffstat (limited to '')
-rw-r--r-- | OpenGridServices/OpenGridServices.GridServer/GridManager.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenGridServices/OpenGridServices.GridServer/GridManager.cs b/OpenGridServices/OpenGridServices.GridServer/GridManager.cs index 74ce973..8d4517f 100644 --- a/OpenGridServices/OpenGridServices.GridServer/GridManager.cs +++ b/OpenGridServices/OpenGridServices.GridServer/GridManager.cs | |||
@@ -315,7 +315,7 @@ namespace OpenGridServices.GridServer | |||
315 | response.Value = responseData; | 315 | response.Value = responseData; |
316 | IList simProfileList = new ArrayList(); | 316 | IList simProfileList = new ArrayList(); |
317 | 317 | ||
318 | bool fastMode = false; // MySQL Only | 318 | bool fastMode = true; // MySQL Only |
319 | 319 | ||
320 | if (fastMode) | 320 | if (fastMode) |
321 | { | 321 | { |
@@ -327,14 +327,15 @@ namespace OpenGridServices.GridServer | |||
327 | simProfileBlock["x"] = aSim.Value.regionLocX; | 327 | simProfileBlock["x"] = aSim.Value.regionLocX; |
328 | simProfileBlock["y"] = aSim.Value.regionLocY; | 328 | simProfileBlock["y"] = aSim.Value.regionLocY; |
329 | simProfileBlock["name"] = aSim.Value.regionName; | 329 | simProfileBlock["name"] = aSim.Value.regionName; |
330 | simProfileBlock["access"] = 0; | 330 | simProfileBlock["access"] = 21; |
331 | simProfileBlock["region-flags"] = 0; | 331 | simProfileBlock["region-flags"] = 512; |
332 | simProfileBlock["water-height"] = 20; | 332 | simProfileBlock["water-height"] = 0; |
333 | simProfileBlock["agents"] = 1; | 333 | simProfileBlock["agents"] = 1; |
334 | simProfileBlock["map-image-id"] = aSim.Value.regionMapTextureID.ToString(); | 334 | simProfileBlock["map-image-id"] = aSim.Value.regionMapTextureID.ToString(); |
335 | 335 | ||
336 | simProfileList.Add(simProfileBlock); | 336 | simProfileList.Add(simProfileBlock); |
337 | } | 337 | } |
338 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "World map request processed, returned " + simProfileList.Count.ToString() + " region(s) in range via FastMode"); | ||
338 | } | 339 | } |
339 | else | 340 | else |
340 | { | 341 | { |
@@ -360,6 +361,7 @@ namespace OpenGridServices.GridServer | |||
360 | } | 361 | } |
361 | } | 362 | } |
362 | } | 363 | } |
364 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "World map request processed, returned " + simProfileList.Count.ToString() + " region(s) in range via Standard Mode"); | ||
363 | } | 365 | } |
364 | 366 | ||
365 | responseData["sim-profiles"] = simProfileList; | 367 | responseData["sim-profiles"] = simProfileList; |