diff options
17 files changed, 45 insertions, 52 deletions
diff --git a/OpenSim/Framework/Monitoring/StatsManager.cs b/OpenSim/Framework/Monitoring/StatsManager.cs index 9646bd7..05fb07a 100755 --- a/OpenSim/Framework/Monitoring/StatsManager.cs +++ b/OpenSim/Framework/Monitoring/StatsManager.cs | |||
@@ -124,7 +124,7 @@ namespace OpenSim.Framework.Monitoring | |||
124 | SortedDictionary<string, SortedDictionary<string, Stat>> category; | 124 | SortedDictionary<string, SortedDictionary<string, Stat>> category; |
125 | if (!RegisteredStats.TryGetValue(categoryName, out category)) | 125 | if (!RegisteredStats.TryGetValue(categoryName, out category)) |
126 | { | 126 | { |
127 | con.Output("No such category as {0}", null, categoryName); | 127 | con.Output("No such category as {0}", categoryName); |
128 | } | 128 | } |
129 | else | 129 | else |
130 | { | 130 | { |
@@ -151,13 +151,13 @@ namespace OpenSim.Framework.Monitoring | |||
151 | else | 151 | else |
152 | { | 152 | { |
153 | con.Output( | 153 | con.Output( |
154 | "No such stat {0} in {1}.{2}", null, statName, categoryName, containerName); | 154 | "No such stat {0} in {1}.{2}", statName, categoryName, containerName); |
155 | } | 155 | } |
156 | } | 156 | } |
157 | } | 157 | } |
158 | else | 158 | else |
159 | { | 159 | { |
160 | con.Output("No such container {0} in category {1}", null, containerName, categoryName); | 160 | con.Output("No such container {0} in category {1}", containerName, categoryName); |
161 | } | 161 | } |
162 | } | 162 | } |
163 | } | 163 | } |
diff --git a/OpenSim/Framework/Servers/MainServer.cs b/OpenSim/Framework/Servers/MainServer.cs index af6a63f..a42ff83 100755 --- a/OpenSim/Framework/Servers/MainServer.cs +++ b/OpenSim/Framework/Servers/MainServer.cs | |||
@@ -198,7 +198,7 @@ namespace OpenSim.Framework.Servers | |||
198 | 198 | ||
199 | if (newDebug < 0 || newDebug > 6) | 199 | if (newDebug < 0 || newDebug > 6) |
200 | { | 200 | { |
201 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0..6", null, newDebug); | 201 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0..6", newDebug); |
202 | return; | 202 | return; |
203 | } | 203 | } |
204 | 204 | ||
diff --git a/OpenSim/Framework/Servers/ServerBase.cs b/OpenSim/Framework/Servers/ServerBase.cs index 8545012..81b112f 100755 --- a/OpenSim/Framework/Servers/ServerBase.cs +++ b/OpenSim/Framework/Servers/ServerBase.cs | |||
@@ -498,7 +498,7 @@ namespace OpenSim.Framework.Servers | |||
498 | 498 | ||
499 | if (newLevel < 0 || newLevel > Util.MAX_THREADPOOL_LEVEL) | 499 | if (newLevel < 0 || newLevel > Util.MAX_THREADPOOL_LEVEL) |
500 | { | 500 | { |
501 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0.." + Util.MAX_THREADPOOL_LEVEL, null, newLevel); | 501 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0.." + Util.MAX_THREADPOOL_LEVEL, newLevel); |
502 | return; | 502 | return; |
503 | } | 503 | } |
504 | 504 | ||
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index 03d023c..5a48134 100755 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |||
@@ -1075,14 +1075,14 @@ namespace OpenSim.Region.CoreModules.Asset | |||
1075 | { | 1075 | { |
1076 | case "status": | 1076 | case "status": |
1077 | if (m_MemoryCacheEnabled) | 1077 | if (m_MemoryCacheEnabled) |
1078 | con.Output("Memory Cache: {0} assets", null, m_MemoryCache.Count); | 1078 | con.Output("Memory Cache: {0} assets", m_MemoryCache.Count); |
1079 | else | 1079 | else |
1080 | con.Output("Memory cache disabled"); | 1080 | con.Output("Memory cache disabled"); |
1081 | 1081 | ||
1082 | if (m_FileCacheEnabled) | 1082 | if (m_FileCacheEnabled) |
1083 | { | 1083 | { |
1084 | int fileCount = GetFileCacheCount(m_CacheDirectory); | 1084 | int fileCount = GetFileCacheCount(m_CacheDirectory); |
1085 | con.Output("File Cache: {0} assets", null, fileCount); | 1085 | con.Output("File Cache: {0} assets", fileCount); |
1086 | } | 1086 | } |
1087 | else | 1087 | else |
1088 | { | 1088 | { |
@@ -1099,7 +1099,7 @@ namespace OpenSim.Region.CoreModules.Asset | |||
1099 | { | 1099 | { |
1100 | string RegionID = s.Remove(0,s.IndexOf("_")).Replace(".fac",""); | 1100 | string RegionID = s.Remove(0,s.IndexOf("_")).Replace(".fac",""); |
1101 | DateTime RegionDeepScanTMStamp = File.GetLastWriteTime(s); | 1101 | DateTime RegionDeepScanTMStamp = File.GetLastWriteTime(s); |
1102 | con.Output("Region: {0}, {1}", null, RegionID, RegionDeepScanTMStamp.ToString("MM/dd/yyyy hh:mm:ss")); | 1102 | con.Output("Region: {0}, {1}", RegionID, RegionDeepScanTMStamp.ToString("MM/dd/yyyy hh:mm:ss")); |
1103 | } | 1103 | } |
1104 | } | 1104 | } |
1105 | 1105 | ||
@@ -1192,7 +1192,7 @@ namespace OpenSim.Region.CoreModules.Asset | |||
1192 | } | 1192 | } |
1193 | m_cleanupRunning = false; | 1193 | m_cleanupRunning = false; |
1194 | } | 1194 | } |
1195 | con.Output("Completed check with {0} assets.", null, assetReferenceTotal); | 1195 | con.Output("Completed check with {0} assets.", assetReferenceTotal); |
1196 | }, null, "TouchAllSceneAssets", false); | 1196 | }, null, "TouchAllSceneAssets", false); |
1197 | 1197 | ||
1198 | break; | 1198 | break; |
@@ -1218,7 +1218,7 @@ namespace OpenSim.Region.CoreModules.Asset | |||
1218 | 1218 | ||
1219 | if (!DateTime.TryParse(s_expirationDate, out expirationDate)) | 1219 | if (!DateTime.TryParse(s_expirationDate, out expirationDate)) |
1220 | { | 1220 | { |
1221 | con.Output("{0} is not a valid date & time", null, cmd); | 1221 | con.Output("{0} is not a valid date & time", cmd); |
1222 | break; | 1222 | break; |
1223 | } | 1223 | } |
1224 | 1224 | ||
@@ -1229,7 +1229,7 @@ namespace OpenSim.Region.CoreModules.Asset | |||
1229 | 1229 | ||
1230 | break; | 1230 | break; |
1231 | default: | 1231 | default: |
1232 | con.Output("Unknown command {0}", null, cmd); | 1232 | con.Output("Unknown command {0}", cmd); |
1233 | break; | 1233 | break; |
1234 | } | 1234 | } |
1235 | } | 1235 | } |
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index a43db33..e342897 100755 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -165,14 +165,14 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
165 | { | 165 | { |
166 | DebugLevel = debugLevel; | 166 | DebugLevel = debugLevel; |
167 | MainConsole.Instance.Output( | 167 | MainConsole.Instance.Output( |
168 | "Set attachments debug level to {0} in {1}", null, DebugLevel, m_scene.Name); | 168 | "Set attachments debug level to {0} in {1}", DebugLevel, m_scene.Name); |
169 | } | 169 | } |
170 | } | 170 | } |
171 | 171 | ||
172 | private void HandleDebugAttachmentsStatus(string module, string[] args) | 172 | private void HandleDebugAttachmentsStatus(string module, string[] args) |
173 | { | 173 | { |
174 | MainConsole.Instance.Output("Settings for {0}", null, m_scene.Name); | 174 | MainConsole.Instance.Output("Settings for {0}", m_scene.Name); |
175 | MainConsole.Instance.Output("Debug logging level: {0}", null, DebugLevel); | 175 | MainConsole.Instance.Output("Debug logging level: {0}", DebugLevel); |
176 | } | 176 | } |
177 | 177 | ||
178 | protected void HandleShowAttachmentsCommand(string module, string[] cmd) | 178 | protected void HandleShowAttachmentsCommand(string module, string[] cmd) |
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 92616be..b985630 100755 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -295,7 +295,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
295 | { | 295 | { |
296 | Primitive.TextureEntryFace bakedTextureFace = bakedTextures[bakeType]; | 296 | Primitive.TextureEntryFace bakedTextureFace = bakedTextures[bakeType]; |
297 | 297 | ||
298 | if (bakedTextureFace == null) | 298 | if (bakedTextureFace == null || bakedTextureFace.TextureID == AppearanceManager.DEFAULT_AVATAR_TEXTURE) |
299 | continue; | 299 | continue; |
300 | 300 | ||
301 | AssetBase asset; | 301 | AssetBase asset; |
diff --git a/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs b/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs index d98f11a..c98e891 100755 --- a/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs | |||
@@ -147,7 +147,7 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands | |||
147 | 147 | ||
148 | if (user == null) | 148 | if (user == null) |
149 | { | 149 | { |
150 | MainConsole.Instance.Output("No user found with name {0} {1}", null, firstName, lastName); | 150 | MainConsole.Instance.Output("No user found with name {0} {1}", firstName, lastName); |
151 | return; | 151 | return; |
152 | } | 152 | } |
153 | 153 | ||
@@ -161,7 +161,7 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands | |||
161 | 161 | ||
162 | if (!m.Success) | 162 | if (!m.Success) |
163 | { | 163 | { |
164 | MainConsole.Instance.Output("Invalid destination {0}", null, rawDestination); | 164 | MainConsole.Instance.Output("Invalid destination {0}", rawDestination); |
165 | return; | 165 | return; |
166 | } | 166 | } |
167 | } | 167 | } |
@@ -171,7 +171,6 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands | |||
171 | 171 | ||
172 | MainConsole.Instance.Output( | 172 | MainConsole.Instance.Output( |
173 | "Teleporting {0} to {1},{2},{3} in {4}", | 173 | "Teleporting {0} to {1},{2},{3} in {4}", |
174 | null, | ||
175 | user.Name, | 174 | user.Name, |
176 | m.Groups["x"], m.Groups["y"], m.Groups["z"], | 175 | m.Groups["x"], m.Groups["y"], m.Groups["z"], |
177 | regionName); | 176 | regionName); |
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs index da103b5..72d267d 100755 --- a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | |||
@@ -318,7 +318,6 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
318 | { | 318 | { |
319 | MainConsole.Instance.Output( | 319 | MainConsole.Instance.Output( |
320 | "[MONITOR MODULE]: {0} reports {1} = {2}", | 320 | "[MONITOR MODULE]: {0} reports {1} = {2}", |
321 | null, | ||
322 | m_scene.RegionInfo.RegionName, monitor.GetFriendlyName(), monitor.GetFriendlyValue()); | 321 | m_scene.RegionInfo.RegionName, monitor.GetFriendlyName(), monitor.GetFriendlyValue()); |
323 | } | 322 | } |
324 | 323 | ||
@@ -326,7 +325,6 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
326 | { | 325 | { |
327 | MainConsole.Instance.Output( | 326 | MainConsole.Instance.Output( |
328 | "[MONITOR MODULE]: {0} reports {1} = {2}", | 327 | "[MONITOR MODULE]: {0} reports {1} = {2}", |
329 | null, | ||
330 | m_scene.RegionInfo.RegionName, tuple.Key, tuple.Value); | 328 | m_scene.RegionInfo.RegionName, tuple.Key, tuple.Value); |
331 | } | 329 | } |
332 | } | 330 | } |
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs index cc2e611..c8ea271 100755 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs | |||
@@ -1040,7 +1040,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement | |||
1040 | 1040 | ||
1041 | if(!GetUser(userId, out ud)) | 1041 | if(!GetUser(userId, out ud)) |
1042 | { | 1042 | { |
1043 | MainConsole.Instance.Output("No name known for user with id {0}", null, userId); | 1043 | MainConsole.Instance.Output("No name known for user with id {0}", userId); |
1044 | return; | 1044 | return; |
1045 | } | 1045 | } |
1046 | 1046 | ||
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 6985549..c1056d5 100755 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -2536,11 +2536,11 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
2536 | if (response.ToLower() == "y") | 2536 | if (response.ToLower() == "y") |
2537 | { | 2537 | { |
2538 | Clear(true); | 2538 | Clear(true); |
2539 | MainConsole.Instance.Output("Cleared all parcels from {0}", null, m_scene.Name); | 2539 | MainConsole.Instance.Output("Cleared all parcels from {0}", m_scene.Name); |
2540 | } | 2540 | } |
2541 | else | 2541 | else |
2542 | { | 2542 | { |
2543 | MainConsole.Instance.Output("Aborting clear of all parcels from {0}", null, m_scene.Name); | 2543 | MainConsole.Instance.Output("Aborting clear of all parcels from {0}", m_scene.Name); |
2544 | } | 2544 | } |
2545 | } | 2545 | } |
2546 | 2546 | ||
@@ -2568,7 +2568,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
2568 | { | 2568 | { |
2569 | if (!m_landList.TryGetValue(landLocalId, out lo)) | 2569 | if (!m_landList.TryGetValue(landLocalId, out lo)) |
2570 | { | 2570 | { |
2571 | MainConsole.Instance.Output("No parcel found with local ID {0}", null, landLocalId); | 2571 | MainConsole.Instance.Output("No parcel found with local ID {0}", landLocalId); |
2572 | return; | 2572 | return; |
2573 | } | 2573 | } |
2574 | } | 2574 | } |
diff --git a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs index 66a7df1..ccf45c1 100644 --- a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs +++ b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs | |||
@@ -287,7 +287,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap | |||
287 | protected void SetPartMediaFlags(SceneObjectPart part, int face, bool flag) | 287 | protected void SetPartMediaFlags(SceneObjectPart part, int face, bool flag) |
288 | { | 288 | { |
289 | Primitive.TextureEntry te = part.Shape.Textures; | 289 | Primitive.TextureEntry te = part.Shape.Textures; |
290 | Primitive.TextureEntryFace teFace = te.CreateFace((uint)face); | 290 | Primitive.TextureEntryFace teFace = te.GetFace((uint)face); |
291 | teFace.MediaFlags = flag; | 291 | teFace.MediaFlags = flag; |
292 | part.Shape.Textures = te; | 292 | part.Shape.Textures = te; |
293 | } | 293 | } |
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs index e118b66..18a16c2 100755 --- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | |||
@@ -451,7 +451,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
451 | 451 | ||
452 | if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector)) | 452 | if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector)) |
453 | { | 453 | { |
454 | m_console.Output("Error: Start vector '{0}' does not have a valid format", null, rawConsoleStartVector); | 454 | m_console.Output("Error: Start vector '{0}' does not have a valid format", rawConsoleStartVector); |
455 | return; | 455 | return; |
456 | } | 456 | } |
457 | 457 | ||
@@ -460,7 +460,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
460 | 460 | ||
461 | if (!ConsoleUtil.TryParseConsoleMaxVector(rawConsoleEndVector, out endVector)) | 461 | if (!ConsoleUtil.TryParseConsoleMaxVector(rawConsoleEndVector, out endVector)) |
462 | { | 462 | { |
463 | m_console.Output("Error: End vector '{0}' does not have a valid format", null, rawConsoleEndVector); | 463 | m_console.Output("Error: End vector '{0}' does not have a valid format", rawConsoleEndVector); |
464 | return; | 464 | return; |
465 | } | 465 | } |
466 | 466 | ||
@@ -809,7 +809,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
809 | if(so.IsAttachment) | 809 | if(so.IsAttachment) |
810 | { | 810 | { |
811 | requireConfirmation = true; | 811 | requireConfirmation = true; |
812 | m_console.Output("Warning: object with uuid {0} is a attachment", null, uuid); | 812 | m_console.Output("Warning: object with uuid {0} is a attachment", uuid); |
813 | } | 813 | } |
814 | } | 814 | } |
815 | break; | 815 | break; |
@@ -853,7 +853,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
853 | break; | 853 | break; |
854 | 854 | ||
855 | default: | 855 | default: |
856 | m_console.Output("Unrecognized mode {0}", null, mode); | 856 | m_console.Output("Unrecognized mode {0}", mode); |
857 | return; | 857 | return; |
858 | } | 858 | } |
859 | 859 | ||
@@ -871,17 +871,17 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
871 | if (response.ToLower() != "y") | 871 | if (response.ToLower() != "y") |
872 | { | 872 | { |
873 | MainConsole.Instance.Output( | 873 | MainConsole.Instance.Output( |
874 | "Aborting delete of {0} objects from {1}", null, deletes.Count, m_scene.RegionInfo.RegionName); | 874 | "Aborting delete of {0} objects from {1}", deletes.Count, m_scene.RegionInfo.RegionName); |
875 | 875 | ||
876 | return; | 876 | return; |
877 | } | 877 | } |
878 | } | 878 | } |
879 | 879 | ||
880 | m_console.Output("Deleting {0} objects in {1}", null, deletes.Count, m_scene.RegionInfo.RegionName); | 880 | m_console.Output("Deleting {0} objects in {1}", deletes.Count, m_scene.RegionInfo.RegionName); |
881 | 881 | ||
882 | foreach (SceneObjectGroup g in deletes) | 882 | foreach (SceneObjectGroup g in deletes) |
883 | { | 883 | { |
884 | m_console.Output("Deleting object {0} {1}", null, g.UUID, g.Name); | 884 | m_console.Output("Deleting object {0} {1}", g.UUID, g.Name); |
885 | m_scene.DeleteSceneObject(g, false); | 885 | m_scene.DeleteSceneObject(g, false); |
886 | } | 886 | } |
887 | } | 887 | } |
diff --git a/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs b/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs index 2a661a6..8d92cc8 100755 --- a/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs +++ b/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs | |||
@@ -226,7 +226,6 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
226 | { | 226 | { |
227 | MainConsole.Instance.Output( | 227 | MainConsole.Instance.Output( |
228 | "Cannot set {0} to {1} in {2} as max-agent-limit is {3}", "agent-limit", | 228 | "Cannot set {0} to {1} in {2} as max-agent-limit is {3}", "agent-limit", |
229 | null, | ||
230 | newValue, m_scene.Name, ri.AgentCapacity); | 229 | newValue, m_scene.Name, ri.AgentCapacity); |
231 | } | 230 | } |
232 | else | 231 | else |
@@ -234,7 +233,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
234 | rs.AgentLimit = newValue; | 233 | rs.AgentLimit = newValue; |
235 | 234 | ||
236 | MainConsole.Instance.Output( | 235 | MainConsole.Instance.Output( |
237 | "{0} set to {1} in {2}", "agent-limit", null, newValue, m_scene.Name); | 236 | "{0} set to {1} in {2}", "agent-limit", newValue, m_scene.Name); |
238 | } | 237 | } |
239 | 238 | ||
240 | rs.Save(); | 239 | rs.Save(); |
@@ -249,14 +248,14 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
249 | ri.AgentCapacity = newValue; | 248 | ri.AgentCapacity = newValue; |
250 | 249 | ||
251 | MainConsole.Instance.Output( | 250 | MainConsole.Instance.Output( |
252 | "{0} set to {1} in {2}", "max-agent-limit", null, newValue, m_scene.Name); | 251 | "max-agent-limit set to {0} in {1}", newValue, m_scene.Name); |
253 | 252 | ||
254 | if (ri.AgentCapacity < rs.AgentLimit) | 253 | if (ri.AgentCapacity < rs.AgentLimit) |
255 | { | 254 | { |
256 | rs.AgentLimit = ri.AgentCapacity; | 255 | rs.AgentLimit = ri.AgentCapacity; |
257 | 256 | ||
258 | MainConsole.Instance.Output( | 257 | MainConsole.Instance.Output( |
259 | "Reducing {0} to {1} in {2}", null, "agent-limit", rs.AgentLimit, m_scene.Name); | 258 | "agent-limit set to {0} in {1}", rs.AgentLimit, m_scene.Name); |
260 | } | 259 | } |
261 | 260 | ||
262 | rs.Save(); | 261 | rs.Save(); |
diff --git a/OpenSim/Region/CoreModules/World/Region/RestartModule.cs b/OpenSim/Region/CoreModules/World/Region/RestartModule.cs index 6d3daf2..d0fae25 100755 --- a/OpenSim/Region/CoreModules/World/Region/RestartModule.cs +++ b/OpenSim/Region/CoreModules/World/Region/RestartModule.cs | |||
@@ -338,7 +338,7 @@ namespace OpenSim.Region.CoreModules.World.Region | |||
338 | times.Add(Convert.ToInt32(args[i])); | 338 | times.Add(Convert.ToInt32(args[i])); |
339 | 339 | ||
340 | MainConsole.Instance.Output( | 340 | MainConsole.Instance.Output( |
341 | "Region {0} scheduled for restart in {1} seconds", null, m_Scene.Name, times.Sum()); | 341 | "Region {0} scheduled for restart in {1} seconds", m_Scene.Name, times.Sum()); |
342 | 342 | ||
343 | ScheduleRestart(UUID.Zero, args[3], times.ToArray(), notice); | 343 | ScheduleRestart(UUID.Zero, args[3], times.ToArray(), notice); |
344 | } | 344 | } |
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index d8c118f..02f0d3d 100755 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | |||
@@ -793,7 +793,6 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
793 | { | 793 | { |
794 | MainConsole.Instance.Output( | 794 | MainConsole.Instance.Output( |
795 | "ERROR: file width + minimum X tile and file height + minimum Y tile must incorporate the current region at ({0},{1}). File width {2} from {3} and file height {4} from {5} does not.", | 795 | "ERROR: file width + minimum X tile and file height + minimum Y tile must incorporate the current region at ({0},{1}). File width {2} from {3} and file height {4} from {5} does not.", |
796 | null, | ||
797 | m_scene.RegionInfo.RegionLocX, m_scene.RegionInfo.RegionLocY, fileWidth, fileStartX, fileHeight, fileStartY); | 796 | m_scene.RegionInfo.RegionLocX, m_scene.RegionInfo.RegionLocY, fileWidth, fileStartX, fileHeight, fileStartY); |
798 | 797 | ||
799 | return; | 798 | return; |
@@ -813,7 +812,6 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
813 | 812 | ||
814 | MainConsole.Instance.Output( | 813 | MainConsole.Instance.Output( |
815 | "Saved terrain from ({0},{1}) to ({2},{3}) from {4} to {5}", | 814 | "Saved terrain from ({0},{1}) to ({2},{3}) from {4} to {5}", |
816 | null, | ||
817 | fileStartX, fileStartY, fileStartX + fileWidth - 1, fileStartY + fileHeight - 1, | 815 | fileStartX, fileStartY, fileStartX + fileWidth - 1, fileStartY + fileHeight - 1, |
818 | m_scene.RegionInfo.RegionName, filename); | 816 | m_scene.RegionInfo.RegionName, filename); |
819 | } | 817 | } |
@@ -824,7 +822,6 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
824 | 822 | ||
825 | MainConsole.Instance.Output( | 823 | MainConsole.Instance.Output( |
826 | "ERROR: Could not save terrain from {0} to {1}. Valid file extensions are {2}", | 824 | "ERROR: Could not save terrain from {0} to {1}. Valid file extensions are {2}", |
827 | null, | ||
828 | m_scene.RegionInfo.RegionName, filename, m_supportFileExtensionsForTileSave); | 825 | m_scene.RegionInfo.RegionName, filename, m_supportFileExtensionsForTileSave); |
829 | } | 826 | } |
830 | 827 | ||
@@ -1706,8 +1703,8 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
1706 | 1703 | ||
1707 | double avg = sum / (m_channel.Height * m_channel.Width); | 1704 | double avg = sum / (m_channel.Height * m_channel.Width); |
1708 | 1705 | ||
1709 | MainConsole.Instance.Output("Channel {0}x{1}", null, m_channel.Width, m_channel.Height); | 1706 | MainConsole.Instance.Output("Channel {0}x{1}", m_channel.Width, m_channel.Height); |
1710 | MainConsole.Instance.Output("max/min/avg/sum: {0}/{1}/{2}/{3}", null, max, min, avg, sum); | 1707 | MainConsole.Instance.Output("max/min/avg/sum: {0}/{1}/{2}/{3}", max, min, avg, sum); |
1711 | } | 1708 | } |
1712 | 1709 | ||
1713 | private void InterfaceEnableExperimentalBrushes(Object[] args) | 1710 | private void InterfaceEnableExperimentalBrushes(Object[] args) |
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs index 131137e..4c922ba 100644 --- a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs +++ b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs | |||
@@ -799,7 +799,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap | |||
799 | } | 799 | } |
800 | catch (Exception e) | 800 | catch (Exception e) |
801 | { | 801 | { |
802 | m_log.WarnFormat("[Warp3D]: Failed to decode texture {0} for prim {1} at {2}, exception {3} ", id.ToString(), sop.Name, sop.GetWorldPosition().ToString(), e.Message); | 802 | m_log.WarnFormat("[Warp3D]: Failed to decode texture {0} for prim {1} at {2}, exception {3}", id.ToString(), sop.Name, sop.GetWorldPosition().ToString(), e.Message); |
803 | } | 803 | } |
804 | } | 804 | } |
805 | else | 805 | else |
diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs index c9580d2..51faa0e 100755 --- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs +++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs | |||
@@ -265,7 +265,7 @@ namespace OpenSim.Region.CoreModules | |||
265 | else | 265 | else |
266 | { | 266 | { |
267 | MainConsole.Instance.Output( | 267 | MainConsole.Instance.Output( |
268 | "Invalid value {0} specified for {1}", null, cmdparams[3], cmdparams[2]); | 268 | "Invalid value {0} specified for {1}", cmdparams[3], cmdparams[2]); |
269 | 269 | ||
270 | return; | 270 | return; |
271 | } | 271 | } |
@@ -276,7 +276,7 @@ namespace OpenSim.Region.CoreModules | |||
276 | 276 | ||
277 | if (desiredPlugin.Equals(m_activeWindPlugin.Name)) | 277 | if (desiredPlugin.Equals(m_activeWindPlugin.Name)) |
278 | { | 278 | { |
279 | MainConsole.Instance.Output("Wind model plugin {0} is already active", null, cmdparams[3]); | 279 | MainConsole.Instance.Output("Wind model plugin {0} is already active", cmdparams[3]); |
280 | 280 | ||
281 | return; | 281 | return; |
282 | } | 282 | } |
@@ -285,11 +285,11 @@ namespace OpenSim.Region.CoreModules | |||
285 | { | 285 | { |
286 | m_activeWindPlugin = m_availableWindPlugins[cmdparams[3]]; | 286 | m_activeWindPlugin = m_availableWindPlugins[cmdparams[3]]; |
287 | 287 | ||
288 | MainConsole.Instance.Output("{0} wind model plugin now active", null, m_activeWindPlugin.Name); | 288 | MainConsole.Instance.Output("{0} wind model plugin now active", m_activeWindPlugin.Name); |
289 | } | 289 | } |
290 | else | 290 | else |
291 | { | 291 | { |
292 | MainConsole.Instance.Output("Could not find wind model plugin {0}", null, desiredPlugin); | 292 | MainConsole.Instance.Output("Could not find wind model plugin {0}", desiredPlugin); |
293 | } | 293 | } |
294 | break; | 294 | break; |
295 | } | 295 | } |
@@ -317,17 +317,17 @@ namespace OpenSim.Region.CoreModules | |||
317 | { | 317 | { |
318 | if (!float.TryParse(cmdparams[3], out value)) | 318 | if (!float.TryParse(cmdparams[3], out value)) |
319 | { | 319 | { |
320 | MainConsole.Instance.Output("Invalid value {0}", null, cmdparams[3]); | 320 | MainConsole.Instance.Output("Invalid value {0}", cmdparams[3]); |
321 | } | 321 | } |
322 | 322 | ||
323 | try | 323 | try |
324 | { | 324 | { |
325 | WindParamSet(plugin, param, value); | 325 | WindParamSet(plugin, param, value); |
326 | MainConsole.Instance.Output("{0} set to {1}", null, param, value); | 326 | MainConsole.Instance.Output("{0} set to {1}", param, value); |
327 | } | 327 | } |
328 | catch (Exception e) | 328 | catch (Exception e) |
329 | { | 329 | { |
330 | MainConsole.Instance.Output("{0}", null, e.Message); | 330 | MainConsole.Instance.Output("{0}", e.Message); |
331 | } | 331 | } |
332 | } | 332 | } |
333 | else | 333 | else |
@@ -335,11 +335,11 @@ namespace OpenSim.Region.CoreModules | |||
335 | try | 335 | try |
336 | { | 336 | { |
337 | value = WindParamGet(plugin, param); | 337 | value = WindParamGet(plugin, param); |
338 | MainConsole.Instance.Output("{0} : {1}", null, param, value); | 338 | MainConsole.Instance.Output("{0} : {1}", param, value); |
339 | } | 339 | } |
340 | catch (Exception e) | 340 | catch (Exception e) |
341 | { | 341 | { |
342 | MainConsole.Instance.Output("{0}", null, e.Message); | 342 | MainConsole.Instance.Output("{0}", e.Message); |
343 | } | 343 | } |
344 | } | 344 | } |
345 | 345 | ||