diff options
author | Melanie | 2010-11-02 22:58:33 +0000 |
---|---|---|
committer | Melanie | 2010-11-02 22:58:33 +0000 |
commit | 26f12f479f17aef37451fb30f9b1de376c8676ac (patch) | |
tree | ecaf084da6ca491301450c0f8a8460a8b1dc981a /OpenSim/Region/CoreModules/Framework/EntityTransfer | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Fix default club feet (diff) | |
download | opensim-SC-26f12f479f17aef37451fb30f9b1de376c8676ac.zip opensim-SC-26f12f479f17aef37451fb30f9b1de376c8676ac.tar.gz opensim-SC-26f12f479f17aef37451fb30f9b1de376c8676ac.tar.bz2 opensim-SC-26f12f479f17aef37451fb30f9b1de376c8676ac.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 2921b0d..3c7638d 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -193,10 +193,11 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
193 | GridRegion finalDestination = GetFinalDestination(reg); | 193 | GridRegion finalDestination = GetFinalDestination(reg); |
194 | if (finalDestination == null) | 194 | if (finalDestination == null) |
195 | { | 195 | { |
196 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Final destination is having problems. Unable to teleport agent."); | 196 | m_log.WarnFormat("[ENTITY TRANSFER MODULE]: Final destination is having problems. Unable to teleport agent."); |
197 | sp.ControllingClient.SendTeleportFailed("Problem at destination"); | 197 | sp.ControllingClient.SendTeleportFailed("Problem at destination"); |
198 | return; | 198 | return; |
199 | } | 199 | } |
200 | |||
200 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Final destination is x={0} y={1} uuid={2}", | 201 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Final destination is x={0} y={1} uuid={2}", |
201 | finalDestination.RegionLocX / Constants.RegionSize, finalDestination.RegionLocY / Constants.RegionSize, finalDestination.RegionID); | 202 | finalDestination.RegionLocX / Constants.RegionSize, finalDestination.RegionLocY / Constants.RegionSize, finalDestination.RegionID); |
202 | 203 | ||
@@ -240,7 +241,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
240 | } | 241 | } |
241 | catch (Exception e) | 242 | catch (Exception e) |
242 | { | 243 | { |
243 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Exception on teleport: {0}\n{1}", e.Message, e.StackTrace); | 244 | m_log.WarnFormat("[ENTITY TRANSFER MODULE]: Exception on teleport: {0}\n{1}", e.Message, e.StackTrace); |
244 | sp.ControllingClient.SendTeleportFailed("Internal error"); | 245 | sp.ControllingClient.SendTeleportFailed("Internal error"); |
245 | } | 246 | } |
246 | } | 247 | } |
@@ -421,7 +422,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
421 | m_log.DebugFormat( | 422 | m_log.DebugFormat( |
422 | "[ENTITY TRANSFER MODULE]: Sending new CAPS seed url {0} to client {1}", capsPath, sp.UUID); | 423 | "[ENTITY TRANSFER MODULE]: Sending new CAPS seed url {0} to client {1}", capsPath, sp.UUID); |
423 | 424 | ||
424 | |||
425 | if (eq != null) | 425 | if (eq != null) |
426 | { | 426 | { |
427 | eq.TeleportFinishEvent(destinationHandle, 13, endPoint, | 427 | eq.TeleportFinishEvent(destinationHandle, 13, endPoint, |
@@ -594,7 +594,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
594 | client.SendTeleportFailed("Your home region could not be found."); | 594 | client.SendTeleportFailed("Your home region could not be found."); |
595 | return false; | 595 | return false; |
596 | } | 596 | } |
597 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: User's home region is {0} {1} ({2}-{3})", | 597 | |
598 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: User's home region is {0} {1} ({2}-{3})", | ||
598 | regionInfo.RegionName, regionInfo.RegionID, regionInfo.RegionLocX / Constants.RegionSize, regionInfo.RegionLocY / Constants.RegionSize); | 599 | regionInfo.RegionName, regionInfo.RegionID, regionInfo.RegionLocX / Constants.RegionSize, regionInfo.RegionLocY / Constants.RegionSize); |
599 | 600 | ||
600 | // a little eekie that this goes back to Scene and with a forced cast, will fix that at some point... | 601 | // a little eekie that this goes back to Scene and with a forced cast, will fix that at some point... |
@@ -1217,7 +1218,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1217 | Utils.LongToUInts(reg.RegionHandle, out x, out y); | 1218 | Utils.LongToUInts(reg.RegionHandle, out x, out y); |
1218 | x = x / Constants.RegionSize; | 1219 | x = x / Constants.RegionSize; |
1219 | y = y / Constants.RegionSize; | 1220 | y = y / Constants.RegionSize; |
1220 | m_log.Info("[ENTITY TRANSFER MODULE]: Starting to inform client about neighbour " + x + ", " + y + "(" + endPoint.ToString() + ")"); | 1221 | m_log.Debug("[ENTITY TRANSFER MODULE]: Starting to inform client about neighbour " + x + ", " + y + "(" + endPoint.ToString() + ")"); |
1221 | 1222 | ||
1222 | string capsPath = "http://" + reg.ExternalHostName + ":" + reg.HttpPort | 1223 | string capsPath = "http://" + reg.ExternalHostName + ":" + reg.HttpPort |
1223 | + "/CAPS/" + a.CapsPath + "0000/"; | 1224 | + "/CAPS/" + a.CapsPath + "0000/"; |
@@ -1253,7 +1254,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1253 | // TODO: make Event Queue disablable! | 1254 | // TODO: make Event Queue disablable! |
1254 | } | 1255 | } |
1255 | 1256 | ||
1256 | m_log.Info("[ENTITY TRANSFER MODULE]: Completed inform client about neighbour " + endPoint.ToString()); | 1257 | m_log.Debug("[ENTITY TRANSFER MODULE]: Completed inform client about neighbour " + endPoint.ToString()); |
1257 | 1258 | ||
1258 | } | 1259 | } |
1259 | 1260 | ||