aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClient.cs
diff options
context:
space:
mode:
authorMW2007-05-19 18:32:01 +0000
committerMW2007-05-19 18:32:01 +0000
commit274ce6987e0b017800ddb62fe65143e0d5e1cae5 (patch)
tree4842cdbb9e209451136b1ab9149da5d5dd84db70 /OpenSim.RegionServer/SimClient.cs
parent(no commit message) (diff)
downloadopensim-SC-274ce6987e0b017800ddb62fe65143e0d5e1cae5.zip
opensim-SC-274ce6987e0b017800ddb62fe65143e0d5e1cae5.tar.gz
opensim-SC-274ce6987e0b017800ddb62fe65143e0d5e1cae5.tar.bz2
opensim-SC-274ce6987e0b017800ddb62fe65143e0d5e1cae5.tar.xz
Border crossing back to mostly working, still seems a problem in that you need to stop walking just after you cross the border for it to work properly (else you will continue moving into a negative position in the first sim)
Diffstat (limited to 'OpenSim.RegionServer/SimClient.cs')
-rw-r--r--OpenSim.RegionServer/SimClient.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs
index daaa6dd..9ae08f4 100644
--- a/OpenSim.RegionServer/SimClient.cs
+++ b/OpenSim.RegionServer/SimClient.cs
@@ -118,7 +118,9 @@ namespace OpenSim
118 118
119 if (m_gridServer.GetName() == "Remote") 119 if (m_gridServer.GetName() == "Remote")
120 { 120 {
121 this.m_child = m_authenticateSessionsHandler.GetAgentChildStatus(initialcirpack.CircuitCode.Code);
121 this.startpos = m_authenticateSessionsHandler.GetPosition(initialcirpack.CircuitCode.Code); 122 this.startpos = m_authenticateSessionsHandler.GetPosition(initialcirpack.CircuitCode.Code);
123 //Console.WriteLine("start pos is " + this.startpos.X + " , " + this.startpos.Y + " , " + this.startpos.Z);
122 } 124 }
123 else 125 else
124 { 126 {
@@ -142,13 +144,15 @@ namespace OpenSim
142 # region Client Methods 144 # region Client Methods
143 public void UpgradeClient() 145 public void UpgradeClient()
144 { 146 {
147 Console.WriteLine("updateclient being called");
145 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "SimClient.cs:UpgradeClient() - upgrading child to full agent"); 148 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "SimClient.cs:UpgradeClient() - upgrading child to full agent");
146 this.m_child = false; 149 this.m_child = false;
147 this.m_world.RemoveViewerAgent(this); 150 this.m_world.RemoveViewerAgent(this);
148 if (!this.m_sandboxMode) 151 if (!this.m_sandboxMode)
149 { 152 {
150 this.startpos = ((RemoteGridBase)m_gridServer).agentcircuits[CircuitCode].startpos; 153 this.startpos = m_authenticateSessionsHandler.GetPosition(CircuitCode);
151 ((RemoteGridBase)m_gridServer).agentcircuits[CircuitCode].child = false; 154 m_authenticateSessionsHandler.UpdateAgentChildStatus(CircuitCode, false);
155 //Console.WriteLine("upgrade start pos is " + this.startpos.X + " , " + this.startpos.Y + " , " + this.startpos.Z);
152 } 156 }
153 this.InitNewClient(); 157 this.InitNewClient();
154 } 158 }