• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Battle Pets] Daily Intro Questlines and Dailies.

    Discussion in 'Pets' started by Crowley, Nov 6, 2012.

    1. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      The following snippet is similar to what I have been using to complete the Pandaria battle pet dailies. It is based on the profiles in this thread, with a few changes requested by others.
      The major change is the addition of macros to select the pets used for a battle:
      Code:
      <CustomBehavior File="RunMacro" Macro="/script C_PetJournal.SetPetLoadOutInfo(1, '0x0000000000000000')" />
      To use this, each user will need to determine which pets of theirs they want to use for a fight, get the unique ID for each pet and convert it from the ID shown in pokehbuddy to hex. You will end up with a string similar to "0x0000000000FFFFFF" which is then copied in place of the "0x0000000000000000" in each macro. Also note that the hex string should be enclosed with encoded single quotes (') like this: '0x0000000000000000' . Not sure how that will display in the code section.

      To convert a number to hex, open the calculator, change to Programmer in the view menu, check the "Dec" option and enter the ID as shown in pokehbuddy, then select the "Hex" option. There is your hex number. You will need to pad the number with leading zeros to make sure the string is 16 characters (which is a requirement of the SetPetLoadOutInfo() API) and then add an "0x" for good measure.

      In pokehbuddy, the battle distance should be set to "0" unless you want to spend hours battling pets as you move from trainer to trainer. The profile starts the pet battle, and pokehbuddy will take over once the battle starts.

      Code:
      	
      <?xml version="1.0" encoding="utf-16" standalone="yes"?>
      <HBProfile>
        <Name>Pandarian Pet Trainers</Name>
        <MinDurability>0</MinDurability>
        <MinFreeBagSlots>0</MinFreeBagSlots>
        <MinLevel>0</MinLevel>
        <MaxLevel>91</MaxLevel>
        <SellGrey>False</SellGrey>
        <SellWhite>False</SellWhite>
        <SellGreen>False</SellGreen>
        <SellBlue>False</SellBlue>
        <SellPurple>False</SellPurple>
        <MailGrey>False</MailGrey>
        <MailWhite>False</MailWhite>
        <MailGreen>False</MailGreen>
        <MailBlue>False</MailBlue>
        <MailPurple>False</MailPurple>
        <AvoidMobs />
        <Blackspots />
        <Vendors />
        <QuestOrder>
      	<!-- Courageous Yon-->
      	<If Condition="!HasQuest(31956) &amp;&amp; !IsQuestCompleted(31956)">
      		<CustomBehavior File="RunMacro" Macro="/cast Revive Battle Pets" />
      		<CustomBehavior File="FlyTo" X="2525" Y="2595" Z="852"  DestName="Courageous Yon" />
      		<CustomBehavior File="RunMacro" Macro="/dismount" />
      		<CustomBehavior File="RunMacro" Macro="/cancelaura" />
      		<CustomBehavior File="RunMacro" Macro="/script C_PetJournal.SetPetLoadOutInfo(1, '0x0000000000000000')" /> 
      		<CustomBehavior File="RunMacro" Macro="/script C_PetJournal.SetPetLoadOutInfo(2, '0x0000000000000000')" />
      		<CustomBehavior File="RunMacro" Macro="/script C_PetJournal.SetPetLoadOutInfo(3, '0x0000000000000000')" />
      		<PickUp QuestName="Grand Master Yon" QuestId="31956" GiverId="66738" GiverName="Courageous Yon" X="2546.454" Y="2596.291" Z="851.7788"/>
      		<CustomBehavior File="InteractWith" MobId="66738" QuestId="31956" X="2546.454" Y="2596.291" Z="851.7788" />
      		<CustomBehavior File="WaitTimer" WaitTime="1000" />
      		<CustomBehavior File="RunMacro" Macro="/click GossipTitleButton3" NumOfTimes="1" WaitTime="5000"/>	
      		<CustomBehavior File="WaitTimer" WaitTime="1000" />
      		<CustomBehavior File="RunMacro" Macro="/click StaticPopup1Button1" NumOfTimes="1" WaitTime="5000"/>	
      		<CustomBehavior File="WaitTimer" WaitTime="120000" />
      		<TurnIn Nav="Fly" QuestId="31956" TurnInId="66738" TurnInName="Courageous Yon" QuestName="Grand Master Yon" X="2546.454" Y="2596.291" Z="851.7788" />
      	</If>
      	<!-- ADD OTHER TRAINERS HERE -->
        </QuestOrder>
      </HBProfile>
      
      It is easy enough to add the other trainers in whatever order you want using this as a template.
      There probably should be code added to handle the case where you lose a battle, but I don't think I have lost a fight since using the profile, so I never bothered.
       
    2. fireman605

      fireman605 New Member

      Joined:
      Mar 9, 2012
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      When I run this it will accept the quest but instead of clicking yes when it says lets rumble it closes the dialogue and reopens it any advice?
       
    3. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      Here is what I am currently using, from the pick up to turn in section of the code. It has been tweaked a bit since my last post. If you still have issues, it is likely due to the WaitTime values. Tweak them as needed to get it working for you.

      Code:
              	<PickUp QuestName="Grand Master Yon" QuestId="31956" GiverId="66738" GiverName="Courageous Yon" X="2546.454" Y="2596.291" Z="851.7788"/>
      		<CustomBehavior File="InteractWith" MobId="66738" QuestId="31956" X="2546.454" Y="2596.291" Z="851.7788" />
      		<CustomBehavior File="WaitTimer" WaitTime="3000" VariantTime="5000" />
      		<CustomBehavior File="RunMacro" Macro="/click GossipTitleButton3" NumOfTimes="1" WaitTime="500"/>	
      		<CustomBehavior File="WaitTimer" WaitTime="3000" VariantTime="5000" />
      		<CustomBehavior File="RunMacro" Macro="/click StaticPopup1Button1" NumOfTimes="1" WaitTime="500"/>	
      		<While Condition="!IsQuestCompleted(31956)">
      			<CustomBehavior File="WaitTimer" WaitTime="10000" />
      		</While>
      		<TurnIn Nav="Fly" QuestId="31956" TurnInId="66738" TurnInName="Courageous Yon" QuestName="Grand Master Yon" X="2546.454" Y="2596.291" Z="851.7788" />
      
       
    4. JimT

      JimT New Member

      Joined:
      Feb 25, 2012
      Messages:
      106
      Likes Received:
      3
      Trophy Points:
      0
      I am having the same experience as Fireman. It appears the line containing StaticPopup1Button1 is not firing. I can type the line manually into the wow chat box and it properly clicks the correct button, but RunMacro just can't seem to do it.
       
    5. NNN

      NNN New Member

      Joined:
      Apr 10, 2014
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      1
      Are those profiles still working? because i can't seems to get them to work
       
    6. erxxlu

      erxxlu New Member

      Joined:
      Jan 8, 2013
      Messages:
      177
      Likes Received:
      0
      Trophy Points:
      0
      aren't working.. it wont trigger the battle
       
    7. erxxlu

      erxxlu New Member

      Joined:
      Jan 8, 2013
      Messages:
      177
      Likes Received:
      0
      Trophy Points:
      0
      Would you mind posting your modded profiles pls?
       
    8. deejayfowler

      deejayfowler New Member

      Joined:
      Mar 28, 2012
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      0
      how would i go about making a profile to farm this area Singing Marshes near halfhill been using it manually to lvl alts get 3 beasts pref zandalaris since they got heal 2 shot each critter here easy 1% xp per battle without having to heal up

      and all mobs are not hostile so can go there from lvl 1 screenshot of the area below

      You need to register and have one post to see spoilers!
       
    9. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      I can't post my profiles because as I have them they are unique to my account due to the pet IDs. Not only would they not work for you, there is likely some way they could be traced back to my Wow account. The two posts I made previously are everything you need to build your own profiles (combined them below, which is exactly what I used minus the pet IDs). I've not run it lately as I've farmed enough stones to upgrade all my pets, but it was still working in April. As I said before, if it is not clicking the buttons correctly, try adjusting the WaitTime and WaitTimer values. I always meant to write a QuestBehavior to give me a way to tell when I was in a pet battle, it would make this much more reliable - missed clicks could be handled, failed battles could be handled - but never got around it. I never had enough trouble with it to warrant spending the extra time to make it. Maybe one day...

      When I level pets around Halfhill I just use an empty profile. The pets are so numerous and spawn quick enough that I just load an empty profile with the pokehbuddy botbase and battle pet swapper plugin and let it go.


      Code:
      <?xml version="1.0" encoding="utf-16" standalone="yes"?>
      <HBProfile>
        <Name>Pandarian Pet Trainers</Name>
        <MinDurability>0</MinDurability>
        <MinFreeBagSlots>0</MinFreeBagSlots>
        <MinLevel>0</MinLevel>
        <MaxLevel>91</MaxLevel>
        <SellGrey>False</SellGrey>
        <SellWhite>False</SellWhite>
        <SellGreen>False</SellGreen>
        <SellBlue>False</SellBlue>
        <SellPurple>False</SellPurple>
        <MailGrey>False</MailGrey>
        <MailWhite>False</MailWhite>
        <MailGreen>False</MailGreen>
        <MailBlue>False</MailBlue>
        <MailPurple>False</MailPurple>
        <AvoidMobs />
        <Blackspots />
        <Vendors />
        <QuestOrder>
      	<!-- Courageous Yon-->
      	<If Condition="!HasQuest(31956) &amp;&amp; !IsQuestCompleted(31956)">
      		<CustomBehavior File="RunMacro" Macro="/cast Revive Battle Pets" />
      		<CustomBehavior File="FlyTo" X="2525" Y="2595" Z="852"  DestName="Courageous Yon" />
      		<CustomBehavior File="RunMacro" Macro="/dismount" />
      		<CustomBehavior File="RunMacro" Macro="/cancelaura" />
      		<CustomBehavior File="RunMacro" Macro="/script C_PetJournal.SetPetLoadOutInfo(1, '0x0000000000000000')" /> 
      		<CustomBehavior File="RunMacro" Macro="/script C_PetJournal.SetPetLoadOutInfo(2, '0x0000000000000000')" />
      		<CustomBehavior File="RunMacro" Macro="/script C_PetJournal.SetPetLoadOutInfo(3, '0x0000000000000000')" />
              	<PickUp QuestName="Grand Master Yon" QuestId="31956" GiverId="66738" GiverName="Courageous Yon" X="2546.454" Y="2596.291" Z="851.7788"/>
      		<CustomBehavior File="InteractWith" MobId="66738" QuestId="31956" X="2546.454" Y="2596.291" Z="851.7788" />
      		<CustomBehavior File="WaitTimer" WaitTime="3000" VariantTime="5000" />
      		<CustomBehavior File="RunMacro" Macro="/click GossipTitleButton3" NumOfTimes="1" WaitTime="500"/>	
      		<CustomBehavior File="WaitTimer" WaitTime="3000" VariantTime="5000" />
      		<CustomBehavior File="RunMacro" Macro="/click StaticPopup1Button1" NumOfTimes="1" WaitTime="500"/>	
      		<While Condition="!IsQuestCompleted(31956)">
      			<CustomBehavior File="WaitTimer" WaitTime="10000" />
      		</While>
      		<TurnIn Nav="Fly" QuestId="31956" TurnInId="66738" TurnInName="Courageous Yon" QuestName="Grand Master Yon" X="2546.454" Y="2596.291" Z="851.7788" />
      	</If>
      	<!-- ADD OTHER TRAINERS HERE -->
        </QuestOrder>
      </HBProfile>
       
      Kmica likes this.
    10. psylar

      psylar Member

      Joined:
      Feb 17, 2010
      Messages:
      366
      Likes Received:
      5
      Trophy Points:
      18

      like*
       
    11. fantasydreaming

      fantasydreaming Member

      Joined:
      Feb 2, 2013
      Messages:
      129
      Likes Received:
      0
      Trophy Points:
      16
      Any progress with this? I've been leveling my pets in the wild with pokehbuddy, but using the tamers would sure be nice for all the goodies and bonuses they give.
       
    12. xchasm

      xchasm New Member

      Joined:
      Mar 17, 2014
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
      Willing to try this out ASAP :)
       
    13. jsimmons10

      jsimmons10 Community Developer

      Joined:
      Feb 15, 2012
      Messages:
      744
      Likes Received:
      10
      Trophy Points:
      18
      do these wrk? i enabled pokebuddy and then selected the kali profile and all it will do is battle wile criters
       

    Share This Page