• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Requesting help with professionbuddy code

    Discussion in 'Honorbuddy Forum' started by UsernameInvalid, Aug 28, 2014.

    1. UsernameInvalid

      UsernameInvalid Community Developer

      Joined:
      Jul 27, 2014
      Messages:
      273
      Likes Received:
      11
      Trophy Points:
      18
      I've spent the last few hours trying to find a solution to test if a user has switched a setting from default false to true to initiate a line of code, but nothing has compiled correctly.

      <Settings DefaultValue="False" Type="Boolean" Name="Alchemy" Summary="Levels Alchemy to 600" Category="Primary Professions" Global="False" Hidden="False" />

      <If Condition="(bool)Settings[&quot;Alchemy&quot;">
      <CustomAction Code="MyLog(&quot;Loading Alchemy.&quot; );"/>
      </If>
       
    2. elcotan

      elcotan New Member

      Joined:
      Jul 22, 2014
      Messages:
      54
      Likes Received:
      1
      Trophy Points:
      0
      did you forget a ']' ?

      <If Condition="(bool)Settings[&quot;Alchemy&quot;]">

      well I have the same structure in my PB profiles and it works
       
    3. UsernameInvalid

      UsernameInvalid Community Developer

      Joined:
      Jul 27, 2014
      Messages:
      273
      Likes Received:
      11
      Trophy Points:
      18
      I got it working, tried all different variations of brackets, comas, quotations just seems to be how the order lined up in my profile.

      MyLog however is not functioning now, and it wont recognize custom behaviors...
       
    4. elcotan

      elcotan New Member

      Joined:
      Jul 22, 2014
      Messages:
      54
      Likes Received:
      1
      Trophy Points:
      0
      oh well i havent seen the MyLog behavior must be new (to me at least)

      mine is just Log:

      Code:
      <CustomAction Code="Log(Colors.Crimson,&quot;AHBOT: &quot;,Colors.BlanchedAlmond,&quot;BUYING HERBS&quot;);" />
       
      Last edited: Aug 29, 2014
    5. Azucar

      Azucar Member

      Joined:
      Mar 26, 2010
      Messages:
      439
      Likes Received:
      2
      Trophy Points:
      18
      I wonder why anyone hasn't just programmed a standalone botbase to level a profession from 1-max, must be difficult?
       
    6. UsernameInvalid

      UsernameInvalid Community Developer

      Joined:
      Jul 27, 2014
      Messages:
      273
      Likes Received:
      11
      Trophy Points:
      18
      Its damn near impossible due to quest errors, pathing issues, and various in game mechanics that can't be scripted yet.

      My goal with what I am working on is to set 5 accounts with chosen professions and specs, and the bot will grind out to level 90, grind out the professions, and grab the required gear. I will be extending this to 100 when WoD drops and posting a free and premium version.
       

    Share This Page