aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-20 13:50:33 +0000
committerMelanie Thielker2009-05-20 13:50:33 +0000
commit4065ebff15e228d7227500f3a2275025f5d16966 (patch)
tree3ffddea94c9fab8218289c5bc4e188e9f52a53c2 /OpenSim/Tools/pCampBot
parentrefactoring instantiation of Location object: moving it out of the for (diff)
downloadopensim-SC_OLD-4065ebff15e228d7227500f3a2275025f5d16966.zip
opensim-SC_OLD-4065ebff15e228d7227500f3a2275025f5d16966.tar.gz
opensim-SC_OLD-4065ebff15e228d7227500f3a2275025f5d16966.tar.bz2
opensim-SC_OLD-4065ebff15e228d7227500f3a2275025f5d16966.tar.xz
Remove the pre-log4net, discrete output methods from the consoles
Diffstat (limited to 'OpenSim/Tools/pCampBot')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs2
-rw-r--r--OpenSim/Tools/pCampBot/PhysicsBot.cs16
2 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index 2cd947e..93240d5 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -213,7 +213,7 @@ namespace pCampBot
213 213
214 private void HandleShutdown(string module, string[] cmd) 214 private void HandleShutdown(string module, string[] cmd)
215 { 215 {
216 m_console.Warn("BOTMANAGER", "Shutting down bots"); 216 m_log.Warn("[BOTMANAGER]: Shutting down bots");
217 doBotShutdown(); 217 doBotShutdown();
218 } 218 }
219 219
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs
index b84993e..282f4a0 100644
--- a/OpenSim/Tools/pCampBot/PhysicsBot.cs
+++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs
@@ -180,7 +180,7 @@ namespace pCampBot
180 } 180 }
181 else 181 else
182 { 182 {
183 MainConsole.Instance.Error(firstname + " " + lastname, "Can't login: " + client.Network.LoginMessage); 183 MainConsole.Instance.Output(firstname + " " + lastname + " Can't login: " + client.Network.LoginMessage);
184 if (OnDisconnected != null) 184 if (OnDisconnected != null)
185 { 185 {
186 OnDisconnected(this, EventType.DISCONNECTED); 186 OnDisconnected(this, EventType.DISCONNECTED);
@@ -222,12 +222,12 @@ namespace pCampBot
222 } 222 }
223 else 223 else
224 { 224 {
225 MainConsole.Instance.Error(String.Format("Failed to decode {0} asset {1}", asset.AssetType, asset.AssetID)); 225 MainConsole.Instance.Output(String.Format("Failed to decode {0} asset {1}", asset.AssetType, asset.AssetID));
226 } 226 }
227 } 227 }
228 catch (Exception e) 228 catch (Exception e)
229 { 229 {
230 MainConsole.Instance.Error(String.Format("Exception: {0}",e.ToString())); 230 MainConsole.Instance.Output(String.Format("Exception: {0}",e.ToString()));
231 } 231 }
232 } 232 }
233 } 233 }
@@ -261,7 +261,7 @@ namespace pCampBot
261 if (wear == "yes") 261 if (wear == "yes")
262 { 262 {
263 //TODO: Implement random outfit picking 263 //TODO: Implement random outfit picking
264 MainConsole.Instance.Notice("Picks a random outfit. Not yet implemented."); 264 MainConsole.Instance.Output("Picks a random outfit. Not yet implemented.");
265 } 265 }
266 else if (wear != "save") 266 else if (wear != "save")
267 saveDir = "MyAppearance/" + wear; 267 saveDir = "MyAppearance/" + wear;
@@ -290,7 +290,7 @@ namespace pCampBot
290 listwearables.Add(item); 290 listwearables.Add(item);
291 } 291 }
292 else 292 else
293 MainConsole.Instance.Error(String.Format("Failed to create item {0}",item.Name)); 293 MainConsole.Instance.Output(String.Format("Failed to create item {0}",item.Name));
294 } 294 }
295 ); 295 );
296 } 296 }
@@ -312,7 +312,7 @@ namespace pCampBot
312 listwearables.Add(item); 312 listwearables.Add(item);
313 } 313 }
314 else 314 else
315 MainConsole.Instance.Error(String.Format("Failed to create item {0}",item.Name)); 315 MainConsole.Instance.Output(String.Format("Failed to create item {0}",item.Name));
316 } 316 }
317 ); 317 );
318 } 318 }
@@ -320,10 +320,10 @@ namespace pCampBot
320 Thread.Sleep(1000); 320 Thread.Sleep(1000);
321 321
322 if (listwearables == null || listwearables.Count == 0) 322 if (listwearables == null || listwearables.Count == 0)
323 MainConsole.Instance.Notice("Nothing to send on this folder!"); 323 MainConsole.Instance.Output("Nothing to send on this folder!");
324 else 324 else
325 { 325 {
326 MainConsole.Instance.Notice(String.Format("Sending {0} wearables...",listwearables.Count)); 326 MainConsole.Instance.Output(String.Format("Sending {0} wearables...",listwearables.Count));
327 client.Appearance.WearOutfit(listwearables, false); 327 client.Appearance.WearOutfit(listwearables, false);
328 } 328 }
329 } 329 }