aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClient.cs
diff options
context:
space:
mode:
authorMW2007-04-17 13:39:21 +0000
committerMW2007-04-17 13:39:21 +0000
commit631d30b80dbffd786df64155510d01b0c0cb6da2 (patch)
tree3f18c6136d37e3cb6f63c36eb642686c079a9ee9 /OpenSim.RegionServer/SimClient.cs
parentHopefully undid the murder I committed in the last commit (diff)
downloadopensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.zip
opensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.tar.gz
opensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.tar.bz2
opensim-SC_OLD-631d30b80dbffd786df64155510d01b0c0cb6da2.tar.xz
Yet another command line option (really need to get all these moved into a config file), this one: "-localasset" (without the quotes) is a temporary hack to use a local asset server when in grid mode. (use with extreme caution if you have more than one sim in a grid)
Diffstat (limited to 'OpenSim.RegionServer/SimClient.cs')
-rw-r--r--OpenSim.RegionServer/SimClient.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs
index 0c90dcb..cc85b67 100644
--- a/OpenSim.RegionServer/SimClient.cs
+++ b/OpenSim.RegionServer/SimClient.cs
@@ -201,7 +201,6 @@ namespace OpenSim
201 NewSimPack.Info.LookAt = new LLVector3(0.99f, 0.042f, 0); // copied from Avatar.cs - SHOULD BE DYNAMIC!!!!!!!!!! 201 NewSimPack.Info.LookAt = new LLVector3(0.99f, 0.042f, 0); // copied from Avatar.cs - SHOULD BE DYNAMIC!!!!!!!!!!
202 NewSimPack.RegionData = new libsecondlife.Packets.CrossedRegionPacket.RegionDataBlock(); 202 NewSimPack.RegionData = new libsecondlife.Packets.CrossedRegionPacket.RegionDataBlock();
203 NewSimPack.RegionData.RegionHandle = Helpers.UIntsToLong((uint)(Convert.ToInt32(borderingSim["region_locx"]) * 256), (uint)(Convert.ToInt32(borderingSim["region_locy"]) * 256)); 203 NewSimPack.RegionData.RegionHandle = Helpers.UIntsToLong((uint)(Convert.ToInt32(borderingSim["region_locx"]) * 256), (uint)(Convert.ToInt32(borderingSim["region_locy"]) * 256));
204
205 System.Net.IPAddress neighbourIP = System.Net.IPAddress.Parse((string)borderingSim["sim_ip"]); 204 System.Net.IPAddress neighbourIP = System.Net.IPAddress.Parse((string)borderingSim["sim_ip"]);
206 byte[] byteIP = neighbourIP.GetAddressBytes(); 205 byte[] byteIP = neighbourIP.GetAddressBytes();
207 NewSimPack.RegionData.SimIP = (uint)byteIP[3] << 24; 206 NewSimPack.RegionData.SimIP = (uint)byteIP[3] << 24;