diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Application/OpenSim.cs | 8 | ||||
-rwxr-xr-x | OpenSim/Region/Application/OpenSimBase.cs | 4 | ||||
-rwxr-xr-x | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs | 36 |
3 files changed, 18 insertions, 30 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 50bad61..786a41c 100755 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -783,7 +783,7 @@ namespace OpenSim | |||
783 | if (SceneManager.TryGetScene(regInfo.RegionID, out existingScene)) | 783 | if (SceneManager.TryGetScene(regInfo.RegionID, out existingScene)) |
784 | { | 784 | { |
785 | MainConsole.Instance.Output( | 785 | MainConsole.Instance.Output( |
786 | "ERROR: Cannot create region {0} with ID {1}, this ID is already assigned to region {2}", null, | 786 | "ERROR: Cannot create region {0} with ID {1}, this ID is already assigned to region {2}", |
787 | regInfo.RegionName, regInfo.RegionID, existingScene.RegionInfo.RegionName); | 787 | regInfo.RegionName, regInfo.RegionID, existingScene.RegionInfo.RegionName); |
788 | 788 | ||
789 | return; | 789 | return; |
@@ -980,7 +980,7 @@ namespace OpenSim | |||
980 | SceneManager.ForEachSelectedScene( | 980 | SceneManager.ForEachSelectedScene( |
981 | scene => | 981 | scene => |
982 | { | 982 | { |
983 | MainConsole.Instance.Output("Loaded region modules in {0} are:", null, scene.Name); | 983 | MainConsole.Instance.Output("Loaded region modules in {0} are:", scene.Name); |
984 | 984 | ||
985 | List<IRegionModuleBase> sharedModules = new List<IRegionModuleBase>(); | 985 | List<IRegionModuleBase> sharedModules = new List<IRegionModuleBase>(); |
986 | List<IRegionModuleBase> nonSharedModules = new List<IRegionModuleBase>(); | 986 | List<IRegionModuleBase> nonSharedModules = new List<IRegionModuleBase>(); |
@@ -994,10 +994,10 @@ namespace OpenSim | |||
994 | } | 994 | } |
995 | 995 | ||
996 | foreach (IRegionModuleBase module in sharedModules.OrderBy(m => m.Name)) | 996 | foreach (IRegionModuleBase module in sharedModules.OrderBy(m => m.Name)) |
997 | MainConsole.Instance.Output("New Region Module (Shared): {0}", null, module.Name); | 997 | MainConsole.Instance.Output("New Region Module (Shared): {0}", module.Name); |
998 | 998 | ||
999 | foreach (IRegionModuleBase module in nonSharedModules.OrderBy(m => m.Name)) | 999 | foreach (IRegionModuleBase module in nonSharedModules.OrderBy(m => m.Name)) |
1000 | MainConsole.Instance.Output("New Region Module (Non-Shared): {0}", null, module.Name); | 1000 | MainConsole.Instance.Output("New Region Module (Non-Shared): {0}", module.Name); |
1001 | } | 1001 | } |
1002 | ); | 1002 | ); |
1003 | 1003 | ||
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index ed0f496..4f82a3b 100755 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -593,7 +593,7 @@ namespace OpenSim | |||
593 | estateOwnerPassword = Config.Configs[ESTATE_SECTION_NAME].GetString("DefaultEstateOwnerPassword", null); | 593 | estateOwnerPassword = Config.Configs[ESTATE_SECTION_NAME].GetString("DefaultEstateOwnerPassword", null); |
594 | } | 594 | } |
595 | 595 | ||
596 | MainConsole.Instance.Output("Estate {0} has no owner set.", null, regionInfo.EstateSettings.EstateName); | 596 | MainConsole.Instance.Output("Estate {0} has no owner set.", regionInfo.EstateSettings.EstateName); |
597 | List<char> excluded = new List<char>(new char[1]{' '}); | 597 | List<char> excluded = new List<char>(new char[1]{' '}); |
598 | 598 | ||
599 | 599 | ||
@@ -1003,7 +1003,7 @@ namespace OpenSim | |||
1003 | 1003 | ||
1004 | if (estatesByName.ContainsKey(newName)) | 1004 | if (estatesByName.ContainsKey(newName)) |
1005 | { | 1005 | { |
1006 | MainConsole.Instance.Output("An estate named {0} already exists. Please try again.", null, newName); | 1006 | MainConsole.Instance.Output("An estate named {0} already exists. Please try again.", newName); |
1007 | return false; | 1007 | return false; |
1008 | } | 1008 | } |
1009 | 1009 | ||
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs index be3c4b7..a297f54 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs | |||
@@ -222,7 +222,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
222 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) | 222 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) |
223 | return; | 223 | return; |
224 | 224 | ||
225 | m_console.Output("Throttles for {0}", null, m_udpServer.Scene.Name); | 225 | m_console.Output("Throttles for {0}", m_udpServer.Scene.Name); |
226 | ConsoleDisplayList cdl = new ConsoleDisplayList(); | 226 | ConsoleDisplayList cdl = new ConsoleDisplayList(); |
227 | cdl.AddRow("Adaptive throttles", m_udpServer.ThrottleRates.AdaptiveThrottlesEnabled); | 227 | cdl.AddRow("Adaptive throttles", m_udpServer.ThrottleRates.AdaptiveThrottlesEnabled); |
228 | 228 | ||
@@ -238,7 +238,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
238 | 238 | ||
239 | m_console.Output(cdl.ToString()); | 239 | m_console.Output(cdl.ToString()); |
240 | 240 | ||
241 | m_console.Output("{0}\n", null, GetServerThrottlesReport(m_udpServer)); | 241 | m_console.Output("{0}\n", GetServerThrottlesReport(m_udpServer)); |
242 | } | 242 | } |
243 | 243 | ||
244 | private string GetServerThrottlesReport(LLUDPServer udpServer) | 244 | private string GetServerThrottlesReport(LLUDPServer udpServer) |
@@ -314,7 +314,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
314 | { | 314 | { |
315 | MainConsole.Instance.Output( | 315 | MainConsole.Instance.Output( |
316 | "Data debug for {0} ({1}) set to {2} in {3}", | 316 | "Data debug for {0} ({1}) set to {2} in {3}", |
317 | null, | ||
318 | sp.Name, sp.IsChildAgent ? "child" : "root", level, m_udpServer.Scene.Name); | 317 | sp.Name, sp.IsChildAgent ? "child" : "root", level, m_udpServer.Scene.Name); |
319 | 318 | ||
320 | ((LLClientView)sp.ControllingClient).UDPClient.DebugDataOutLevel = level; | 319 | ((LLClientView)sp.ControllingClient).UDPClient.DebugDataOutLevel = level; |
@@ -356,7 +355,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
356 | { | 355 | { |
357 | MainConsole.Instance.Output( | 356 | MainConsole.Instance.Output( |
358 | "Throttle log level for {0} ({1}) set to {2} in {3}", | 357 | "Throttle log level for {0} ({1}) set to {2} in {3}", |
359 | null, | ||
360 | sp.Name, sp.IsChildAgent ? "child" : "root", level, m_udpServer.Scene.Name); | 358 | sp.Name, sp.IsChildAgent ? "child" : "root", level, m_udpServer.Scene.Name); |
361 | 359 | ||
362 | ((LLClientView)sp.ControllingClient).UDPClient.ThrottleDebugLevel = level; | 360 | ((LLClientView)sp.ControllingClient).UDPClient.ThrottleDebugLevel = level; |
@@ -403,7 +401,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
403 | { | 401 | { |
404 | MainConsole.Instance.Output( | 402 | MainConsole.Instance.Output( |
405 | "Setting param {0} to {1} for {2} ({3}) in {4}", | 403 | "Setting param {0} to {1} for {2} ({3}) in {4}", |
406 | null, | ||
407 | param, newValue, sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); | 404 | param, newValue, sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); |
408 | 405 | ||
409 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; | 406 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; |
@@ -427,7 +424,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
427 | { | 424 | { |
428 | MainConsole.Instance.Output( | 425 | MainConsole.Instance.Output( |
429 | "Setting param {0} to {1} for {2} ({3}) in {4}", | 426 | "Setting param {0} to {1} for {2} ({3}) in {4}", |
430 | null, | ||
431 | param, newValue, sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); | 427 | param, newValue, sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); |
432 | 428 | ||
433 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; | 429 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; |
@@ -449,7 +445,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
449 | { | 445 | { |
450 | MainConsole.Instance.Output( | 446 | MainConsole.Instance.Output( |
451 | "Setting param {0} to {1} for {2} ({3}) in {4}", | 447 | "Setting param {0} to {1} for {2} ({3}) in {4}", |
452 | null, | ||
453 | param, newValue, sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); | 448 | param, newValue, sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); |
454 | 449 | ||
455 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; | 450 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; |
@@ -489,7 +484,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
489 | { | 484 | { |
490 | m_console.Output( | 485 | m_console.Output( |
491 | "Status for {0} ({1}) in {2}", | 486 | "Status for {0} ({1}) in {2}", |
492 | null, | ||
493 | sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); | 487 | sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); |
494 | 488 | ||
495 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; | 489 | LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient; |
@@ -510,7 +504,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
510 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) | 504 | if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) |
511 | return; | 505 | return; |
512 | 506 | ||
513 | m_console.Output("Debug settings for {0}", null, m_udpServer.Scene.Name); | 507 | m_console.Output("Debug settings for {0}", m_udpServer.Scene.Name); |
514 | ConsoleDisplayList cdl = new ConsoleDisplayList(); | 508 | ConsoleDisplayList cdl = new ConsoleDisplayList(); |
515 | 509 | ||
516 | long maxSceneDripRate = (long)m_udpServer.Throttle.MaxDripRate; | 510 | long maxSceneDripRate = (long)m_udpServer.Throttle.MaxDripRate; |
@@ -561,7 +555,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
561 | return; | 555 | return; |
562 | } | 556 | } |
563 | 557 | ||
564 | m_console.Output("{0} set to {1} in {2}", null, param, rawValue, m_udpServer.Scene.Name); | 558 | m_console.Output("{0} set to {1} in {2}", param, rawValue, m_udpServer.Scene.Name); |
565 | } | 559 | } |
566 | 560 | ||
567 | /* not in use, nothing to set/get from lludp | 561 | /* not in use, nothing to set/get from lludp |
@@ -654,7 +648,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
654 | 648 | ||
655 | MainConsole.Instance.Output( | 649 | MainConsole.Instance.Output( |
656 | "Packet debug for {0} clients set to {1} in {2}", | 650 | "Packet debug for {0} clients set to {1} in {2}", |
657 | null, | ||
658 | (setAll ? "all" : "future"), m_udpServer.DefaultClientPacketDebugLevel, m_udpServer.Scene.Name); | 651 | (setAll ? "all" : "future"), m_udpServer.DefaultClientPacketDebugLevel, m_udpServer.Scene.Name); |
659 | 652 | ||
660 | if (setAll) | 653 | if (setAll) |
@@ -663,7 +656,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
663 | { | 656 | { |
664 | MainConsole.Instance.Output( | 657 | MainConsole.Instance.Output( |
665 | "Packet debug for {0} ({1}) set to {2} in {3}", | 658 | "Packet debug for {0} ({1}) set to {2} in {3}", |
666 | null, | ||
667 | sp.Name, sp.IsChildAgent ? "child" : "root", newDebug, m_udpServer.Scene.Name); | 659 | sp.Name, sp.IsChildAgent ? "child" : "root", newDebug, m_udpServer.Scene.Name); |
668 | 660 | ||
669 | sp.ControllingClient.DebugPacketLevel = newDebug; | 661 | sp.ControllingClient.DebugPacketLevel = newDebug; |
@@ -678,7 +670,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
678 | { | 670 | { |
679 | MainConsole.Instance.Output( | 671 | MainConsole.Instance.Output( |
680 | "Packet debug for {0} ({1}) set to {2} in {3}", | 672 | "Packet debug for {0} ({1}) set to {2} in {3}", |
681 | null, | ||
682 | sp.Name, sp.IsChildAgent ? "child" : "root", newDebug, m_udpServer.Scene.Name); | 673 | sp.Name, sp.IsChildAgent ? "child" : "root", newDebug, m_udpServer.Scene.Name); |
683 | 674 | ||
684 | sp.ControllingClient.DebugPacketLevel = newDebug; | 675 | sp.ControllingClient.DebugPacketLevel = newDebug; |
@@ -712,7 +703,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
712 | { | 703 | { |
713 | MainConsole.Instance.Output( | 704 | MainConsole.Instance.Output( |
714 | "Adding packet {0} to {1} drop list for all connections in {2}", | 705 | "Adding packet {0} to {1} drop list for all connections in {2}", |
715 | null, | ||
716 | direction, packetName, m_udpServer.Scene.Name); | 706 | direction, packetName, m_udpServer.Scene.Name); |
717 | 707 | ||
718 | m_udpServer.Scene.ForEachScenePresence( | 708 | m_udpServer.Scene.ForEachScenePresence( |
@@ -731,7 +721,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
731 | { | 721 | { |
732 | MainConsole.Instance.Output( | 722 | MainConsole.Instance.Output( |
733 | "Removing packet {0} from {1} drop list for all connections in {2}", | 723 | "Removing packet {0} from {1} drop list for all connections in {2}", |
734 | null, | ||
735 | direction, packetName, m_udpServer.Scene.Name); | 724 | direction, packetName, m_udpServer.Scene.Name); |
736 | 725 | ||
737 | m_udpServer.Scene.ForEachScenePresence( | 726 | m_udpServer.Scene.ForEachScenePresence( |
@@ -805,13 +794,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
805 | return; | 794 | return; |
806 | 795 | ||
807 | MainConsole.Instance.Output( | 796 | MainConsole.Instance.Output( |
808 | "IN LLUDP packet processing for {0} is {1}", null, m_udpServer.Scene.Name, m_udpServer.IsRunningInbound ? "enabled" : "disabled"); | 797 | "IN LLUDP packet processing for {0} is {1}", m_udpServer.Scene.Name, m_udpServer.IsRunningInbound ? "enabled" : "disabled"); |
809 | 798 | ||
810 | MainConsole.Instance.Output( | 799 | MainConsole.Instance.Output( |
811 | "OUT LLUDP packet processing for {0} is {1}", null, m_udpServer.Scene.Name, m_udpServer.IsRunningOutbound ? "enabled" : "disabled"); | 800 | "OUT LLUDP packet processing for {0} is {1}", m_udpServer.Scene.Name, m_udpServer.IsRunningOutbound ? "enabled" : "disabled"); |
812 | 801 | ||
813 | MainConsole.Instance.Output( | 802 | MainConsole.Instance.Output( |
814 | "Packet debug level for new clients is {0}", null, m_udpServer.DefaultClientPacketDebugLevel); | 803 | "Packet debug level for new clients is {0}", m_udpServer.DefaultClientPacketDebugLevel); |
815 | } | 804 | } |
816 | 805 | ||
817 | private void HandleOqreCommand(string module, string[] args) | 806 | private void HandleOqreCommand(string module, string[] args) |
@@ -830,25 +819,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
830 | if (subCommand == "stop") | 819 | if (subCommand == "stop") |
831 | { | 820 | { |
832 | m_udpServer.OqrEngine.Stop(); | 821 | m_udpServer.OqrEngine.Stop(); |
833 | MainConsole.Instance.Output("Stopped OQRE for {0}", null, m_udpServer.Scene.Name); | 822 | MainConsole.Instance.Output("Stopped OQRE for {0}", m_udpServer.Scene.Name); |
834 | } | 823 | } |
835 | else if (subCommand == "start") | 824 | else if (subCommand == "start") |
836 | { | 825 | { |
837 | m_udpServer.OqrEngine.Start(); | 826 | m_udpServer.OqrEngine.Start(); |
838 | MainConsole.Instance.Output("Started OQRE for {0}", null, m_udpServer.Scene.Name); | 827 | MainConsole.Instance.Output("Started OQRE for {0}", m_udpServer.Scene.Name); |
839 | } | 828 | } |
840 | else if (subCommand == "status") | 829 | else if (subCommand == "status") |
841 | { | 830 | { |
842 | MainConsole.Instance.Output("OQRE in {0}", null, m_udpServer.Scene.Name); | 831 | MainConsole.Instance.Output("OQRE in {0}", m_udpServer.Scene.Name); |
843 | MainConsole.Instance.Output("Running: {0}", null, m_udpServer.OqrEngine.IsRunning); | 832 | MainConsole.Instance.Output("Running: {0}", m_udpServer.OqrEngine.IsRunning); |
844 | MainConsole.Instance.Output( | 833 | MainConsole.Instance.Output( |
845 | "Requests waiting: {0}", | 834 | "Requests waiting: {0}", |
846 | null, | ||
847 | m_udpServer.OqrEngine.IsRunning ? m_udpServer.OqrEngine.JobsWaiting.ToString() : "n/a"); | 835 | m_udpServer.OqrEngine.IsRunning ? m_udpServer.OqrEngine.JobsWaiting.ToString() : "n/a"); |
848 | } | 836 | } |
849 | else | 837 | else |
850 | { | 838 | { |
851 | MainConsole.Instance.Output("Unrecognized OQRE subcommand {0}", null, subCommand); | 839 | MainConsole.Instance.Output("Unrecognized OQRE subcommand {0}", subCommand); |
852 | } | 840 | } |
853 | } | 841 | } |
854 | } | 842 | } |