aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJeff Ames2008-02-15 03:21:05 +0000
committerJeff Ames2008-02-15 03:21:05 +0000
commit25e7f74d29b394737e3180dff71ee0020430b4e1 (patch)
treefa2c91ac8daf74c50b021ad825cc33d8713e70e9
parentMoved pCampBot to OpenSim/Tools (diff)
downloadopensim-SC-25e7f74d29b394737e3180dff71ee0020430b4e1.zip
opensim-SC-25e7f74d29b394737e3180dff71ee0020430b4e1.tar.gz
opensim-SC-25e7f74d29b394737e3180dff71ee0020430b4e1.tar.bz2
opensim-SC-25e7f74d29b394737e3180dff71ee0020430b4e1.tar.xz
Move pCampBot prebuild.xml into main prebuild.xml to fix reference errors. Update README.
-rw-r--r--OpenSim/Tools/pCampBot/PhysicsCamperBotREADME.txt36
-rw-r--r--OpenSim/Tools/pCampBot/README.txt44
-rw-r--r--OpenSim/Tools/pCampBot/prebuild.xml63
-rwxr-xr-xOpenSim/Tools/pCampBot/runprebuild.bat2
-rwxr-xr-xOpenSim/Tools/pCampBot/runprebuild.sh4
-rw-r--r--prebuild.xml25
6 files changed, 69 insertions, 105 deletions
diff --git a/OpenSim/Tools/pCampBot/PhysicsCamperBotREADME.txt b/OpenSim/Tools/pCampBot/PhysicsCamperBotREADME.txt
deleted file mode 100644
index afa5fbd..0000000
--- a/OpenSim/Tools/pCampBot/PhysicsCamperBotREADME.txt
+++ /dev/null
@@ -1,36 +0,0 @@
1This is the PhysicsCamperbot libslBot tester.
2
3This is designed to be run in standalone mode with authorize accounts turned off as a way to stress test the simulator.
4It creates <N> clients that log in, randomly jump/walk around, and say excuses from the BOFH
5
6**Warning:** Using this bot on a public grid could get you banned perminantly, so just say No! to greifing!
7
8-----Setup -----
9Linux: chmod the .sh runprebuild file, run it. Then run nant like;
10
11nant -buildfile: pCampBot.build
12
13and pCampBot.exe will end up in the regular opensim/bin folder
14
15Windows:
16Run 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.
17
18
19-----Running the bot----
20
21windows: pCampBot.exe -botcount <N> -loginuri <URI>
22*nix: mono pCampBot.exe -botcount <N> -loginuri <URI>
23
24The names it produces are random by default, however, you can specify either a firstname or a lastname in the command line also.
25ex: pCampBot.exe -botcount <N> -loginuri <URI> -lastname <lastname>
26
27If 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.
28
29pCampBot.exe -botcount 1 -loginuri http://somegrid.com:8002 -firstname SomeDude -lastname SomeDude -password GobbleDeGook
30-------
31
32The bot also has console commands
33help - lists the console commands and what they do
34shutdown - gracefully shuts down the bots
35quit - forcefully shuts things down leaving stuff unclean
36addbots N - adds N number of random bots. (replace 'N' with a number) \ No newline at end of file
diff --git a/OpenSim/Tools/pCampBot/README.txt b/OpenSim/Tools/pCampBot/README.txt
new file mode 100644
index 0000000..7ecbde1
--- /dev/null
+++ b/OpenSim/Tools/pCampBot/README.txt
@@ -0,0 +1,44 @@
1This is the PhysicsCamperbot libslBot tester.
2
3This is designed to be run in standalone mode with authorize accounts
4turned off as a way to stress test the simulator. It creates <N>
5clients that log in, randomly jump/walk around, and say excuses from
6the BOFH.
7
8*** WARNING ***
9Using this bot on a public grid could get you banned permanently, so
10just say No! to griefing!
11
12----- Setup -----
13Linux: To build, in the main opensim directory, run:
14 ./runprebuild.sh
15 nant
16
17Windows: Run the prebuild.bat in the main opensim directory and then
18open the created solution and compile it.
19
20pCampBot.exe will end up in the regular opensim/bin folder
21
22----- Running the bot -----
23
24windows: pCampBot.exe -botcount <N> -loginuri <URI>
25*nix: mono pCampBot.exe -botcount <N> -loginuri <URI>
26
27The names it produces are random by default, however, you can specify
28either a firstname or a lastname in the command line also.
29
30ex: pCampBot.exe -botcount <N> -loginuri <URI> -lastname <lastname>
31
32If you specify both a firstname *and* a lastname, you'll likely run
33into trouble unless you're only running a single bot. In that case,
34there's also a password option.
35
36pCampBot.exe -botcount 1 -loginuri http://somegrid.com:8002 -firstname SomeDude -lastname SomeDude -password GobbleDeGook
37
38----- Commands -----
39
40The bot has console commands:
41 help - lists the console commands and what they do
42 shutdown - gracefully shuts down the bots
43 quit - forcefully shuts things down leaving stuff unclean
44 addbots N - adds N number of random bots. (replace 'N' with a number)
diff --git a/OpenSim/Tools/pCampBot/prebuild.xml b/OpenSim/Tools/pCampBot/prebuild.xml
deleted file mode 100644
index bfaf408..0000000
--- a/OpenSim/Tools/pCampBot/prebuild.xml
+++ /dev/null
@@ -1,63 +0,0 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
3 <Solution name="pCampBot" activeConfig="Debug" path="./" version="0.5.0-svn">
4 <Configuration name="Debug">
5 <Options>
6 <CompilerDefines>TRACE;DEBUG</CompilerDefines>
7 <OptimizeCode>false</OptimizeCode>
8 <CheckUnderflowOverflow>false</CheckUnderflowOverflow>
9 <AllowUnsafe>false</AllowUnsafe>
10 <WarningLevel>4</WarningLevel>
11 <WarningsAsErrors>false</WarningsAsErrors>
12 <SuppressWarnings></SuppressWarnings>
13 <OutputPath>../../../bin</OutputPath>
14 <DebugInformation>true</DebugInformation>
15 <IncrementalBuild>true</IncrementalBuild>
16 <NoStdLib>false</NoStdLib>
17 </Options>
18 </Configuration>
19 <Configuration name="Release">
20 <Options>
21 <CompilerDefines>TRACE</CompilerDefines>
22 <OptimizeCode>true</OptimizeCode>
23 <CheckUnderflowOverflow>false</CheckUnderflowOverflow>
24 <AllowUnsafe>false</AllowUnsafe>
25 <WarningLevel>4</WarningLevel>
26 <WarningsAsErrors>false</WarningsAsErrors>
27 <SuppressWarnings></SuppressWarnings>
28 <OutputPath>../../../bin</OutputPath>
29 <DebugInformation>false</DebugInformation>
30 <IncrementalBuild>true</IncrementalBuild>
31 <NoStdLib>false</NoStdLib>
32 </Options>
33 </Configuration>
34
35 <!-- Core OpenSim Projects -->
36
37 <Project name="pCampBot" path="./" type="Exe">
38 <Configuration name="Debug">
39 <Options>
40 <OutputPath>../../../bin/</OutputPath>
41 </Options>
42 </Configuration>
43 <Configuration name="Release">
44 <Options>
45 <OutputPath>../../../bin/</OutputPath>
46 </Options>
47 </Configuration>
48
49 <ReferencePath>../../../bin/</ReferencePath>
50 <Reference name="System" localCopy="false"/>
51 <Reference name="libsecondlife.dll"/>
52 <Reference name="OpenSim.Framework.dll"/>
53 <Reference name="OpenSim.Framework.Console.dll"/>
54 <Reference name="Nini.dll" />
55 <Reference name="log4net"/>
56
57 <Files>
58 <Match pattern="*.cs" recurse="true"/>
59 </Files>
60 </Project>
61
62 </Solution>
63</Prebuild>
diff --git a/OpenSim/Tools/pCampBot/runprebuild.bat b/OpenSim/Tools/pCampBot/runprebuild.bat
deleted file mode 100755
index 0427d2e..0000000
--- a/OpenSim/Tools/pCampBot/runprebuild.bat
+++ /dev/null
@@ -1,2 +0,0 @@
1..\..\..\bin\Prebuild.exe /target nant
2..\..\..\bin\Prebuild.exe /target vs2005
diff --git a/OpenSim/Tools/pCampBot/runprebuild.sh b/OpenSim/Tools/pCampBot/runprebuild.sh
deleted file mode 100755
index 7215bc5..0000000
--- a/OpenSim/Tools/pCampBot/runprebuild.sh
+++ /dev/null
@@ -1,4 +0,0 @@
1#!/bin/sh
2
3mono ../../../bin/Prebuild.exe /target nant
4mono ../../../bin/Prebuild.exe /target vs2005
diff --git a/prebuild.xml b/prebuild.xml
index f956e7e..135a8d7 100644
--- a/prebuild.xml
+++ b/prebuild.xml
@@ -1480,6 +1480,31 @@
1480 <Match pattern="*.cs" recurse="true"/> 1480 <Match pattern="*.cs" recurse="true"/>
1481 </Files> 1481 </Files>
1482 </Project> 1482 </Project>
1483
1484 <Project name="pCampBot" path="OpenSim/Tools/pCampBot" type="Exe">
1485 <Configuration name="Debug">
1486 <Options>
1487 <OutputPath>../../../bin/</OutputPath>
1488 </Options>
1489 </Configuration>
1490 <Configuration name="Release">
1491 <Options>
1492 <OutputPath>../../../bin/</OutputPath>
1493 </Options>
1494 </Configuration>
1495
1496 <ReferencePath>../../../bin/</ReferencePath>
1497 <Reference name="System" localCopy="false"/>
1498 <Reference name="libsecondlife.dll"/>
1499 <Reference name="OpenSim.Framework.dll"/>
1500 <Reference name="OpenSim.Framework.Console.dll"/>
1501 <Reference name="Nini.dll" />
1502 <Reference name="log4net"/>
1503
1504 <Files>
1505 <Match pattern="*.cs" recurse="true"/>
1506 </Files>
1507 </Project>
1483 </Solution> 1508 </Solution>
1484 1509
1485 <!-- Prebuild tool --> 1510 <!-- Prebuild tool -->