From 75df0c9000b6001209765e8a75935e22ee9b7d4a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 17 Apr 2008 05:23:43 +0000 Subject: * Patch from ChrisDown to fix odd results when using landmarks. Thanks Chris! (Tweaked slightly so avatar don't end up underground). * Removed some testing notices I had in there that were obnoxious. --- OpenSim/Framework/AssetLandmark.cs | 2 +- OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/AssetLandmark.cs b/OpenSim/Framework/AssetLandmark.cs index e0f5415..974a632 100644 --- a/OpenSim/Framework/AssetLandmark.cs +++ b/OpenSim/Framework/AssetLandmark.cs @@ -54,7 +54,7 @@ namespace OpenSim.Framework string[] parts = temp.Split('\n'); int.TryParse(parts[0].Substring(17, 1), out Version); LLUUID.TryParse(parts[1].Substring(10, 36), out RegionID); - LLVector3.TryParse(parts[2].Substring(11, parts[2].Length - 11), out Position); + LLVector3.TryParse(parts[2].Substring(10, parts[2].Length - 10), out Position); ulong.TryParse(parts[3].Substring(14, parts[3].Length - 14), out RegionHandle); } } diff --git a/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs b/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs index 9727a8b..5c1c938 100644 --- a/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs +++ b/OpenSim/Region/Environment/Modules/BetaGridLikeMoneyModule.cs @@ -446,7 +446,7 @@ namespace OpenSim.Region.Environment.Modules IClientAPI sender = null; IClientAPI receiver = null; - m_log.WarnFormat("[MONEY] Explicit transfer of {0} from {1} to {2}", e.amount, e.sender.ToString(), e.receiver.ToString()); + //m_log.WarnFormat("[MONEY] Explicit transfer of {0} from {1} to {2}", e.amount, e.sender.ToString(), e.receiver.ToString()); sender = LocateClientObject(e.sender); if (sender != null) @@ -638,7 +638,7 @@ namespace OpenSim.Region.Environment.Modules /// private bool doMoneyTransfer(LLUUID Sender, LLUUID Receiver, int amount) { - m_log.WarnFormat("[MONEY] Transfer {0} from {1} to {2}", amount, Sender.ToString(), Receiver.ToString()); + //m_log.WarnFormat("[MONEY] Transfer {0} from {1} to {2}", amount, Sender.ToString(), Receiver.ToString()); bool result = false; if (amount >= 0) -- cgit v1.1