• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Plugin Code help....

    Discussion in 'Archives' started by volicio, Feb 20, 2011.

    1. volicio

      volicio New Member

      Joined:
      Oct 29, 2010
      Messages:
      48
      Likes Received:
      1
      Trophy Points:
      0
      Hey guys, as some of you might know I have taken over the Ringo Profession Trainer plug-in... and I need some help, I'm trying to add a pretty unique feature... Hell I might just release it all on its own.

      I want to add a goto hotspot feature... right now I'm trying to get it to train archaeology & I have it set to hearth back to org when it needs to train. The only problem is the trainer is still outside the 100yrd limit that the plug-in seems to be constrained to. So I'd like to have it hearth, walk to a hotspot within that 100yrd radius or even to the trainer... train... walk back outside... and then let AB take back over.
       
    2. homegrown328

      homegrown328 New Member

      Joined:
      Jan 14, 2011
      Messages:
      19
      Likes Received:
      0
      Trophy Points:
      0
      can you read/write profiles with plugins?
      i know fnav loads a profile to run to places.
      can you have your profile write a goto profile and load it.
      then load the old profile?
       
    3. iggi66

      iggi66 New Member

      Joined:
      Jan 15, 2010
      Messages:
      389
      Likes Received:
      24
      Trophy Points:
      0
      This is for moving to specific coords and can be called by "GoToTrainer();" at the place where you need it.

      Code:
              static void GoToTrainer()
              {
                  WoWPoint _Trainer = new WoWPoint(x, y, z); // insert coords here, so you don't need a profile
      
                  if (!StyxWoW.Me.Mounted)
                      Mount.MountUp();
      
                  while (StyxWoW.Me.Location.Distance(_Trainer) > 1)
                  {
                      TreeRoot.StatusText = "Moving to ...";
                      Navigator.MoveTo(_Trainer);
                      Thread.Sleep(100);
                  }
                  WoWMovement.MoveStop();
              }
       
    4. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      RunTo X Y Z

      put that in an if statement with your condition

      iggi's works too :D

      Mine is for the profile writer, not the plugin writer ;)
       
      Last edited: Feb 20, 2011
    5. volicio

      volicio New Member

      Joined:
      Oct 29, 2010
      Messages:
      48
      Likes Received:
      1
      Trophy Points:
      0
      awesome thanks for all the help guys... this new information just might call for a whole new re-write to RPT
       

    Share This Page