• Visit Rebornbuddy
  • [Gathering] PC walks when unstealthing.

    Discussion in 'Community Developer Forum' started by parrot, Nov 5, 2014.

    1. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Hi, ive been playing around with the gathering/orderbot and found it rather cumbersome to have to go 100% stealth on some profiles.
      To get around this I tried writing a small plugin yesterday which will toggle stealth if there are any close range mobs nearby. What i came up with works well enough however, if it unstealths while moving (and sprint isnt up) it will continue to move at walking speeds.

      As a possible temporary fix Ive been looking over the api for a function to stop movement in the hopes that doing so might atleast force the bot to restart its move procedure and start running again. So far I havent found a function like that which seems to work though.

      Anyone got any ideas?
       
      Last edited: Nov 5, 2014
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      Navigator.Stop();
       
    3. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Thank you for the reply! I also got a tip in a pm however i just cant get it to work (stopping)

      Even stripping out my code and just calling the stop functions Ive found seem to do nothing at all :confused:

      Code:
             public void OnPulse()
              {
                  ff14bot.Navigation.Navigator.PlayerMover.MoveStop();
                  ff14bot.Navigation.Navigator.Stop();
                  return;
              }
      
       

    Share This Page