aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.RegionServer')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.API.cs4
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.cs6
-rw-r--r--OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build1
3 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
index ee6d741..1895fb9 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
@@ -483,13 +483,13 @@ namespace OpenSim
483 /// <param name="avatarID"></param> 483 /// <param name="avatarID"></param>
484 /// <param name="avatarLocalID"></param> 484 /// <param name="avatarLocalID"></param>
485 /// <param name="Pos"></param> 485 /// <param name="Pos"></param>
486 public void SendAvatarData(RegionInfo regionInfo, string firstName, string lastName, LLUUID avatarID, uint avatarLocalID, LLVector3 Pos) 486 public void SendAvatarData(ulong regionHandle, string firstName, string lastName, LLUUID avatarID, uint avatarLocalID, LLVector3 Pos)
487 { 487 {
488 System.Text.Encoding _enc = System.Text.Encoding.ASCII; 488 System.Text.Encoding _enc = System.Text.Encoding.ASCII;
489 //send a objectupdate packet with information about the clients avatar 489 //send a objectupdate packet with information about the clients avatar
490 490
491 ObjectUpdatePacket objupdate = new ObjectUpdatePacket(); 491 ObjectUpdatePacket objupdate = new ObjectUpdatePacket();
492 objupdate.RegionData.RegionHandle = regionInfo.RegionHandle; 492 objupdate.RegionData.RegionHandle = regionHandle;
493 objupdate.RegionData.TimeDilation = 64096; 493 objupdate.RegionData.TimeDilation = 64096;
494 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1]; 494 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1];
495 objupdate.ObjectData[0] = this.CreateDefaultAvatarPacket(); 495 objupdate.ObjectData[0] = this.CreateDefaultAvatarPacket();
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.cs b/OpenSim/OpenSim.RegionServer/ClientView.cs
index b089bdc..5d15ae3 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.cs
@@ -71,7 +71,7 @@ namespace OpenSim
71 71
72 private AgentAssetUpload UploadAssets; 72 private AgentAssetUpload UploadAssets;
73 private LLUUID newAssetFolder = LLUUID.Zero; 73 private LLUUID newAssetFolder = LLUUID.Zero;
74 private bool debug = false; 74 private bool debug = true;
75 protected IWorld m_world; 75 protected IWorld m_world;
76 private Dictionary<uint, ClientView> m_clientThreads; 76 private Dictionary<uint, ClientView> m_clientThreads;
77 private AssetCache m_assetCache; 77 private AssetCache m_assetCache;
@@ -124,7 +124,7 @@ namespace OpenSim
124 } 124 }
125 125
126 this.m_inventoryCache.ClientLeaving(this.AgentID, null); 126 this.m_inventoryCache.ClientLeaving(this.AgentID, null);
127 m_world.RemoveAvatar(this.AgentId); 127 m_world.RemoveClient(this.AgentId);
128 128
129 m_clientThreads.Remove(this.CircuitCode); 129 m_clientThreads.Remove(this.CircuitCode);
130 m_networkServer.RemoveClientCircuit(this.CircuitCode); 130 m_networkServer.RemoveClientCircuit(this.CircuitCode);
@@ -211,7 +211,7 @@ namespace OpenSim
211 protected virtual void InitNewClient() 211 protected virtual void InitNewClient()
212 { 212 {
213 OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world"); 213 OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:InitNewClient() - Adding viewer agent to world");
214 this.m_world.AddNewAvatar(this, this.AgentID, false); 214 this.m_world.AddNewClient(this, this.AgentID, false);
215 } 215 }
216 216
217 protected virtual void AuthUser() 217 protected virtual void AuthUser()
diff --git a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build
index 23eca3a..520f826 100644
--- a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build
+++ b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build
@@ -38,6 +38,7 @@
38 <include name="../../bin/OpenSim.Framework.Console.dll" /> 38 <include name="../../bin/OpenSim.Framework.Console.dll" />
39 <include name="../../bin/OpenSim.GenericConfig.Xml.dll" /> 39 <include name="../../bin/OpenSim.GenericConfig.Xml.dll" />
40 <include name="../../bin/OpenSim.Physics.Manager.dll" /> 40 <include name="../../bin/OpenSim.Physics.Manager.dll" />
41 <include name="../../bin/OpenSim.Region.dll" />
41 <include name="../../bin/OpenSim.Servers.dll" /> 42 <include name="../../bin/OpenSim.Servers.dll" />
42 <include name="../../bin/OpenSim.Terrain.BasicTerrain.dll" /> 43 <include name="../../bin/OpenSim.Terrain.BasicTerrain.dll" />
43 <include name="System.dll" /> 44 <include name="System.dll" />