aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorlbsa712007-07-01 13:17:27 +0000
committerlbsa712007-07-01 13:17:27 +0000
commit5e805656db1215518a344d6d5364629a4997fd47 (patch)
tree2d8b50bac8e77f983e3016e969df3535c52fb0d3 /OpenSim/Region
parent* Project files fixed for OGS. (diff)
downloadopensim-SC-5e805656db1215518a344d6d5364629a4997fd47.zip
opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.gz
opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.bz2
opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.xz
Fixed SimpleApp - aka thankgoditssundaycommit
* Updated SimpleApp with various introduced dependencies * Extracted ScenePrescence creation in Scene * removed try-catchall from UserManagerBase (that actually hid a bug) * Refactored RegionInfo * handle is calculated * it will explode upon accessing x,y,ip,port,externalip if not explicitly initialized * Removed superfluous 'ref' keywords * Removed a shitload of 'catch Exception e' that causes build warnings * Lots of small refactorings, renames et c * Ignored some bins
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSim.csproj6
-rw-r--r--OpenSim/Region/Application/OpenSim.exe.build2
-rw-r--r--OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj20
-rw-r--r--OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build16
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs2
-rw-r--r--OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj18
-rw-r--r--OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build12
-rw-r--r--OpenSim/Region/Communications/Local/LocalUserServices.cs4
-rw-r--r--OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj6
-rw-r--r--OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build2
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs10
-rw-r--r--OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj6
-rw-r--r--OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build2
-rw-r--r--OpenSim/Region/Environment/OpenSim.Region.Environment.csproj28
-rw-r--r--OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build20
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs61
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneBase.cs2
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyWorld.cs18
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs24
-rw-r--r--OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj18
-rw-r--r--OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build3
-rw-r--r--OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj6
-rw-r--r--OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build2
23 files changed, 148 insertions, 140 deletions
diff --git a/OpenSim/Region/Application/OpenSim.csproj b/OpenSim/Region/Application/OpenSim.csproj
index 13619eb..bec85cc 100644
--- a/OpenSim/Region/Application/OpenSim.csproj
+++ b/OpenSim/Region/Application/OpenSim.csproj
@@ -170,13 +170,13 @@
170 </ProjectReference> 170 </ProjectReference>
171 </ItemGroup> 171 </ItemGroup>
172 <ItemGroup> 172 <ItemGroup>
173 <Compile Include="OpenSimMain.cs"> 173 <Compile Include="Application.cs">
174 <SubType>Code</SubType> 174 <SubType>Code</SubType>
175 </Compile> 175 </Compile>
176 <Compile Include="VersionInfo.cs"> 176 <Compile Include="OpenSimMain.cs">
177 <SubType>Code</SubType> 177 <SubType>Code</SubType>
178 </Compile> 178 </Compile>
179 <Compile Include="Application.cs"> 179 <Compile Include="VersionInfo.cs">
180 <SubType>Code</SubType> 180 <SubType>Code</SubType>
181 </Compile> 181 </Compile>
182 </ItemGroup> 182 </ItemGroup>
diff --git a/OpenSim/Region/Application/OpenSim.exe.build b/OpenSim/Region/Application/OpenSim.exe.build
index 355092b..6c7d7ac 100644
--- a/OpenSim/Region/Application/OpenSim.exe.build
+++ b/OpenSim/Region/Application/OpenSim.exe.build
@@ -11,9 +11,9 @@
11 <resources prefix="OpenSim" dynamicprefix="true" > 11 <resources prefix="OpenSim" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="Application.cs" />
14 <include name="OpenSimMain.cs" /> 15 <include name="OpenSimMain.cs" />
15 <include name="VersionInfo.cs" /> 16 <include name="VersionInfo.cs" />
16 <include name="Application.cs" />
17 </sources> 17 </sources>
18 <references basedir="${project::get-base-directory()}"> 18 <references basedir="${project::get-base-directory()}">
19 <lib> 19 <lib>
diff --git a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj
index 1ed28d2..4667d52 100644
--- a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj
+++ b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.csproj
@@ -96,40 +96,40 @@
96 </ProjectReference> 96 </ProjectReference>
97 </ItemGroup> 97 </ItemGroup>
98 <ItemGroup> 98 <ItemGroup>
99 <Compile Include="LLSDCapsDetails.cs"> 99 <Compile Include="Caps.cs">
100 <SubType>Code</SubType> 100 <SubType>Code</SubType>
101 </Compile> 101 </Compile>
102 <Compile Include="LLSDArray.cs"> 102 <Compile Include="LLSDArray.cs">
103 <SubType>Code</SubType> 103 <SubType>Code</SubType>
104 </Compile> 104 </Compile>
105 <Compile Include="LLSDEmpty.cs"> 105 <Compile Include="LLSDCapEvent.cs">
106 <SubType>Code</SubType> 106 <SubType>Code</SubType>
107 </Compile> 107 </Compile>
108 <Compile Include="LLSDTest.cs"> 108 <Compile Include="LLSDCapsDetails.cs">
109 <SubType>Code</SubType> 109 <SubType>Code</SubType>
110 </Compile> 110 </Compile>
111 <Compile Include="LLSDUploadReply.cs"> 111 <Compile Include="LLSDEmpty.cs">
112 <SubType>Code</SubType> 112 <SubType>Code</SubType>
113 </Compile> 113 </Compile>
114 <Compile Include="LLSDType.cs"> 114 <Compile Include="LLSDHelpers.cs">
115 <SubType>Code</SubType> 115 <SubType>Code</SubType>
116 </Compile> 116 </Compile>
117 <Compile Include="LLSDHelpers.cs"> 117 <Compile Include="LLSDMapLayer.cs">
118 <SubType>Code</SubType> 118 <SubType>Code</SubType>
119 </Compile> 119 </Compile>
120 <Compile Include="LLSDCapEvent.cs"> 120 <Compile Include="LLSDMapLayerResponse.cs">
121 <SubType>Code</SubType> 121 <SubType>Code</SubType>
122 </Compile> 122 </Compile>
123 <Compile Include="LLSDMapRequest.cs"> 123 <Compile Include="LLSDMapRequest.cs">
124 <SubType>Code</SubType> 124 <SubType>Code</SubType>
125 </Compile> 125 </Compile>
126 <Compile Include="Caps.cs"> 126 <Compile Include="LLSDTest.cs">
127 <SubType>Code</SubType> 127 <SubType>Code</SubType>
128 </Compile> 128 </Compile>
129 <Compile Include="LLSDMapLayerResponse.cs"> 129 <Compile Include="LLSDType.cs">
130 <SubType>Code</SubType> 130 <SubType>Code</SubType>
131 </Compile> 131 </Compile>
132 <Compile Include="LLSDMapLayer.cs"> 132 <Compile Include="LLSDUploadReply.cs">
133 <SubType>Code</SubType> 133 <SubType>Code</SubType>
134 </Compile> 134 </Compile>
135 </ItemGroup> 135 </ItemGroup>
diff --git a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build
index dd853e7..a091b5c 100644
--- a/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build
+++ b/OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build
@@ -11,18 +11,18 @@
11 <resources prefix="OpenSim.Region.Capabilities" dynamicprefix="true" > 11 <resources prefix="OpenSim.Region.Capabilities" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="LLSDCapsDetails.cs" /> 14 <include name="Caps.cs" />
15 <include name="LLSDArray.cs" /> 15 <include name="LLSDArray.cs" />
16 <include name="LLSDCapEvent.cs" />
17 <include name="LLSDCapsDetails.cs" />
16 <include name="LLSDEmpty.cs" /> 18 <include name="LLSDEmpty.cs" />
17 <include name="LLSDTest.cs" />
18 <include name="LLSDUploadReply.cs" />
19 <include name="LLSDType.cs" />
20 <include name="LLSDHelpers.cs" /> 19 <include name="LLSDHelpers.cs" />
21 <include name="LLSDCapEvent.cs" />
22 <include name="LLSDMapRequest.cs" />
23 <include name="Caps.cs" />
24 <include name="LLSDMapLayerResponse.cs" />
25 <include name="LLSDMapLayer.cs" /> 20 <include name="LLSDMapLayer.cs" />
21 <include name="LLSDMapLayerResponse.cs" />
22 <include name="LLSDMapRequest.cs" />
23 <include name="LLSDTest.cs" />
24 <include name="LLSDType.cs" />
25 <include name="LLSDUploadReply.cs" />
26 </sources> 26 </sources>
27 <references basedir="${project::get-base-directory()}"> 27 <references basedir="${project::get-base-directory()}">
28 <lib> 28 <lib>
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 9c4462d..402a3ca 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -211,7 +211,7 @@ namespace OpenSim.Region.ClientStack
211 protected virtual void InitNewClient() 211 protected virtual void InitNewClient()
212 { 212 {
213 OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world"); 213 OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world");
214 this.m_world.AddNewClient(this, this.AgentID, false); 214 this.m_world.AddNewClient(this, false);
215 } 215 }
216 216
217 protected virtual void AuthUser() 217 protected virtual void AuthUser()
diff --git a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj
index 2e1d8e2..3093eb0 100644
--- a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj
+++ b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.csproj
@@ -122,34 +122,34 @@
122 </ProjectReference> 122 </ProjectReference>
123 </ItemGroup> 123 </ItemGroup>
124 <ItemGroup> 124 <ItemGroup>
125 <Compile Include="ClientView.AgentAssetUpload.cs"> 125 <Compile Include="ClientStackNetworkHandler.cs">
126 <SubType>Code</SubType> 126 <SubType>Code</SubType>
127 </Compile> 127 </Compile>
128 <Compile Include="ClientStackNetworkHandler.cs"> 128 <Compile Include="ClientView.AgentAssetUpload.cs">
129 <SubType>Code</SubType> 129 <SubType>Code</SubType>
130 </Compile> 130 </Compile>
131 <Compile Include="PacketServer.cs"> 131 <Compile Include="ClientView.API.cs">
132 <SubType>Code</SubType> 132 <SubType>Code</SubType>
133 </Compile> 133 </Compile>
134 <Compile Include="UDPServer.cs"> 134 <Compile Include="ClientView.cs">
135 <SubType>Code</SubType> 135 <SubType>Code</SubType>
136 </Compile> 136 </Compile>
137 <Compile Include="ClientView.PacketHandlers.cs"> 137 <Compile Include="ClientView.PacketHandlers.cs">
138 <SubType>Code</SubType> 138 <SubType>Code</SubType>
139 </Compile> 139 </Compile>
140 <Compile Include="ClientView.API.cs"> 140 <Compile Include="ClientView.ProcessPackets.cs">
141 <SubType>Code</SubType> 141 <SubType>Code</SubType>
142 </Compile> 142 </Compile>
143 <Compile Include="ClientView.ProcessPackets.cs"> 143 <Compile Include="ClientViewBase.cs">
144 <SubType>Code</SubType> 144 <SubType>Code</SubType>
145 </Compile> 145 </Compile>
146 <Compile Include="RegionApplicationBase.cs"> 146 <Compile Include="PacketServer.cs">
147 <SubType>Code</SubType> 147 <SubType>Code</SubType>
148 </Compile> 148 </Compile>
149 <Compile Include="ClientViewBase.cs"> 149 <Compile Include="RegionApplicationBase.cs">
150 <SubType>Code</SubType> 150 <SubType>Code</SubType>
151 </Compile> 151 </Compile>
152 <Compile Include="ClientView.cs"> 152 <Compile Include="UDPServer.cs">
153 <SubType>Code</SubType> 153 <SubType>Code</SubType>
154 </Compile> 154 </Compile>
155 <Compile Include="Assets\InventoryCache.cs"> 155 <Compile Include="Assets\InventoryCache.cs">
diff --git a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build
index 1c791d3..f76a4c8 100644
--- a/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build
+++ b/OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build
@@ -11,16 +11,16 @@
11 <resources prefix="OpenSim.Region.ClientStack" dynamicprefix="true" > 11 <resources prefix="OpenSim.Region.ClientStack" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="ClientView.AgentAssetUpload.cs" />
15 <include name="ClientStackNetworkHandler.cs" /> 14 <include name="ClientStackNetworkHandler.cs" />
16 <include name="PacketServer.cs" /> 15 <include name="ClientView.AgentAssetUpload.cs" />
17 <include name="UDPServer.cs" />
18 <include name="ClientView.PacketHandlers.cs" />
19 <include name="ClientView.API.cs" /> 16 <include name="ClientView.API.cs" />
17 <include name="ClientView.cs" />
18 <include name="ClientView.PacketHandlers.cs" />
20 <include name="ClientView.ProcessPackets.cs" /> 19 <include name="ClientView.ProcessPackets.cs" />
21 <include name="RegionApplicationBase.cs" />
22 <include name="ClientViewBase.cs" /> 20 <include name="ClientViewBase.cs" />
23 <include name="ClientView.cs" /> 21 <include name="PacketServer.cs" />
22 <include name="RegionApplicationBase.cs" />
23 <include name="UDPServer.cs" />
24 <include name="Assets/InventoryCache.cs" /> 24 <include name="Assets/InventoryCache.cs" />
25 </sources> 25 </sources>
26 <references basedir="${project::get-base-directory()}"> 26 <references basedir="${project::get-base-directory()}">
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs
index 6cf254b..5a2a5c8 100644
--- a/OpenSim/Region/Communications/Local/LocalUserServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs
@@ -69,14 +69,14 @@ namespace OpenSim.Region.Communications.Local
69 return profile; 69 return profile;
70 } 70 }
71 71
72 public override bool AuthenticateUser(ref UserProfileData profile, string password) 72 public override bool AuthenticateUser(UserProfileData profile, string password)
73 { 73 {
74 //for now we will accept any password in sandbox mode 74 //for now we will accept any password in sandbox mode
75 Console.WriteLine("authorising user"); 75 Console.WriteLine("authorising user");
76 return true; 76 return true;
77 } 77 }
78 78
79 public override void CustomiseResponse(ref LoginResponse response, ref UserProfileData theUser) 79 public override void CustomiseResponse(LoginResponse response, UserProfileData theUser)
80 { 80 {
81 ulong currentRegion = theUser.currentAgent.currentHandle; 81 ulong currentRegion = theUser.currentAgent.currentHandle;
82 RegionInfo reg = m_Parent.GridServer.RequestNeighbourInfo(currentRegion); 82 RegionInfo reg = m_Parent.GridServer.RequestNeighbourInfo(currentRegion);
diff --git a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj
index f9f6b7d..0a15a49 100644
--- a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj
+++ b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.csproj
@@ -98,15 +98,15 @@
98 </ProjectReference> 98 </ProjectReference>
99 </ItemGroup> 99 </ItemGroup>
100 <ItemGroup> 100 <ItemGroup>
101 <Compile Include="LocalUserServices.cs">
102 <SubType>Code</SubType>
103 </Compile>
104 <Compile Include="CommunicationsLocal.cs"> 101 <Compile Include="CommunicationsLocal.cs">
105 <SubType>Code</SubType> 102 <SubType>Code</SubType>
106 </Compile> 103 </Compile>
107 <Compile Include="LocalBackEndServices.cs"> 104 <Compile Include="LocalBackEndServices.cs">
108 <SubType>Code</SubType> 105 <SubType>Code</SubType>
109 </Compile> 106 </Compile>
107 <Compile Include="LocalUserServices.cs">
108 <SubType>Code</SubType>
109 </Compile>
110 <Compile Include="Properties\AssemblyInfo.cs"> 110 <Compile Include="Properties\AssemblyInfo.cs">
111 <SubType>Code</SubType> 111 <SubType>Code</SubType>
112 </Compile> 112 </Compile>
diff --git a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build
index bfefabf..3cac9d3 100644
--- a/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build
+++ b/OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build
@@ -11,9 +11,9 @@
11 <resources prefix="OpenSim.Region.Communications.Local" dynamicprefix="true" > 11 <resources prefix="OpenSim.Region.Communications.Local" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="LocalUserServices.cs" />
15 <include name="CommunicationsLocal.cs" /> 14 <include name="CommunicationsLocal.cs" />
16 <include name="LocalBackEndServices.cs" /> 15 <include name="LocalBackEndServices.cs" />
16 <include name="LocalUserServices.cs" />
17 <include name="Properties/AssemblyInfo.cs" /> 17 <include name="Properties/AssemblyInfo.cs" />
18 </sources> 18 </sources>
19 <references basedir="${project::get-base-directory()}"> 19 <references basedir="${project::get-base-directory()}">
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 5f0c80c..2ac7297 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -75,18 +75,14 @@ namespace OpenSim.Region.Communications.OGS1
75 75
76 foreach (Hashtable n in (Hashtable)respData.Values) 76 foreach (Hashtable n in (Hashtable)respData.Values)
77 { 77 {
78 RegionInfo neighbour = new RegionInfo(); 78 RegionInfo neighbour = new RegionInfo( (uint)n["x"], (uint)n["y"], (string)n["sim_ip"], (int)n["sim_port"], (string)n["sim_uri"] );
79 79
80 //OGS1 80 //OGS1
81 neighbour.RegionHandle = (ulong)n["regionhandle"]; 81 //neighbour.RegionHandle = (ulong)n["regionhandle"]; is now calculated locally
82 neighbour.RegionLocX = (uint)n["x"]; 82
83 neighbour.RegionLocY = (uint)n["y"];
84 neighbour.RegionName = (string)n["name"]; 83 neighbour.RegionName = (string)n["name"];
85 84
86 //OGS1+ 85 //OGS1+
87 neighbour.CommsIPListenAddr = (string)n["sim_ip"];
88 neighbour.CommsIPListenPort = (int)n["sim_port"];
89 neighbour.CommsExternalAddress = (string)n["sim_uri"];
90 neighbour.SimUUID = (string)n["uuid"]; 86 neighbour.SimUUID = (string)n["uuid"];
91 87
92 neighbours.Add(neighbour); 88 neighbours.Add(neighbour);
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj
index 90a01b6..d6abd13 100644
--- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj
+++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj
@@ -116,9 +116,6 @@
116 </ProjectReference> 116 </ProjectReference>
117 </ItemGroup> 117 </ItemGroup>
118 <ItemGroup> 118 <ItemGroup>
119 <Compile Include="OGS1UserServices.cs">
120 <SubType>Code</SubType>
121 </Compile>
122 <Compile Include="CommunicationsOGS1.cs"> 119 <Compile Include="CommunicationsOGS1.cs">
123 <SubType>Code</SubType> 120 <SubType>Code</SubType>
124 </Compile> 121 </Compile>
@@ -128,6 +125,9 @@
128 <Compile Include="OGS1InterSimComms.cs"> 125 <Compile Include="OGS1InterSimComms.cs">
129 <SubType>Code</SubType> 126 <SubType>Code</SubType>
130 </Compile> 127 </Compile>
128 <Compile Include="OGS1UserServices.cs">
129 <SubType>Code</SubType>
130 </Compile>
131 <Compile Include="Properties\AssemblyInfo.cs"> 131 <Compile Include="Properties\AssemblyInfo.cs">
132 <SubType>Code</SubType> 132 <SubType>Code</SubType>
133 </Compile> 133 </Compile>
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build
index 960a84a..04d61b9 100644
--- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build
+++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build
@@ -11,10 +11,10 @@
11 <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" > 11 <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="OGS1UserServices.cs" />
15 <include name="CommunicationsOGS1.cs" /> 14 <include name="CommunicationsOGS1.cs" />
16 <include name="OGS1GridServices.cs" /> 15 <include name="OGS1GridServices.cs" />
17 <include name="OGS1InterSimComms.cs" /> 16 <include name="OGS1InterSimComms.cs" />
17 <include name="OGS1UserServices.cs" />
18 <include name="Properties/AssemblyInfo.cs" /> 18 <include name="Properties/AssemblyInfo.cs" />
19 </sources> 19 </sources>
20 <references basedir="${project::get-base-directory()}"> 20 <references basedir="${project::get-base-directory()}">
diff --git a/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj b/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj
index 6dabd05..428f381 100644
--- a/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj
+++ b/OpenSim/Region/Environment/OpenSim.Region.Environment.csproj
@@ -144,55 +144,55 @@
144 </ProjectReference> 144 </ProjectReference>
145 </ItemGroup> 145 </ItemGroup>
146 <ItemGroup> 146 <ItemGroup>
147 <Compile Include="RegionManager.cs">
148 <SubType>Code</SubType>
149 </Compile>
150 <Compile Include="EstateManager.cs"> 147 <Compile Include="EstateManager.cs">
151 <SubType>Code</SubType> 148 <SubType>Code</SubType>
152 </Compile> 149 </Compile>
153 <Compile Include="ParcelManager.cs"> 150 <Compile Include="ParcelManager.cs">
154 <SubType>Code</SubType> 151 <SubType>Code</SubType>
155 </Compile> 152 </Compile>
153 <Compile Include="RegionManager.cs">
154 <SubType>Code</SubType>
155 </Compile>
156 <Compile Include="Scenes\Entity.cs"> 156 <Compile Include="Scenes\Entity.cs">
157 <SubType>Code</SubType> 157 <SubType>Code</SubType>
158 </Compile> 158 </Compile>
159 <Compile Include="Scenes\Scene.cs"> 159 <Compile Include="Scenes\IScenePresenceBody.cs">
160 <SubType>Code</SubType> 160 <SubType>Code</SubType>
161 </Compile> 161 </Compile>
162 <Compile Include="Scenes\ScenePresence.Body.cs"> 162 <Compile Include="Scenes\Primitive.cs">
163 <SubType>Code</SubType> 163 <SubType>Code</SubType>
164 </Compile> 164 </Compile>
165 <Compile Include="Scenes\SceneEvents.cs"> 165 <Compile Include="Scenes\Scene.cs">
166 <SubType>Code</SubType> 166 <SubType>Code</SubType>
167 </Compile> 167 </Compile>
168 <Compile Include="Scenes\ScenePresence.cs"> 168 <Compile Include="Scenes\Scene.PacketHandlers.cs">
169 <SubType>Code</SubType> 169 <SubType>Code</SubType>
170 </Compile> 170 </Compile>
171 <Compile Include="Scenes\ScenePresence.Animations.cs"> 171 <Compile Include="Scenes\SceneBase.cs">
172 <SubType>Code</SubType> 172 <SubType>Code</SubType>
173 </Compile> 173 </Compile>
174 <Compile Include="Scenes\Scene.PacketHandlers.cs"> 174 <Compile Include="Scenes\SceneEvents.cs">
175 <SubType>Code</SubType> 175 <SubType>Code</SubType>
176 </Compile> 176 </Compile>
177 <Compile Include="Scenes\SceneObject.cs"> 177 <Compile Include="Scenes\SceneObject.cs">
178 <SubType>Code</SubType> 178 <SubType>Code</SubType>
179 </Compile> 179 </Compile>
180 <Compile Include="Scenes\Primitive.cs"> 180 <Compile Include="Scenes\ScenePresence.Animations.cs">
181 <SubType>Code</SubType> 181 <SubType>Code</SubType>
182 </Compile> 182 </Compile>
183 <Compile Include="Scenes\SceneBase.cs"> 183 <Compile Include="Scenes\ScenePresence.Body.cs">
184 <SubType>Code</SubType> 184 <SubType>Code</SubType>
185 </Compile> 185 </Compile>
186 <Compile Include="Scenes\IScenePresenceBody.cs"> 186 <Compile Include="Scenes\ScenePresence.cs">
187 <SubType>Code</SubType> 187 <SubType>Code</SubType>
188 </Compile> 188 </Compile>
189 <Compile Include="Scenes\scripting\ScriptManager.cs"> 189 <Compile Include="Scenes\scripting\Script.cs">
190 <SubType>Code</SubType> 190 <SubType>Code</SubType>
191 </Compile> 191 </Compile>
192 <Compile Include="Scenes\scripting\ScriptInfo.cs"> 192 <Compile Include="Scenes\scripting\ScriptInfo.cs">
193 <SubType>Code</SubType> 193 <SubType>Code</SubType>
194 </Compile> 194 </Compile>
195 <Compile Include="Scenes\scripting\Script.cs"> 195 <Compile Include="Scenes\scripting\ScriptManager.cs">
196 <SubType>Code</SubType> 196 <SubType>Code</SubType>
197 </Compile> 197 </Compile>
198 <Compile Include="Scenes\scripting\Engines\CSharpScriptEngine.cs"> 198 <Compile Include="Scenes\scripting\Engines\CSharpScriptEngine.cs">
diff --git a/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build b/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build
index eb26ea0..2fa5e76 100644
--- a/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build
+++ b/OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build
@@ -11,23 +11,23 @@
11 <resources prefix="OpenSim.Region.Environment" dynamicprefix="true" > 11 <resources prefix="OpenSim.Region.Environment" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="RegionManager.cs" />
15 <include name="EstateManager.cs" /> 14 <include name="EstateManager.cs" />
16 <include name="ParcelManager.cs" /> 15 <include name="ParcelManager.cs" />
16 <include name="RegionManager.cs" />
17 <include name="Scenes/Entity.cs" /> 17 <include name="Scenes/Entity.cs" />
18 <include name="Scenes/IScenePresenceBody.cs" />
19 <include name="Scenes/Primitive.cs" />
18 <include name="Scenes/Scene.cs" /> 20 <include name="Scenes/Scene.cs" />
19 <include name="Scenes/ScenePresence.Body.cs" />
20 <include name="Scenes/SceneEvents.cs" />
21 <include name="Scenes/ScenePresence.cs" />
22 <include name="Scenes/ScenePresence.Animations.cs" />
23 <include name="Scenes/Scene.PacketHandlers.cs" /> 21 <include name="Scenes/Scene.PacketHandlers.cs" />
24 <include name="Scenes/SceneObject.cs" />
25 <include name="Scenes/Primitive.cs" />
26 <include name="Scenes/SceneBase.cs" /> 22 <include name="Scenes/SceneBase.cs" />
27 <include name="Scenes/IScenePresenceBody.cs" /> 23 <include name="Scenes/SceneEvents.cs" />
28 <include name="Scenes/scripting/ScriptManager.cs" /> 24 <include name="Scenes/SceneObject.cs" />
29 <include name="Scenes/scripting/ScriptInfo.cs" /> 25 <include name="Scenes/ScenePresence.Animations.cs" />
26 <include name="Scenes/ScenePresence.Body.cs" />
27 <include name="Scenes/ScenePresence.cs" />
30 <include name="Scenes/scripting/Script.cs" /> 28 <include name="Scenes/scripting/Script.cs" />
29 <include name="Scenes/scripting/ScriptInfo.cs" />
30 <include name="Scenes/scripting/ScriptManager.cs" />
31 <include name="Scenes/scripting/Engines/CSharpScriptEngine.cs" /> 31 <include name="Scenes/scripting/Engines/CSharpScriptEngine.cs" />
32 <include name="Scenes/scripting/Engines/JScriptEngine.cs" /> 32 <include name="Scenes/scripting/Engines/JScriptEngine.cs" />
33 </sources> 33 </sources>
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 8c912d0..d5406b6 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -493,19 +493,19 @@ namespace OpenSim.Region.Environment.Scenes
493 /// <param name="remoteClient"></param 493 /// <param name="remoteClient"></param
494 /// <param name="agentID"></param> 494 /// <param name="agentID"></param>
495 /// <param name="child"></param> 495 /// <param name="child"></param>
496 public override void AddNewClient(IClientAPI remoteClient, LLUUID agentID, bool child) 496 public override void AddNewClient(IClientAPI client, bool child)
497 { 497 {
498 remoteClient.OnRegionHandShakeReply += this.SendLayerData; 498 client.OnRegionHandShakeReply += this.SendLayerData;
499 //remoteClient.OnRequestWearables += new GenericCall(this.GetInitialPrims); 499 //remoteClient.OnRequestWearables += new GenericCall(this.GetInitialPrims);
500 remoteClient.OnChatFromViewer += this.SimChat; 500 client.OnChatFromViewer += this.SimChat;
501 remoteClient.OnRequestWearables += this.InformClientOfNeighbours; 501 client.OnRequestWearables += this.InformClientOfNeighbours;
502 remoteClient.OnAddPrim += this.AddNewPrim; 502 client.OnAddPrim += this.AddNewPrim;
503 remoteClient.OnUpdatePrimPosition += this.UpdatePrimPosition; 503 client.OnUpdatePrimPosition += this.UpdatePrimPosition;
504 remoteClient.OnRequestMapBlocks += this.RequestMapBlocks; 504 client.OnRequestMapBlocks += this.RequestMapBlocks;
505 remoteClient.OnTeleportLocationRequest += this.RequestTeleportLocation; 505 client.OnTeleportLocationRequest += this.RequestTeleportLocation;
506 //remoteClient.OnObjectSelect += this.SelectPrim; 506 //remoteClient.OnObjectSelect += this.SelectPrim;
507 remoteClient.OnGrapUpdate += this.MoveObject; 507 client.OnGrapUpdate += this.MoveObject;
508 remoteClient.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; 508 client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest;
509 509
510 /* remoteClient.OnParcelPropertiesRequest += new ParcelPropertiesRequest(parcelManager.handleParcelPropertiesRequest); 510 /* remoteClient.OnParcelPropertiesRequest += new ParcelPropertiesRequest(parcelManager.handleParcelPropertiesRequest);
511 remoteClient.OnParcelDivideRequest += new ParcelDivideRequest(parcelManager.handleParcelDivideRequest); 511 remoteClient.OnParcelDivideRequest += new ParcelDivideRequest(parcelManager.handleParcelDivideRequest);
@@ -513,19 +513,21 @@ namespace OpenSim.Region.Environment.Scenes
513 remoteClient.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest); 513 remoteClient.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest);
514 remoteClient.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage); 514 remoteClient.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage);
515 */ 515 */
516 516 this.estateManager.sendRegionHandshake(client);
517
518 CreateAndAddScenePresence(client);
519 return;
520 }
521
522 protected void CreateAndAddScenePresence(IClientAPI client)
523 {
517 ScenePresence newAvatar = null; 524 ScenePresence newAvatar = null;
518 try
519 {
520 525
521 OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); 526 OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent");
522 newAvatar = new ScenePresence(remoteClient, this, this.m_regInfo); 527 newAvatar = new ScenePresence(client, this, this.m_regInfo);
523 OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Adding new avatar to world"); 528 OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Adding new avatar to world");
524 OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Starting RegionHandshake "); 529 OpenSim.Framework.Console.MainLog.Instance.Verbose( "World.cs:AddViewerAgent() - Starting RegionHandshake ");
525 530
526 //newAvatar.SendRegionHandshake();
527 this.estateManager.sendRegionHandshake(remoteClient);
528
529 PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z); 531 PhysicsVector pVec = new PhysicsVector(newAvatar.Pos.X, newAvatar.Pos.Y, newAvatar.Pos.Z);
530 lock (this.m_syncRoot) 532 lock (this.m_syncRoot)
531 { 533 {
@@ -534,36 +536,29 @@ namespace OpenSim.Region.Environment.Scenes
534 536
535 lock (Entities) 537 lock (Entities)
536 { 538 {
537 if (!Entities.ContainsKey(agentID)) 539 if (!Entities.ContainsKey(client.AgentId))
538 { 540 {
539 this.Entities.Add(agentID, newAvatar); 541 this.Entities.Add(client.AgentId, newAvatar);
540 } 542 }
541 else 543 else
542 { 544 {
543 Entities[agentID] = newAvatar; 545 Entities[client.AgentId] = newAvatar;
544 } 546 }
545 } 547 }
546 lock (Avatars) 548 lock (Avatars)
547 { 549 {
548 if (Avatars.ContainsKey(agentID)) 550 if (Avatars.ContainsKey(client.AgentId))
549 { 551 {
550 Avatars[agentID] = newAvatar; 552 Avatars[client.AgentId] = newAvatar;
551 } 553 }
552 else 554 else
553 { 555 {
554 this.Avatars.Add(agentID, newAvatar); 556 this.Avatars.Add(client.AgentId, newAvatar);
555 } 557 }
556 } 558 }
557 }
558 catch (Exception e)
559 {
560 OpenSim.Framework.Console.MainLog.Instance.Warn("World.cs: AddViewerAgent() - Failed with exception " + e.ToString());
561 }
562 return;
563 } 559 }
564 560
565 561
566
567 /// <summary> 562 /// <summary>
568 /// 563 ///
569 /// </summary> 564 /// </summary>
@@ -642,8 +637,8 @@ namespace OpenSim.Region.Environment.Scenes
642 this.regionCommsHost = this.commsManager.GridServer.RegisterRegion(this.m_regInfo,gridSettings); 637 this.regionCommsHost = this.commsManager.GridServer.RegisterRegion(this.m_regInfo,gridSettings);
643 if (this.regionCommsHost != null) 638 if (this.regionCommsHost != null)
644 { 639 {
645 this.regionCommsHost.OnExpectUser += new ExpectUserDelegate(this.NewUserConnection); 640 this.regionCommsHost.OnExpectUser += this.NewUserConnection;
646 this.regionCommsHost.OnAvatarCrossingIntoRegion += new AgentCrossing(this.AgentCrossing); 641 this.regionCommsHost.OnAvatarCrossingIntoRegion += this.AgentCrossing;
647 } 642 }
648 } 643 }
649 644
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs
index 50d3b82..e06acbd 100644
--- a/OpenSim/Region/Environment/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs
@@ -148,7 +148,7 @@ namespace OpenSim.Region.Environment.Scenes
148 /// <param name="remoteClient"></param> 148 /// <param name="remoteClient"></param>
149 /// <param name="agentID"></param> 149 /// <param name="agentID"></param>
150 /// <param name="child"></param> 150 /// <param name="child"></param>
151 public abstract void AddNewClient(IClientAPI remoteClient, LLUUID agentID, bool child); 151 public abstract void AddNewClient(IClientAPI client, bool child);
152 152
153 /// <summary> 153 /// <summary>
154 /// 154 ///
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
index 89f39d3..fe1fc16 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
@@ -44,7 +44,7 @@ namespace SimpleApp
44 44
45 #region IWorld Members 45 #region IWorld Members
46 46
47 override public void AddNewClient(IClientAPI client, LLUUID agentID, bool child) 47 override public void AddNewClient(IClientAPI client, bool child)
48 48
49 { 49 {
50 LLVector3 pos = new LLVector3(128, 128, 128); 50 LLVector3 pos = new LLVector3(128, 128, 128);
@@ -59,7 +59,13 @@ namespace SimpleApp
59 }; 59 };
60 60
61 client.OnRequestWearables += SendWearables; 61 client.OnRequestWearables += SendWearables;
62 62 client.OnAddPrim += AddNewPrim;
63 client.OnUpdatePrimPosition += this.UpdatePrimPosition;
64 client.OnRequestMapBlocks += this.RequestMapBlocks;
65 client.OnTeleportLocationRequest += this.RequestTeleportLocation;
66 client.OnGrapUpdate += this.MoveObject;
67 client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest;
68
63 client.OnCompleteMovementToRegion += delegate() 69 client.OnCompleteMovementToRegion += delegate()
64 { 70 {
65 client.MoveAgentIntoRegion(m_regionInfo, pos, LLVector3.Zero ); 71 client.MoveAgentIntoRegion(m_regionInfo, pos, LLVector3.Zero );
@@ -76,7 +82,7 @@ namespace SimpleApp
76 82
77 client.SendRegionHandshake(m_regionInfo); 83 client.SendRegionHandshake(m_regionInfo);
78 84
79 OpenSim.Region.Environment.Scenes.ScenePresence avatar = new Avatar( client, this, m_regionInfo ); 85 CreateAndAddScenePresence(client);
80 86
81 } 87 }
82 88
@@ -85,12 +91,6 @@ namespace SimpleApp
85 client.SendWearables( AvatarWearable.DefaultWearables ); 91 client.SendWearables( AvatarWearable.DefaultWearables );
86 } 92 }
87 93
88
89 override public void RemoveClient(LLUUID agentID)
90 {
91
92 }
93
94 public RegionInfo RegionInfo 94 public RegionInfo RegionInfo
95 { 95 {
96 get { return m_regionInfo; } 96 get { return m_regionInfo; }
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 4060d68..0d5b4b3 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -14,6 +14,7 @@ using OpenSim.Region.Caches;
14using OpenSim.Framework.Communications; 14using OpenSim.Framework.Communications;
15using OpenSim.Region.Communications.Local; 15using OpenSim.Region.Communications.Local;
16using OpenSim.Region.ClientStack; 16using OpenSim.Region.ClientStack;
17using OpenSim.Region.Physics.BasicPhysicsPlugin;
17 18
18namespace SimpleApp 19namespace SimpleApp
19{ 20{
@@ -32,11 +33,7 @@ namespace SimpleApp
32 33
33 string simAddr = "127.0.0.1"; 34 string simAddr = "127.0.0.1";
34 int simPort = 9000; 35 int simPort = 9000;
35 /* 36
36 LoginServer loginServer = new LoginServer( simAddr, simPort, 0, 0, false );
37 loginServer.Startup();
38 loginServer.SetSessionHandler( AddNewSessionHandler );*/
39
40 m_circuitManager = new AuthenticateSessionsBase(); 37 m_circuitManager = new AuthenticateSessionsBase();
41 38
42 InventoryCache inventoryCache = new InventoryCache(); 39 InventoryCache inventoryCache = new InventoryCache();
@@ -53,18 +50,17 @@ namespace SimpleApp
53 50
54 ClientView.TerrainManager = new TerrainManager(new SecondLife()); 51 ClientView.TerrainManager = new TerrainManager(new SecondLife());
55 52
56 CommunicationsManager communicationsManager = new CommunicationsLocal(null); 53 NetworkServersInfo serverInfo = new NetworkServersInfo();
54 CommunicationsLocal communicationsManager = new CommunicationsLocal(serverInfo);
55
56 RegionInfo regionInfo = new RegionInfo( 1000, 1000, simAddr, simPort, simAddr );
57 57
58 RegionInfo regionInfo = new RegionInfo( );
59 BaseHttpServer httpServer = new BaseHttpServer(simPort); 58 BaseHttpServer httpServer = new BaseHttpServer(simPort);
60 udpServer.LocalWorld = new MyWorld( packetServer.ClientAPIs, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer ); 59 MyWorld world = new MyWorld(packetServer.ClientAPIs, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer);
61 60 world.PhysScene = new BasicScene();
62 // World world = new World(udpServer.PacketServer.ClientAPIs, regionInfo); 61 udpServer.LocalWorld = world;
63 // PhysicsScene physicsScene = new NullPhysicsScene();
64 // world.PhysicsScene = physicsScene;
65 // udpServer.LocalWorld = world;
66 62
67 // httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod ); 63 httpServer.AddXmlRPCHandler("login_to_simulator", communicationsManager.UserServices.XmlRpcLoginMethod );
68 httpServer.Start(); 64 httpServer.Start();
69 65
70 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); 66 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
diff --git a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
index 0a82172..d39d091 100644
--- a/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
+++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.csproj
@@ -104,6 +104,12 @@
104 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 104 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
105 <Private>False</Private> 105 <Private>False</Private>
106 </ProjectReference> 106 </ProjectReference>
107 <ProjectReference Include="..\..\..\Framework\UserManager\OpenSim.Framework.UserManagement.csproj">
108 <Name>OpenSim.Framework.UserManagement</Name>
109 <Project>{586E2916-0000-0000-0000-000000000000}</Project>
110 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
111 <Private>False</Private>
112 </ProjectReference>
107 <ProjectReference Include="..\..\Caches\OpenSim.Region.Caches.csproj"> 113 <ProjectReference Include="..\..\Caches\OpenSim.Region.Caches.csproj">
108 <Name>OpenSim.Region.Caches</Name> 114 <Name>OpenSim.Region.Caches</Name>
109 <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project> 115 <Project>{61FCCDB3-0000-0000-0000-000000000000}</Project>
@@ -134,6 +140,18 @@
134 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 140 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
135 <Private>False</Private> 141 <Private>False</Private>
136 </ProjectReference> 142 </ProjectReference>
143 <ProjectReference Include="..\..\Physics\BasicPhysicsPlugin\OpenSim.Region.Physics.BasicPhysicsPlugin.csproj">
144 <Name>OpenSim.Region.Physics.BasicPhysicsPlugin</Name>
145 <Project>{15B4FEF3-0000-0000-0000-000000000000}</Project>
146 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
147 <Private>False</Private>
148 </ProjectReference>
149 <ProjectReference Include="..\..\Physics\Manager\OpenSim.Region.Physics.Manager.csproj">
150 <Name>OpenSim.Region.Physics.Manager</Name>
151 <Project>{F4FF31EB-0000-0000-0000-000000000000}</Project>
152 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
153 <Private>False</Private>
154 </ProjectReference>
137 </ItemGroup> 155 </ItemGroup>
138 <ItemGroup> 156 <ItemGroup>
139 <Compile Include="MyWorld.cs"> 157 <Compile Include="MyWorld.cs">
diff --git a/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build
index f8896fa..db44992 100644
--- a/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build
+++ b/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build
@@ -25,11 +25,14 @@
25 <include name="../../../../bin/OpenSim.Framework.Communications.dll" /> 25 <include name="../../../../bin/OpenSim.Framework.Communications.dll" />
26 <include name="../../../../bin/OpenSim.Framework.Console.dll" /> 26 <include name="../../../../bin/OpenSim.Framework.Console.dll" />
27 <include name="../../../../bin/OpenSim.Framework.Servers.dll" /> 27 <include name="../../../../bin/OpenSim.Framework.Servers.dll" />
28 <include name="../../../../bin/OpenSim.Framework.UserManagement.dll" />
28 <include name="../../../../bin/OpenSim.Region.Caches.dll" /> 29 <include name="../../../../bin/OpenSim.Region.Caches.dll" />
29 <include name="../../../../bin/OpenSim.Region.ClientStack.dll" /> 30 <include name="../../../../bin/OpenSim.Region.ClientStack.dll" />
30 <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" /> 31 <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" />
31 <include name="../../../../bin/OpenSim.Region.Environment.dll" /> 32 <include name="../../../../bin/OpenSim.Region.Environment.dll" />
32 <include name="../../../../bin/OpenSim.Region.GridInterfaces.Local.dll" /> 33 <include name="../../../../bin/OpenSim.Region.GridInterfaces.Local.dll" />
34 <include name="../../../../bin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll" />
35 <include name="../../../../bin/OpenSim.Region.Physics.Manager.dll" />
33 <include name="System.dll" /> 36 <include name="System.dll" />
34 <include name="System.Data.dll.dll" /> 37 <include name="System.Data.dll.dll" />
35 <include name="System.Xml.dll" /> 38 <include name="System.Xml.dll" />
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj
index 716fd57..147158c 100644
--- a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj
+++ b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.csproj
@@ -93,6 +93,9 @@
93 <Compile Include="AssemblyInfo.cs"> 93 <Compile Include="AssemblyInfo.cs">
94 <SubType>Code</SubType> 94 <SubType>Code</SubType>
95 </Compile> 95 </Compile>
96 <Compile Include="Db4LocalStorage.cs">
97 <SubType>Code</SubType>
98 </Compile>
96 <Compile Include="MapStorage.cs"> 99 <Compile Include="MapStorage.cs">
97 <SubType>Code</SubType> 100 <SubType>Code</SubType>
98 </Compile> 101 </Compile>
@@ -102,9 +105,6 @@
102 <Compile Include="UUIDPrimQuery.cs"> 105 <Compile Include="UUIDPrimQuery.cs">
103 <SubType>Code</SubType> 106 <SubType>Code</SubType>
104 </Compile> 107 </Compile>
105 <Compile Include="Db4LocalStorage.cs">
106 <SubType>Code</SubType>
107 </Compile>
108 </ItemGroup> 108 </ItemGroup>
109 <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> 109 <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
110 <PropertyGroup> 110 <PropertyGroup>
diff --git a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build
index 112ff1c..fc9f055 100644
--- a/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build
+++ b/OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build
@@ -12,10 +12,10 @@
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="AssemblyInfo.cs" /> 14 <include name="AssemblyInfo.cs" />
15 <include name="Db4LocalStorage.cs" />
15 <include name="MapStorage.cs" /> 16 <include name="MapStorage.cs" />
16 <include name="UUIDParcelQuery.cs" /> 17 <include name="UUIDParcelQuery.cs" />
17 <include name="UUIDPrimQuery.cs" /> 18 <include name="UUIDPrimQuery.cs" />
18 <include name="Db4LocalStorage.cs" />
19 </sources> 19 </sources>
20 <references basedir="${project::get-base-directory()}"> 20 <references basedir="${project::get-base-directory()}">
21 <lib> 21 <lib>