diff options
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index 57bd737..0fdfa0e 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -157,6 +157,7 @@ namespace pCampBot | |||
157 | string password = startupConfig.GetString("password"); | 157 | string password = startupConfig.GetString("password"); |
158 | string loginUri = startupConfig.GetString("loginuri"); | 158 | string loginUri = startupConfig.GetString("loginuri"); |
159 | string startLocation = startupConfig.GetString("start", "last"); | 159 | string startLocation = startupConfig.GetString("start", "last"); |
160 | int fromBotNumber = startupConfig.GetInt("from", 0); | ||
160 | string wearSetting = startupConfig.GetString("wear", "no"); | 161 | string wearSetting = startupConfig.GetString("wear", "no"); |
161 | 162 | ||
162 | string startUri = ParseInputStartLocationToUri(startLocation); | 163 | string startUri = ParseInputStartLocationToUri(startLocation); |
@@ -178,7 +179,7 @@ namespace pCampBot | |||
178 | 179 | ||
179 | for (int i = 0; i < botcount; i++) | 180 | for (int i = 0; i < botcount; i++) |
180 | { | 181 | { |
181 | string lastName = string.Format("{0}_{1}", lastNameStem, i); | 182 | string lastName = string.Format("{0}_{1}", lastNameStem, i + fromBotNumber); |
182 | 183 | ||
183 | // We must give each bot its own list of instantiated behaviours since they store state. | 184 | // We must give each bot its own list of instantiated behaviours since they store state. |
184 | List<IBehaviour> behaviours = new List<IBehaviour>(); | 185 | List<IBehaviour> behaviours = new List<IBehaviour>(); |