diff options
author | gareth | 2007-04-15 02:31:34 +0000 |
---|---|---|
committer | gareth | 2007-04-15 02:31:34 +0000 |
commit | f9b7cc53deb93fc3528929385d3f76519083c927 (patch) | |
tree | ae3fbc308febed796772525be7d9a55e4ce24b8e /OpenGridServices.GridServer | |
parent | In the grid, there is life! (diff) | |
download | opensim-SC-f9b7cc53deb93fc3528929385d3f76519083c927.zip opensim-SC-f9b7cc53deb93fc3528929385d3f76519083c927.tar.gz opensim-SC-f9b7cc53deb93fc3528929385d3f76519083c927.tar.bz2 opensim-SC-f9b7cc53deb93fc3528929385d3f76519083c927.tar.xz |
W00t! multiple sims!
Misc bugfixes
Child agents!!!!!!
General sexy stuff
Diffstat (limited to '')
-rw-r--r-- | OpenGridServices.GridServer/SimProfiles.cs | 4 |
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 | ||