aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/Bot.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add "debug lludp packet" command to pCampbot.Justin Clark-Casey (justincc)2014-09-241-0/+39
| | | | | | | 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.
* Don't allow the last behavior to be removed from a pCampbot botJustin Clark-Casey (justincc)2014-08-151-0/+3
| | | | 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-131-33/+25
| | | | | | | 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.
* 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-211-1/+1
|
* Eliminated 'Obsolete' warning: don't call do-nothing function ↵Oren Hurvitz2014-04-231-1/+0
| | | | SetPreviousAppearance()
* 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
* Consistently give responsibility for thread sleeping to behaviours rather ↵Justin Clark-Casey (justincc)2013-09-031-1/+1
| | | | | | | 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-031-1/+15
| | | | | | 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-031-0/+12
| | | | | | 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-14/+37
| | | | behaviour <behaviour-name> <bot-number>" console commad
* Add pCampbot "show bot" console command to show more detailed information on ↵Justin Clark-Casey (justincc)2013-08-201-1/+10
| | | | 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-0/+24
|
* Make it possible to reconnect pCampbots with the console command "connect ↵Justin Clark-Casey (justincc)2013-08-191-25/+71
| | | | | | [<n>]". If no n is given then all available bots are connected
* Show number of connections each bot has established in "show bots" command.Justin Clark-Casey (justincc)2013-08-191-1/+14
|
* Actually implement the bot request object textures switch started in 225cf0d.Justin Clark-Casey (justincc)2013-08-141-0/+8
| | | | Forgot to propogate it down to bot level.
* Shutdown a bot's actions by making it check for disconnecting state rather ↵Justin Clark-Casey (justincc)2013-08-141-3/+3
| | | | | | than aborting the thread. Aborting the thread appears to be causing shutdown issues.
* Add the ability to explicitly specify a login start location to pCampbot via ↵Justin Clark-Casey (justincc)2013-08-141-2/+5
| | | | the -start parameter
* Add a SendAgentUpdates setting to a new pCampbot.ini.example file which can ↵Justin Clark-Casey (justincc)2013-08-131-19/+1
| | | | | | control whether bots send agent updates pCampbot.ini.example is used by copying to pCampbot.ini, like other ini files
* Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie2013-03-261-2/+3
| | | | with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
* If logging a client out due to ack timeout, do this asynchronously rather ↵Justin Clark-Casey (justincc)2012-06-081-0/+3
| | | | | | | than synchronously on the outgoing packet loop. This is the same async behaviour as normal logouts. This is necessary because the event queue will sleep the thread for 5 seconds on an ack timeout logout as the client isn't around to pick up the final event queue messages.
* Print out more information on connecting botsJustin Clark-Casey (justincc)2012-05-111-1/+1
|
* Increase minimum period between bot actions to 3 seconds, so that teleport ↵Justin Clark-Casey (justincc)2012-05-111-2/+2
| | | | doesn't fall under the minimum 2 second limits that clients take to process it
* Change bot.IsConnected to be ConnectionState with Disconnected, Connecting, ↵Justin Clark-Casey (justincc)2012-05-111-3/+20
| | | | Connnected and Disconnecting states
* Provide feedback on bot login states in pCampbotJustin Clark-Casey (justincc)2012-03-021-0/+7
|
* On pCampBot, add bot as a property on behaviours instead of passing it in ↵Justin Clark-Casey (justincc)2011-11-241-1/+3
| | | | every time
* Add disabled CrossBehaviour to pCampBot, which is designed to cross test ↵Justin Clark-Casey (justincc)2011-11-241-2/+0
| | | | | | 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.
* Rename Bot.BotManager to ManagerJustin Clark-Casey (justincc)2011-11-231-9/+16
|
* get pCampBot to extract nearby and store nearby region informationJustin Clark-Casey (justincc)2011-11-231-0/+12
|
* Use IsConnected status to determine whether all pCampBots have disconnected, ↵Justin Clark-Casey (justincc)2011-11-091-8/+14
| | | | | | rather than maintaining a separate count Checking IsConnected is more reliable.
* In pCampBot, don't try and pull down Primitive faces or sculpts set to nullJustin Clark-Casey (justincc)2011-11-091-6/+9
|
* remove the pointless check of the face texture struct against null in ↵Justin Clark-Casey (justincc)2011-11-031-3/+1
| | | | Bot.Objects_NewPrim()
* Rename PhysicsBot => Bot since it doesn't just exercise physics anymoreJustin Clark-Casey (justincc)2011-11-031-0/+495