aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/pCampBot.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-19 23:50:18 +0100
committerJustin Clark-Casey (justincc)2013-08-19 23:50:18 +0100
commit589b1a2eaf9058c3577b17ae76580a79ba855978 (patch)
treec0f9119ce19932e5b0651e66b0daee1d9479bb1b /OpenSim/Tools/pCampBot/pCampBot.cs
parentrefactor: start bot connection thread within BotManager rather than externally (diff)
downloadopensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.zip
opensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.tar.gz
opensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.tar.bz2
opensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.tar.xz
Make it possible to reconnect pCampbots with the console command "connect [<n>]".
If no n is given then all available bots are connected
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/pCampBot/pCampBot.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs
index e58b130..ada39ee 100644
--- a/OpenSim/Tools/pCampBot/pCampBot.cs
+++ b/OpenSim/Tools/pCampBot/pCampBot.cs
@@ -95,7 +95,8 @@ namespace pCampBot
95 95
96 int botcount = commandLineConfig.GetInt("botcount", 1); 96 int botcount = commandLineConfig.GetInt("botcount", 1);
97 97
98 bm.dobotStartup(botcount, commandLineConfig); 98 bm.CreateBots(botcount, commandLineConfig);
99 bm.ConnectBots(botcount);
99 100
100 while (true) 101 while (true)
101 { 102 {