aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/Bot.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-12/+12
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-12/+12
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-74/+274
2014-09-24Add "debug lludp packet" command to pCampbot.Justin Clark-Casey (justincc)1-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.
2014-08-15Don't allow the last behavior to be removed from a pCampbot botJustin Clark-Casey (justincc)1-0/+3
If you want to stop existing behavious, add the None behaviour.
2014-08-15Resolve a small race condition on removing bot behaviours that might leave ↵Justin Clark-Casey (justincc)1-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).
2014-08-13Terminate 'nothing' behaviour (and potentially others) by signalling using ↵Justin Clark-Casey (justincc)1-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.
2014-07-21pCamBot: download MeshesOren Hurvitz1-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.
2014-07-21Write some pCampBot messages to the logOren Hurvitz1-1/+1
2014-04-23Eliminated 'Obsolete' warning: don't call do-nothing function ↵Oren Hurvitz1-1/+0
SetPreviousAppearance()
2013-11-05Record individual region bot disconnects in pCampbot logJustin Clark-Casey (justincc)1-5/+12
2013-11-05Fix a race condition where pCampbot actions could continue even if a bot had ↵Justin Clark-Casey (justincc)1-1/+1
disconnected.
2013-11-01For individual bots, seed random number generator with a random number from ↵Justin Clark-Casey (justincc)1-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
2013-09-03Consistently give responsibility for thread sleeping to behaviours rather ↵Justin Clark-Casey (justincc)1-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.
2013-09-03Add Close() method to IBehaviour to allow behaviours to cleanup when removed ↵Justin Clark-Casey (justincc)1-1/+15
or bot it disconnected. In this case, it is used to turn off jump when physics testing behaviour is removed.
2013-09-03Add pCampbot "remove behaviour" console command for removing bot behaviours ↵Justin Clark-Casey (justincc)1-0/+12
during operation. Doesn't currently work very well as stopping physics, for instance, can leave bot travelling in old direction
2013-09-03Add ability to adjust pCampbot bot behaviours whilst running with "add ↵Justin Clark-Casey (justincc)1-14/+37
behaviour <behaviour-name> <bot-number>" console commad
2013-08-20Add pCampbot "show bot" console command to show more detailed information on ↵Justin Clark-Casey (justincc)1-1/+10
a particular bot (e.g. what sims they are connected to)
2013-08-20Add pCampbot console commands to sit all bots on ground and stand all botsJustin Clark-Casey (justincc)1-0/+24
2013-08-19Make it possible to reconnect pCampbots with the console command "connect ↵Justin Clark-Casey (justincc)1-25/+71
[<n>]". If no n is given then all available bots are connected
2013-08-19Show number of connections each bot has established in "show bots" command.Justin Clark-Casey (justincc)1-1/+14
2013-08-14Actually implement the bot request object textures switch started in 225cf0d.Justin Clark-Casey (justincc)1-0/+8
Forgot to propogate it down to bot level.
2013-08-14Shutdown a bot's actions by making it check for disconnecting state rather ↵Justin Clark-Casey (justincc)1-3/+3
than aborting the thread. Aborting the thread appears to be causing shutdown issues.
2013-08-14Add the ability to explicitly specify a login start location to pCampbot via ↵Justin Clark-Casey (justincc)1-2/+5
the -start parameter
2013-08-13Add a SendAgentUpdates setting to a new pCampbot.ini.example file which can ↵Justin Clark-Casey (justincc)1-19/+1
control whether bots send agent updates pCampbot.ini.example is used by copying to pCampbot.ini, like other ini files
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie1-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"
2013-03-24Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie1-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"
2012-06-08If logging a client out due to ack timeout, do this asynchronously rather ↵Justin Clark-Casey (justincc)1-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.
2012-05-11Print out more information on connecting botsJustin Clark-Casey (justincc)1-1/+1
2012-05-11Increase minimum period between bot actions to 3 seconds, so that teleport ↵Justin Clark-Casey (justincc)1-2/+2
doesn't fall under the minimum 2 second limits that clients take to process it
2012-05-11Change bot.IsConnected to be ConnectionState with Disconnected, Connecting, ↵Justin Clark-Casey (justincc)1-3/+20
Connnected and Disconnecting states
2012-03-02Provide feedback on bot login states in pCampbotJustin Clark-Casey (justincc)1-0/+7
2011-11-24On pCampBot, add bot as a property on behaviours instead of passing it in ↵Justin Clark-Casey (justincc)1-1/+3
every time
2011-11-24Add disabled CrossBehaviour to pCampBot, which is designed to cross test ↵Justin Clark-Casey (justincc)1-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.
2011-11-23Rename Bot.BotManager to ManagerJustin Clark-Casey (justincc)1-9/+16
2011-11-23get pCampBot to extract nearby and store nearby region informationJustin Clark-Casey (justincc)1-0/+12
2011-11-09Use IsConnected status to determine whether all pCampBots have disconnected, ↵Justin Clark-Casey (justincc)1-8/+14
rather than maintaining a separate count Checking IsConnected is more reliable.
2011-11-09In pCampBot, don't try and pull down Primitive faces or sculpts set to nullJustin Clark-Casey (justincc)1-6/+9
2011-11-03remove the pointless check of the face texture struct against null in ↵Justin Clark-Casey (justincc)1-3/+1
Bot.Objects_NewPrim()
2011-11-03Rename PhysicsBot => Bot since it doesn't just exercise physics anymoreJustin Clark-Casey (justincc)1-3/+3
2011-11-03Move one of the old physics sleeps out into the main bot loop, so leaving ↵Justin Clark-Casey (justincc)1-0/+2
out PhysicsBehaviour doesn't result in continuous other behaviours
2011-11-03Add click/grab behaviour to pCampbot, which gets bots to randomly click things.Justin Clark-Casey (justincc)1-1/+30
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
2011-11-03Move PhysicsBehaviour into a spearate behaviours folderJustin Clark-Casey (justincc)1-2/+2
2011-11-03Separate out physics testing actions into a separate PhysicsBehaviour classJustin Clark-Casey (justincc)1-90/+62
2011-11-01Add "appearance send" command to allow manual sending of appearance.Justin Clark-Casey (justincc)1-2/+2
2011-11-01Add "show status" command to pCambotJustin Clark-Casey (justincc)1-17/+20
2011-11-01Listen only for non SimShutdown Network.Disconnect firing so that we don't ↵Justin Clark-Casey (justincc)1-1/+7
quite the program before all bots have actually logged off.
2011-11-01Retain a reference to an action thread rather than starting an infinite loop ↵Justin Clark-Casey (justincc)1-8/+20
via a timer, so that we can actually abort the action thread on shutdown
2011-10-31Make bots share a cache so that asset downloads attempts are only made once ↵Justin Clark-Casey (justincc)1-16/+13
instead of once for each bot
2011-10-31Remove OpenSim.TestSuiteJustin Clark-Casey (justincc)1-1/+6
Hasn't been touched since 2009 and wasn't more than another copy of pCampBot