Justin Clark-Casey (justincc)
d2b8281df9
Add "debug lludp packet" command to pCampbot.
...
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-09-24 23:03:39 +01:00
Justin Clark-Casey (justincc)
bc01c27c8a
Replace two connecting bots state booleans in pCampbot with a single state machine.
...
Also adds "show status" command to pCampbot that currently just shows bot connecting state
2014-09-23 17:28:02 +01:00
Justin Clark-Casey (justincc)
ce74418c20
minor:Give console feedback when we sit or stand pCampbot bots.
...
Also only write console lines for actually connected bots.
2014-08-19 00:58:33 +01:00
Justin Clark-Casey (justincc)
3a643e2456
Don't allow the last behavior to be removed from a pCampbot bot
...
If you want to stop existing behavious, add the None behaviour.
2014-08-15 22:44:31 +01:00
Justin Clark-Casey (justincc)
f1f935ed95
Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulator
...
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.
2014-08-13 19:53:42 +01:00
Justin Clark-Casey (justincc)
f1cec684e2
For pCampbot, set max number of permitted connections to an endpoint to 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.
2014-08-12 18:46:09 +01:00
Justin Clark-Casey (justincc)
0e71e3889c
Go back to disconnecting bots in parallel since serially is too slow.
...
However, disconnecting now halts any current connection, with the possible exception of the single currently connecting bot.
2014-08-05 01:37:10 +01:00
Justin Clark-Casey (justincc)
fcc665a567
Put pCampbot "disconnect" command on separate thread like "connect" so that we can continue to run status commands whilst bots are disconnecting.
2014-08-05 01:15:07 +01:00
Justin Clark-Casey (justincc)
e57e9e95d4
Allow "show bots" pCampbot console command to quickly report status by not locking entire bot list for almost 100% of connection time.
2014-08-05 01:07:08 +01:00
Oren Hurvitz
470161ae2e
Write some pCampBot messages to the log
2014-07-21 09:11:51 +01:00
Diva Canto
cddf1ec0dc
Added 2 new behaviors to pCampBot
2014-02-21 10:06:08 -08:00
Justin Clark-Casey (justincc)
cc7065f9ee
minor: change "bot" pCampBot help cateogry to "Bots"
2013-11-01 00:04:18 +00:00
Justin Clark-Casey (justincc)
9c3c9b7f5f
Make pCampbot "add behaviour" and "remove behaviour" console commands work for all bots if no bot number is given
2013-09-03 19:57:34 +01:00
Justin Clark-Casey (justincc)
1a2627031d
Add pCampbot "remove behaviour" console command for removing bot behaviours during operation.
...
Doesn't currently work very well as stopping physics, for instance, can leave bot travelling in old direction
2013-09-03 19:05:54 +01:00
Justin Clark-Casey (justincc)
9bd6271570
Add ability to adjust pCampbot bot behaviours whilst running with "add behaviour <behaviour-name> <bot-number>" console commad
2013-09-03 18:51:55 +01:00
Justin Clark-Casey (justincc)
01cb8033a4
And fix break in "show bot" from commit 9c65207
2013-09-03 17:55:20 +01:00
Justin Clark-Casey (justincc)
a89c56dcf1
Fix build break from last commit 9c65207
. Mono 2.4 lacks string.join(string, List<string>), or some auto casting is missing
2013-09-03 17:53:29 +01:00
Justin Clark-Casey (justincc)
9c65207936
Show behaviours of pCampbot bots in "show bots" and "show bot" console commands
2013-09-03 17:07:57 +01:00
Justin Clark-Casey (justincc)
050617ae0e
Make pCampbot "show bot" command take the bot number instead of the full bot name
...
Shorter and can do this because bot names are uniform
2013-08-23 01:13:19 +01:00
Justin Clark-Casey (justincc)
13556cf129
Fix a further bug in pCampbot connect where ignoring already connected bots was wrongly counted as a connect
...
Also, only sleep when we actually perform a connection
2013-08-22 23:49:19 +01:00
Justin Clark-Casey (justincc)
51c7fb1969
Add "set bots" command to make it possible to set SEND_AGENT_UPDATES on all bots whilst pCampbot is running
2013-08-22 23:11:05 +01:00
Justin Clark-Casey (justincc)
66a7dc3a0d
In pCampbot, don't try and reconnect bots that are already connected on console "connect" command
2013-08-22 20:12:14 +01:00
Justin Clark-Casey (justincc)
4a81465b91
Fix build break from last commit a3e1b27
on mono 2.4.3
...
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)
2013-08-20 18:47:52 +01:00
Justin Clark-Casey (justincc)
a3e1b278a1
Add pCampbot "show bot" console command to show more detailed information on a particular bot (e.g. what sims they are connected to)
2013-08-20 18:41:09 +01:00
Justin Clark-Casey (justincc)
56d1d67a34
Add pCampbot console commands to sit all bots on ground and stand all bots
2013-08-20 17:01:12 +01:00
Justin Clark-Casey (justincc)
589b1a2eaf
Make it possible to reconnect pCampbots with the console command "connect [<n>]".
...
If no n is given then all available bots are connected
2013-08-19 23:50:18 +01:00
Justin Clark-Casey (justincc)
ea3f024b8a
refactor: start bot connection thread within BotManager rather than externally
2013-08-19 21:25:17 +01:00
Justin Clark-Casey (justincc)
079cd4e94f
refactor: restructure pCampbot multi-bot connection code.
2013-08-19 21:17:59 +01:00
Justin Clark-Casey (justincc)
2fa42f24fd
Make it possible to disconnected a specified number of bots via the pCampbot console command "disconnect [<n>]"
...
Bots disconnected are ascending from last in numeric order.
Temporarily no way to reconnect bots.
2013-08-19 21:00:31 +01:00
Justin Clark-Casey (justincc)
49b7cbda72
Create a separate pCampbot "disconnect" console command which disconnects 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
2013-08-19 20:29:17 +01:00
Justin Clark-Casey (justincc)
a90a5f52dd
Show number of connections each bot has established in "show bots" command.
2013-08-19 19:38:20 +01:00
Justin Clark-Casey (justincc)
5011c657b5
Actually implement the bot request object textures switch started in 225cf0d
.
...
Forgot to propogate it down to bot level.
2013-08-14 23:37:07 +01:00
Justin Clark-Casey (justincc)
2c67aa0f41
If pCampbot has been asked to shutdown, don't carry on logging in queued bots
2013-08-14 21:08:00 +01:00
Justin Clark-Casey (justincc)
225cf0d010
Add pCampbot RequestObjectTextures ini setting to control whether textures are requested for received objects.
2013-08-14 19:53:10 +01:00
Justin Clark-Casey (justincc)
3a62f39044
Add a -form switch to pCampbot to allow one to login a sequence of bots starting from numbers other than 0
2013-08-14 18:26:11 +01:00
Justin Clark-Casey (justincc)
2146b20169
Add the ability to explicitly specify a login start location to pCampbot via the -start parameter
2013-08-14 16:51:51 +01:00
Justin Clark-Casey (justincc)
5933f9448d
Add a SendAgentUpdates setting to a new pCampbot.ini.example file which can control whether bots send agent updates
...
pCampbot.ini.example is used by copying to pCampbot.ini, like other ini files
2013-08-13 23:54:50 +01:00
Justin Clark-Casey (justincc)
c49ea491a3
Make show bots pCampbot console command print connected, connecting, etc. bot totals at end.
2013-08-12 22:49:17 +01:00
Justin Clark-Casey (justincc)
e5b1688913
Add none behaviour to pCampbot when one wants bots to just stand around
2013-08-12 18:48:18 +01:00
Justin Clark-Casey (justincc)
480216f50f
Print out more information on connecting bots
2012-05-11 02:38:29 +01:00
Justin Clark-Casey (justincc)
9c392f6a68
Stagger multiple bot logins by 5 seconds to make this part of the test more 'realistic'
...
TODO: Need to make this value configurable by a command line parameter to pCampbot
2012-05-11 02:05:32 +01:00
Justin Clark-Casey (justincc)
0ddf3c5289
Do bot startup on another thread so console is responsive during this process
2012-05-11 01:56:00 +01:00
Justin Clark-Casey (justincc)
93b615c51d
Do each bot shutdown on its own threads to prevent one slow shutdown holding 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-11 01:37:03 +01:00
Justin Clark-Casey (justincc)
dc39ec82fa
Change bot.IsConnected to be ConnectionState with Disconnected, Connecting, Connnected and Disconnecting states
2012-05-11 00:53:21 +01:00
Justin Clark-Casey (justincc)
ab4e6a02a5
If a bot is not connected, show region name "(none)" instead of throwing an exception in the "show bots" command of pCampbot
2012-05-11 00:37:20 +01:00
Justin Clark-Casey (justincc)
ec48a2f32b
minor: Rename pCampbot console prompt to "pCampbot" rather than "Region"
2012-03-02 01:54:48 +00:00
Justin Clark-Casey (justincc)
2ae5b40ca6
On pCampBot, add bot as a property on behaviours instead of passing it in every time
2011-11-24 22:36:45 +00:00
Justin Clark-Casey (justincc)
bdcfd6afee
Add disabled CrossBehaviour to pCampBot, which is designed to cross test 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-24 17:35:33 +00:00
Justin Clark-Casey (justincc)
ed7ddeecf2
Print out what behaviours are active when pCampBot starts up
2011-11-23 22:18:10 +00:00
Justin Clark-Casey (justincc)
d145750e87
Add teleport behaviour to pCampBot
...
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-23 22:05:11 +00:00