aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGridServices.GridServer
diff options
context:
space:
mode:
authorAdam Frisby2007-05-29 04:11:49 +0000
committerAdam Frisby2007-05-29 04:11:49 +0000
commitc2c2f90b267f8e47b27d42fb9ee1baaeae663a73 (patch)
tree37b4ee5613cfa8a304482aac0966ad60571b2598 /OpenGridServices/OpenGridServices.GridServer
parent* Escaped log messages properly when logging to DB (diff)
downloadopensim-SC-c2c2f90b267f8e47b27d42fb9ee1baaeae663a73.zip
opensim-SC-c2c2f90b267f8e47b27d42fb9ee1baaeae663a73.tar.gz
opensim-SC-c2c2f90b267f8e47b27d42fb9ee1baaeae663a73.tar.bz2
opensim-SC-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')
-rw-r--r--OpenGridServices/OpenGridServices.GridServer/GridManager.cs10
-rw-r--r--OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build104
2 files changed, 58 insertions, 56 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;
diff --git a/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build b/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build
index d60c804..9d21edd 100644
--- a/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build
+++ b/OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build
@@ -1,52 +1,52 @@
1<?xml version="1.0" ?> 1<?xml version="1.0" ?>
2<project name="OpenGridServices.GridServer" default="build"> 2<project name="OpenGridServices.GridServer" default="build">
3 <target name="build"> 3 <target name="build">
4 <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> 4 <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
5 <mkdir dir="${project::get-base-directory()}/${build.dir}" /> 5 <mkdir dir="${project::get-base-directory()}/${build.dir}" />
6 <copy todir="${project::get-base-directory()}/${build.dir}"> 6 <copy todir="${project::get-base-directory()}/${build.dir}">
7 <fileset basedir="${project::get-base-directory()}"> 7 <fileset basedir="${project::get-base-directory()}">
8 </fileset> 8 </fileset>
9 </copy> 9 </copy>
10 <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> 10 <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
11 <resources prefix="OpenGridServices.GridServer" dynamicprefix="true" > 11 <resources prefix="OpenGridServices.GridServer" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="GridManager.cs" /> 14 <include name="GridManager.cs" />
15 <include name="Main.cs" /> 15 <include name="Main.cs" />
16 <include name="Properties/AssemblyInfo.cs" /> 16 <include name="Properties/AssemblyInfo.cs" />
17 </sources> 17 </sources>
18 <references basedir="${project::get-base-directory()}"> 18 <references basedir="${project::get-base-directory()}">
19 <lib> 19 <lib>
20 <include name="${project::get-base-directory()}" /> 20 <include name="${project::get-base-directory()}" />
21 <include name="${project::get-base-directory()}/${build.dir}" /> 21 <include name="${project::get-base-directory()}/${build.dir}" />
22 </lib> 22 </lib>
23 <include name="System.dll" /> 23 <include name="System.dll" />
24 <include name="System.Data.dll" /> 24 <include name="System.Data.dll" />
25 <include name="System.Xml.dll" /> 25 <include name="System.Xml.dll" />
26 <include name="../../bin/OpenSim.Framework.dll" /> 26 <include name="../../bin/OpenSim.Framework.dll" />
27 <include name="../../bin/OpenSim.Framework.Console.dll" /> 27 <include name="../../bin/OpenSim.Framework.Console.dll" />
28 <include name="../../bin/OpenSim.Servers.dll" /> 28 <include name="../../bin/OpenSim.Servers.dll" />
29 <include name="../../bin/OpenGrid.Framework.Data.dll" /> 29 <include name="../../bin/OpenGrid.Framework.Data.dll" />
30 <include name="../../bin/OpenGrid.Framework.Manager.dll" /> 30 <include name="../../bin/OpenGrid.Framework.Manager.dll" />
31 <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> 31 <include name="../../bin/OpenSim.GenericConfig.Xml.dll" />
32 <include name="../../bin/libsecondlife.dll" /> 32 <include name="../../bin/libsecondlife.dll" />
33 <include name="../../bin/Db4objects.Db4o.dll" /> 33 <include name="../../bin/Db4objects.Db4o.dll" />
34 <include name="../../bin/XMLRPC.dll" /> 34 <include name="../../bin/XMLRPC.dll" />
35 </references> 35 </references>
36 </csc> 36 </csc>
37 <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> 37 <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
38 <mkdir dir="${project::get-base-directory()}/../../bin/"/> 38 <mkdir dir="${project::get-base-directory()}/../../bin/"/>
39 <copy todir="${project::get-base-directory()}/../../bin/"> 39 <copy todir="${project::get-base-directory()}/../../bin/">
40 <fileset basedir="${project::get-base-directory()}/${build.dir}/" > 40 <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
41 <include name="*.dll"/> 41 <include name="*.dll"/>
42 <include name="*.exe"/> 42 <include name="*.exe"/>
43 </fileset> 43 </fileset>
44 </copy> 44 </copy>
45 </target> 45 </target>
46 <target name="clean"> 46 <target name="clean">
47 <delete dir="${bin.dir}" failonerror="false" /> 47 <delete dir="${bin.dir}" failonerror="false" />
48 <delete dir="${obj.dir}" failonerror="false" /> 48 <delete dir="${obj.dir}" failonerror="false" />
49 </target> 49 </target>
50 <target name="doc" description="Creates documentation."> 50 <target name="doc" description="Creates documentation.">
51 </target> 51 </target>
52</project> 52</project>