Merge branch 'master' into careminster
Conflicts: OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.csavinationmerge
commit
d893e54f4b
|
@ -1430,8 +1430,6 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes);
|
void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes);
|
||||||
|
|
||||||
void KillEndDone();
|
|
||||||
|
|
||||||
bool AddGenericPacketHandler(string MethodName, GenericMessage handler);
|
bool AddGenericPacketHandler(string MethodName, GenericMessage handler);
|
||||||
|
|
||||||
void SendRebakeAvatarTextures(UUID textureID);
|
void SendRebakeAvatarTextures(UUID textureID);
|
||||||
|
|
|
@ -11862,7 +11862,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
if (DebugPacketLevel <= 100 && (packet.Type == PacketType.AvatarAnimation || packet.Type == PacketType.ViewerEffect))
|
if (DebugPacketLevel <= 100 && (packet.Type == PacketType.AvatarAnimation || packet.Type == PacketType.ViewerEffect))
|
||||||
logPacket = false;
|
logPacket = false;
|
||||||
|
|
||||||
if (DebugPacketLevel <= 50 && packet.Type == PacketType.ImprovedTerseObjectUpdate)
|
if (DebugPacketLevel <= 50
|
||||||
|
& (packet.Type == PacketType.ImprovedTerseObjectUpdate || packet.Type == PacketType.ObjectUpdate))
|
||||||
logPacket = false;
|
logPacket = false;
|
||||||
|
|
||||||
if (DebugPacketLevel <= 25 && packet.Type == PacketType.ObjectPropertiesFamily)
|
if (DebugPacketLevel <= 25 && packet.Type == PacketType.ObjectPropertiesFamily)
|
||||||
|
@ -12072,10 +12073,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void KillEndDone()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#region IClientCore
|
#region IClientCore
|
||||||
|
|
||||||
private readonly Dictionary<Type, object> m_clientInterfaces = new Dictionary<Type, object>();
|
private readonly Dictionary<Type, object> m_clientInterfaces = new Dictionary<Type, object>();
|
||||||
|
|
|
@ -1635,11 +1635,6 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void KillEndDone()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
|
public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -1051,10 +1051,6 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public void KillEndDone()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SendEventInfoReply (EventData info)
|
public void SendEventInfoReply (EventData info)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -1976,7 +1976,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
string retval = String.Empty;
|
string retval = String.Empty;
|
||||||
IConfigSource config = m_ScriptEngine.ConfigSource;
|
IConfigSource config = m_ScriptEngine.ConfigSource;
|
||||||
string url = config.Configs["GridInfo"].GetString("GridInfoURI", String.Empty);
|
string url = null;
|
||||||
|
|
||||||
|
IConfig gridInfoConfig = config.Configs["GridInfo"];
|
||||||
|
|
||||||
|
if (gridInfoConfig != null)
|
||||||
|
url = gridInfoConfig.GetString("GridInfoURI", String.Empty);
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(url))
|
if (String.IsNullOrEmpty(url))
|
||||||
return "Configuration Error!";
|
return "Configuration Error!";
|
||||||
|
|
|
@ -84,6 +84,13 @@ namespace OpenSim.Services.GridService
|
||||||
|
|
||||||
if (MainConsole.Instance != null)
|
if (MainConsole.Instance != null)
|
||||||
{
|
{
|
||||||
|
MainConsole.Instance.Commands.AddCommand("Regions", true,
|
||||||
|
"deregister region",
|
||||||
|
"deregister region <Region UUID>",
|
||||||
|
"Deregister a region manually.",
|
||||||
|
String.Empty,
|
||||||
|
HandleDeregisterRegion);
|
||||||
|
|
||||||
MainConsole.Instance.Commands.AddCommand("Regions", true,
|
MainConsole.Instance.Commands.AddCommand("Regions", true,
|
||||||
"show region",
|
"show region",
|
||||||
"show region <Region name>",
|
"show region <Region name>",
|
||||||
|
@ -495,6 +502,44 @@ namespace OpenSim.Services.GridService
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void HandleDeregisterRegion(string module, string[] cmd)
|
||||||
|
{
|
||||||
|
if (cmd.Length != 3)
|
||||||
|
{
|
||||||
|
MainConsole.Instance.Output("Syntax: degregister region <Region UUID>");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
string rawRegionUuid = cmd[2];
|
||||||
|
UUID regionUuid;
|
||||||
|
|
||||||
|
if (!UUID.TryParse(rawRegionUuid, out regionUuid))
|
||||||
|
{
|
||||||
|
MainConsole.Instance.OutputFormat("{0} is not a valid region uuid", rawRegionUuid);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
GridRegion region = GetRegionByUUID(UUID.Zero, regionUuid);
|
||||||
|
|
||||||
|
if (region == null)
|
||||||
|
{
|
||||||
|
MainConsole.Instance.OutputFormat("No region with UUID {0}", regionUuid);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (DeregisterRegion(regionUuid))
|
||||||
|
{
|
||||||
|
MainConsole.Instance.OutputFormat("Deregistered {0} {1}", region.RegionName, regionUuid);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// I don't think this can ever occur if we know that the region exists.
|
||||||
|
MainConsole.Instance.OutputFormat("Error deregistering {0} {1}", region.RegionName, regionUuid);
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
private void HandleShowRegion(string module, string[] cmd)
|
private void HandleShowRegion(string module, string[] cmd)
|
||||||
{
|
{
|
||||||
if (cmd.Length != 3)
|
if (cmd.Length != 3)
|
||||||
|
|
|
@ -1131,10 +1131,6 @@ namespace OpenSim.Tests.Common.Mock
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public void KillEndDone()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SendEventInfoReply (EventData info)
|
public void SendEventInfoReply (EventData info)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,10 @@
|
||||||
; Console commands run every 20 minutes
|
; Console commands run every 20 minutes
|
||||||
; timer_Script = "filename"
|
; timer_Script = "filename"
|
||||||
|
|
||||||
|
; timer_Script time interval (default 20 min)
|
||||||
|
; The time is 60 per minute
|
||||||
|
; timer_Interval = 1200
|
||||||
|
|
||||||
; ##
|
; ##
|
||||||
; ## SYSTEM
|
; ## SYSTEM
|
||||||
; ##
|
; ##
|
||||||
|
|
Loading…
Reference in New Issue