aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-01Fix a bug in pCampbot grabbing behaviour where an exception would be thrown ↵Justin Clark-Casey (justincc)1-0/+3
if the bot was not yet aware of any objects.
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)1-8/+5
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
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-18Invoke log4net configurator in pCampBot.exe in order to get OpenSim sylte ↵Justin Clark-Casey (justincc)1-0/+3
logging
2012-05-11Print out more information on connecting botsJustin Clark-Casey (justincc)2-9/+19
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-11Stagger multiple bot logins by 5 seconds to make this part of the test more ↵Justin Clark-Casey (justincc)1-0/+13
'realistic' TODO: Need to make this value configurable by a command line parameter to pCampbot
2012-05-11Do bot startup on another thread so console is responsive during this processJustin Clark-Casey (justincc)2-1/+5
2012-05-11Do each bot shutdown on its own threads to prevent one slow shutdown holding ↵Justin Clark-Casey (justincc)1-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
2012-05-11Change bot.IsConnected to be ConnectionState with Disconnected, Connecting, ↵Justin Clark-Casey (justincc)2-5/+22
Connnected and Disconnecting states
2012-05-11If a bot is not connected, show region name "(none)" instead of throwing an ↵Justin Clark-Casey (justincc)1-1/+3
exception in the "show bots" command of pCampbot
2012-03-02minor: Rename pCampbot console prompt to "pCampbot" rather than "Region"Justin Clark-Casey (justincc)1-1/+1
2012-03-02Provide feedback on bot login states in pCampbotJustin Clark-Casey (justincc)1-0/+7
2012-02-29Don't start pCampbot if the user doesn't supply bot firstname, lastname stub ↵Justin Clark-Casey (justincc)1-0/+4
and password
2012-01-03minor: add missing newlines to pCampbot usage statementJustin Clark-Casey (justincc)1-4/+4
2011-12-14Fix off by one bug in objects GrabbingBehaviour of pCampBot.exeJustin Clark-Casey (justincc)2-2/+2
Also fix usage message.
2011-11-24Adding missing CrossBehaviour.cs file to fix buildJustin Clark-Casey (justincc)1-0/+169
2011-11-24On pCampBot, add bot as a property on behaviours instead of passing it in ↵Justin Clark-Casey (justincc)7-56/+115
every time
2011-11-24Add disabled CrossBehaviour to pCampBot, which is designed to cross test ↵Justin Clark-Casey (justincc)4-14/+18
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-23Print out what behaviours are active when pCampBot starts upJustin Clark-Casey (justincc)5-12/+42
2011-11-23Add teleport behaviour to pCampBotJustin Clark-Casey (justincc)3-1/+77
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.
2011-11-23In pCampbot, change "show status" command to "show bots"Justin Clark-Casey (justincc)1-2/+2
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)2-4/+62
2011-11-23Change random number generator property name in pCampbotJustin Clark-Casey (justincc)1-1/+7
2011-11-10launch pCampbot shutdown console comand asynchronouslyJustin Clark-Casey (justincc)1-2/+5
2011-11-10Remove unused index parameter from BotManager.startupBot(). Rename ↵Justin Clark-Casey (justincc)1-5/+4
startupBot() => StartBot()
2011-11-09Use IsConnected status to determine whether all pCampBots have disconnected, ↵Justin Clark-Casey (justincc)2-16/+22
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-03actually remove the sleep from PhysicsBehaviour that I shifted to Bot a ↵Justin Clark-Casey (justincc)1-2/+0
couple of commits ago
2011-11-03Rename PhysicsBot => Bot since it doesn't just exercise physics anymoreJustin Clark-Casey (justincc)5-12/+12
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)5-8/+105
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)3-3/+2
2011-11-03Separate out physics testing actions into a separate PhysicsBehaviour classJustin Clark-Casey (justincc)5-95/+221
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)2-22/+45
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-01get rid of unused m_verbose fieldJustin Clark-Casey (justincc)1-1/+0
2011-11-01stop recording the threads on which we happen to start bots. These are ↵Justin Clark-Casey (justincc)1-7/+5
pointless since they terminate quickly
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)2-20/+24
instead of once for each bot
2011-10-31Remove OpenSim.TestSuiteJustin Clark-Casey (justincc)2-2/+9
Hasn't been touched since 2009 and wasn't more than another copy of pCampBot
2011-10-31Stop individual bots attempting to download the same asset more than onceJustin Clark-Casey (justincc)1-14/+36
2011-10-31Fix bot disconnectionJustin Clark-Casey (justincc)1-1/+1
2011-10-31adjust pCampbot so it starts up bots with the name format "<firstname> ↵Justin Clark-Casey (justincc)4-94/+89
<lastname>_<bot-number>" e.g. starting up two bots called "Ima Bot" will give them the names "Ima Bot_0" and "Ima Bot_1" This is necessary since bots with random names can no longer be created, as there's no easy way to turn off account authentication
2011-10-31Stop pCampbot from firing connected event twice, which results in double ↵Justin Clark-Casey (justincc)2-10/+11
counting.
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-0/+1
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-09-24Added a setting to [Startup] section of config that will allow the simulator ↵Kevin Houlihan & Michelle Argus1-0/+1
to start up with no regions configured. I added the boolean config setting "allow_regionless", defaulting to false. If set to true, opensim will start up ok if no region configurations are found in the specified region_info_source. It will not ask the user to create a region.