aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-08-26 05:29:08 +0100
committerUbitUmarov2015-08-26 05:29:08 +0100
commitce883e9b436a0d63cfe1d5c81f83477a266e727e (patch)
treea8b674cf6fa5e737ea2babaed6fd81eef205afe5 /OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
parentchange teleport version number to v0.3, without actually adding the checks (diff)
downloadopensim-SC_OLD-ce883e9b436a0d63cfe1d5c81f83477a266e727e.zip
opensim-SC_OLD-ce883e9b436a0d63cfe1d5c81f83477a266e727e.tar.gz
opensim-SC_OLD-ce883e9b436a0d63cfe1d5c81f83477a266e727e.tar.bz2
opensim-SC_OLD-ce883e9b436a0d63cfe1d5c81f83477a266e727e.tar.xz
add more of the v03 checks and homeURL. Sending side only for now
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
index 0e74073..75c5b35 100644
--- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
@@ -275,7 +275,7 @@ namespace OpenSim.Services.Connectors.Simulation
275 275
276 /// <summary> 276 /// <summary>
277 /// </summary> 277 /// </summary>
278 public bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string version, out string reason) 278 public bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, string myversion, out string version, out string reason)
279 { 279 {
280 reason = "Failed to contact destination"; 280 reason = "Failed to contact destination";
281 version = "Unknown"; 281 version = "Unknown";
@@ -286,10 +286,14 @@ namespace OpenSim.Services.Connectors.Simulation
286 if (ext == null) return false; 286 if (ext == null) return false;
287 287
288 // Eventually, we want to use a caps url instead of the agentID 288 // Eventually, we want to use a caps url instead of the agentID
289 string uri = destination.ServerURI + AgentPath() + id + "/" + destination.RegionID.ToString() + "/"; 289 string uri = destination.ServerURI + AgentPath() + agentID + "/" + destination.RegionID.ToString() + "/";
290 290
291 OSDMap request = new OSDMap(); 291 OSDMap request = new OSDMap();
292 request.Add("viaTeleport", OSD.FromBoolean(viaTeleport));
292 request.Add("position", OSD.FromString(position.ToString())); 293 request.Add("position", OSD.FromString(position.ToString()));
294 request.Add("my_version", OSD.FromString(myversion));
295 if (agentHomeURI != null)
296 request.Add("agent_home_uri", OSD.FromString(agentHomeURI));
293 297
294 try 298 try
295 { 299 {