• Visit Rebornbuddy
  • Arenas 2v2! A profile that Queues for arenas!

    Discussion in 'Honorbuddy Forum' started by djkoe, Aug 26, 2014.

    1. djkoe

      djkoe New Member

      Joined:
      Apr 3, 2012
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
      Hello, iv been doing some searching for simple profile for arenas. I understand HB does not support arenas. My friend and i do a ton of arena carries for low geared people. We both use honorbuddy and we are both getting tired of dropping rating every single day together so that we can carry those super low geared players. What we are looking for is a simple profile that will que us up and accept que on its own for arenas. No we do not need it to attack or win any arenas. We just want something that can Que us up (depending on whos the leader) and accept queue (for the non-leader). Like i said we dont need it to attack or anything as we would probably strip our gear off so the opposing team could kill us quickly and help us drop rating!

      I did some looking on the forums for a profile like this and was unable to find one. I may have passed over one or there may already be a way to do such a thing that im unaware of!

      If anyone has any ideas/profiles or plans to make a simple profile like this please let me know!!
      thank you! :)

      Greatly appreciated!!!
       
    2. Zimble

      Zimble Member

      Joined:
      Oct 26, 2012
      Messages:
      66
      Likes Received:
      1
      Trophy Points:
      8
      Modified version of my old conquest farm script (just afk till someone leaves/after timer) might be broken, easy to fix though.

      for use in PB, all it does is queue and accept. :)

      Code:
      <Professionbuddy>
        <CallSubRoutine SubRoutineName="Init" />
        <SubRoutine SubRoutineName="Init">
          <Declaration Code="bool prep = false;" />
          <Declaration Code="Random rand = new Random();" />
          <Declaration Code="int randwait;" />
          <Declaration Code="int r;" />
          <Settings DefaultValue="7000" Type="Int32" Name="Wait" Summary="Time to wait after preparation falls off." Category="General" Global="True" Hidden="False" />
        </SubRoutine>
        <While Condition="true" IgnoreCanRun="True">
          <If Condition="Me.IsGroupLeader == true &amp;&amp; Lua.GetReturnVal&lt;string&gt;(&quot;return GetBattlefieldStatus(1)&quot;,0) == &quot;none&quot;;" IgnoreCanRun="False">
            <CustomAction Code="Lua.DoString(&quot;JoinArena('2v2')&quot;);" />
          </If>
          <If Condition="Lua.GetReturnVal&lt;string&gt;(&quot;return GetBattlefieldStatus(1)&quot;,0) == &quot;confirm&quot; &amp;&amp; prep == false;" IgnoreCanRun="True">
            <CustomAction Code="r = rand.Next(99);" />
            <CustomAction Code="randwait = r * 100;" />
            <CustomAction Code="Log(&quot;Waiting {0}ms&quot;, randwait,0);" />
            <CustomAction Code="Thread.Sleep(randwait);" />
            <CustomAction Code="Lua.DoString(&quot;AcceptBattlefieldPort(1, 1)&quot;);" />
            <WaitAction Condition="StyxWoW.IsInWorld" Timeout="10000" />
          </If>
        </While>
      </Professionbuddy>
       

      Attached Files:

      Last edited: Aug 26, 2014
    3. Windows

      Windows New Member

      Joined:
      Nov 27, 2012
      Messages:
      211
      Likes Received:
      0
      Trophy Points:
      0
      Thanks for this!! <3
       
    4. djkoe

      djkoe New Member

      Joined:
      Apr 3, 2012
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
      hey friend thank you for your help. i apologize for the newb question but how do i set this up? do i save that script and use it in like a word document as a profile or? and open up party bot and load that profile i made? lol sorry im not the greatest at this whole comp smarts thing !!

      thank you again !!!
       
    5. djkoe

      djkoe New Member

      Joined:
      Apr 3, 2012
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
      also if im the party leader and my friend uses this will it accept for him? :) thank you!!!
       
    6. djkoe

      djkoe New Member

      Joined:
      Apr 3, 2012
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
    7. Zimble

      Zimble Member

      Joined:
      Oct 26, 2012
      Messages:
      66
      Likes Received:
      1
      Trophy Points:
      8
      Edited the original with an attachment (might be pending approval)

      Just make a copy of another profile here: HB\Bots\Professionbuddy\Profiles

      paste the above over whatever is in your copy, rename it, load it in professionbuddy (bot)



      It will autoqueue and accept 2v2 as the leader, and it will accept as a follower.


      PS. Use the edit button instead of triple posting
       
    8. djkoe

      djkoe New Member

      Joined:
      Apr 3, 2012
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
      Hey man so far so good! thank you once again! I know im being greedy here but is there something i can add to the coding so that instead of waiting the 2 mins after the arena finishes to get booted is there something i can add so that it presses leave button o its quicker to drop rating? thank you

      ALSO every couple arenas our WoW crashes
       
      Last edited: Aug 27, 2014
    9. Zimble

      Zimble Member

      Joined:
      Oct 26, 2012
      Messages:
      66
      Likes Received:
      1
      Trophy Points:
      8
      That one isn't designed to do anything but join. If you're interested in having it instaleave when the arena is finished, you can use GetNumArenaOpponents to check if your enemies have left, and then use LeaveBattlefield to leave. Not sure what the crashes are about, I've never had issues but I haven't used the script since they added deserter to arenas.

      I don't remember what GetBattlefieldStatus returns if the arena is over, but I'm sure there is a reason I wasn't using it to check... Remember if you end up against bots, you'll both just sit there and idle till it times out, so you might want to handle that.

      edit:
      Try using GetBattlefieldInstanceExpiration > 0 then LeaveBattlefield
       
      Last edited: Aug 27, 2014

    Share This Page