//public override void InvokeReal() //{ // if (avatarThinkerThread == null) // { // avatarThinkerThread = new Thread(Think) { Name = String.Format( }; // if (Actor.IsControllable) // { // /// only think for ourselves // avatarThinkerThread.Priority = ThreadPriority.Normal; // avatarThinkerThread.Start(); // } // } // if (!avatarThinkerThread.IsAlive) avatarThinkerThread.Resume(); //} public override void InvokeReal() { while (true) { try { StartThinking(); } catch (Exception e) { ObservedActor.Debug(e.ToString()); } } }
private void Debug(SimAvatar TheBot, string theBotDebug) { TheBot.Debug(theBotDebug); //Radegast.RadegastInstance C = TheBot.GetGridClient().TheRadegastInstance; //if (C != null) //{ // C.TabConsole.DisplayNotificationInChat(theBotDebug); //} }
private void Debug(SimAvatar TheBot,string theBotDebug) { TheBot.Debug(theBotDebug); //Radegast.RadegastInstance C = TheBot.GetGridClient().TheRadegastInstance; //if (C != null) //{ // C.TabConsole.DisplayNotificationInChat(theBotDebug); //} }