diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 5af8194..a350510 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -109,13 +109,19 @@ namespace OpenSim | |||
109 | m_timeInterval = startupConfig.GetInt("timer_Interval", 1200); | 109 | m_timeInterval = startupConfig.GetInt("timer_Interval", 1200); |
110 | } | 110 | } |
111 | 111 | ||
112 | AvatarWearable.MAX_WEARABLES = startupConfig.GetInt("max_wearables", AvatarWearable.MAX_WEARABLES); | ||
112 | string asyncCallMethodStr = startupConfig.GetString("async_call_method", String.Empty); | 113 | string asyncCallMethodStr = startupConfig.GetString("async_call_method", String.Empty); |
113 | FireAndForgetMethod asyncCallMethod; | 114 | FireAndForgetMethod asyncCallMethod; |
114 | if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod)) | 115 | if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod)) |
115 | Util.FireAndForgetMethod = asyncCallMethod; | 116 | Util.FireAndForgetMethod = asyncCallMethod; |
116 | 117 | ||
118 | <<<<<<< HEAD | ||
117 | stpMinThreads = startupConfig.GetInt("MinPoolThreads", 15); | 119 | stpMinThreads = startupConfig.GetInt("MinPoolThreads", 15); |
118 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 300); | 120 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 300); |
121 | ======= | ||
122 | stpMinThreads = startupConfig.GetInt("MinPoolThreads", 2 ); | ||
123 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 25); | ||
124 | >>>>>>> avn/ubitvar | ||
119 | m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) "); | 125 | m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) "); |
120 | } | 126 | } |
121 | 127 | ||
@@ -267,12 +273,20 @@ namespace OpenSim | |||
267 | SavePrimsXml2); | 273 | SavePrimsXml2); |
268 | 274 | ||
269 | m_console.Commands.AddCommand("Archiving", false, "load oar", | 275 | m_console.Commands.AddCommand("Archiving", false, "load oar", |
276 | <<<<<<< HEAD | ||
277 | ======= | ||
278 | |||
279 | >>>>>>> avn/ubitvar | ||
270 | "load oar [--merge] [--skip-assets]" | 280 | "load oar [--merge] [--skip-assets]" |
271 | + " [--default-user \"User Name\"]" | 281 | + " [--default-user \"User Name\"]" |
272 | + " [--force-terrain] [--force-parcels]" | 282 | + " [--force-terrain] [--force-parcels]" |
273 | + " [--no-objects]" | 283 | + " [--no-objects]" |
274 | + " [--rotation degrees] [--rotation-center \"<x,y,z>\"]" | 284 | + " [--rotation degrees] [--rotation-center \"<x,y,z>\"]" |
285 | <<<<<<< HEAD | ||
275 | + " [--displacement \"<x,y,z>\"]" | 286 | + " [--displacement \"<x,y,z>\"]" |
287 | ======= | ||
288 | + " [--displacement \"<x,y,z>\"]" | ||
289 | >>>>>>> avn/ubitvar | ||
276 | + " [<OAR path>]", | 290 | + " [<OAR path>]", |
277 | "Load a region's data from an OAR archive.", | 291 | "Load a region's data from an OAR archive.", |
278 | "--merge will merge the OAR with the existing scene (suppresses terrain and parcel info loading).\n" | 292 | "--merge will merge the OAR with the existing scene (suppresses terrain and parcel info loading).\n" |
@@ -500,7 +514,7 @@ namespace OpenSim | |||
500 | if (alert != null) | 514 | if (alert != null) |
501 | presence.ControllingClient.Kick(alert); | 515 | presence.ControllingClient.Kick(alert); |
502 | else | 516 | else |
503 | presence.ControllingClient.Kick("\nThe OpenSim manager kicked you out.\n"); | 517 | presence.ControllingClient.Kick("\nYou have been logged out by an administrator.\n"); |
504 | 518 | ||
505 | presence.Scene.CloseAgent(presence.UUID, force); | 519 | presence.Scene.CloseAgent(presence.UUID, force); |
506 | break; | 520 | break; |
@@ -1028,15 +1042,25 @@ namespace OpenSim | |||
1028 | cdt.AddColumn("Circuit code", 12); | 1042 | cdt.AddColumn("Circuit code", 12); |
1029 | cdt.AddColumn("Endpoint", 23); | 1043 | cdt.AddColumn("Endpoint", 23); |
1030 | cdt.AddColumn("Active?", 7); | 1044 | cdt.AddColumn("Active?", 7); |
1045 | cdt.AddColumn("ChildAgent?", 7); | ||
1046 | cdt.AddColumn("ping(ms)", 8); | ||
1031 | 1047 | ||
1032 | SceneManager.ForEachScene( | 1048 | SceneManager.ForEachScene( |
1033 | s => s.ForEachClient( | 1049 | s => s.ForEachClient( |
1034 | c => cdt.AddRow( | 1050 | c => |
1035 | s.Name, | 1051 | { |
1036 | c.Name, | 1052 | bool child = false; |
1037 | c.CircuitCode.ToString(), | 1053 | if(c.SceneAgent != null && c.SceneAgent.IsChildAgent) |
1038 | c.RemoteEndPoint.ToString(), | 1054 | child = true; |
1039 | c.IsActive.ToString()))); | 1055 | cdt.AddRow( |
1056 | s.Name, | ||
1057 | c.Name, | ||
1058 | c.CircuitCode.ToString(), | ||
1059 | c.RemoteEndPoint.ToString(), | ||
1060 | c.IsActive.ToString(), | ||
1061 | child.ToString(), | ||
1062 | c.PingTimeMS); | ||
1063 | })); | ||
1040 | 1064 | ||
1041 | MainConsole.Instance.Output(cdt.ToString()); | 1065 | MainConsole.Instance.Output(cdt.ToString()); |
1042 | } | 1066 | } |