diff options
author | Arthur Valadares | 2009-05-18 22:00:43 +0000 |
---|---|---|
committer | Arthur Valadares | 2009-05-18 22:00:43 +0000 |
commit | ed28c89d9624dfba5deef0560b50df726307f4af (patch) | |
tree | 826e7964fcb05bef8452a082f2ab6db991b9ace0 /OpenSim/Tools/pCampBot/pCampBot.cs | |
parent | Rename OpenSim.Server.exe to OpenSim.Services.exe and the corresponding (diff) | |
download | opensim-SC_OLD-ed28c89d9624dfba5deef0560b50df726307f4af.zip opensim-SC_OLD-ed28c89d9624dfba5deef0560b50df726307f4af.tar.gz opensim-SC_OLD-ed28c89d9624dfba5deef0560b50df726307f4af.tar.bz2 opensim-SC_OLD-ed28c89d9624dfba5deef0560b50df726307f4af.tar.xz |
* Adds code that allows you to save an outfit then tell bot to wear it.
* Still doesn't work due to a bug on LibOMV that should be out on 0.6.3.
* Released by request. Important Warning: Linden Viewer 1.2.3 changes the way appearance works and break bot's appearances. LibOMV is working on it
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/pCampBot.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs index 9cde451..098a8ca 100644 --- a/OpenSim/Tools/pCampBot/pCampBot.cs +++ b/OpenSim/Tools/pCampBot/pCampBot.cs | |||
@@ -77,6 +77,7 @@ namespace pCampBot | |||
77 | cs.AddSwitch("Startup", "lastname"); | 77 | cs.AddSwitch("Startup", "lastname"); |
78 | cs.AddSwitch("Startup", "password"); | 78 | cs.AddSwitch("Startup", "password"); |
79 | cs.AddSwitch("Startup", "help","h"); | 79 | cs.AddSwitch("Startup", "help","h"); |
80 | cs.AddSwitch("Startup", "wear"); | ||
80 | 81 | ||
81 | IConfig ol = cs.Configs["Startup"]; | 82 | IConfig ol = cs.Configs["Startup"]; |
82 | return ol; | 83 | return ol; |
@@ -84,6 +85,10 @@ namespace pCampBot | |||
84 | 85 | ||
85 | private static void Help() | 86 | private static void Help() |
86 | { | 87 | { |
88 | // Added the wear command. This allows the bot to wear real clothes instead of default locked ones. | ||
89 | // You can either say no, to not load anything, yes, to load one of the default wearables, a folder | ||
90 | // name, to load an specific folder, or save, to save an avatar with some already existing wearables | ||
91 | // worn to the folder MyAppearance/FirstName_LastName, and the load it. | ||
87 | Console.WriteLine( | 92 | Console.WriteLine( |
88 | "usage: pCampBot <-loginuri loginuri> [OPTIONS]\n" + | 93 | "usage: pCampBot <-loginuri loginuri> [OPTIONS]\n" + |
89 | "Spawns a set of bots to test an OpenSim region\n\n" + | 94 | "Spawns a set of bots to test an OpenSim region\n\n" + |
@@ -92,6 +97,7 @@ namespace pCampBot | |||
92 | " -firstname first name for the bot(s) (default: random string)\n" + | 97 | " -firstname first name for the bot(s) (default: random string)\n" + |
93 | " -lastname lastname for the bot(s) (default: random string)\n" + | 98 | " -lastname lastname for the bot(s) (default: random string)\n" + |
94 | " -password password for the bots(s) (default: random string)\n" + | 99 | " -password password for the bots(s) (default: random string)\n" + |
100 | " -wear set appearance folder to load from (default: no)\n" + | ||
95 | " -h, -help show this message" | 101 | " -h, -help show this message" |
96 | ); | 102 | ); |
97 | } | 103 | } |