aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot (follow)
Commit message (Collapse)AuthorAgeFilesLines
* minor: comment out unusued logging objects in some pCampbot behaviour classesJustin Clark-Casey (justincc)2015-01-202-2/+2
|
* On pCampbot, if we add the none (n) behaviour then make it actually stop any ↵Justin Clark-Casey (justincc)2014-11-251-0/+3
| | | | | | bots in motion. Previously, adding this behaviour after physics (p) would leave the bot to drift off for ever in its last movement direction.
* Add "debug lludp packet" command to pCampbot.Justin Clark-Casey (justincc)2014-09-242-0/+81
| | | | | | | This allows one to log the packets received by a particular bot that are not duplicates of already received packets. Similar to the OpenSimulator command at the same name but currently any positive level logs all received packets. No facility yet for logging outgoing packets. For debug purposes.
* Replace two connecting bots state booleans in pCampbot with a single state ↵Justin Clark-Casey (justincc)2014-09-221-23/+55
| | | | | | machine. Also adds "show status" command to pCampbot that currently just shows bot connecting state
* minor:Give console feedback when we sit or stand pCampbot bots.Justin Clark-Casey (justincc)2014-08-191-2/+16
| | | | Also only write console lines for actually connected bots.
* Don't allow the last behavior to be removed from a pCampbot botJustin Clark-Casey (justincc)2014-08-152-1/+4
| | | | If you want to stop existing behavious, add the None behaviour.
* Resolve a small race condition on removing bot behaviours that might leave ↵Justin Clark-Casey (justincc)2014-08-151-2/+3
| | | | | | | previous behaviour active Also closes behaviours on disconnect instead of interrupt, though this makes no practical difference. If existing behaviour is None, other added behavious will not take affect until None is removed (as this is an infinite wait until interrupted).
* Terminate 'nothing' behaviour (and potentially others) by signalling using ↵Justin Clark-Casey (justincc)2014-08-135-36/+56
| | | | | | | an event rather than polling connection state every 100ms This kind of polling is very expensive with many bots/polling threads and appears to be the primary cause of bot falloff from the client end at higher loads. Where inbound packet threads can't run in time due to contention and simulator disconnect timeout occurs.
* Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)2014-08-131-0/+22
| | | | | This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc. It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
* For pCampbot, set max number of permitted connections to an endpoint to ↵Justin Clark-Casey (justincc)2014-08-121-0/+4
| | | | | | int.MaxValue This is to avoid issues where many bots connect to a single end point with multiple regions, where each region requires a long-lived poll connection for each bot.
* Go back to disconnecting bots in parallel since serially is too slow.Justin Clark-Casey (justincc)2014-08-051-3/+5
| | | | However, disconnecting now halts any current connection, with the possible exception of the single currently connecting bot.
* Put pCampbot "disconnect" command on separate thread like "connect" so that ↵Justin Clark-Casey (justincc)2014-08-051-27/+35
| | | | we can continue to run status commands whilst bots are disconnecting.
* Allow "show bots" pCampbot console command to quickly report status by not ↵Justin Clark-Casey (justincc)2014-08-051-18/+20
| | | | locking entire bot list for almost 100% of connection time.
* pCamBot: download MeshesOren Hurvitz2014-07-211-8/+32
| | | | The "Sculpt" field in prims is used for both Sculpties (where the assets are Textures), and real meshes. Meshes require a different download URL than textures.
* Write some pCampBot messages to the logOren Hurvitz2014-07-212-5/+5
|
* Change assembly versions to 0.8.1Justin Clark-Casey (justincc)2014-06-171-1/+1
|
* Eliminated 'Obsolete' warning: don't call do-nothing function ↵Oren Hurvitz2014-04-231-1/+0
| | | | SetPreviousAppearance()
* Added 2 new behaviors to pCampBotDiva Canto2014-02-211-0/+6
|
* Added 2 new behavirors to pCampBot. These are part of a systematic study I'm ↵Diva Canto2014-02-212-0/+159
| | | | doing for understanding the load that AgentUpdate packets incur on the server.
* Record individual region bot disconnects in pCampbot logJustin Clark-Casey (justincc)2013-11-051-5/+12
|
* Fix a race condition where pCampbot actions could continue even if a bot had ↵Justin Clark-Casey (justincc)2013-11-051-1/+1
| | | | disconnected.
* For individual bots, seed random number generator with a random number from ↵Justin Clark-Casey (justincc)2013-11-011-1/+1
| | | | | | BotManager rather than Environment.Tickcount Otherwise, since bots are now created all at once, a bunch will get exactly the same tickcount and hence number sequences
* minor: change "bot" pCampBot help cateogry to "Bots"Justin Clark-Casey (justincc)2013-11-011-12/+12
|
* minor: update pCampbot usage/help statementJustin Clark-Casey (justincc)2013-10-311-4/+4
|
* Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)2013-10-041-1/+1
|
* In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connectedJustin Clark-Casey (justincc)2013-09-031-1/+2
|
* 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
* Consistently give responsibility for thread sleeping to behaviours rather ↵Justin Clark-Casey (justincc)2013-09-033-1/+7
| | | | | | | than controlling from the main action loop This is to avoid excessive and inconsistent delays between behaviours that currently need to embed sleeps in other actions (e.g. physics) and other behaviours. Might need a more sophisticated approach in the long term.
* Add Close() method to IBehaviour to allow behaviours to cleanup when removed ↵Justin Clark-Casey (justincc)2013-09-034-1/+30
| | | | | | or bot it disconnected. In this case, it is used to turn off jump when physics testing behaviour is removed.
* Add pCampbot "remove behaviour" console command for removing bot behaviours ↵Justin Clark-Casey (justincc)2013-09-032-5/+60
| | | | | | 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-032-41/+157
| | | | 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-038-12/+45
|
* Rename pCampbot.ini -> pCampBot.ini (and example file) to be consistent with ↵Justin Clark-Casey (justincc)2013-08-231-1/+1
| | | | other capitalizations of pCampBot
* 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
* Make it possible to adjust the pCampbot login delay via the [BotManager] ↵Justin Clark-Casey (justincc)2013-08-221-0/+7
| | | | LoginDelay parameter of pCampbot.ini
* 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-202-2/+58
| | | | 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-202-47/+51
|
* Add -connect (-c) switch to pCampbot command line options.Justin Clark-Casey (justincc)2013-08-201-10/+15
| | | | | Now, bots will only connect at startup if this switch is specified. If it is not specified, then a separate "connect" command is required on the pCampbot command line
* Make it possible to reconnect pCampbots with the console command "connect ↵Justin Clark-Casey (justincc)2013-08-193-80/+155
| | | | | | [<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-192-5/+27
|
* 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-192-8/+24
|