diff options
Diffstat (limited to 'OpenSim/TestSuite/BotManager.cs')
-rw-r--r-- | OpenSim/TestSuite/BotManager.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/TestSuite/BotManager.cs b/OpenSim/TestSuite/BotManager.cs index a431a43..29864ab 100644 --- a/OpenSim/TestSuite/BotManager.cs +++ b/OpenSim/TestSuite/BotManager.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.TestSuite | |||
51 | protected Random somthing = new Random(Environment.TickCount); | 51 | protected Random somthing = new Random(Environment.TickCount); |
52 | protected int numbots = 0; | 52 | protected int numbots = 0; |
53 | protected IConfig Previous_config; | 53 | protected IConfig Previous_config; |
54 | 54 | ||
55 | /// <summary> | 55 | /// <summary> |
56 | /// Constructor Creates MainConsole.Instance to take commands and provide the place to write data | 56 | /// Constructor Creates MainConsole.Instance to take commands and provide the place to write data |
57 | /// </summary> | 57 | /// </summary> |
@@ -97,7 +97,7 @@ namespace OpenSim.TestSuite | |||
97 | startupBot(i, Previous_config); | 97 | startupBot(i, Previous_config); |
98 | } | 98 | } |
99 | } | 99 | } |
100 | 100 | ||
101 | /// <summary> | 101 | /// <summary> |
102 | /// This starts up the bot and stores the thread for the bot in the thread array | 102 | /// This starts up the bot and stores the thread for the bot in the thread array |
103 | /// </summary> | 103 | /// </summary> |
@@ -128,7 +128,7 @@ namespace OpenSim.TestSuite | |||
128 | { | 128 | { |
129 | string returnstring = ""; | 129 | string returnstring = ""; |
130 | string chars = "abcdefghijklmnopqrstuvwxyz0123456789"; | 130 | string chars = "abcdefghijklmnopqrstuvwxyz0123456789"; |
131 | 131 | ||
132 | for (int i = 0; i < 7; i++) | 132 | for (int i = 0; i < 7; i++) |
133 | { | 133 | { |
134 | returnstring += chars.Substring(somthing.Next(chars.Length),1); | 134 | returnstring += chars.Substring(somthing.Next(chars.Length),1); |
@@ -178,7 +178,7 @@ namespace OpenSim.TestSuite | |||
178 | { | 178 | { |
179 | return new ConsoleBase("Region", this); | 179 | return new ConsoleBase("Region", this); |
180 | } | 180 | } |
181 | 181 | ||
182 | /// <summary> | 182 | /// <summary> |
183 | /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit | 183 | /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit |
184 | /// </summary> | 184 | /// </summary> |
@@ -199,7 +199,7 @@ namespace OpenSim.TestSuite | |||
199 | case "addbots": | 199 | case "addbots": |
200 | int newbots; | 200 | int newbots; |
201 | Helpers.TryParse(cmdparams[0], out newbots); | 201 | Helpers.TryParse(cmdparams[0], out newbots); |
202 | 202 | ||
203 | if (newbots > 0) | 203 | if (newbots > 0) |
204 | addbots(newbots); | 204 | addbots(newbots); |
205 | break; | 205 | break; |