• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Quest Behavior]LoadProfileOn

    Discussion in 'Neutral' started by AknA, Apr 28, 2013.

    Thread Status:
    Not open for further replies.
    1. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      FAQ!

      What is LoadProfileOn ?
      LoadProfileOn is a Quest Behavior that has multiple uses, it was created after a request from Liquid Zebra.

      What does LoadProfileOn do ?
      *You can load a localy stored profile.
      *You can load a remotly stored profile.
      *You can make your profile wait until everyone in your party is within interact range.
      *You can set a condition to check the level of your party members.

      How do I use this ?
      In a Questing Profile use these commands.
      MinLevel : (OPTIONAL) If not everyone in your party (including yourself) is below level then QB will exit doing nothing.
      CheckRange : (OPTIONAL, default = 0) If set to 1 QB will pause the profile until every party member is within your interact range.
      ProfileName : (OPTIONAL) Name of the profile to load (If RemotePath isn't included then the profile to load must be in the same directory as previous loaded local profile).
      RemotePath : (OPTIONAL) URL to where you have your remote profile stored. (Full directory path, excluding the profile name, example : http://www.mysite.com/MyProfiles/

      Examples:
      This would make the profile pause until all party members are within interact range (and then continue the profile).
      PHP:
      <CustomBehavior File="Misc\LoadProfileOn" CheckRange="1" />
      This would make the profile pause until all party members are within interact range IF all party members are above level 10 (if not all is above level 10 QB won't check range.)
      PHP:
      <CustomBehavior File="Misc\LoadProfileOn" CheckRange="1" MinLevel="10" />
      This would load a localy stored profile (it needs to be in the same directory as the last localy loaded profile)
      PHP:
      <CustomBehavior File="Misc\LoadProfileOn" ProfileName="[Rep] Nat Pagle.xml" />
      This would load a remote profile from my SVN.
      PHP:
      <CustomBehavior File="Misc\LoadProfileOn" ProfileName="[Rep] Nat Pagle.xml" RemotePath="http://akna-hb.googlecode.com/svn/trunk/Profiles/[Rep] Nat Pagle/" />
      And to combine everything.
      This would load a remote profile if everyone in your party is above level 50 and within interact range.
      PHP:
      <CustomBehavior File="Misc\LoadProfileOn" MinLevel="50" CheckRange="1" ProfileName="[Rep] Nat Pagle.xml" RemotePath="http://akna-hb.googlecode.com/svn/trunk/Profiles/[Rep] Nat Pagle/" />
      NOTE : In the last example, if everyone in the party is >= 50, the profile will pause until everyone is within interact range and then load the remote profile. However if someone in your party is below level 50, it won't load the profile and it won't check range.

      This doesn't work?
      Then please write a post and include a log and explain what isn't working.

      I love this, do you accept donations?
      Yes, at the bottom of the post you can see a link if you have a coin to spare.

      Special thanks?
      Natfoth for helping me understand and improving my Behavior Tree programming.

      Current issues?
      If a party member is too far away (more than 100 yards) then MinLevel can't check the level and QB will ignore that party member.
      Same thing is for CheckRange, but if QB can't check here it will assume that player is too far away and wait.

      How do I install this?
      This QB is now included with the official release of Honorbuddy.
       

      Attached Files:

      Last edited: May 4, 2013
    2. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      Will use on my 1-90 since I don't like to merge it all into one big file.

      Goodjob.

      EDIT1: Works great :).
       
      Last edited: Apr 30, 2013
    3. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      [LoadProfileOn]: Someone in your party is below level 25.
      [LoadProfileOn]: Someone in your party is below level 23.
      [LoadProfileOn]: Someone in your party is below level 21.
      [LoadProfileOn]: Someone in your party is below level 19.

      Counts the pet as a Party Member, small bug :).
       
    4. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      Thanks for the report Giwin, I'll look into it :)

      Edit : a new file with the fix has been attached to first post and SVN is allso updated.
       
      Last edited: May 4, 2013
    5. mat53

      mat53 New Member

      Joined:
      Jul 14, 2010
      Messages:
      377
      Likes Received:
      2
      Trophy Points:
      0
      I love this thing! I would love it even more, if it would be able to get data from party frames, not object manager, but its still awesome!
       
    6. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      I was hoping for a better way to check for player levels except through object manager (as it has a 100 yards limit).
      I couldn't find any, if you know of a lua command or whatever let me know and I can update the QB.

      *Edit*
      Actually, now I found API GetRaidRosterInfo - WoWWiki - Your guide to the World of Warcraft, missed that command when I made this QB.
      When I have some time I'll look into altering the QB to use that instead :)
       
      Last edited: Jul 2, 2013
      Botanist likes this.
    7. Botanist

      Botanist Banned

      Joined:
      Oct 20, 2010
      Messages:
      1,376
      Likes Received:
      44
      Trophy Points:
      0
      Loving this CB, as well as both the others. I am currently implementing all 3 into many of my profiles.

      Excellent job and thank you very much for all the time and effort.
      Makes what I do much easier.
       
    8. Wigglez

      Wigglez New Member Buddy Store Developer

      Joined:
      Mar 6, 2013
      Messages:
      174
      Likes Received:
      11
      Trophy Points:
      0
      This Quest Behavior is quite nice, as it's saving us a lot of trouble with timers in the RAF instance profiles. Botanist and I are grateful for your contribution to our project.
       
    9. mat53

      mat53 New Member

      Joined:
      Jul 14, 2010
      Messages:
      377
      Likes Received:
      2
      Trophy Points:
      0

      Awesome, I'll wait patiently for update :) It would be nice, atm in case of random dc during switching instance my boster isnt aware of current idler level.
       
    10. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      This QB is now included with the official release of Honorbuddy.
       
    11. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      And we thank you very much for the contribution!

      Closing thread, as it should no longer be needed.

      cheers & thanks again, AknA!
      chinajade
       
    Thread Status:
    Not open for further replies.

    Share This Page