diff options
author | Melanie | 2011-01-23 23:29:25 +0000 |
---|---|---|
committer | Melanie | 2011-01-23 23:29:25 +0000 |
commit | 105deab601244584d779e8b7d1e8275b8aeb15ec (patch) | |
tree | 63e2f064a748fddcaa566fde915ee56e8546220b /OpenSim | |
parent | Completely nixing flags from the client causes wearables to break. Fix it (diff) | |
parent | Fixes mantis #5343 (diff) | |
download | opensim-SC_OLD-105deab601244584d779e8b7d1e8275b8aeb15ec.zip opensim-SC_OLD-105deab601244584d779e8b7d1e8275b8aeb15ec.tar.gz opensim-SC_OLD-105deab601244584d779e8b7d1e8275b8aeb15ec.tar.bz2 opensim-SC_OLD-105deab601244584d779e8b7d1e8275b8aeb15ec.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim')
31 files changed, 519 insertions, 383 deletions
diff --git a/OpenSim/Client/Linden/LLClientStackModule.cs b/OpenSim/Client/Linden/LLClientStackModule.cs deleted file mode 100644 index f882d5d..0000000 --- a/OpenSim/Client/Linden/LLClientStackModule.cs +++ /dev/null | |||
@@ -1,136 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Net; | ||
31 | using System.Reflection; | ||
32 | using System.Text; | ||
33 | using log4net; | ||
34 | using Nini.Config; | ||
35 | using OpenMetaverse; | ||
36 | using OpenSim.Region.ClientStack; | ||
37 | using OpenSim.Region.ClientStack.LindenUDP; | ||
38 | using OpenSim.Framework; | ||
39 | using OpenSim.Region.Framework.Scenes; | ||
40 | using OpenSim.Region.Framework.Interfaces; | ||
41 | |||
42 | namespace OpenSim.Client.Linden | ||
43 | { | ||
44 | /// <summary> | ||
45 | /// Linden UDP Stack Region Module | ||
46 | /// </summary> | ||
47 | public class LLClientStackModule : INonSharedRegionModule | ||
48 | { | ||
49 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
50 | |||
51 | #region IRegionModule Members | ||
52 | |||
53 | /// <summary> | ||
54 | /// Scene that contains the region's data | ||
55 | /// </summary> | ||
56 | protected Scene m_scene; | ||
57 | protected bool m_createClientStack = false; | ||
58 | protected IClientNetworkServer m_clientServer; | ||
59 | protected ClientStackManager m_clientStackManager; | ||
60 | protected IConfigSource m_source; | ||
61 | |||
62 | protected string m_clientStackDll = "OpenSim.Region.ClientStack.LindenUDP.dll"; | ||
63 | |||
64 | public void Initialise(IConfigSource source) | ||
65 | { | ||
66 | if (m_scene == null) | ||
67 | { | ||
68 | m_source = source; | ||
69 | |||
70 | IConfig startupConfig = m_source.Configs["Startup"]; | ||
71 | if (startupConfig != null) | ||
72 | { | ||
73 | m_clientStackDll = startupConfig.GetString("clientstack_plugin", "OpenSim.Region.ClientStack.LindenUDP.dll"); | ||
74 | } | ||
75 | } | ||
76 | } | ||
77 | |||
78 | public void AddRegion(Scene scene) | ||
79 | { | ||
80 | |||
81 | } | ||
82 | |||
83 | public void RemoveRegion(Scene scene) | ||
84 | { | ||
85 | |||
86 | } | ||
87 | |||
88 | public void RegionLoaded(Scene scene) | ||
89 | { | ||
90 | if (m_scene == null) | ||
91 | { | ||
92 | m_scene = scene; | ||
93 | } | ||
94 | |||
95 | if ((m_scene != null) && (m_createClientStack)) | ||
96 | { | ||
97 | m_log.Info("[LLClientStackModule] Starting up LLClientStack."); | ||
98 | IPEndPoint endPoint = m_scene.RegionInfo.InternalEndPoint; | ||
99 | |||
100 | uint port = (uint)endPoint.Port; | ||
101 | m_clientStackManager = new ClientStackManager(m_clientStackDll); | ||
102 | |||
103 | m_clientServer | ||
104 | = m_clientStackManager.CreateServer(endPoint.Address, | ||
105 | ref port, m_scene.RegionInfo.ProxyOffset, m_scene.RegionInfo.m_allow_alternate_ports, m_source, | ||
106 | m_scene.AuthenticateHandler); | ||
107 | |||
108 | m_clientServer.AddScene(m_scene); | ||
109 | |||
110 | m_clientServer.Start(); | ||
111 | } | ||
112 | } | ||
113 | |||
114 | public void Close() | ||
115 | { | ||
116 | |||
117 | } | ||
118 | |||
119 | public Type ReplaceableInterface | ||
120 | { | ||
121 | get { return null; } | ||
122 | } | ||
123 | |||
124 | public string Name | ||
125 | { | ||
126 | get { return "LLClientStackModule"; } | ||
127 | } | ||
128 | |||
129 | public bool IsSharedModule | ||
130 | { | ||
131 | get { return false; } | ||
132 | } | ||
133 | |||
134 | #endregion | ||
135 | } | ||
136 | } | ||
diff --git a/OpenSim/Client/Linden/Resources/LindenModules.addin.xml b/OpenSim/Client/Linden/Resources/LindenModules.addin.xml deleted file mode 100644 index af41e98..0000000 --- a/OpenSim/Client/Linden/Resources/LindenModules.addin.xml +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | <Addin id="OpenSim.Client.Linden.LindenModules" version="0.2"> | ||
2 | <Runtime> | ||
3 | <Import assembly="OpenSim.Client.Linden.dll"/> | ||
4 | </Runtime> | ||
5 | |||
6 | <Dependencies> | ||
7 | <Addin id="OpenSim" version="0.5" /> | ||
8 | </Dependencies> | ||
9 | |||
10 | <Extension path = "/OpenSim/RegionModules"> | ||
11 | <RegionModule id="LLClientStackModule" type="OpenSim.Client.Linden.LLClientStackModule" /> | ||
12 | </Extension> | ||
13 | </Addin> | ||
diff --git a/OpenSim/Framework/Capabilities/Caps.cs b/OpenSim/Framework/Capabilities/Caps.cs index dbb0781..c2f9c3a 100644 --- a/OpenSim/Framework/Capabilities/Caps.cs +++ b/OpenSim/Framework/Capabilities/Caps.cs | |||
@@ -765,8 +765,8 @@ namespace OpenSim.Framework.Capabilities | |||
765 | { | 765 | { |
766 | try | 766 | try |
767 | { | 767 | { |
768 | m_log.Debug("[CAPS]: UploadBakedTexture Request in region: " + | 768 | // m_log.Debug("[CAPS]: UploadBakedTexture Request in region: " + |
769 | m_regionName); | 769 | // m_regionName); |
770 | 770 | ||
771 | string capsBase = "/CAPS/" + m_capsObjectPath; | 771 | string capsBase = "/CAPS/" + m_capsObjectPath; |
772 | string uploaderPath = Util.RandomClass.Next(5000, 8000).ToString("0000"); | 772 | string uploaderPath = Util.RandomClass.Next(5000, 8000).ToString("0000"); |
@@ -1332,7 +1332,7 @@ namespace OpenSim.Framework.Capabilities | |||
1332 | newAssetID = UUID.Random(); | 1332 | newAssetID = UUID.Random(); |
1333 | uploaderPath = path; | 1333 | uploaderPath = path; |
1334 | httpListener = httpServer; | 1334 | httpListener = httpServer; |
1335 | m_log.InfoFormat("[CAPS] baked texture upload starting for {0}",newAssetID); | 1335 | // m_log.InfoFormat("[CAPS] baked texture upload starting for {0}",newAssetID); |
1336 | } | 1336 | } |
1337 | 1337 | ||
1338 | /// <summary> | 1338 | /// <summary> |
@@ -1360,7 +1360,7 @@ namespace OpenSim.Framework.Capabilities | |||
1360 | 1360 | ||
1361 | httpListener.RemoveStreamHandler("POST", uploaderPath); | 1361 | httpListener.RemoveStreamHandler("POST", uploaderPath); |
1362 | 1362 | ||
1363 | m_log.InfoFormat("[CAPS] baked texture upload completed for {0}",newAssetID); | 1363 | // m_log.InfoFormat("[CAPS] baked texture upload completed for {0}",newAssetID); |
1364 | 1364 | ||
1365 | return res; | 1365 | return res; |
1366 | } | 1366 | } |
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 22ce880..3ef76cf 100755 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -75,6 +75,11 @@ namespace OpenSim.Framework.Console | |||
75 | { | 75 | { |
76 | System.Console.WriteLine(text); | 76 | System.Console.WriteLine(text); |
77 | } | 77 | } |
78 | |||
79 | public virtual void OutputFormat(string format, params string[] components) | ||
80 | { | ||
81 | Output(string.Format(format, components)); | ||
82 | } | ||
78 | 83 | ||
79 | public string CmdPrompt(string p) | 84 | public string CmdPrompt(string p) |
80 | { | 85 | { |
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 8ff27c8..ebf7ded 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -175,7 +175,7 @@ namespace OpenSim.Framework.Servers | |||
175 | 175 | ||
176 | m_console.Commands.AddCommand("base", false, "show info", | 176 | m_console.Commands.AddCommand("base", false, "show info", |
177 | "show info", | 177 | "show info", |
178 | "Show general information", HandleShow); | 178 | "Show general information about the server", HandleShow); |
179 | 179 | ||
180 | m_console.Commands.AddCommand("base", false, "show stats", | 180 | m_console.Commands.AddCommand("base", false, "show stats", |
181 | "show stats", | 181 | "show stats", |
@@ -371,8 +371,7 @@ namespace OpenSim.Framework.Servers | |||
371 | switch (showParams[0]) | 371 | switch (showParams[0]) |
372 | { | 372 | { |
373 | case "info": | 373 | case "info": |
374 | Notice("Version: " + m_version); | 374 | ShowInfo(); |
375 | Notice("Startup directory: " + m_startupDirectory); | ||
376 | break; | 375 | break; |
377 | 376 | ||
378 | case "stats": | 377 | case "stats": |
@@ -389,18 +388,30 @@ namespace OpenSim.Framework.Servers | |||
389 | break; | 388 | break; |
390 | 389 | ||
391 | case "version": | 390 | case "version": |
392 | Notice( | 391 | Notice(GetVersionText()); |
393 | String.Format( | ||
394 | "Version: {0} (interface version {1})", m_version, VersionInfo.MajorInterfaceVersion)); | ||
395 | break; | 392 | break; |
396 | } | 393 | } |
397 | } | 394 | } |
395 | |||
396 | protected void ShowInfo() | ||
397 | { | ||
398 | Notice(GetVersionText()); | ||
399 | Notice("Startup directory: " + m_startupDirectory); | ||
400 | if (null != m_consoleAppender) | ||
401 | Notice(String.Format("Console log level: {0}", m_consoleAppender.Threshold)); | ||
402 | } | ||
403 | |||
404 | protected string GetVersionText() | ||
405 | { | ||
406 | return String.Format("Version: {0} (interface version {1})", m_version, VersionInfo.MajorInterfaceVersion); | ||
407 | } | ||
398 | 408 | ||
399 | /// <summary> | 409 | /// <summary> |
400 | /// Console output is only possible if a console has been established. | 410 | /// Console output is only possible if a console has been established. |
401 | /// That is something that cannot be determined within this class. So | 411 | /// That is something that cannot be determined within this class. So |
402 | /// all attempts to use the console MUST be verified. | 412 | /// all attempts to use the console MUST be verified. |
403 | /// </summary> | 413 | /// </summary> |
414 | /// <param name="msg"></param> | ||
404 | protected void Notice(string msg) | 415 | protected void Notice(string msg) |
405 | { | 416 | { |
406 | if (m_console != null) | 417 | if (m_console != null) |
@@ -408,6 +419,19 @@ namespace OpenSim.Framework.Servers | |||
408 | m_console.Output(msg); | 419 | m_console.Output(msg); |
409 | } | 420 | } |
410 | } | 421 | } |
422 | |||
423 | /// <summary> | ||
424 | /// Console output is only possible if a console has been established. | ||
425 | /// That is something that cannot be determined within this class. So | ||
426 | /// all attempts to use the console MUST be verified. | ||
427 | /// </summary> | ||
428 | /// <param name="format"></param> | ||
429 | /// <param name="components"></param> | ||
430 | protected void Notice(string format, params string[] components) | ||
431 | { | ||
432 | if (m_console != null) | ||
433 | m_console.OutputFormat(format, components); | ||
434 | } | ||
411 | 435 | ||
412 | /// <summary> | 436 | /// <summary> |
413 | /// Enhance the version string with extra information if it's available. | 437 | /// Enhance the version string with extra information if it's available. |
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 86ad7aa..d4ee7ba 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -587,8 +587,9 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
587 | // Every month or so this will wrap and give bad numbers, not really a problem | 587 | // Every month or so this will wrap and give bad numbers, not really a problem |
588 | // since its just for reporting, 200ms limit can be adjusted | 588 | // since its just for reporting, 200ms limit can be adjusted |
589 | int tickdiff = Environment.TickCount - tickstart; | 589 | int tickdiff = Environment.TickCount - tickstart; |
590 | if (tickdiff > 200) | 590 | if (tickdiff > 500) |
591 | m_log.InfoFormat("[BASE HTTP SERVER]: slow request <{0}> for {1} took {2} ms",reqnum,request.RawUrl,tickdiff); | 591 | m_log.InfoFormat( |
592 | "[BASE HTTP SERVER]: slow request <{0}> for {1} took {2} ms", reqnum, request.RawUrl, tickdiff); | ||
592 | } | 593 | } |
593 | } | 594 | } |
594 | 595 | ||
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index d88d095..d731ac5 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -58,7 +58,7 @@ namespace OpenSim.Framework | |||
58 | 58 | ||
59 | // number of milliseconds a call can take before it is considered | 59 | // number of milliseconds a call can take before it is considered |
60 | // a "long" call for warning & debugging purposes | 60 | // a "long" call for warning & debugging purposes |
61 | public const int LongCallTime = 200; | 61 | public const int LongCallTime = 500; |
62 | 62 | ||
63 | /// <summary> | 63 | /// <summary> |
64 | /// Send LLSD to an HTTP client in application/llsd+json form | 64 | /// Send LLSD to an HTTP client in application/llsd+json form |
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 7a188fd..1c84e3f 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -283,10 +283,6 @@ namespace OpenSim | |||
283 | "kick user <first> <last> [message]", | 283 | "kick user <first> <last> [message]", |
284 | "Kick a user off the simulator", KickUserCommand); | 284 | "Kick a user off the simulator", KickUserCommand); |
285 | 285 | ||
286 | m_console.Commands.AddCommand("region", false, "show assets", | ||
287 | "show assets", | ||
288 | "Show asset data", HandleShow); | ||
289 | |||
290 | m_console.Commands.AddCommand("region", false, "show users", | 286 | m_console.Commands.AddCommand("region", false, "show users", |
291 | "show users [full]", | 287 | "show users [full]", |
292 | "Show user data for users currently on the region", | 288 | "Show user data for users currently on the region", |
@@ -305,13 +301,6 @@ namespace OpenSim | |||
305 | m_console.Commands.AddCommand("region", false, "show regions", | 301 | m_console.Commands.AddCommand("region", false, "show regions", |
306 | "show regions", | 302 | "show regions", |
307 | "Show region data", HandleShow); | 303 | "Show region data", HandleShow); |
308 | |||
309 | m_console.Commands.AddCommand("region", false, "show queues", | ||
310 | "show queues [full]", | ||
311 | "Show queue data for each client", | ||
312 | "Without the 'full' option, only users actually on the region are shown." | ||
313 | + " With the 'full' option child agents of users in neighbouring regions are also shown.", | ||
314 | HandleShow); | ||
315 | 304 | ||
316 | m_console.Commands.AddCommand("region", false, "show ratings", | 305 | m_console.Commands.AddCommand("region", false, "show ratings", |
317 | "show ratings", | 306 | "show ratings", |
@@ -335,16 +324,19 @@ namespace OpenSim | |||
335 | "Restart all sims in this instance", RunCommand); | 324 | "Restart all sims in this instance", RunCommand); |
336 | 325 | ||
337 | m_console.Commands.AddCommand("region", false, "config set", | 326 | m_console.Commands.AddCommand("region", false, "config set", |
338 | "config set <section> <field> <value>", | 327 | "config set <section> <key> <value>", |
339 | "Set a config option", HandleConfig); | 328 | "Set a config option. In most cases this is not useful since changed parameters are not dynamically reloaded. Neither do changed parameters persist - you will have to change a config file manually and restart.", HandleConfig); |
340 | 329 | ||
341 | m_console.Commands.AddCommand("region", false, "config get", | 330 | m_console.Commands.AddCommand("region", false, "config get", |
342 | "config get <section> <field>", | 331 | "config get [<section>] [<key>]", |
343 | "Read a config option", HandleConfig); | 332 | "Show a config option", |
333 | "If neither section nor field are specified, then the whole current configuration is printed." + Environment.NewLine | ||
334 | + "If a section is given but not a field, then all fields in that section are printed.", | ||
335 | HandleConfig); | ||
344 | 336 | ||
345 | m_console.Commands.AddCommand("region", false, "config save", | 337 | m_console.Commands.AddCommand("region", false, "config save", |
346 | "config save", | 338 | "config save <path>", |
347 | "Save current configuration", HandleConfig); | 339 | "Save current configuration to a file at the given path", HandleConfig); |
348 | 340 | ||
349 | m_console.Commands.AddCommand("region", false, "command-script", | 341 | m_console.Commands.AddCommand("region", false, "command-script", |
350 | "command-script <script>", | 342 | "command-script <script>", |
@@ -586,7 +578,6 @@ namespace OpenSim | |||
586 | List<string> args = new List<string>(cmd); | 578 | List<string> args = new List<string>(cmd); |
587 | args.RemoveAt(0); | 579 | args.RemoveAt(0); |
588 | string[] cmdparams = args.ToArray(); | 580 | string[] cmdparams = args.ToArray(); |
589 | string n = "CONFIG"; | ||
590 | 581 | ||
591 | if (cmdparams.Length > 0) | 582 | if (cmdparams.Length > 0) |
592 | { | 583 | { |
@@ -595,8 +586,8 @@ namespace OpenSim | |||
595 | case "set": | 586 | case "set": |
596 | if (cmdparams.Length < 4) | 587 | if (cmdparams.Length < 4) |
597 | { | 588 | { |
598 | MainConsole.Instance.Output(String.Format("SYNTAX: {0} SET SECTION KEY VALUE",n)); | 589 | Notice("Syntax: config set <section> <key> <value>"); |
599 | MainConsole.Instance.Output(String.Format("EXAMPLE: {0} SET ScriptEngine.DotNetEngine NumberOfScriptThreads 5",n)); | 590 | Notice("Example: config set ScriptEngine.DotNetEngine NumberOfScriptThreads 5"); |
600 | } | 591 | } |
601 | else | 592 | else |
602 | { | 593 | { |
@@ -609,48 +600,68 @@ namespace OpenSim | |||
609 | c.Set(cmdparams[2], _value); | 600 | c.Set(cmdparams[2], _value); |
610 | m_config.Source.Merge(source); | 601 | m_config.Source.Merge(source); |
611 | 602 | ||
612 | MainConsole.Instance.Output(String.Format("{0} {0} {1} {2} {3}",n,cmdparams[1],cmdparams[2],_value)); | 603 | Notice("In section [{0}], set {1} = {2}", c.Name, cmdparams[2], _value); |
613 | } | 604 | } |
614 | } | 605 | } |
615 | break; | 606 | break; |
616 | 607 | ||
617 | case "get": | 608 | case "get": |
618 | if (cmdparams.Length < 3) | 609 | if (cmdparams.Length == 1) |
619 | { | 610 | { |
620 | MainConsole.Instance.Output(String.Format("SYNTAX: {0} GET SECTION KEY",n)); | 611 | foreach (IConfig config in m_config.Source.Configs) |
621 | MainConsole.Instance.Output(String.Format("EXAMPLE: {0} GET ScriptEngine.DotNetEngine NumberOfScriptThreads",n)); | 612 | { |
613 | Notice("[{0}]", config.Name); | ||
614 | string[] keys = config.GetKeys(); | ||
615 | foreach (string key in keys) | ||
616 | Notice(" {0} = {1}", key, config.GetString(key)); | ||
617 | } | ||
622 | } | 618 | } |
623 | else | 619 | else if (cmdparams.Length == 2 || cmdparams.Length == 3) |
624 | { | 620 | { |
625 | IConfig c = m_config.Source.Configs[cmdparams[1]]; | 621 | IConfig config = m_config.Source.Configs[cmdparams[1]]; |
626 | if (c == null) | 622 | if (config == null) |
627 | { | 623 | { |
628 | MainConsole.Instance.Output(String.Format("Section \"{0}\" does not exist.",cmdparams[1])); | 624 | Notice("Section \"{0}\" does not exist.",cmdparams[1]); |
629 | break; | 625 | break; |
630 | } | 626 | } |
631 | else | 627 | else |
632 | { | 628 | { |
633 | MainConsole.Instance.Output(String.Format("{0} GET {1} {2} : {3}",n,cmdparams[1],cmdparams[2], | 629 | if (cmdparams.Length == 2) |
634 | c.GetString(cmdparams[2]))); | 630 | { |
631 | Notice("[{0}]", config.Name); | ||
632 | foreach (string key in config.GetKeys()) | ||
633 | Notice(" {0} = {1}", key, config.GetString(key)); | ||
634 | } | ||
635 | else | ||
636 | { | ||
637 | Notice( | ||
638 | "config get {0} {1} : {2}", | ||
639 | cmdparams[1], cmdparams[2], config.GetString(cmdparams[2])); | ||
640 | } | ||
635 | } | 641 | } |
636 | } | 642 | } |
643 | else | ||
644 | { | ||
645 | Notice("Syntax: config get [<section>] [<key>]"); | ||
646 | Notice("Example: config get ScriptEngine.DotNetEngine NumberOfScriptThreads"); | ||
647 | } | ||
637 | 648 | ||
638 | break; | 649 | break; |
639 | 650 | ||
640 | case "save": | 651 | case "save": |
641 | if (cmdparams.Length < 2) | 652 | if (cmdparams.Length < 2) |
642 | { | 653 | { |
643 | MainConsole.Instance.Output("SYNTAX: " + n + " SAVE FILE"); | 654 | Notice("Syntax: config save <path>"); |
644 | return; | 655 | return; |
645 | } | 656 | } |
646 | 657 | ||
647 | if (Application.iniFilePath == cmdparams[1]) | 658 | if (Application.iniFilePath == cmdparams[1]) |
648 | { | 659 | { |
649 | MainConsole.Instance.Output("FILE can not be " + Application.iniFilePath); | 660 | Notice("Path can not be " + Application.iniFilePath); |
650 | return; | 661 | return; |
651 | } | 662 | } |
652 | 663 | ||
653 | MainConsole.Instance.Output("Saving configuration file: " + cmdparams[1]); | 664 | Notice("Saving configuration file: " + cmdparams[1]); |
654 | m_config.Save(cmdparams[1]); | 665 | m_config.Save(cmdparams[1]); |
655 | break; | 666 | break; |
656 | } | 667 | } |
@@ -869,10 +880,6 @@ namespace OpenSim | |||
869 | 880 | ||
870 | switch (showParams[0]) | 881 | switch (showParams[0]) |
871 | { | 882 | { |
872 | case "assets": | ||
873 | MainConsole.Instance.Output("Not implemented."); | ||
874 | break; | ||
875 | |||
876 | case "users": | 883 | case "users": |
877 | IList agents; | 884 | IList agents; |
878 | if (showParams.Length > 1 && showParams[1] == "full") | 885 | if (showParams.Length > 1 && showParams[1] == "full") |
@@ -959,10 +966,6 @@ namespace OpenSim | |||
959 | }); | 966 | }); |
960 | break; | 967 | break; |
961 | 968 | ||
962 | case "queues": | ||
963 | Notice(GetQueuesReport(showParams)); | ||
964 | break; | ||
965 | |||
966 | case "ratings": | 969 | case "ratings": |
967 | m_sceneManager.ForEachScene( | 970 | m_sceneManager.ForEachScene( |
968 | delegate(Scene scene) | 971 | delegate(Scene scene) |
@@ -990,94 +993,6 @@ namespace OpenSim | |||
990 | } | 993 | } |
991 | 994 | ||
992 | /// <summary> | 995 | /// <summary> |
993 | /// Generate UDP Queue data report for each client | ||
994 | /// </summary> | ||
995 | /// <param name="showParams"></param> | ||
996 | /// <returns></returns> | ||
997 | private string GetQueuesReport(string[] showParams) | ||
998 | { | ||
999 | bool showChildren = false; | ||
1000 | |||
1001 | if (showParams.Length > 1 && showParams[1] == "full") | ||
1002 | showChildren = true; | ||
1003 | |||
1004 | StringBuilder report = new StringBuilder(); | ||
1005 | |||
1006 | int columnPadding = 2; | ||
1007 | int maxNameLength = 18; | ||
1008 | int maxRegionNameLength = 14; | ||
1009 | int maxTypeLength = 4; | ||
1010 | int totalInfoFieldsLength = maxNameLength + columnPadding + maxRegionNameLength + columnPadding + maxTypeLength + columnPadding; | ||
1011 | |||
1012 | report.AppendFormat("{0,-" + maxNameLength + "}{1,-" + columnPadding + "}", "User", ""); | ||
1013 | report.AppendFormat("{0,-" + maxRegionNameLength + "}{1,-" + columnPadding + "}", "Region", ""); | ||
1014 | report.AppendFormat("{0,-" + maxTypeLength + "}{1,-" + columnPadding + "}", "Type", ""); | ||
1015 | |||
1016 | report.AppendFormat( | ||
1017 | "{0,9} {1,9} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", | ||
1018 | "Packets", | ||
1019 | "Packets", | ||
1020 | "Bytes", | ||
1021 | "Bytes", | ||
1022 | "Bytes", | ||
1023 | "Bytes", | ||
1024 | "Bytes", | ||
1025 | "Bytes", | ||
1026 | "Bytes", | ||
1027 | "Bytes", | ||
1028 | "Bytes"); | ||
1029 | |||
1030 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); | ||
1031 | report.AppendFormat( | ||
1032 | "{0,9} {1,9} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", | ||
1033 | "Out", | ||
1034 | "In", | ||
1035 | "Unacked", | ||
1036 | "Resend", | ||
1037 | "Land", | ||
1038 | "Wind", | ||
1039 | "Cloud", | ||
1040 | "Task", | ||
1041 | "Texture", | ||
1042 | "Asset", | ||
1043 | "State"); | ||
1044 | |||
1045 | m_sceneManager.ForEachScene( | ||
1046 | delegate(Scene scene) | ||
1047 | { | ||
1048 | scene.ForEachClient( | ||
1049 | delegate(IClientAPI client) | ||
1050 | { | ||
1051 | if (client is IStatsCollector) | ||
1052 | { | ||
1053 | bool isChild = scene.PresenceChildStatus(client.AgentId); | ||
1054 | if (isChild && !showChildren) | ||
1055 | return; | ||
1056 | |||
1057 | string name = client.Name; | ||
1058 | string regionName = scene.RegionInfo.RegionName; | ||
1059 | |||
1060 | report.AppendFormat( | ||
1061 | "{0,-" + maxNameLength + "}{1,-" + columnPadding + "}", | ||
1062 | name.Length > maxNameLength ? name.Substring(0, maxNameLength) : name, ""); | ||
1063 | report.AppendFormat( | ||
1064 | "{0,-" + maxRegionNameLength + "}{1,-" + columnPadding + "}", | ||
1065 | regionName.Length > maxRegionNameLength ? regionName.Substring(0, maxRegionNameLength) : regionName, ""); | ||
1066 | report.AppendFormat( | ||
1067 | "{0,-" + maxTypeLength + "}{1,-" + columnPadding + "}", | ||
1068 | isChild ? "Cd" : "Rt", ""); | ||
1069 | |||
1070 | IStatsCollector stats = (IStatsCollector)client; | ||
1071 | |||
1072 | report.AppendLine(stats.Report()); | ||
1073 | } | ||
1074 | }); | ||
1075 | }); | ||
1076 | |||
1077 | return report.ToString(); | ||
1078 | } | ||
1079 | |||
1080 | /// <summary> | ||
1081 | /// Use XML2 format to serialize data to a file | 996 | /// Use XML2 format to serialize data to a file |
1082 | /// </summary> | 997 | /// </summary> |
1083 | /// <param name="module"></param> | 998 | /// <param name="module"></param> |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index eb5c0f5..72348b9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -370,6 +370,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
370 | #region Properties | 370 | #region Properties |
371 | 371 | ||
372 | public LLUDPClient UDPClient { get { return m_udpClient; } } | 372 | public LLUDPClient UDPClient { get { return m_udpClient; } } |
373 | public LLUDPServer UDPServer { get { return m_udpServer; } } | ||
373 | public IPEndPoint RemoteEndPoint { get { return m_udpClient.RemoteEndPoint; } } | 374 | public IPEndPoint RemoteEndPoint { get { return m_udpClient.RemoteEndPoint; } } |
374 | public UUID SecureSessionId { get { return m_secureSessionId; } } | 375 | public UUID SecureSessionId { get { return m_secureSessionId; } } |
375 | public IScene Scene { get { return m_scene; } } | 376 | public IScene Scene { get { return m_scene; } } |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs index 5aa9b40..f1fdbc5 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | |||
@@ -257,18 +257,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
257 | public string GetStats() | 257 | public string GetStats() |
258 | { | 258 | { |
259 | return string.Format( | 259 | return string.Format( |
260 | "{0,9} {1,9} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}", | 260 | "{0,7} {1,7} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}", |
261 | PacketsSent, | 261 | PacketsSent, |
262 | PacketsReceived, | 262 | PacketsReceived, |
263 | UnackedBytes, | 263 | UnackedBytes, |
264 | m_throttleCategories[(int)ThrottleOutPacketType.Resend].Content, | 264 | m_packetOutboxes[(int)ThrottleOutPacketType.Resend].Count, |
265 | m_throttleCategories[(int)ThrottleOutPacketType.Land].Content, | 265 | m_packetOutboxes[(int)ThrottleOutPacketType.Land].Count, |
266 | m_throttleCategories[(int)ThrottleOutPacketType.Wind].Content, | 266 | m_packetOutboxes[(int)ThrottleOutPacketType.Wind].Count, |
267 | m_throttleCategories[(int)ThrottleOutPacketType.Cloud].Content, | 267 | m_packetOutboxes[(int)ThrottleOutPacketType.Cloud].Count, |
268 | m_throttleCategories[(int)ThrottleOutPacketType.Task].Content, | 268 | m_packetOutboxes[(int)ThrottleOutPacketType.Task].Count, |
269 | m_throttleCategories[(int)ThrottleOutPacketType.Texture].Content, | 269 | m_packetOutboxes[(int)ThrottleOutPacketType.Texture].Count, |
270 | m_throttleCategories[(int)ThrottleOutPacketType.Asset].Content, | 270 | m_packetOutboxes[(int)ThrottleOutPacketType.Asset].Count, |
271 | m_throttleCategories[(int)ThrottleOutPacketType.State].Content); | 271 | m_packetOutboxes[(int)ThrottleOutPacketType.State].Count); |
272 | } | 272 | } |
273 | 273 | ||
274 | public void SendPacketStats() | 274 | public void SendPacketStats() |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index f969bc3..703176c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -114,8 +114,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
114 | //private UDPClientCollection m_clients = new UDPClientCollection(); | 114 | //private UDPClientCollection m_clients = new UDPClientCollection(); |
115 | /// <summary>Bandwidth throttle for this UDP server</summary> | 115 | /// <summary>Bandwidth throttle for this UDP server</summary> |
116 | protected TokenBucket m_throttle; | 116 | protected TokenBucket m_throttle; |
117 | |||
117 | /// <summary>Bandwidth throttle rates for this UDP server</summary> | 118 | /// <summary>Bandwidth throttle rates for this UDP server</summary> |
118 | protected ThrottleRates m_throttleRates; | 119 | public ThrottleRates ThrottleRates { get; private set; } |
120 | |||
119 | /// <summary>Manages authentication for agent circuits</summary> | 121 | /// <summary>Manages authentication for agent circuits</summary> |
120 | private AgentCircuitManager m_circuitManager; | 122 | private AgentCircuitManager m_circuitManager; |
121 | /// <summary>Reference to the scene this UDP server is attached to</summary> | 123 | /// <summary>Reference to the scene this UDP server is attached to</summary> |
@@ -226,7 +228,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
226 | #endregion BinaryStats | 228 | #endregion BinaryStats |
227 | 229 | ||
228 | m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps); | 230 | m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps); |
229 | m_throttleRates = new ThrottleRates(configSource); | 231 | ThrottleRates = new ThrottleRates(configSource); |
230 | } | 232 | } |
231 | 233 | ||
232 | public void Start() | 234 | public void Start() |
@@ -922,7 +924,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
922 | protected virtual void AddClient(uint circuitCode, UUID agentID, UUID sessionID, IPEndPoint remoteEndPoint, AuthenticateResponse sessionInfo) | 924 | protected virtual void AddClient(uint circuitCode, UUID agentID, UUID sessionID, IPEndPoint remoteEndPoint, AuthenticateResponse sessionInfo) |
923 | { | 925 | { |
924 | // Create the LLUDPClient | 926 | // Create the LLUDPClient |
925 | LLUDPClient udpClient = new LLUDPClient(this, m_throttleRates, m_throttle, circuitCode, agentID, remoteEndPoint, m_defaultRTO, m_maxRTO); | 927 | LLUDPClient udpClient = new LLUDPClient(this, ThrottleRates, m_throttle, circuitCode, agentID, remoteEndPoint, m_defaultRTO, m_maxRTO); |
926 | IClientAPI existingClient; | 928 | IClientAPI existingClient; |
927 | 929 | ||
928 | if (!m_scene.TryGetClient(agentID, out existingClient)) | 930 | if (!m_scene.TryGetClient(agentID, out existingClient)) |
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs index d7f3f2c..4255c79 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs | |||
@@ -41,8 +41,8 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
41 | /// </summary> | 41 | /// </summary> |
42 | public class AgentAssetTransactions | 42 | public class AgentAssetTransactions |
43 | { | 43 | { |
44 | private static readonly ILog m_log = LogManager.GetLogger( | 44 | // private static readonly ILog m_log = LogManager.GetLogger( |
45 | MethodBase.GetCurrentMethod().DeclaringType); | 45 | // MethodBase.GetCurrentMethod().DeclaringType); |
46 | 46 | ||
47 | // Fields | 47 | // Fields |
48 | private bool m_dumpAssetsToFile; | 48 | private bool m_dumpAssetsToFile; |
@@ -167,8 +167,8 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
167 | { | 167 | { |
168 | if (XferUploaders.ContainsKey(transactionID)) | 168 | if (XferUploaders.ContainsKey(transactionID)) |
169 | { | 169 | { |
170 | m_log.DebugFormat("[XFER]: Asked to update item {0} ({1})", | 170 | // m_log.DebugFormat("[XFER]: Asked to update item {0} ({1})", |
171 | item.Name, item.ID); | 171 | // item.Name, item.ID); |
172 | 172 | ||
173 | // Here we need to get the old asset to extract the | 173 | // Here we need to get the old asset to extract the |
174 | // texture UUIDs if it's a wearable. | 174 | // texture UUIDs if it's a wearable. |
@@ -195,8 +195,8 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
195 | IInventoryService invService = m_Scene.InventoryService; | 195 | IInventoryService invService = m_Scene.InventoryService; |
196 | invService.UpdateItem(item); | 196 | invService.UpdateItem(item); |
197 | 197 | ||
198 | m_log.DebugFormat("[XFER]: Updated item {0} ({1}) with asset {2}", | 198 | // m_log.DebugFormat("[XFER]: Updated item {0} ({1}) with asset {2}", |
199 | item.Name, item.ID, asset.FullID); | 199 | // item.Name, item.ID, asset.FullID); |
200 | } | 200 | } |
201 | } | 201 | } |
202 | } | 202 | } |
diff --git a/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs b/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs index 8347e35..878242a 100644 --- a/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Assets/GetMeshModule.cs | |||
@@ -49,8 +49,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets | |||
49 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] | 49 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] |
50 | public class GetMeshModule : INonSharedRegionModule | 50 | public class GetMeshModule : INonSharedRegionModule |
51 | { | 51 | { |
52 | private static readonly ILog m_log = | 52 | // private static readonly ILog m_log = |
53 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 53 | // LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
54 | |||
54 | private Scene m_scene; | 55 | private Scene m_scene; |
55 | private IAssetService m_assetService; | 56 | private IAssetService m_assetService; |
56 | 57 | ||
diff --git a/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs b/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs index af26b2b..542af25 100644 --- a/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs | |||
@@ -50,8 +50,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets | |||
50 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] | 50 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] |
51 | public class NewFileAgentInventoryVariablePriceModule : INonSharedRegionModule | 51 | public class NewFileAgentInventoryVariablePriceModule : INonSharedRegionModule |
52 | { | 52 | { |
53 | private static readonly ILog m_log = | 53 | // private static readonly ILog m_log = |
54 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 54 | // LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
55 | |||
55 | private Scene m_scene; | 56 | private Scene m_scene; |
56 | private IAssetService m_assetService; | 57 | private IAssetService m_assetService; |
57 | private bool m_dumpAssetsToFile = false; | 58 | private bool m_dumpAssetsToFile = false; |
@@ -104,7 +105,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets | |||
104 | { | 105 | { |
105 | UUID capID = UUID.Random(); | 106 | UUID capID = UUID.Random(); |
106 | 107 | ||
107 | m_log.Info("[GETMESH]: /CAPS/" + capID); | 108 | // m_log.Debug("[NEW FILE AGENT INVENTORY VARIABLE PRICE]: /CAPS/" + capID); |
108 | caps.RegisterHandler("NewFileAgentInventoryVariablePrice", | 109 | caps.RegisterHandler("NewFileAgentInventoryVariablePrice", |
109 | 110 | ||
110 | new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDNewFileAngentInventoryVariablePriceReplyResponse>("POST", | 111 | new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDNewFileAngentInventoryVariablePriceReplyResponse>("POST", |
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 7d6d191..ed0a290 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -167,7 +167,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
167 | } | 167 | } |
168 | } | 168 | } |
169 | 169 | ||
170 | m_log.InfoFormat("[AVFACTORY]: complete texture check for {0}",client.AgentId); | 170 | m_log.InfoFormat("[AVFACTORY]: complete texture check for {0}", client.AgentId); |
171 | 171 | ||
172 | // If we only found default textures, then the appearance is not cached | 172 | // If we only found default textures, then the appearance is not cached |
173 | return (defonly ? false : true); | 173 | return (defonly ? false : true); |
@@ -187,7 +187,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
187 | return; | 187 | return; |
188 | } | 188 | } |
189 | 189 | ||
190 | m_log.InfoFormat("[AVFACTORY]: start SetAppearance for {0}",client.AgentId); | 190 | // m_log.InfoFormat("[AVFACTORY]: start SetAppearance for {0}", client.AgentId); |
191 | 191 | ||
192 | // TODO: This is probably not necessary any longer, just assume the | 192 | // TODO: This is probably not necessary any longer, just assume the |
193 | // textureEntry set implies that the appearance transaction is complete | 193 | // textureEntry set implies that the appearance transaction is complete |
@@ -210,7 +210,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
210 | { | 210 | { |
211 | changed = sp.Appearance.SetTextureEntries(textureEntry) || changed; | 211 | changed = sp.Appearance.SetTextureEntries(textureEntry) || changed; |
212 | 212 | ||
213 | m_log.InfoFormat("[AVFACTORY]: received texture update for {0}",client.AgentId); | 213 | m_log.InfoFormat("[AVFACTORY]: received texture update for {0}", client.AgentId); |
214 | Util.FireAndForget(delegate(object o) { ValidateBakedTextureCache(client,false); }); | 214 | Util.FireAndForget(delegate(object o) { ValidateBakedTextureCache(client,false); }); |
215 | 215 | ||
216 | // This appears to be set only in the final stage of the appearance | 216 | // This appears to be set only in the final stage of the appearance |
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs index 0d5401b..dd9819a 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | |||
@@ -180,7 +180,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
180 | } | 180 | } |
181 | } | 181 | } |
182 | 182 | ||
183 | m_log.DebugFormat("[INSTANT MESSAGE]: Delivering IM to {0} via XMLRPC", im.toAgentID); | 183 | // m_log.DebugFormat("[INSTANT MESSAGE]: Delivering IM to {0} via XMLRPC", im.toAgentID); |
184 | SendGridInstantMessageViaXMLRPC(im, result); | 184 | SendGridInstantMessageViaXMLRPC(im, result); |
185 | 185 | ||
186 | return; | 186 | return; |
diff --git a/OpenSim/Region/CoreModules/Avatar/ObjectCaps/ObjectAdd.cs b/OpenSim/Region/CoreModules/Avatar/ObjectCaps/ObjectAdd.cs index 008233b..a0d72ed 100644 --- a/OpenSim/Region/CoreModules/Avatar/ObjectCaps/ObjectAdd.cs +++ b/OpenSim/Region/CoreModules/Avatar/ObjectCaps/ObjectAdd.cs | |||
@@ -43,8 +43,9 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
43 | { | 43 | { |
44 | public class ObjectAdd : IRegionModule | 44 | public class ObjectAdd : IRegionModule |
45 | { | 45 | { |
46 | private static readonly ILog m_log = | 46 | // private static readonly ILog m_log = |
47 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 47 | // LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
48 | |||
48 | private Scene m_scene; | 49 | private Scene m_scene; |
49 | #region IRegionModule Members | 50 | #region IRegionModule Members |
50 | 51 | ||
diff --git a/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs b/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs index 09b9719..3114d7f 100644 --- a/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/ObjectCaps/UploadObjectAssetModule.cs | |||
@@ -105,7 +105,7 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
105 | { | 105 | { |
106 | UUID capID = UUID.Random(); | 106 | UUID capID = UUID.Random(); |
107 | 107 | ||
108 | m_log.Info("[UploadObjectAssetModule]: /CAPS/" + capID); | 108 | // m_log.Debug("[UPLOAD OBJECT ASSET MODULE]: /CAPS/" + capID); |
109 | caps.RegisterHandler("UploadObjectAsset", | 109 | caps.RegisterHandler("UploadObjectAsset", |
110 | new RestHTTPHandler("POST", "/CAPS/OA/" + capID + "/", | 110 | new RestHTTPHandler("POST", "/CAPS/OA/" + capID + "/", |
111 | delegate(Hashtable m_dhttpMethod) | 111 | delegate(Hashtable m_dhttpMethod) |
@@ -156,7 +156,7 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
156 | } | 156 | } |
157 | catch (Exception ex) | 157 | catch (Exception ex) |
158 | { | 158 | { |
159 | m_log.Error("[UploadObjectAssetModule]: Error deserializing message " + ex.ToString()); | 159 | m_log.Error("[UPLOAD OBJECT ASSET MODULE]: Error deserializing message " + ex.ToString()); |
160 | message = null; | 160 | message = null; |
161 | } | 161 | } |
162 | 162 | ||
@@ -174,7 +174,7 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
174 | Vector3 pos = avatar.AbsolutePosition + (Vector3.UnitX * avatar.Rotation); | 174 | Vector3 pos = avatar.AbsolutePosition + (Vector3.UnitX * avatar.Rotation); |
175 | Quaternion rot = Quaternion.Identity; | 175 | Quaternion rot = Quaternion.Identity; |
176 | Vector3 rootpos = Vector3.Zero; | 176 | Vector3 rootpos = Vector3.Zero; |
177 | Quaternion rootrot = Quaternion.Identity; | 177 | // Quaternion rootrot = Quaternion.Identity; |
178 | 178 | ||
179 | SceneObjectGroup rootGroup = null; | 179 | SceneObjectGroup rootGroup = null; |
180 | SceneObjectGroup[] allparts = new SceneObjectGroup[message.Objects.Length]; | 180 | SceneObjectGroup[] allparts = new SceneObjectGroup[message.Objects.Length]; |
@@ -186,11 +186,9 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
186 | if (i == 0) | 186 | if (i == 0) |
187 | { | 187 | { |
188 | rootpos = obj.Position; | 188 | rootpos = obj.Position; |
189 | rootrot = obj.Rotation; | 189 | // rootrot = obj.Rotation; |
190 | |||
191 | } | 190 | } |
192 | 191 | ||
193 | |||
194 | // Combine the extraparams data into it's ugly blob again.... | 192 | // Combine the extraparams data into it's ugly blob again.... |
195 | //int bytelength = 0; | 193 | //int bytelength = 0; |
196 | //for (int extparams = 0; extparams < obj.ExtraParams.Length; extparams++) | 194 | //for (int extparams = 0; extparams < obj.ExtraParams.Length; extparams++) |
@@ -363,9 +361,8 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
363 | responsedata["str_response_string"] = String.Format("<llsd><map><key>local_id</key>{0}</map></llsd>", ConvertUintToBytes(allparts[0].LocalId)); | 361 | responsedata["str_response_string"] = String.Format("<llsd><map><key>local_id</key>{0}</map></llsd>", ConvertUintToBytes(allparts[0].LocalId)); |
364 | 362 | ||
365 | return responsedata; | 363 | return responsedata; |
366 | |||
367 | |||
368 | } | 364 | } |
365 | |||
369 | private string ConvertUintToBytes(uint val) | 366 | private string ConvertUintToBytes(uint val) |
370 | { | 367 | { |
371 | byte[] resultbytes = Utils.UIntToBytes(val); | 368 | byte[] resultbytes = Utils.UIntToBytes(val); |
@@ -374,4 +371,4 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps | |||
374 | return String.Format("<binary encoding=\"base64\">{0}</binary>", Convert.ToBase64String(resultbytes)); | 371 | return String.Format("<binary encoding=\"base64\">{0}</binary>", Convert.ToBase64String(resultbytes)); |
375 | } | 372 | } |
376 | } | 373 | } |
377 | } | 374 | } \ No newline at end of file |
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index 60e8c1a..e7ebab3 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -781,6 +781,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
781 | LookupUUIDS icon = (LookupUUIDS)iar.AsyncState; | 781 | LookupUUIDS icon = (LookupUUIDS)iar.AsyncState; |
782 | icon.EndInvoke(iar); | 782 | icon.EndInvoke(iar); |
783 | } | 783 | } |
784 | |||
784 | private void LookupUUID(List<UUID> uuidLst) | 785 | private void LookupUUID(List<UUID> uuidLst) |
785 | { | 786 | { |
786 | LookupUUIDS d = LookupUUIDsAsync; | 787 | LookupUUIDS d = LookupUUIDsAsync; |
@@ -789,6 +790,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
789 | LookupUUIDSCompleted, | 790 | LookupUUIDSCompleted, |
790 | d); | 791 | d); |
791 | } | 792 | } |
793 | |||
792 | private void LookupUUIDsAsync(List<UUID> uuidLst) | 794 | private void LookupUUIDsAsync(List<UUID> uuidLst) |
793 | { | 795 | { |
794 | UUID[] uuidarr; | 796 | UUID[] uuidarr; |
@@ -803,12 +805,12 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
803 | // string lookupname = m_scene.CommsManager.UUIDNameRequestString(uuidarr[i]); | 805 | // string lookupname = m_scene.CommsManager.UUIDNameRequestString(uuidarr[i]); |
804 | 806 | ||
805 | IUserManagement userManager = m_scene.RequestModuleInterface<IUserManagement>(); | 807 | IUserManagement userManager = m_scene.RequestModuleInterface<IUserManagement>(); |
806 | string userName = "Unkown User"; | ||
807 | if (userManager != null) | 808 | if (userManager != null) |
808 | userName = userManager.GetUserName(uuidarr[i]); | 809 | userManager.GetUserName(uuidarr[i]); |
809 | 810 | ||
810 | // we drop it. It gets cached though... so we're ready for the next request. | 811 | // we drop it. It gets cached though... so we're ready for the next request. |
811 | // diva commnent 11/21/2010: uh?!? wft? | 812 | // diva commnent 11/21/2010: uh?!? wft? |
813 | // justincc comment 21/01/2011: A side effect of userManager.GetUserName() I presume. | ||
812 | } | 814 | } |
813 | } | 815 | } |
814 | #endregion | 816 | #endregion |
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index f4ebbf0..a00b6b2 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -217,6 +217,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
217 | ParcelFlags.AllowDamage | | 217 | ParcelFlags.AllowDamage | |
218 | ParcelFlags.CreateObjects | | 218 | ParcelFlags.CreateObjects | |
219 | ParcelFlags.RestrictPushObject | | 219 | ParcelFlags.RestrictPushObject | |
220 | ParcelFlags.AllowOtherScripts | | ||
220 | ParcelFlags.AllowGroupScripts | | 221 | ParcelFlags.AllowGroupScripts | |
221 | ParcelFlags.CreateGroupObjects | | 222 | ParcelFlags.CreateGroupObjects | |
222 | ParcelFlags.AllowAPrimitiveEntry | | 223 | ParcelFlags.AllowAPrimitiveEntry | |
diff --git a/OpenSim/Region/CoreModules/World/Serialiser/SerialiserModule.cs b/OpenSim/Region/CoreModules/World/Serialiser/SerialiserModule.cs index ec97acd..0e861a1 100644 --- a/OpenSim/Region/CoreModules/World/Serialiser/SerialiserModule.cs +++ b/OpenSim/Region/CoreModules/World/Serialiser/SerialiserModule.cs | |||
@@ -46,7 +46,7 @@ namespace OpenSim.Region.CoreModules.World.Serialiser | |||
46 | private static readonly ILog m_log = | 46 | private static readonly ILog m_log = |
47 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 47 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
48 | 48 | ||
49 | private Commander m_commander = new Commander("export"); | 49 | // private Commander m_commander = new Commander("export"); |
50 | private List<Scene> m_regions = new List<Scene>(); | 50 | private List<Scene> m_regions = new List<Scene>(); |
51 | private string m_savedir = "exports"; | 51 | private string m_savedir = "exports"; |
52 | private List<IFileSerialiser> m_serialisers = new List<IFileSerialiser>(); | 52 | private List<IFileSerialiser> m_serialisers = new List<IFileSerialiser>(); |
@@ -77,14 +77,13 @@ namespace OpenSim.Region.CoreModules.World.Serialiser | |||
77 | m_serialisers.Add(new SerialiseObjects()); | 77 | m_serialisers.Add(new SerialiseObjects()); |
78 | } | 78 | } |
79 | 79 | ||
80 | LoadCommanderCommands(); | 80 | // LoadCommanderCommands(); |
81 | } | 81 | } |
82 | 82 | ||
83 | |||
84 | public void AddRegion(Scene scene) | 83 | public void AddRegion(Scene scene) |
85 | { | 84 | { |
86 | scene.RegisterModuleCommander(m_commander); | 85 | // scene.RegisterModuleCommander(m_commander); |
87 | scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; | 86 | // scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; |
88 | scene.RegisterModuleInterface<IRegionSerialiserModule>(this); | 87 | scene.RegisterModuleInterface<IRegionSerialiserModule>(this); |
89 | 88 | ||
90 | lock (m_regions) | 89 | lock (m_regions) |
@@ -211,18 +210,18 @@ namespace OpenSim.Region.CoreModules.World.Serialiser | |||
211 | 210 | ||
212 | #endregion | 211 | #endregion |
213 | 212 | ||
214 | private void EventManager_OnPluginConsole(string[] args) | 213 | // private void EventManager_OnPluginConsole(string[] args) |
215 | { | 214 | // { |
216 | if (args[0] == "export") | 215 | // if (args[0] == "export") |
217 | { | 216 | // { |
218 | string[] tmpArgs = new string[args.Length - 2]; | 217 | // string[] tmpArgs = new string[args.Length - 2]; |
219 | int i = 0; | 218 | // int i = 0; |
220 | for (i = 2; i < args.Length; i++) | 219 | // for (i = 2; i < args.Length; i++) |
221 | tmpArgs[i - 2] = args[i]; | 220 | // tmpArgs[i - 2] = args[i]; |
222 | 221 | // | |
223 | m_commander.ProcessConsoleCommand(args[1], tmpArgs); | 222 | // m_commander.ProcessConsoleCommand(args[1], tmpArgs); |
224 | } | 223 | // } |
225 | } | 224 | // } |
226 | 225 | ||
227 | private void InterfaceSaveRegion(Object[] args) | 226 | private void InterfaceSaveRegion(Object[] args) |
228 | { | 227 | { |
@@ -245,15 +244,15 @@ namespace OpenSim.Region.CoreModules.World.Serialiser | |||
245 | } | 244 | } |
246 | } | 245 | } |
247 | 246 | ||
248 | private void LoadCommanderCommands() | 247 | // private void LoadCommanderCommands() |
249 | { | 248 | // { |
250 | Command serialiseSceneCommand = new Command("save", CommandIntentions.COMMAND_NON_HAZARDOUS, InterfaceSaveRegion, "Saves the named region into the exports directory."); | 249 | // Command serialiseSceneCommand = new Command("save", CommandIntentions.COMMAND_NON_HAZARDOUS, InterfaceSaveRegion, "Saves the named region into the exports directory."); |
251 | serialiseSceneCommand.AddArgument("region-name", "The name of the region you wish to export", "String"); | 250 | // serialiseSceneCommand.AddArgument("region-name", "The name of the region you wish to export", "String"); |
252 | 251 | // | |
253 | Command serialiseAllScenesCommand = new Command("save-all",CommandIntentions.COMMAND_NON_HAZARDOUS, InterfaceSaveAllRegions, "Saves all regions into the exports directory."); | 252 | // Command serialiseAllScenesCommand = new Command("save-all",CommandIntentions.COMMAND_NON_HAZARDOUS, InterfaceSaveAllRegions, "Saves all regions into the exports directory."); |
254 | 253 | // | |
255 | m_commander.RegisterCommand("save", serialiseSceneCommand); | 254 | // m_commander.RegisterCommand("save", serialiseSceneCommand); |
256 | m_commander.RegisterCommand("save-all", serialiseAllScenesCommand); | 255 | // m_commander.RegisterCommand("save-all", serialiseAllScenesCommand); |
257 | } | 256 | // } |
258 | } | 257 | } |
259 | } | 258 | } |
diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs index 8df44fe..09c0ebb 100644 --- a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs +++ b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs | |||
@@ -38,7 +38,7 @@ namespace OpenSim.Region.CoreModules.World.Sound | |||
38 | { | 38 | { |
39 | public class SoundModule : IRegionModule, ISoundModule | 39 | public class SoundModule : IRegionModule, ISoundModule |
40 | { | 40 | { |
41 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 41 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
42 | 42 | ||
43 | protected Scene m_scene; | 43 | protected Scene m_scene; |
44 | 44 | ||
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/Perlin.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/Perlin.cs index af59d7a..522a7eb 100644 --- a/OpenSim/Region/CoreModules/World/Warp3DMap/Perlin.cs +++ b/OpenSim/Region/CoreModules/World/Warp3DMap/Perlin.cs | |||
@@ -85,9 +85,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap | |||
85 | public static float noise1(float arg) | 85 | public static float noise1(float arg) |
86 | { | 86 | { |
87 | int bx0, bx1; | 87 | int bx0, bx1; |
88 | float rx0, rx1, sx, t, u, v, a; | 88 | float rx0, rx1, sx, t, u, v; |
89 | |||
90 | a = arg; | ||
91 | 89 | ||
92 | t = arg + N; | 90 | t = arg + N; |
93 | bx0 = ((int)t) & BM; | 91 | bx0 = ((int)t) & BM; |
diff --git a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs new file mode 100644 index 0000000..87d067c --- /dev/null +++ b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | |||
@@ -0,0 +1,348 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Reflection; | ||
31 | using System.Text; | ||
32 | using log4net; | ||
33 | using Mono.Addins; | ||
34 | using Nini.Config; | ||
35 | using OpenMetaverse; | ||
36 | using OpenSim.Framework; | ||
37 | using OpenSim.Framework.Console; | ||
38 | using OpenSim.Framework.Statistics; | ||
39 | using OpenSim.Region.ClientStack.LindenUDP; | ||
40 | using OpenSim.Region.Framework.Interfaces; | ||
41 | using OpenSim.Region.Framework.Scenes; | ||
42 | |||
43 | namespace OpenSim.Region.CoreModules.UDP.Linden | ||
44 | { | ||
45 | /// <summary> | ||
46 | /// A module that just holds commands for inspecting the current state of the Linden UDP stack. | ||
47 | /// </summary> | ||
48 | /// <remarks> | ||
49 | /// All actual client stack functionality remains in OpenSim.Region.ClientStack.LindenUDP | ||
50 | /// </remarks> | ||
51 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "LindenUDPInfoModule")] | ||
52 | public class LindenUDPInfoModule : ISharedRegionModule | ||
53 | { | ||
54 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
55 | |||
56 | protected Dictionary<UUID, Scene> m_scenes = new Dictionary<UUID, Scene>(); | ||
57 | |||
58 | public string Name { get { return "Linden UDP Module"; } } | ||
59 | |||
60 | public Type ReplaceableInterface { get { return null; } } | ||
61 | |||
62 | public void Initialise(IConfigSource source) | ||
63 | { | ||
64 | // m_log.DebugFormat("[LINDEN UDP INFO MODULE]: INITIALIZED MODULE"); | ||
65 | } | ||
66 | |||
67 | public void PostInitialise() | ||
68 | { | ||
69 | // m_log.DebugFormat("[LINDEN UDP INFO MODULE]: POST INITIALIZED MODULE"); | ||
70 | } | ||
71 | |||
72 | public void Close() | ||
73 | { | ||
74 | // m_log.DebugFormat("[LINDEN UDP INFO MODULE]: CLOSED MODULE"); | ||
75 | } | ||
76 | |||
77 | public void AddRegion(Scene scene) | ||
78 | { | ||
79 | // m_log.DebugFormat("[LINDEN UDP INFO MODULE]: REGION {0} ADDED", scene.RegionInfo.RegionName); | ||
80 | |||
81 | lock (m_scenes) | ||
82 | m_scenes[scene.RegionInfo.RegionID] = scene; | ||
83 | |||
84 | scene.AddCommand( | ||
85 | this, "show queues", | ||
86 | "show queues [full]", | ||
87 | "Show queue data for each client", | ||
88 | "Without the 'full' option, only root agents are shown." | ||
89 | + " With the 'full' option child agents are also shown.", | ||
90 | ShowQueuesReport); | ||
91 | |||
92 | scene.AddCommand( | ||
93 | this, "show throttles", | ||
94 | "show throttles [full]", | ||
95 | "Show throttle settings for each client and for the server overall", | ||
96 | "Without the 'full' option, only root agents are shown." | ||
97 | + " With the 'full' option child agents are also shown.", | ||
98 | ShowThrottlesReport); | ||
99 | } | ||
100 | |||
101 | public void RemoveRegion(Scene scene) | ||
102 | { | ||
103 | // m_log.DebugFormat("[LINDEN UDP INFO MODULE]: REGION {0} REMOVED", scene.RegionInfo.RegionName); | ||
104 | |||
105 | lock (m_scenes) | ||
106 | m_scenes.Remove(scene.RegionInfo.RegionID); | ||
107 | } | ||
108 | |||
109 | public void RegionLoaded(Scene scene) | ||
110 | { | ||
111 | // m_log.DebugFormat("[LINDEN UDP INFO MODULE]: REGION {0} LOADED", scene.RegionInfo.RegionName); | ||
112 | } | ||
113 | |||
114 | protected void ShowQueuesReport(string module, string[] cmd) | ||
115 | { | ||
116 | MainConsole.Instance.Output(GetQueuesReport(cmd)); | ||
117 | } | ||
118 | |||
119 | protected void ShowThrottlesReport(string module, string[] cmd) | ||
120 | { | ||
121 | MainConsole.Instance.Output(GetThrottlesReport(cmd)); | ||
122 | } | ||
123 | |||
124 | protected string GetColumnEntry(string entry, int maxLength, int columnPadding) | ||
125 | { | ||
126 | return string.Format( | ||
127 | "{0,-" + maxLength + "}{1,-" + columnPadding + "}", | ||
128 | entry.Length > maxLength ? entry.Substring(0, maxLength) : entry, | ||
129 | ""); | ||
130 | } | ||
131 | |||
132 | /// <summary> | ||
133 | /// Generate UDP Queue data report for each client | ||
134 | /// </summary> | ||
135 | /// <param name="showParams"></param> | ||
136 | /// <returns></returns> | ||
137 | protected string GetQueuesReport(string[] showParams) | ||
138 | { | ||
139 | bool showChildren = false; | ||
140 | |||
141 | if (showParams.Length > 2 && showParams[2] == "full") | ||
142 | showChildren = true; | ||
143 | |||
144 | StringBuilder report = new StringBuilder(); | ||
145 | |||
146 | int columnPadding = 2; | ||
147 | int maxNameLength = 18; | ||
148 | int maxRegionNameLength = 14; | ||
149 | int maxTypeLength = 4; | ||
150 | int totalInfoFieldsLength = maxNameLength + columnPadding + maxRegionNameLength + columnPadding + maxTypeLength + columnPadding; | ||
151 | |||
152 | report.Append(GetColumnEntry("User", maxNameLength, columnPadding)); | ||
153 | report.Append(GetColumnEntry("Region", maxRegionNameLength, columnPadding)); | ||
154 | report.Append(GetColumnEntry("Type", maxTypeLength, columnPadding)); | ||
155 | |||
156 | report.AppendFormat( | ||
157 | "{0,7} {1,7} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", | ||
158 | "Pkts", | ||
159 | "Pkts", | ||
160 | "Bytes", | ||
161 | "Pkts", | ||
162 | "Pkts", | ||
163 | "Pkts", | ||
164 | "Pkts", | ||
165 | "Pkts", | ||
166 | "Pkts", | ||
167 | "Pkts", | ||
168 | "Pkts"); | ||
169 | |||
170 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); | ||
171 | report.AppendFormat( | ||
172 | "{0,7} {1,7} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", | ||
173 | "Out", | ||
174 | "In", | ||
175 | "Unacked", | ||
176 | "Resend", | ||
177 | "Land", | ||
178 | "Wind", | ||
179 | "Cloud", | ||
180 | "Task", | ||
181 | "Texture", | ||
182 | "Asset", | ||
183 | "State"); | ||
184 | |||
185 | lock (m_scenes) | ||
186 | { | ||
187 | foreach (Scene scene in m_scenes.Values) | ||
188 | { | ||
189 | scene.ForEachClient( | ||
190 | delegate(IClientAPI client) | ||
191 | { | ||
192 | if (client is IStatsCollector) | ||
193 | { | ||
194 | bool isChild = scene.PresenceChildStatus(client.AgentId); | ||
195 | if (isChild && !showChildren) | ||
196 | return; | ||
197 | |||
198 | string name = client.Name; | ||
199 | string regionName = scene.RegionInfo.RegionName; | ||
200 | |||
201 | report.Append(GetColumnEntry(name, maxNameLength, columnPadding)); | ||
202 | report.Append(GetColumnEntry(regionName, maxRegionNameLength, columnPadding)); | ||
203 | report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding)); | ||
204 | |||
205 | IStatsCollector stats = (IStatsCollector)client; | ||
206 | |||
207 | report.AppendLine(stats.Report()); | ||
208 | } | ||
209 | }); | ||
210 | } | ||
211 | } | ||
212 | |||
213 | return report.ToString(); | ||
214 | } | ||
215 | |||
216 | /// <summary> | ||
217 | /// Show throttle data | ||
218 | /// </summary> | ||
219 | /// <param name="showParams"></param> | ||
220 | /// <returns></returns> | ||
221 | protected string GetThrottlesReport(string[] showParams) | ||
222 | { | ||
223 | bool showChildren = false; | ||
224 | |||
225 | if (showParams.Length > 2 && showParams[2] == "full") | ||
226 | showChildren = true; | ||
227 | |||
228 | StringBuilder report = new StringBuilder(); | ||
229 | |||
230 | int columnPadding = 2; | ||
231 | int maxNameLength = 18; | ||
232 | int maxRegionNameLength = 14; | ||
233 | int maxTypeLength = 4; | ||
234 | int totalInfoFieldsLength = maxNameLength + columnPadding + maxRegionNameLength + columnPadding + maxTypeLength + columnPadding; | ||
235 | |||
236 | report.Append(GetColumnEntry("User", maxNameLength, columnPadding)); | ||
237 | report.Append(GetColumnEntry("Region", maxRegionNameLength, columnPadding)); | ||
238 | report.Append(GetColumnEntry("Type", maxTypeLength, columnPadding)); | ||
239 | |||
240 | report.AppendFormat( | ||
241 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}\n", | ||
242 | "Total", | ||
243 | "Resend", | ||
244 | "Land", | ||
245 | "Wind", | ||
246 | "Cloud", | ||
247 | "Task", | ||
248 | "Texture", | ||
249 | "Asset"); | ||
250 | |||
251 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); | ||
252 | report.AppendFormat( | ||
253 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}", | ||
254 | "kb/s", | ||
255 | "kb/s", | ||
256 | "kb/s", | ||
257 | "kb/s", | ||
258 | "kb/s", | ||
259 | "kb/s", | ||
260 | "kb/s", | ||
261 | "kb/s"); | ||
262 | |||
263 | report.AppendLine(); | ||
264 | |||
265 | bool firstClient = true; | ||
266 | |||
267 | lock (m_scenes) | ||
268 | { | ||
269 | foreach (Scene scene in m_scenes.Values) | ||
270 | { | ||
271 | scene.ForEachClient( | ||
272 | delegate(IClientAPI client) | ||
273 | { | ||
274 | if (client is LLClientView) | ||
275 | { | ||
276 | LLClientView llClient = client as LLClientView; | ||
277 | |||
278 | if (firstClient) | ||
279 | { | ||
280 | report.AppendLine(GetServerThrottlesReport(llClient.UDPServer)); | ||
281 | firstClient = false; | ||
282 | } | ||
283 | |||
284 | bool isChild = scene.PresenceChildStatus(client.AgentId); | ||
285 | if (isChild && !showChildren) | ||
286 | return; | ||
287 | |||
288 | string name = client.Name; | ||
289 | string regionName = scene.RegionInfo.RegionName; | ||
290 | |||
291 | LLUDPClient llUdpClient = llClient.UDPClient; | ||
292 | ClientInfo ci = llUdpClient.GetClientInfo(); | ||
293 | |||
294 | report.Append(GetColumnEntry(name, maxNameLength, columnPadding)); | ||
295 | report.Append(GetColumnEntry(regionName, maxRegionNameLength, columnPadding)); | ||
296 | report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding)); | ||
297 | |||
298 | report.AppendFormat( | ||
299 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}", | ||
300 | (ci.totalThrottle * 8) / 1000, | ||
301 | (ci.resendThrottle * 8) / 1000, | ||
302 | (ci.landThrottle * 8) / 1000, | ||
303 | (ci.windThrottle * 8) / 1000, | ||
304 | (ci.cloudThrottle * 8) / 1000, | ||
305 | (ci.taskThrottle * 8) / 1000, | ||
306 | (ci.textureThrottle * 8) / 1000, | ||
307 | (ci.assetThrottle * 8) / 1000); | ||
308 | |||
309 | report.AppendLine(); | ||
310 | } | ||
311 | }); | ||
312 | } | ||
313 | } | ||
314 | |||
315 | return report.ToString(); | ||
316 | } | ||
317 | |||
318 | protected string GetServerThrottlesReport(LLUDPServer udpServer) | ||
319 | { | ||
320 | StringBuilder report = new StringBuilder(); | ||
321 | |||
322 | int columnPadding = 2; | ||
323 | int maxNameLength = 18; | ||
324 | int maxRegionNameLength = 14; | ||
325 | int maxTypeLength = 4; | ||
326 | |||
327 | string name = "SERVER AGENT LIMITS"; | ||
328 | |||
329 | report.Append(GetColumnEntry(name, maxNameLength, columnPadding)); | ||
330 | report.Append(GetColumnEntry("-", maxRegionNameLength, columnPadding)); | ||
331 | report.Append(GetColumnEntry("-", maxTypeLength, columnPadding)); | ||
332 | |||
333 | ThrottleRates throttleRates = udpServer.ThrottleRates; | ||
334 | report.AppendFormat( | ||
335 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}", | ||
336 | "n/a", | ||
337 | (throttleRates.ResendLimit * 8) / 1000, | ||
338 | (throttleRates.LandLimit * 8) / 1000, | ||
339 | (throttleRates.WindLimit * 8) / 1000, | ||
340 | (throttleRates.CloudLimit * 8) / 1000, | ||
341 | (throttleRates.TaskLimit * 8) / 1000, | ||
342 | (throttleRates.TextureLimit * 8) / 1000, | ||
343 | (throttleRates.AssetLimit * 8) / 1000); | ||
344 | |||
345 | return report.ToString(); | ||
346 | } | ||
347 | } | ||
348 | } \ No newline at end of file | ||
diff --git a/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs b/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs index c9e80d9..8472d34 100644 --- a/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs +++ b/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs | |||
@@ -39,7 +39,7 @@ namespace OpenSim.Server.Handlers.Grid | |||
39 | { | 39 | { |
40 | public class GridInfoServerInConnector : ServiceConnector | 40 | public class GridInfoServerInConnector : ServiceConnector |
41 | { | 41 | { |
42 | private string m_ConfigName = "GridInfoService"; | 42 | // private string m_ConfigName = "GridInfoService"; |
43 | 43 | ||
44 | public GridInfoServerInConnector(IConfigSource config, IHttpServer server, string configName) : | 44 | public GridInfoServerInConnector(IConfigSource config, IHttpServer server, string configName) : |
45 | base(config, server, configName) | 45 | base(config, server, configName) |
diff --git a/OpenSim/Server/Handlers/Hypergrid/AgentHandlers.cs b/OpenSim/Server/Handlers/Hypergrid/AgentHandlers.cs index 31eefb1..f3f81b0 100644 --- a/OpenSim/Server/Handlers/Hypergrid/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Hypergrid/AgentHandlers.cs | |||
@@ -51,7 +51,8 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
51 | { | 51 | { |
52 | public class GatekeeperAgentHandler : OpenSim.Server.Handlers.Simulation.AgentHandler | 52 | public class GatekeeperAgentHandler : OpenSim.Server.Handlers.Simulation.AgentHandler |
53 | { | 53 | { |
54 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 54 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
55 | |||
55 | private IGatekeeperService m_GatekeeperService; | 56 | private IGatekeeperService m_GatekeeperService; |
56 | 57 | ||
57 | public GatekeeperAgentHandler(IGatekeeperService gatekeeper, bool proxy) | 58 | public GatekeeperAgentHandler(IGatekeeperService gatekeeper, bool proxy) |
diff --git a/OpenSim/Server/Handlers/Hypergrid/GatekeeperServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/GatekeeperServerConnector.cs index 49de8b1..3d0967f 100644 --- a/OpenSim/Server/Handlers/Hypergrid/GatekeeperServerConnector.cs +++ b/OpenSim/Server/Handlers/Hypergrid/GatekeeperServerConnector.cs | |||
@@ -41,9 +41,9 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
41 | { | 41 | { |
42 | public class GatekeeperServiceInConnector : ServiceConnector | 42 | public class GatekeeperServiceInConnector : ServiceConnector |
43 | { | 43 | { |
44 | private static readonly ILog m_log = | 44 | // private static readonly ILog m_log = |
45 | LogManager.GetLogger( | 45 | // LogManager.GetLogger( |
46 | MethodBase.GetCurrentMethod().DeclaringType); | 46 | // MethodBase.GetCurrentMethod().DeclaringType); |
47 | 47 | ||
48 | private IGatekeeperService m_GatekeeperService; | 48 | private IGatekeeperService m_GatekeeperService; |
49 | public IGatekeeperService GateKeeper | 49 | public IGatekeeperService GateKeeper |
diff --git a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs index e5f6a5d..0e8ce80 100644 --- a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs +++ b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | |||
@@ -47,9 +47,9 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
47 | { | 47 | { |
48 | public class UserAgentServerConnector : ServiceConnector | 48 | public class UserAgentServerConnector : ServiceConnector |
49 | { | 49 | { |
50 | private static readonly ILog m_log = | 50 | // private static readonly ILog m_log = |
51 | LogManager.GetLogger( | 51 | // LogManager.GetLogger( |
52 | MethodBase.GetCurrentMethod().DeclaringType); | 52 | // MethodBase.GetCurrentMethod().DeclaringType); |
53 | 53 | ||
54 | private IUserAgentService m_HomeUsersService; | 54 | private IUserAgentService m_HomeUsersService; |
55 | 55 | ||
diff --git a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs index edb44ea..899f9c0 100644 --- a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs +++ b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs | |||
@@ -347,7 +347,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
347 | 347 | ||
348 | byte[] HandleAddFolder(Dictionary<string,object> request) | 348 | byte[] HandleAddFolder(Dictionary<string,object> request) |
349 | { | 349 | { |
350 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
351 | InventoryFolderBase folder = BuildFolder(request); | 350 | InventoryFolderBase folder = BuildFolder(request); |
352 | 351 | ||
353 | if (m_InventoryService.AddFolder(folder)) | 352 | if (m_InventoryService.AddFolder(folder)) |
@@ -358,7 +357,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
358 | 357 | ||
359 | byte[] HandleUpdateFolder(Dictionary<string,object> request) | 358 | byte[] HandleUpdateFolder(Dictionary<string,object> request) |
360 | { | 359 | { |
361 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
362 | InventoryFolderBase folder = BuildFolder(request); | 360 | InventoryFolderBase folder = BuildFolder(request); |
363 | 361 | ||
364 | if (m_InventoryService.UpdateFolder(folder)) | 362 | if (m_InventoryService.UpdateFolder(folder)) |
@@ -369,7 +367,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
369 | 367 | ||
370 | byte[] HandleMoveFolder(Dictionary<string,object> request) | 368 | byte[] HandleMoveFolder(Dictionary<string,object> request) |
371 | { | 369 | { |
372 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
373 | UUID parentID = UUID.Zero; | 370 | UUID parentID = UUID.Zero; |
374 | UUID.TryParse(request["ParentID"].ToString(), out parentID); | 371 | UUID.TryParse(request["ParentID"].ToString(), out parentID); |
375 | UUID folderID = UUID.Zero; | 372 | UUID folderID = UUID.Zero; |
@@ -387,7 +384,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
387 | 384 | ||
388 | byte[] HandleDeleteFolders(Dictionary<string,object> request) | 385 | byte[] HandleDeleteFolders(Dictionary<string,object> request) |
389 | { | 386 | { |
390 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
391 | UUID principal = UUID.Zero; | 387 | UUID principal = UUID.Zero; |
392 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); | 388 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); |
393 | List<string> slist = (List<string>)request["FOLDERS"]; | 389 | List<string> slist = (List<string>)request["FOLDERS"]; |
@@ -408,8 +404,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
408 | 404 | ||
409 | byte[] HandlePurgeFolder(Dictionary<string,object> request) | 405 | byte[] HandlePurgeFolder(Dictionary<string,object> request) |
410 | { | 406 | { |
411 | |||
412 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
413 | UUID folderID = UUID.Zero; | 407 | UUID folderID = UUID.Zero; |
414 | UUID.TryParse(request["ID"].ToString(), out folderID); | 408 | UUID.TryParse(request["ID"].ToString(), out folderID); |
415 | 409 | ||
@@ -422,7 +416,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
422 | 416 | ||
423 | byte[] HandleAddItem(Dictionary<string,object> request) | 417 | byte[] HandleAddItem(Dictionary<string,object> request) |
424 | { | 418 | { |
425 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
426 | InventoryItemBase item = BuildItem(request); | 419 | InventoryItemBase item = BuildItem(request); |
427 | 420 | ||
428 | if (m_InventoryService.AddItem(item)) | 421 | if (m_InventoryService.AddItem(item)) |
@@ -433,7 +426,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
433 | 426 | ||
434 | byte[] HandleUpdateItem(Dictionary<string,object> request) | 427 | byte[] HandleUpdateItem(Dictionary<string,object> request) |
435 | { | 428 | { |
436 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
437 | InventoryItemBase item = BuildItem(request); | 429 | InventoryItemBase item = BuildItem(request); |
438 | 430 | ||
439 | if (m_InventoryService.UpdateItem(item)) | 431 | if (m_InventoryService.UpdateItem(item)) |
@@ -444,7 +436,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
444 | 436 | ||
445 | byte[] HandleMoveItems(Dictionary<string,object> request) | 437 | byte[] HandleMoveItems(Dictionary<string,object> request) |
446 | { | 438 | { |
447 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
448 | List<string> idlist = (List<string>)request["IDLIST"]; | 439 | List<string> idlist = (List<string>)request["IDLIST"]; |
449 | List<string> destlist = (List<string>)request["DESTLIST"]; | 440 | List<string> destlist = (List<string>)request["DESTLIST"]; |
450 | UUID principal = UUID.Zero; | 441 | UUID principal = UUID.Zero; |
@@ -483,7 +474,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
483 | 474 | ||
484 | byte[] HandleDeleteItems(Dictionary<string,object> request) | 475 | byte[] HandleDeleteItems(Dictionary<string,object> request) |
485 | { | 476 | { |
486 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
487 | UUID principal = UUID.Zero; | 477 | UUID principal = UUID.Zero; |
488 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); | 478 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); |
489 | List<string> slist = (List<string>)request["ITEMS"]; | 479 | List<string> slist = (List<string>)request["ITEMS"]; |
diff --git a/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs b/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs index 3104917..85bf96e 100644 --- a/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs +++ b/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs | |||
@@ -129,8 +129,6 @@ namespace OpenSim.Server.Handlers.Presence | |||
129 | byte[] LogoutAgent(Dictionary<string, object> request) | 129 | byte[] LogoutAgent(Dictionary<string, object> request) |
130 | { | 130 | { |
131 | UUID session = UUID.Zero; | 131 | UUID session = UUID.Zero; |
132 | Vector3 position = Vector3.Zero; | ||
133 | Vector3 lookat = Vector3.Zero; | ||
134 | 132 | ||
135 | if (!request.ContainsKey("SessionID")) | 133 | if (!request.ContainsKey("SessionID")) |
136 | return FailureResult(); | 134 | return FailureResult(); |
diff --git a/OpenSim/Server/Handlers/Simulation/SimulationServiceInConnector.cs b/OpenSim/Server/Handlers/Simulation/SimulationServiceInConnector.cs index 50d6fb2..f33eda7 100644 --- a/OpenSim/Server/Handlers/Simulation/SimulationServiceInConnector.cs +++ b/OpenSim/Server/Handlers/Simulation/SimulationServiceInConnector.cs | |||
@@ -38,7 +38,7 @@ namespace OpenSim.Server.Handlers.Simulation | |||
38 | public class SimulationServiceInConnector : ServiceConnector | 38 | public class SimulationServiceInConnector : ServiceConnector |
39 | { | 39 | { |
40 | private ISimulationService m_LocalSimulationService; | 40 | private ISimulationService m_LocalSimulationService; |
41 | private IAuthenticationService m_AuthenticationService; | 41 | // private IAuthenticationService m_AuthenticationService; |
42 | 42 | ||
43 | public SimulationServiceInConnector(IConfigSource config, IHttpServer server, IScene scene) : | 43 | public SimulationServiceInConnector(IConfigSource config, IHttpServer server, IScene scene) : |
44 | base(config, server, String.Empty) | 44 | base(config, server, String.Empty) |