blob: afa5fbd0e601b5eec2cd69215fdf5556f68ffff5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
This is the PhysicsCamperbot libslBot tester.
This is designed to be run in standalone mode with authorize accounts turned off as a way to stress test the simulator.
It creates <N> clients that log in, randomly jump/walk around, and say excuses from the BOFH
**Warning:** Using this bot on a public grid could get you banned perminantly, so just say No! to greifing!
-----Setup -----
Linux: chmod the .sh runprebuild file, run it. Then run nant like;
nant -buildfile: pCampBot.build
and pCampBot.exe will end up in the regular opensim/bin folder
Windows:
Run the prebuild bat IN THIS FOLDER and then open the created solution and compile it. the Exe file will end up in the regular opensim bin folder.
-----Running the bot----
windows: pCampBot.exe -botcount <N> -loginuri <URI>
*nix: mono pCampBot.exe -botcount <N> -loginuri <URI>
The names it produces are random by default, however, you can specify either a firstname or a lastname in the command line also.
ex: pCampBot.exe -botcount <N> -loginuri <URI> -lastname <lastname>
If you specify both a firstname *and* a lastname, you'll likely run into trouble unless you're only running a single bot. In that case, there's also a password option.
pCampBot.exe -botcount 1 -loginuri http://somegrid.com:8002 -firstname SomeDude -lastname SomeDude -password GobbleDeGook
-------
The bot also has console commands
help - lists the console commands and what they do
shutdown - gracefully shuts down the bots
quit - forcefully shuts things down leaving stuff unclean
addbots N - adds N number of random bots. (replace 'N' with a number)
|