aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.GridServer
diff options
context:
space:
mode:
authorgareth2007-04-15 02:31:34 +0000
committergareth2007-04-15 02:31:34 +0000
commitf9b7cc53deb93fc3528929385d3f76519083c927 (patch)
treeae3fbc308febed796772525be7d9a55e4ce24b8e /OpenGridServices.GridServer
parentIn the grid, there is life! (diff)
downloadopensim-SC_OLD-f9b7cc53deb93fc3528929385d3f76519083c927.zip
opensim-SC_OLD-f9b7cc53deb93fc3528929385d3f76519083c927.tar.gz
opensim-SC_OLD-f9b7cc53deb93fc3528929385d3f76519083c927.tar.bz2
opensim-SC_OLD-f9b7cc53deb93fc3528929385d3f76519083c927.tar.xz
W00t! multiple sims!
Misc bugfixes Child agents!!!!!! General sexy stuff
Diffstat (limited to 'OpenGridServices.GridServer')
-rw-r--r--OpenGridServices.GridServer/SimProfiles.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenGridServices.GridServer/SimProfiles.cs b/OpenGridServices.GridServer/SimProfiles.cs
index 7fcfb8c..bd91d5b 100644
--- a/OpenGridServices.GridServer/SimProfiles.cs
+++ b/OpenGridServices.GridServer/SimProfiles.cs
@@ -158,13 +158,15 @@ namespace OpenGridServices.GridServer
158 if (GetProfileByHandle(Helpers.UIntsToLong((uint)((TheSim.RegionLocX + x) * 256), (uint)(TheSim.RegionLocY + y) * 256)) != null) 158 if (GetProfileByHandle(Helpers.UIntsToLong((uint)((TheSim.RegionLocX + x) * 256), (uint)(TheSim.RegionLocY + y) * 256)) != null)
159 { 159 {
160 neighbour = GetProfileByHandle(Helpers.UIntsToLong((uint)((TheSim.RegionLocX + x) * 256), (uint)(TheSim.RegionLocY + y) * 256)); 160 neighbour = GetProfileByHandle(Helpers.UIntsToLong((uint)((TheSim.RegionLocX + x) * 256), (uint)(TheSim.RegionLocY + y) * 256));
161
161 NeighbourBlock = new Hashtable(); 162 NeighbourBlock = new Hashtable();
162 NeighbourBlock["sim_ip"] = neighbour.sim_ip; 163 NeighbourBlock["sim_ip"] = neighbour.sim_ip;
163 NeighbourBlock["sim_port"] = neighbour.sim_port.ToString(); 164 NeighbourBlock["sim_port"] = neighbour.sim_port.ToString();
164 NeighbourBlock["region_locx"] = neighbour.RegionLocX.ToString(); 165 NeighbourBlock["region_locx"] = neighbour.RegionLocX.ToString();
165 NeighbourBlock["region_locy"] = neighbour.RegionLocY.ToString(); 166 NeighbourBlock["region_locy"] = neighbour.RegionLocY.ToString();
166 NeighbourBlock["UUID"] = neighbour.UUID.ToString(); 167 NeighbourBlock["UUID"] = neighbour.UUID.ToString();
167 SimNeighboursData.Add(NeighbourBlock); 168
169 if(neighbour.UUID!=TheSim.UUID) SimNeighboursData.Add(NeighbourBlock);
168 } 170 }
169 } 171 }
170 172