aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added 2 new behaviors to pCampBotDiva Canto2014-02-211-0/+6
|
* minor: change "bot" pCampBot help cateogry to "Bots"Justin Clark-Casey (justincc)2013-11-011-12/+12
|
* Make pCampbot "add behaviour" and "remove behaviour" console commands work ↵Justin Clark-Casey (justincc)2013-09-031-45/+78
| | | | for all bots if no bot number is given
* Add pCampbot "remove behaviour" console command for removing bot behaviours ↵Justin Clark-Casey (justincc)2013-09-031-5/+48
| | | | | | during operation. Doesn't currently work very well as stopping physics, for instance, can leave bot travelling in old direction
* Add ability to adjust pCampbot bot behaviours whilst running with "add ↵Justin Clark-Casey (justincc)2013-09-031-27/+120
| | | | behaviour <behaviour-name> <bot-number>" console commad
* And fix break in "show bot" from commit 9c65207Justin Clark-Casey (justincc)2013-09-031-1/+1
|
* Fix build break from last commit 9c65207. Mono 2.4 lacks ↵Justin Clark-Casey (justincc)2013-09-031-1/+1
| | | | string.join(string, List<string>), or some auto casting is missing
* Show behaviours of pCampbot bots in "show bots" and "show bot" console commandsJustin Clark-Casey (justincc)2013-09-031-8/+14
|
* Make pCampbot "show bot" command take the bot number instead of the full bot ↵Justin Clark-Casey (justincc)2013-08-231-4/+9
| | | | | | name Shorter and can do this because bot names are uniform
* Fix a further bug in pCampbot connect where ignoring already connected bots ↵Justin Clark-Casey (justincc)2013-08-221-6/+14
| | | | | | was wrongly counted as a connect Also, only sleep when we actually perform a connection
* Add "set bots" command to make it possible to set SEND_AGENT_UPDATES on all ↵Justin Clark-Casey (justincc)2013-08-221-0/+27
| | | | bots whilst pCampbot is running
* In pCampbot, don't try and reconnect bots that are already connected on ↵Justin Clark-Casey (justincc)2013-08-221-1/+2
| | | | console "connect" command
* Fix build break from last commit a3e1b27 on mono 2.4.3Justin Clark-Casey (justincc)2013-08-201-1/+1
| | | | Looks like this level of mono doesn't have a string.Join() which will take a list rather than an array (or some implicit conversion isn't happening)
* Add pCampbot "show bot" console command to show more detailed information on ↵Justin Clark-Casey (justincc)2013-08-201-1/+48
| | | | a particular bot (e.g. what sims they are connected to)
* Add pCampbot console commands to sit all bots on ground and stand all botsJustin Clark-Casey (justincc)2013-08-201-47/+27
|
* Make it possible to reconnect pCampbots with the console command "connect ↵Justin Clark-Casey (justincc)2013-08-191-54/+82
| | | | | | [<n>]". If no n is given then all available bots are connected
* refactor: start bot connection thread within BotManager rather than externallyJustin Clark-Casey (justincc)2013-08-191-1/+26
|
* refactor: restructure pCampbot multi-bot connection code.Justin Clark-Casey (justincc)2013-08-191-10/+60
|
* Make it possible to disconnected a specified number of bots via the pCampbot ↵Justin Clark-Casey (justincc)2013-08-191-46/+55
| | | | | | | console command "disconnect [<n>]" Bots disconnected are ascending from last in numeric order. Temporarily no way to reconnect bots.
* Create a separate pCampbot "disconnect" console command which disconnects ↵Justin Clark-Casey (justincc)2013-08-191-43/+67
| | | | | | | | connected bots. "quit" console command now requires bots to be separate disconnected first before quitting. This is to prepare the way for disconnecting/reconnecting different numbers of bots in a pCampbot session. And hopefully resolves bug where console appears not to be reset if Environment.Exit(0) is called on a different thread
* Show number of connections each bot has established in "show bots" command.Justin Clark-Casey (justincc)2013-08-191-7/+10
|
* Actually implement the bot request object textures switch started in 225cf0d.Justin Clark-Casey (justincc)2013-08-141-0/+1
| | | | Forgot to propogate it down to bot level.
* If pCampbot has been asked to shutdown, don't carry on logging in queued botsJustin Clark-Casey (justincc)2013-08-141-1/+11
|
* Add pCampbot RequestObjectTextures ini setting to control whether textures ↵Justin Clark-Casey (justincc)2013-08-141-0/+7
| | | | are requested for received objects.
* Add a -form switch to pCampbot to allow one to login a sequence of bots ↵Justin Clark-Casey (justincc)2013-08-141-1/+2
| | | | starting from numbers other than 0
* Add the ability to explicitly specify a login start location to pCampbot via ↵Justin Clark-Casey (justincc)2013-08-141-8/+52
| | | | the -start parameter
* Add a SendAgentUpdates setting to a new pCampbot.ini.example file which can ↵Justin Clark-Casey (justincc)2013-08-131-15/+20
| | | | | | control whether bots send agent updates pCampbot.ini.example is used by copying to pCampbot.ini, like other ini files
* Make show bots pCampbot console command print connected, connecting, etc. ↵Justin Clark-Casey (justincc)2013-08-121-0/+13
| | | | bot totals at end.
* Add none behaviour to pCampbot when one wants bots to just stand aroundJustin Clark-Casey (justincc)2013-08-121-7/+10
|
* Print out more information on connecting botsJustin Clark-Casey (justincc)2012-05-111-8/+18
|
* Stagger multiple bot logins by 5 seconds to make this part of the test more ↵Justin Clark-Casey (justincc)2012-05-111-0/+13
| | | | | | 'realistic' TODO: Need to make this value configurable by a command line parameter to pCampbot
* Do bot startup on another thread so console is responsive during this processJustin Clark-Casey (justincc)2012-05-111-0/+1
|
* Do each bot shutdown on its own threads to prevent one slow shutdown holding ↵Justin Clark-Casey (justincc)2012-05-111-8/+13
| | | | | | | up all the rest. This does increase the aggressiveness of shutdown Also prevents the bot list being locked for a long period, which was preventing commands such as "show bots" from working during shutdown
* Change bot.IsConnected to be ConnectionState with Disconnected, Connecting, ↵Justin Clark-Casey (justincc)2012-05-111-2/+2
| | | | Connnected and Disconnecting states
* If a bot is not connected, show region name "(none)" instead of throwing an ↵Justin Clark-Casey (justincc)2012-05-111-1/+3
| | | | exception in the "show bots" command of pCampbot
* minor: Rename pCampbot console prompt to "pCampbot" rather than "Region"Justin Clark-Casey (justincc)2012-03-021-1/+1
|
* On pCampBot, add bot as a property on behaviours instead of passing it in ↵Justin Clark-Casey (justincc)2011-11-241-19/+19
| | | | every time
* Add disabled CrossBehaviour to pCampBot, which is designed to cross test ↵Justin Clark-Casey (justincc)2011-11-241-0/+3
| | | | | | bots between neighbouring regions. Not yet enabled since there is a bug where the initial cross will work but all subsequent movements on the receiving simulator appear to fail.
* Print out what behaviours are active when pCampBot starts upJustin Clark-Casey (justincc)2011-11-231-12/+27
|
* Add teleport behaviour to pCampBotJustin Clark-Casey (justincc)2011-11-231-0/+3
| | | | | | This teleports the bot to any other regions +/- 5 on the x or y axis. Quite aggressive at the moment since teleports keep occuring at a 1-10secs random interval. No checking yet to see if teleport was successful.
* In pCampbot, change "show status" command to "show bots"Justin Clark-Casey (justincc)2011-11-231-2/+2
|
* get pCampBot to extract nearby and store nearby region informationJustin Clark-Casey (justincc)2011-11-231-4/+50
|
* Change random number generator property name in pCampbotJustin Clark-Casey (justincc)2011-11-231-1/+7
|
* launch pCampbot shutdown console comand asynchronouslyJustin Clark-Casey (justincc)2011-11-101-2/+5
|
* Remove unused index parameter from BotManager.startupBot(). Rename ↵Justin Clark-Casey (justincc)2011-11-101-5/+4
| | | | startupBot() => StartBot()
* Use IsConnected status to determine whether all pCampBots have disconnected, ↵Justin Clark-Casey (justincc)2011-11-091-8/+8
| | | | | | rather than maintaining a separate count Checking IsConnected is more reliable.
* Rename PhysicsBot => Bot since it doesn't just exercise physics anymoreJustin Clark-Casey (justincc)2011-11-031-6/+6
|
* Add click/grab behaviour to pCampbot, which gets bots to randomly click things.Justin Clark-Casey (justincc)2011-11-031-3/+13
| | | | | | | This can be specified on pCampbot.exe by using g in the list of behaviours for the new -behaviours,-b switch e.g. -b p,g to get both existing physics and grabbing behaviours. grabbing is primitive, it attempts grabs on random prims whether they're actually signalled as clickable or not. behaviour is currently primitive overall, behaviours are just executed in a list
* Separate out physics testing actions into a separate PhysicsBehaviour classJustin Clark-Casey (justincc)2011-11-031-4/+12
|
* Add "show status" command to pCambotJustin Clark-Casey (justincc)2011-11-011-5/+25
|