aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorJeff Ames2008-08-18 00:39:10 +0000
committerJeff Ames2008-08-18 00:39:10 +0000
commit6ef9d4da901a346c232458317cca6268da888e2e (patch)
treedd1d935b10f34f261839da9f9879c02322e8ede7 /OpenSim/Tools/pCampBot/BotManager.cs
parentUpdate svn properties, minor formatting cleanup. (diff)
downloadopensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.zip
opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.gz
opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.bz2
opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index 302dc08..4bdc494 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -51,7 +51,7 @@ namespace pCampBot
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>
@@ -96,7 +96,7 @@ namespace pCampBot
96 startupBot(i, Previous_config); 96 startupBot(i, Previous_config);
97 } 97 }
98 } 98 }
99 99
100 /// <summary> 100 /// <summary>
101 /// This starts up the bot and stores the thread for the bot in the thread array 101 /// This starts up the bot and stores the thread for the bot in the thread array
102 /// </summary> 102 /// </summary>
@@ -127,7 +127,7 @@ namespace pCampBot
127 { 127 {
128 string returnstring = ""; 128 string returnstring = "";
129 string chars = "abcdefghijklmnopqrstuvwxyz0123456789"; 129 string chars = "abcdefghijklmnopqrstuvwxyz0123456789";
130 130
131 for (int i = 0; i < 7; i++) 131 for (int i = 0; i < 7; i++)
132 { 132 {
133 returnstring += chars.Substring(somthing.Next(chars.Length),1); 133 returnstring += chars.Substring(somthing.Next(chars.Length),1);
@@ -177,7 +177,7 @@ namespace pCampBot
177 { 177 {
178 return new ConsoleBase("Region", this); 178 return new ConsoleBase("Region", this);
179 } 179 }
180 180
181 /// <summary> 181 /// <summary>
182 /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit 182 /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit
183 /// </summary> 183 /// </summary>
@@ -198,7 +198,7 @@ namespace pCampBot
198 case "addbots": 198 case "addbots":
199 int newbots; 199 int newbots;
200 Helpers.TryParse(cmdparams[0], out newbots); 200 Helpers.TryParse(cmdparams[0], out newbots);
201 201
202 if (newbots > 0) 202 if (newbots > 0)
203 addbots(newbots); 203 addbots(newbots);
204 break; 204 break;