• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [PB] Professionbuddy. Enable/Disable plug-ins (i.e. Randombuddy)

    Discussion in 'Requests & Discussion' started by guizadas, Feb 7, 2014.

    1. guizadas

      guizadas Member

      Joined:
      Dec 14, 2011
      Messages:
      60
      Likes Received:
      0
      Trophy Points:
      6
      Hi. I'm looking to create a PB gathering profile that would handle portals/continent movement, and I would like to use randombuddy plug-in's to generate my GB profiles. How can I enable/disable the plug-in via the PB profile? Better yet, can I edit the randombuddy's plug-in settings (i.e. selecting which zones) through the PB profile?
       
    2. Angelus

      Angelus Member

      Joined:
      Jan 15, 2010
      Messages:
      848
      Likes Received:
      6
      Trophy Points:
      18
      If randombuddy picks a profile according to the continent/zone it is in, you might just use one of the multi profiles that are available. But I am not sure if it is capable of doing that.

      Would go like this I guess:

      The multi profile choses random or in order a zone to travel to, proceeds to enable gatherbuddy2 when it traveled through the portal and then randombuddy will generate a random profile.

      Very easy to do for pandarian, but if you want to add cata and other zones, I don't know if it is possible.


      If I remember correct, there are two quest behaviors that are capable of enabling and disabling plugins in the quest behavior map.
       
    3. guizadas

      guizadas Member

      Joined:
      Dec 14, 2011
      Messages:
      60
      Likes Received:
      0
      Trophy Points:
      6
      How about just disabling/enabling the plug-in via the profile then?
       
    4. chtpm

      chtpm Member

      Joined:
      Nov 26, 2011
      Messages:
      649
      Likes Received:
      6
      Trophy Points:
      18
      I'd love to know how to enable/disable plugins with a PB profile

      BTW this code won't work for PB:
      <CustomBehavior File="EnablePlugin" Names="PluginName" />
       
      Last edited: Jan 20, 2015
    5. Macatho

      Macatho New Member

      Joined:
      Dec 3, 2011
      Messages:
      1,108
      Likes Received:
      18
      Trophy Points:
      0
      Easy.
      For example here's mine:

      You might not be able to straight copy paste that since this forum translates some of the code. You know " becomes &quot; for example...

      Here's another way:

      PHP:
          <CustomAction Code="var AntiDrown = Styx.Plugins.PluginManager.Plugins.FirstOrDefault(x => x.Name == &quot;AntiDrown&quot;);if (AntiDrown != null)AntiDrown.Enabled = true;" />
      EDIT again: To clarify this is for PB, NOT questing.
       
      Last edited: Jan 20, 2015

    Share This Page