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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Profile GOTO Northshire to StormWind / Durotar to Orgrimmar

kaosh

Member
Joined
Aug 25, 2016
Messages
70
Hi guys,

Like gold sellers, anyone have profile to toone go directly to Orgrimmar, or Sw?

and stop when you are in the bank?
 
Last edited:
Not to advertise for anyone here, but there is a free plugin, Buddy Store , that has a brilliant travel module where you can lay in routes as needed. Check it out.
 
Not to advertise for anyone here, but there is a free plugin, Buddy Store , that has a brilliant travel module where you can lay in routes as needed. Check it out.

Yeah, that's mine :-)

If you have the free plugin and want to do this in a quest profile, you add the following after the opening <QuestOrder> tag:

PHP:
<CustomBehavior File="RunCode" Type="Definition">
  <![CDATA[
        PluginContainer StudioCompanion = Styx.Plugins.PluginManager.Plugins.FirstOrDefault(p => p.Name == "Studio Companion");      
        
        System.Type studioCompanionHelper = System.AppDomain.CurrentDomain.GetAssemblies().Select(a => a.GetType("Studio60.StudioCompanionHelper", false, false)).FirstOrDefault(a => a != null);
        
        private void StartJourney(uint mapId, uint zoneId, Vector3 location, string xml, string goalName) {                 
            System.Reflection.MethodInfo startJourney = studioCompanionHelper.GetMethod("StartJourney", System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static);
            startJourney.Invoke(null, new object[] { mapId, zoneId, location, xml, goalName } );
        }
    ]]>
</CustomBehavior>

<CustomBehavior File="RunCode">
<![CDATA[
    if(StudioCompanion == null) {
        var studioCompanionUrl = "https://store.buddyauth.com/Product?productId=3101";
        System.Windows.MessageBoxResult messageBoxResult = System.Windows.MessageBox.Show("This profile requires the FREE Studio Companion plugin.\r\n\r\nDo you want to open the product page now to get it?\r\n\r\nURL: " + studioCompanionUrl, "Missing Plugin", System.Windows.MessageBoxButton.YesNo, System.Windows.MessageBoxImage.Asterisk); 
        if (messageBoxResult.ToString() == "Yes") 
        { 
            System.Diagnostics.Process.Start(studioCompanionUrl); 
        }
        TreeRoot.Stop("The plugin 'Studio Companion' is required. Please get it for free from the Buddy Store.");
    } else if(StudioCompanion.Enabled == false) {
        Logging.Write(System.Windows.Media.Colors.Chocolate, "[Profile Message]: Enabling the Studio Companion plugin.");
        StudioCompanion.Enabled = true;
    }    
    
    await SetActiveProfile(ProfileManager.XmlLocation);
]]>
</CustomBehavior>

Then when you want to go somewhere in your profile, you can add:

PHP:
<CustomBehavior File="RunCode">
  <![CDATA[
    StartJourney(MAPID, ZONEID, new Vector3(100.0f, 100.0f, 100.0f), "", "Orgrimmar");
  ]]>
</CustomBehavior>

You just have to fill in the the correct map id, zone id and location. And for you non-programmers: The "f" after the x, y and z coordinates is essential. "Orgrimmar" is just for a nicer output so the bot tells you where it is going.
 
Back
Top