Slowing things down a little bit in TPs, with a couple of extra Thread.Sleep to give enough time for the destination to set up CAPs for the incoming agent before sending EAC to the client.
parent
7af84d7e10
commit
7a619ad84a
|
@ -187,6 +187,8 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
|
|||
agent.child = true;
|
||||
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY) || isHyperLink)
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
|
||||
// brand new agent
|
||||
agent.CapsPath = Util.GetRandomCapsPath();
|
||||
if (!m_commsProvider.InterRegion.InformRegionOfChildAgent(reg.RegionHandle, agent))
|
||||
|
@ -195,6 +197,8 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
|
|||
return;
|
||||
}
|
||||
|
||||
Thread.Sleep(2000);
|
||||
|
||||
// TODO Should construct this behind a method
|
||||
capsPath =
|
||||
"http://" + reg.ExternalHostName + ":" + reg.HttpPort
|
||||
|
@ -262,7 +266,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
|
|||
///
|
||||
|
||||
avatar.MakeChildAgent();
|
||||
Thread.Sleep(5000);
|
||||
Thread.Sleep(3000);
|
||||
avatar.CrossAttachmentsIntoNewRegion(reg.RegionHandle, true);
|
||||
if (KiPrimitive != null)
|
||||
{
|
||||
|
|
|
@ -772,6 +772,8 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
agent.child = true;
|
||||
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY))
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
|
||||
// brand new agent
|
||||
agent.CapsPath = Util.GetRandomCapsPath();
|
||||
if (!m_commsProvider.InterRegion.InformRegionOfChildAgent(reg.RegionHandle, agent))
|
||||
|
@ -780,6 +782,8 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
return;
|
||||
}
|
||||
|
||||
Thread.Sleep(2000);
|
||||
|
||||
// TODO Should construct this behind a method
|
||||
capsPath =
|
||||
"http://" + reg.ExternalHostName + ":" + reg.HttpPort
|
||||
|
@ -836,7 +840,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
|
||||
avatar.MakeChildAgent();
|
||||
Thread.Sleep(5000);
|
||||
Thread.Sleep(3000);
|
||||
avatar.CrossAttachmentsIntoNewRegion(reg.RegionHandle, true);
|
||||
if (KiPrimitive != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue