* Simulators should no longer require all their neighbours to be online to accept user connections.
parent
4e7e63b551
commit
9fcffee76b
|
@ -34,6 +34,8 @@ namespace OpenSim
|
|||
RemoteGridBase gridServer = (RemoteGridBase)this.m_gridServer;
|
||||
|
||||
foreach (Hashtable neighbour in gridServer.neighbours)
|
||||
{
|
||||
try
|
||||
{
|
||||
string neighbourIPStr = (string)neighbour["sim_ip"];
|
||||
System.Net.IPAddress neighbourIP = System.Net.IPAddress.Parse(neighbourIPStr);
|
||||
|
@ -68,6 +70,11 @@ namespace OpenSim
|
|||
enablesimpacket.SimulatorInfo.Port = neighbourPort;
|
||||
enablePackets.Add(enablesimpacket);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Could not connect to neighbour " + neighbour["sim_ip"] + ":" + neighbour["sim_port"] + ", continuing.");
|
||||
}
|
||||
}
|
||||
Thread.Sleep(3000);
|
||||
foreach (Packet enable in enablePackets)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue