Starts to readd the changes from revisions 768,769 and 770 before Adam notices they got lost in the restructuring.
parent
f1af78d684
commit
5a6ee35df9
|
@ -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