diff options
author | Adam Frisby | 2007-05-29 04:11:49 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-29 04:11:49 +0000 |
commit | c2c2f90b267f8e47b27d42fb9ee1baaeae663a73 (patch) | |
tree | 37b4ee5613cfa8a304482aac0966ad60571b2598 /OpenGridServices/OpenGridServices.GridServer/GridManager.cs | |
parent | * Escaped log messages properly when logging to DB (diff) | |
download | opensim-SC_OLD-c2c2f90b267f8e47b27d42fb9ee1baaeae663a73.zip opensim-SC_OLD-c2c2f90b267f8e47b27d42fb9ee1baaeae663a73.tar.gz opensim-SC_OLD-c2c2f90b267f8e47b27d42fb9ee1baaeae663a73.tar.bz2 opensim-SC_OLD-c2c2f90b267f8e47b27d42fb9ee1baaeae663a73.tar.xz |
* Rebuilt Prebuild
* Enabled fastmode by default on world map requests (ordinary mode is just too slow)
* Reset some params involving agent appearance
* Tweaked simProfileBlock requests to return values which have been sighted on the wire before.
Diffstat (limited to 'OpenGridServices/OpenGridServices.GridServer/GridManager.cs')
-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; |