• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Disabling "Stop and dismount"

    Discussion in 'Archives' started by strix, Sep 4, 2011.

    1. strix

      strix New Member

      Joined:
      Feb 13, 2010
      Messages:
      442
      Likes Received:
      18
      Trophy Points:
      0
      Code:
      [11:29:43 PM:175] Dismount for attacker.
      [11:29:43 PM:175] Stop and dismount... Reason: Combat
      
      Is there any way to modify/temporarily disable that Stop and dismount?

      I'm trying to make plugin that would make druid stay in flight form for harvesting and this one is fucking up everything i try to do.

      EDIT: fix found, replace all Thread.Sleeps() with:
      Code:
      public void WaitFor(int timeoutSeconds, bool conditionToMeet)
      {
            WaitTimer timeout = new WaitTimer(new TimeSpan(0,0,timeoutSeconds));
            timeout.Reset();
            while (!conditionToMeet && !timeout.IsFinished) ;
      }
      ugly, but working ;D
       
      Last edited: Sep 4, 2011
    2. Forbsy

      Forbsy New Member

      Joined:
      Jan 15, 2010
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      May I ask how you did this, as Ive been trying to get my druid (Tauren) to avoid entering combat as it doesnt need to because of cultivation.
       
    3. strix

      strix New Member

      Joined:
      Feb 13, 2010
      Messages:
      442
      Likes Received:
      18
      Trophy Points:
      0
      Basically those conditions must be met to not let HB "stop and dismount":
      1. not a single, shortest Thread.Sleep()
      2. can't go out of single pulse before looting herb


      Also i made such plugin already.
       
      Last edited: Sep 9, 2011

    Share This Page