diff options
Diffstat (limited to 'OpenSim/TestSuite/BotManager.cs')
-rw-r--r-- | OpenSim/TestSuite/BotManager.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/TestSuite/BotManager.cs b/OpenSim/TestSuite/BotManager.cs index c867cae..ec71973 100644 --- a/OpenSim/TestSuite/BotManager.cs +++ b/OpenSim/TestSuite/BotManager.cs | |||
@@ -27,12 +27,11 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Reflection; |
31 | using System.IO; | 31 | using System.Threading; |
32 | using libsecondlife; | 32 | using libsecondlife; |
33 | using libsecondlife.Packets; | 33 | using log4net; |
34 | using Nini.Config; | 34 | using Nini.Config; |
35 | using System.Threading; | ||
36 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
37 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
38 | 37 | ||
@@ -43,13 +42,13 @@ namespace OpenSim.TestSuite | |||
43 | /// </summary> | 42 | /// </summary> |
44 | public class BotManager : conscmd_callback | 43 | public class BotManager : conscmd_callback |
45 | { | 44 | { |
46 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 45 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
47 | 46 | ||
48 | protected ConsoleBase m_console; | 47 | protected ConsoleBase m_console; |
49 | protected List<PhysicsBot> m_lBot; | 48 | protected List<PhysicsBot> m_lBot; |
50 | protected Thread[] m_td; | 49 | protected Thread[] m_td; |
51 | protected bool m_verbose = true; | 50 | protected bool m_verbose = true; |
52 | protected Random somthing = new Random(System.Environment.TickCount); | 51 | protected Random somthing = new Random(Environment.TickCount); |
53 | protected int numbots = 0; | 52 | protected int numbots = 0; |
54 | protected IConfig Previous_config; | 53 | protected IConfig Previous_config; |
55 | 54 | ||
@@ -118,7 +117,7 @@ namespace OpenSim.TestSuite | |||
118 | m_td[pos].IsBackground = true; | 117 | m_td[pos].IsBackground = true; |
119 | m_td[pos].Start(); | 118 | m_td[pos].Start(); |
120 | m_lBot.Add(pb); | 119 | m_lBot.Add(pb); |
121 | OpenSim.Framework.ThreadTracker.Add(m_td[pos]); | 120 | ThreadTracker.Add(m_td[pos]); |
122 | } | 121 | } |
123 | 122 | ||
124 | /// <summary> | 123 | /// <summary> |