diff options
author | Justin Clark-Casey (justincc) | 2012-03-02 01:31:28 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-02 01:31:28 +0000 |
commit | 94971bf3b9fd53b571701e7d9a3a94628763da71 (patch) | |
tree | 0b9f8042ea1523b00ef4f92140e8c30841d1ee4d | |
parent | Move SenseRepeaters.Count check inside the SenseRepeatListLock. (diff) | |
download | opensim-SC-94971bf3b9fd53b571701e7d9a3a94628763da71.zip opensim-SC-94971bf3b9fd53b571701e7d9a3a94628763da71.tar.gz opensim-SC-94971bf3b9fd53b571701e7d9a3a94628763da71.tar.bz2 opensim-SC-94971bf3b9fd53b571701e7d9a3a94628763da71.tar.xz |
Provide feedback on bot login states in pCampbot
-rw-r--r-- | OpenSim/Tools/pCampBot/Bot.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/Bot.cs b/OpenSim/Tools/pCampBot/Bot.cs index 0bd0bcc..da090dd 100644 --- a/OpenSim/Tools/pCampBot/Bot.cs +++ b/OpenSim/Tools/pCampBot/Bot.cs | |||
@@ -420,6 +420,8 @@ namespace pCampBot | |||
420 | 420 | ||
421 | public void Network_LoginProgress(object sender, LoginProgressEventArgs args) | 421 | public void Network_LoginProgress(object sender, LoginProgressEventArgs args) |
422 | { | 422 | { |
423 | m_log.DebugFormat("[BOT]: Bot {0} {1} in Network_LoginProcess", Name, args.Status); | ||
424 | |||
423 | if (args.Status == LoginStatus.Success) | 425 | if (args.Status == LoginStatus.Success) |
424 | { | 426 | { |
425 | if (OnConnected != null) | 427 | if (OnConnected != null) |
@@ -431,10 +433,15 @@ namespace pCampBot | |||
431 | 433 | ||
432 | public void Network_SimConnected(object sender, SimConnectedEventArgs args) | 434 | public void Network_SimConnected(object sender, SimConnectedEventArgs args) |
433 | { | 435 | { |
436 | m_log.DebugFormat( | ||
437 | "[BOT]: Bot {0} connected to {1} at {2}", Name, args.Simulator.Name, args.Simulator.IPEndPoint); | ||
434 | } | 438 | } |
435 | 439 | ||
436 | public void Network_OnDisconnected(object sender, DisconnectedEventArgs args) | 440 | public void Network_OnDisconnected(object sender, DisconnectedEventArgs args) |
437 | { | 441 | { |
442 | m_log.DebugFormat( | ||
443 | "[BOT]: Bot {0} disconnected reason {1}, message {2}", Name, args.Reason, args.Message); | ||
444 | |||
438 | // m_log.ErrorFormat("Fired Network_OnDisconnected"); | 445 | // m_log.ErrorFormat("Fired Network_OnDisconnected"); |
439 | 446 | ||
440 | // if ( | 447 | // if ( |