diff options
author | Jeff Ames | 2008-02-15 03:21:05 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-15 03:21:05 +0000 |
commit | 25e7f74d29b394737e3180dff71ee0020430b4e1 (patch) | |
tree | fa2c91ac8daf74c50b021ad825cc33d8713e70e9 /OpenSim | |
parent | Moved pCampBot to OpenSim/Tools (diff) | |
download | opensim-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.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Tools/pCampBot/PhysicsCamperBotREADME.txt | 36 | ||||
-rw-r--r-- | OpenSim/Tools/pCampBot/README.txt | 44 | ||||
-rw-r--r-- | OpenSim/Tools/pCampBot/prebuild.xml | 63 | ||||
-rwxr-xr-x | OpenSim/Tools/pCampBot/runprebuild.bat | 2 | ||||
-rwxr-xr-x | OpenSim/Tools/pCampBot/runprebuild.sh | 4 |
5 files changed, 44 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 @@ | |||
1 | This is the PhysicsCamperbot libslBot tester. | ||
2 | |||
3 | This is designed to be run in standalone mode with authorize accounts turned off as a way to stress test the simulator. | ||
4 | It 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 ----- | ||
9 | Linux: chmod the .sh runprebuild file, run it. Then run nant like; | ||
10 | |||
11 | nant -buildfile: pCampBot.build | ||
12 | |||
13 | and pCampBot.exe will end up in the regular opensim/bin folder | ||
14 | |||
15 | Windows: | ||
16 | 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. | ||
17 | |||
18 | |||
19 | -----Running the bot---- | ||
20 | |||
21 | windows: pCampBot.exe -botcount <N> -loginuri <URI> | ||
22 | *nix: mono pCampBot.exe -botcount <N> -loginuri <URI> | ||
23 | |||
24 | The names it produces are random by default, however, you can specify either a firstname or a lastname in the command line also. | ||
25 | ex: pCampBot.exe -botcount <N> -loginuri <URI> -lastname <lastname> | ||
26 | |||
27 | 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. | ||
28 | |||
29 | pCampBot.exe -botcount 1 -loginuri http://somegrid.com:8002 -firstname SomeDude -lastname SomeDude -password GobbleDeGook | ||
30 | ------- | ||
31 | |||
32 | The bot also has console commands | ||
33 | help - lists the console commands and what they do | ||
34 | shutdown - gracefully shuts down the bots | ||
35 | quit - forcefully shuts things down leaving stuff unclean | ||
36 | addbots 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 @@ | |||
1 | This is the PhysicsCamperbot libslBot tester. | ||
2 | |||
3 | This is designed to be run in standalone mode with authorize accounts | ||
4 | turned off as a way to stress test the simulator. It creates <N> | ||
5 | clients that log in, randomly jump/walk around, and say excuses from | ||
6 | the BOFH. | ||
7 | |||
8 | *** WARNING *** | ||
9 | Using this bot on a public grid could get you banned permanently, so | ||
10 | just say No! to griefing! | ||
11 | |||
12 | ----- Setup ----- | ||
13 | Linux: To build, in the main opensim directory, run: | ||
14 | ./runprebuild.sh | ||
15 | nant | ||
16 | |||
17 | Windows: Run the prebuild.bat in the main opensim directory and then | ||
18 | open the created solution and compile it. | ||
19 | |||
20 | pCampBot.exe will end up in the regular opensim/bin folder | ||
21 | |||
22 | ----- Running the bot ----- | ||
23 | |||
24 | windows: pCampBot.exe -botcount <N> -loginuri <URI> | ||
25 | *nix: mono pCampBot.exe -botcount <N> -loginuri <URI> | ||
26 | |||
27 | The names it produces are random by default, however, you can specify | ||
28 | either a firstname or a lastname in the command line also. | ||
29 | |||
30 | ex: pCampBot.exe -botcount <N> -loginuri <URI> -lastname <lastname> | ||
31 | |||
32 | If you specify both a firstname *and* a lastname, you'll likely run | ||
33 | into trouble unless you're only running a single bot. In that case, | ||
34 | there's also a password option. | ||
35 | |||
36 | pCampBot.exe -botcount 1 -loginuri http://somegrid.com:8002 -firstname SomeDude -lastname SomeDude -password GobbleDeGook | ||
37 | |||
38 | ----- Commands ----- | ||
39 | |||
40 | The 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 | |||
3 | mono ../../../bin/Prebuild.exe /target nant | ||
4 | mono ../../../bin/Prebuild.exe /target vs2005 | ||