What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Plugin Code help....

volicio

New Member
Joined
Oct 29, 2010
Messages
48
Reaction score
1
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.
 
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?
 
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();
        }
 
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:
awesome thanks for all the help guys... this new information just might call for a whole new re-write to RPT
 
Back
Top