aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-22 23:43:33 +0100
committerJustin Clark-Casey (justincc)2013-08-22 23:43:33 +0100
commit70f89ae65b09e9c2f0dc63cb416fea4cceb7dd13 (patch)
tree85fb3175f7d446039b27dcc3a562f9cd79545975 /OpenSim/Tools/pCampBot
parentAdd "set bots" command to make it possible to set SEND_AGENT_UPDATES on all b... (diff)
downloadopensim-SC_OLD-70f89ae65b09e9c2f0dc63cb416fea4cceb7dd13.zip
opensim-SC_OLD-70f89ae65b09e9c2f0dc63cb416fea4cceb7dd13.tar.gz
opensim-SC_OLD-70f89ae65b09e9c2f0dc63cb416fea4cceb7dd13.tar.bz2
opensim-SC_OLD-70f89ae65b09e9c2f0dc63cb416fea4cceb7dd13.tar.xz
Make it possible to adjust the pCampbot login delay via the [BotManager] LoginDelay parameter of pCampbot.ini
Diffstat (limited to 'OpenSim/Tools/pCampBot')
-rw-r--r--OpenSim/Tools/pCampBot/pCampBot.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs
index fc67398..aee5864 100644
--- a/OpenSim/Tools/pCampBot/pCampBot.cs
+++ b/OpenSim/Tools/pCampBot/pCampBot.cs
@@ -82,6 +82,13 @@ namespace pCampBot
82 82
83 IConfigSource configSource = new IniConfigSource(iniFilePath); 83 IConfigSource configSource = new IniConfigSource(iniFilePath);
84 84
85 IConfig botManagerConfig = configSource.Configs["BotManager"];
86
87 if (botManagerConfig != null)
88 {
89 bm.LoginDelay = botManagerConfig.GetInt("LoginDelay", bm.LoginDelay);
90 }
91
85 IConfig botConfig = configSource.Configs["Bot"]; 92 IConfig botConfig = configSource.Configs["Bot"];
86 93
87 if (botConfig != null) 94 if (botConfig != null)