Hyperlinking minimally tested and working.
parent
6dceb8b4a9
commit
bd4d94a4f5
|
@ -40,7 +40,6 @@ using OpenSim.Services.Interfaces;
|
|||
using GridRegion = OpenSim.Services.Interfaces.GridRegion;
|
||||
using PresenceInfo = OpenSim.Services.Interfaces.PresenceInfo;
|
||||
using OpenSim.Server.Base;
|
||||
using OpenSim.Services.Connectors.Grid;
|
||||
using OpenSim.Framework.Console;
|
||||
|
||||
using OpenMetaverse;
|
||||
|
|
|
@ -77,15 +77,24 @@ namespace OpenSim.Services.HypergridService
|
|||
|
||||
public bool LinkRegion(string regionName, out UUID regionID, out ulong regionHandle, out string imageURL, out string reason)
|
||||
{
|
||||
regionID = m_DefaultGatewayRegion.RegionID;
|
||||
regionHandle = m_DefaultGatewayRegion.RegionHandle;
|
||||
regionID = UUID.Zero;
|
||||
regionHandle = 0;
|
||||
imageURL = string.Empty;
|
||||
reason = string.Empty;
|
||||
|
||||
m_log.DebugFormat("[GATEKEEPER SERVICE]: Request to link to {0}", regionName);
|
||||
if (!m_AllowTeleportsToAnyRegion)
|
||||
{
|
||||
try
|
||||
{
|
||||
regionID = m_DefaultGatewayRegion.RegionID;
|
||||
regionHandle = m_DefaultGatewayRegion.RegionHandle;
|
||||
}
|
||||
catch
|
||||
{
|
||||
reason = "Grid setup problem";
|
||||
return false;
|
||||
}
|
||||
if (regionName != string.Empty)
|
||||
{
|
||||
reason = "Direct links to regions not allowed";
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace OpenSim.Services.HypergridService
|
|||
|
||||
MainConsole.Instance.Output("Region Name Region UUID");
|
||||
MainConsole.Instance.Output("Location URI");
|
||||
MainConsole.Instance.Output("Owner ID Flags");
|
||||
MainConsole.Instance.Output("Owner ID ");
|
||||
MainConsole.Instance.Output("-------------------------------------------------------------------------------");
|
||||
foreach (GridRegion r in regions)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue