aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/pCampBot.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-14 16:51:51 +0100
committerJustin Clark-Casey (justincc)2013-08-14 16:51:51 +0100
commit2146b201694a128764e66680d151b68d83610880 (patch)
tree2cd2d1edf438fe3b060fa399ac8a1c87000e70a5 /OpenSim/Tools/pCampBot/pCampBot.cs
parentBulletSim: move the creation of the avatar movement actor creating to (diff)
downloadopensim-SC_OLD-2146b201694a128764e66680d151b68d83610880.zip
opensim-SC_OLD-2146b201694a128764e66680d151b68d83610880.tar.gz
opensim-SC_OLD-2146b201694a128764e66680d151b68d83610880.tar.bz2
opensim-SC_OLD-2146b201694a128764e66680d151b68d83610880.tar.xz
Add the ability to explicitly specify a login start location to pCampbot via the -start parameter
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/pCampBot/pCampBot.cs36
1 files changed, 19 insertions, 17 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs
index e43037d..9c9ed3b 100644
--- a/OpenSim/Tools/pCampBot/pCampBot.cs
+++ b/OpenSim/Tools/pCampBot/pCampBot.cs
@@ -86,8 +86,8 @@ namespace pCampBot
86 86
87 if (botConfig != null) 87 if (botConfig != null)
88 { 88 {
89 bm.BotsInitSendAgentUpdates 89 bm.InitBotSendAgentUpdates
90 = botConfig.GetBoolean("SendAgentUpdates", bm.BotsInitSendAgentUpdates); 90 = botConfig.GetBoolean("SendAgentUpdates", bm.InitBotSendAgentUpdates);
91 } 91 }
92 } 92 }
93 93
@@ -119,6 +119,7 @@ namespace pCampBot
119 119
120 cs.AddSwitch("Startup", "botcount", "n"); 120 cs.AddSwitch("Startup", "botcount", "n");
121 cs.AddSwitch("Startup", "loginuri", "l"); 121 cs.AddSwitch("Startup", "loginuri", "l");
122 cs.AddSwitch("Startup", "start", "s");
122 cs.AddSwitch("Startup", "firstname"); 123 cs.AddSwitch("Startup", "firstname");
123 cs.AddSwitch("Startup", "lastname"); 124 cs.AddSwitch("Startup", "lastname");
124 cs.AddSwitch("Startup", "password"); 125 cs.AddSwitch("Startup", "password");
@@ -137,22 +138,23 @@ namespace pCampBot
137 // name, to load an specific folder, or save, to save an avatar with some already existing wearables 138 // name, to load an specific folder, or save, to save an avatar with some already existing wearables
138 // worn to the folder MyAppearance/FirstName_LastName, and the load it. 139 // worn to the folder MyAppearance/FirstName_LastName, and the load it.
139 Console.WriteLine( 140 Console.WriteLine(
140 "usage: pCampBot <-loginuri loginuri> [OPTIONS]\n" + 141 "usage: pCampBot <-loginuri loginuri> [OPTIONS]\n"
141 "Spawns a set of bots to test an OpenSim region\n\n" + 142 + "Spawns a set of bots to test an OpenSim region\n\n"
142 " -l, -loginuri loginuri for sim to log into (required)\n" + 143 + " -l, -loginuri loginuri for grid/standalone (required)\n"
143 " -n, -botcount number of bots to start (default: 1)\n" + 144 + " -s, -start start location for bots. Can be \"last\", \"home\" or a specific location with or without co-ords (e.g. \"region1\" or \"region2/50/30/90\"\n"
144 " -firstname first name for the bots\n" + 145 + " -n, -botcount number of bots to start (default: 1)\n"
145 " -lastname lastname for the bots. Each lastname will have _<bot-number> appended, e.g. Ima Bot_0\n" + 146 + " -firstname first name for the bots\n"
146 " -password password for the bots\n" + 147 + " -lastname lastname for the bots. Each lastname will have _<bot-number> appended, e.g. Ima Bot_0\n"
147 " -b, behaviours behaviours for bots. Comma separated, e.g. p,g. Default is p\n" + 148 + " -password password for the bots\n"
148 " current options are:\n" + 149 + " -b, behaviours behaviours for bots. Comma separated, e.g. p,g. Default is p\n"
149 " p (physics - bots constantly move and jump around)\n" + 150 + " current options are:\n"
150 " g (grab - bots randomly click prims whether set clickable or not)\n" + 151 + " p (physics - bots constantly move and jump around)\n"
151 " n (none - bots do nothing)\n" + 152 + " g (grab - bots randomly click prims whether set clickable or not)\n"
152 " t (teleport - bots regularly teleport between regions on the grid)\n" + 153 + " n (none - bots do nothing)\n"
154 + " t (teleport - bots regularly teleport between regions on the grid)\n"
153// " c (cross)" + 155// " c (cross)" +
154 " -wear set appearance folder to load from (default: no)\n" + 156 + " -wear set appearance folder to load from (default: no)\n"
155 " -h, -help show this message"); 157 + " -h, -help show this message.\n");
156 } 158 }
157 } 159 }
158} 160}