From 2ccb8f71183b0a50bbabc9252656a39cc3c0ba8e Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 14 Jul 2007 22:35:47 +0000 Subject: * Excelsior! --- OpenSim/Grid/UserServer/UserManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Grid/UserServer') diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 6fae0a8..ca0cdc3 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs @@ -30,6 +30,7 @@ using System.Collections; using Nwc.XmlRpc; using OpenSim.Framework.Data; using OpenSim.Framework.UserManagement; +using OpenSim.Framework.Utilities; namespace OpenSim.Grid.UserServer { @@ -63,6 +64,10 @@ namespace OpenSim.Grid.UserServer response.RegionX = SimInfo.regionLocX; response.RegionY = SimInfo.regionLocX; + //Not sure if the + "/CAPS/" should in fact be +"CAPS/" depending if there is already a / as part of httpServerURI + string capsPath = Util.GetRandomCapsPath(); + response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; + // Notify the target of an incoming user Console.WriteLine("Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI+ ")"); @@ -78,6 +83,7 @@ namespace OpenSim.Grid.UserServer SimParams["startpos_y"] = theUser.currentAgent.currentPos.Y.ToString(); SimParams["startpos_z"] = theUser.currentAgent.currentPos.Z.ToString(); SimParams["regionhandle"] = theUser.currentAgent.currentHandle.ToString(); + SimParams["caps_path"] = capsPath; ArrayList SendParams = new ArrayList(); SendParams.Add(SimParams); -- cgit v1.1