aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/PhysicsBot.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-31 23:10:10 +0000
committerJustin Clark-Casey (justincc)2011-10-31 23:10:10 +0000
commit210868a832439bb226dfcf153ca66563300dc2cf (patch)
treee74ba51bc117b8b35cf8fafb06f6e182c2b31cdc /OpenSim/Tools/pCampBot/PhysicsBot.cs
parentStop individual bots attempting to download the same asset more than once (diff)
downloadopensim-SC-210868a832439bb226dfcf153ca66563300dc2cf.zip
opensim-SC-210868a832439bb226dfcf153ca66563300dc2cf.tar.gz
opensim-SC-210868a832439bb226dfcf153ca66563300dc2cf.tar.bz2
opensim-SC-210868a832439bb226dfcf153ca66563300dc2cf.tar.xz
Remove OpenSim.TestSuite
Hasn't been touched since 2009 and wasn't more than another copy of pCampBot
Diffstat (limited to 'OpenSim/Tools/pCampBot/PhysicsBot.cs')
-rw-r--r--OpenSim/Tools/pCampBot/PhysicsBot.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs
index 0344a82..0c399e3 100644
--- a/OpenSim/Tools/pCampBot/PhysicsBot.cs
+++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs
@@ -29,19 +29,23 @@ using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Text; 30using System.Text;
31using System.IO; 31using System.IO;
32using System.Reflection;
32using System.Threading; 33using System.Threading;
33using System.Timers; 34using System.Timers;
35using log4net;
34using OpenMetaverse; 36using OpenMetaverse;
35using OpenMetaverse.Assets; 37using OpenMetaverse.Assets;
36using Nini.Config; 38using Nini.Config;
37using OpenSim.Framework; 39using OpenSim.Framework;
38using OpenSim.Framework.Console; 40using OpenSim.Framework.Console;
39using Timer=System.Timers.Timer; 41using Timer = System.Timers.Timer;
40 42
41namespace pCampBot 43namespace pCampBot
42{ 44{
43 public class PhysicsBot 45 public class PhysicsBot
44 { 46 {
47 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
48
45 public delegate void AnEvent(PhysicsBot callbot, EventType someevent); // event delegate for bot events 49 public delegate void AnEvent(PhysicsBot callbot, EventType someevent); // event delegate for bot events
46 public IConfig startupConfig; // bot config, passed from BotManager 50 public IConfig startupConfig; // bot config, passed from BotManager
47 51
@@ -384,6 +388,7 @@ namespace pCampBot
384 388
385 public void Network_OnDisconnected(object sender, DisconnectedEventArgs args) 389 public void Network_OnDisconnected(object sender, DisconnectedEventArgs args)
386 { 390 {
391// m_log.ErrorFormat("Fired Network_OnDisconnected");
387 if (OnDisconnected != null) 392 if (OnDisconnected != null)
388 { 393 {
389 OnDisconnected(this, EventType.DISCONNECTED); 394 OnDisconnected(this, EventType.DISCONNECTED);