What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

how to click an object and use items?

brainAbuddy

Active Member
Joined
Aug 12, 2010
Messages
2,180
Reaction score
11
hey
the title say's it basicly all
could some on make an dummy code for my how to click an object in game for an profile, i want to use an protal.

and my second question is how do i use itmes like the hearthstone?
 
portals - check out my questing / GoTo / Stormwind Portals / fileshere

for hearthstone - you can either runmacro /use hearthstone or you can
PHP:
				<CustomBehavior File="Misc\RunLua" Lua="UseItemByName(6948)" WaitTime="1000" />

Grinding: you can't
GB2: you can't (you can use portals with a plugin though)
PB: you can, but it's different (refer to the PB thread)</div>
 
i have an few questions
first of al it works ! ty for that
1, i can find an plugin that can use portals and yes i have used the shearch button (keys words"gb2 portals")
2, is it passible when he has done your sw to uldum that he done does an farming profile?
 
Check out professionbuddy bot it can use portals, hearthstone etc. it's a super powerful bot.
 
ok i have now made something in PB but i dont know how to cast an hearthstone?
the interact with the portal is vine but that is the onlt problem i have
 
Copy this in your profile:
PHP:
  <SubRoutine SubRoutineName="HS">
    <If Condition="Me.IsAlliance &amp;&amp; Me.ZoneId != 1519" IgnoreCanRun="True">
      <While Condition="Me.Mounted" IgnoreCanRun="True">
        <CustomAction Code="var1 = 0;" />
        <While Condition="Me.IsFlying || (int)var1 &lt; 5" IgnoreCanRun="True">
          <CustomAction Code="WoWMovement.Move(WoWMovement.MovementDirection.Descend, new TimeSpan(0, 0, 2));" />
          <WaitAction Condition="false" Timeout="2000" />
          <CustomAction Code="var1 = (int)var1 + 1;" />
        </While>
        <CustomAction Code="WoWMovement.MoveStop(WoWMovement.MovementDirection.Descend);" />
        <CustomAction Code="Lua.DoString(&quot;Dismount() CancelShapeshiftForm()&quot;);" />
        <WaitAction Condition="!Me.IsFalling" Timeout="5000" />
      </While>
      <CustomAction Code="Lua.DoString(&quot;UseHearthstone()&quot;);" />
      <WaitAction Condition="Me.ZoneId == 1519" Timeout="30000" />
    </If>
    <If Condition="Me.IsHorde &amp;&amp; Me.ZoneId != 1637" IgnoreCanRun="True">
        <While Condition="Me.Mounted" IgnoreCanRun="True">
        <CustomAction Code="var1 = 0;" />
        <While Condition="Me.IsFlying || (int)var1 &lt; 5" IgnoreCanRun="True">
          <CustomAction Code="WoWMovement.Move(WoWMovement.MovementDirection.Descend, new TimeSpan(0, 0, 2));" />
          <WaitAction Condition="false" Timeout="2000" />
          <CustomAction Code="var1 = (int)var1 + 1;" />
        </While>
        <CustomAction Code="WoWMovement.MoveStop(WoWMovement.MovementDirection.Descend);" />
        <CustomAction Code="Lua.DoString(&quot;Dismount() CancelShapeshiftForm()&quot;);" />
        <WaitAction Condition="!Me.IsFalling" Timeout="5000" />
      </While>
      <CustomAction Code="Lua.DoString(&quot;UseHearthstone()&quot;);" />
      <WaitAction Condition="Me.ZoneId == 1637" Timeout="30000" />
    </If>
  </SubRoutine>
Then you can call HS with the action called "Call Subroutine" and write HS as name.
This is for PB profiles only.

And if anyone says I can use Mount.Dismount() instead of the wowmovement and lua dismount I'm using - then I say, go ahead and try it of you're over water.. Mount.Dismount() doesn't work if there's water below you because it can't land.
 
portals - check out my questing / GoTo / Stormwind Portals / fileshere

for hearthstone - you can either runmacro /use hearthstone or you can
PHP:
				<CustomBehavior File="Misc\RunLua" Lua="UseItemByName(6948)" WaitTime="1000" />

Grinding: you can't
GB2: you can't (you can use portals with a plugin though)
PB: you can, but it's different (refer to the PB thread)
On a sidenote - I'd recommend this instead of what kick wrote - because it also works if you use that other HS from archeology (Innkeeper's Daughter):
PHP:
<CustomBehavior File="Misc\RunLua" Lua="UseHearthstone()" WaitTime="1000" />
 
Last edited:
Back
Top