• Visit Rebornbuddy
  • Trying to make a profile for terrorfist (and the other champions)

    Discussion in 'Requests & Discussion' started by themarketguy, Aug 20, 2015.

    1. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      So I took something that gatherit had made for huoulon and am adapting it to the champions in tanaan. I have the following:

      Code:
      <HBProfile>
      <Name>Terrorfist Kill</Name>
      
      <MinDurability>0.4</MinDurability>
      <MinFreeBagSlots>1</MinFreeBagSlots>
      
      <MinLevel>90</MinLevel>
      <MaxLevel>200</MaxLevel>
      
      <MailGrey>false</MailGrey>
      <MailWhite>false</MailWhite>
      <MailGreen>false</MailGreen>
      <MailBlue>false</MailBlue>
      <MailPurple>false</MailPurple>
      
      <SellGrey>true</SellGrey>
      <SellWhite>false</SellWhite>
      <SellGreen>true</SellGreen>
      <SellBlue>false</SellBlue>
      <SellPurple>false</SellPurple>
      
      <AvoidMobs>
      </AvoidMobs>
      
      <Vendors>
      </Vendors>
      
      <Mailboxes>
      </Mailboxes>
      
      <Blackspots>
      </Blackspots>
      
       <QuestOrder>
       
       <While Condition="true">
       
      
       
      	<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, &quot; Heading to Terrorfist Location&quot;);"/>
      	<CustomBehavior File="NoCombatMoveTo" X="3841.064" Y="1005.176" Z="173.1325" />
          <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, &quot; We Made it!&quot;);"/>
      	
      		   <SetGrindArea>
      			   <GrindArea>
      					
      					<LootRadius>100</LootRadius>
      					<TargetElites>true</TargetElites>	
      					<RandomizeHotspots>false</RandomizeHotspots>
                          <MobIds>95044</MobIds>
      					<Factions>14</Factions>
      					<Hotspots>
      					<Hotspot X="3841.064" Y="1005.176" Z="173.1325" />
      					</Hotspots>
      			   </GrindArea>    
      			</SetGrindArea>
      			
      			<GrindUntil Condition="IsQuestCompleted(39288)" />
            <CustomBehavior File="WaitTimer" WaitTime="5000" />
          <!--  <CustomBehavior File="RunMacro" Macro="/cast [nocombat] Garrison Hearthstone" /> -->
      	  
      
      	  <CustomBehavior File="Message" Text="We killed Terrorfist - Moving on To Deathtalon" LogColor="Green" />
      	  <CustomBehavior File="LoadProfile" ProfileName="Deathtalon" />
      
      	  
      </While>	
      	   
      </QuestOrder>
      </HBProfile>
      
      
      Problem is, when it gets to the hotspot, it starts killing everything around. I want it to just hangout and wait for the mob to spawn. Any suggestions? I want to make sure it doesn't go far away from the hotspot and miss the spawn.

      Appreciate any feedback in advance.

      EDIT: Adding log example in case it's needed.
      View attachment 52028 2015-08-20 13.08.txt
       
      Last edited: Aug 20, 2015
    2. Maffyx

      Maffyx Active Member Buddy Store Developer

      Joined:
      Feb 13, 2010
      Messages:
      1,078
      Likes Received:
      17
      Trophy Points:
      38
      Instead of the grind area try using:

      PHP:

      <CustomBehavior File="KillUntilComplete"  MobId="95044" ImmediatelySwitchToHighestPriorityTarget="true" TerminateWhen="IsQuestCompleted(39288)">
           <
      HuntingGrounds  WaypointVisitStrategy="Random">                
           <
      Hotspot X="3841.064" Y="1005.176" Z="173.1325" />
           </
      HuntingGrounds>
      </
      CustomBehavior
      You'll have to go around and make hotspots using the developers tools but that should do the trick.


      Edit: Noticed you already had the hotspot. You could use either that or just this if it's only one hotspot:


      PHP:

      <CustomBehavior File="KillUntilComplete"  MobId="95044" ImmediatelySwitchToHighestPriorityTarget="true" TerminateWhen="IsQuestCompleted(39288)" X="3841.064" Y="1005.176" Z="173.1325" />
          
       
      Last edited: Aug 20, 2015
    3. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      awesome, read through the library and that seems like a much better solution, still fairly new to the structure of hb, never occurred to me to just browse through the questbehaviors for info.

      thanks.
       
    4. Maffyx

      Maffyx Active Member Buddy Store Developer

      Joined:
      Feb 13, 2010
      Messages:
      1,078
      Likes Received:
      17
      Trophy Points:
      38
      No problem! That's what I had to do to get some of my profiles up and running. I definitely still have a lot of learning myself and doing just that has taught me a lot, the only downside is that some of the documentation can be off since they don't always update that when they update the quest behaviors.
       
    5. Aion

      Aion Well-Known Member Buddy Store Developer

      Joined:
      Jan 18, 2011
      Messages:
      3,907
      Likes Received:
      105
      Trophy Points:
      63
      Then you need a few extra stuff:

      Condition, which would check if Terror is spawned, when so, interact/attack/or just tag him, depend on your gear (if you can solo it, or no)

      You need a few safe spots, to rest on them, while waiting. Good idea would be to turn combat off, while waiting, in case other faction attempts to gank you.

      Anti-AFK code is a must too.
       
    6. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      So using the advice Maffyx provided has been quite successful thus far, only problem now is AFK, as Aion has pointed out. Can anyone give me some advice for performing an action within a profile at a set and semi-random interval? Jumping for example, or maybe it's possible to define the length of time to stay at a hotspot in the killuntil custom behavior (I didn't see it defined in the library as an option) and he could just move around in a small area every 5 minutes?

      I tried a plugin AntiAfk that I found in the plugins section, it doesn't seem to consistently work, so I've caught myself logged out a couple times today while doing some testing.

      Appreciate any advice in advance.
       
    7. Maffyx

      Maffyx Active Member Buddy Store Developer

      Joined:
      Feb 13, 2010
      Messages:
      1,078
      Likes Received:
      17
      Trophy Points:
      38
      I haven't tested this to see if it still works but you could try to integrate this. Kick developed it and it's in his SVN pack.
       

      Attached Files:

    8. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      Would work as a standalone but it needs to be able to pulse while profile runs, which another profile element won't do while sitting indle inside of another custom behavior. I'll probably just work on getting a working plugin up at some point and just setup an ahk script in the mean time for my own anti-afk.
       
    9. Aion

      Aion Well-Known Member Buddy Store Developer

      Joined:
      Jan 18, 2011
      Messages:
      3,907
      Likes Received:
      105
      Trophy Points:
      63
      You would love to check this:

      StyxWoW.ResetAfk Method

      Can be easily wrapped inside DoWhen hook.
      From what I have read, it reset the inside timer within the WoW client, which is responsible for AFK flag.
       

    Share This Page