• Visit Honorbuddy
  • Visit Rebornbuddy
  • Visit Demonbuddy
  • Visit Exilebuddy
  • Visit Hearthbuddy
  • Visit Pokefarmer
  • Visit Buddystore

Tank game Problem

Discussion in 'Archives' started by asterope, Dec 7, 2011.

  1. asterope

    asterope New Member

    Joined:
    Nov 30, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Hi mates i got a problem regarding the tank game in darkmoon fairy
    If my Tank Dies, mij character is still following up the orders of the tank.
    That results in a crash because my character cannot enter the battle field.

    PHP:
    <If Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4132.871" Y="6319.303" Z="13.11664" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </If>
                <If 
    Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4146.116" Y="6305.91" Z="13.11664" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </If>
                <If 
    Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4134.678" Y="6296.258" Z="13.11671" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </If>
                <If 
    Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4124.425" Y="6305.203" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </If>
                <If 
    Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4136.515" Y="6305.212" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </If>
                <If 
    Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4132.519" Y="6314.895" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </If>
                <If 
    Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4139.315" Y="6300.72" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </If>
    Also tryed this

    PHP:
    <While Condition="Me.HasAura(&quot;Using Steam Tonk Controller&quot;)">
                <
    RunTo X="-4132.871" Y="6319.303" Z="13.11664" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                <
    RunTo X="-4146.116" Y="6305.91" Z="13.11664" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                <
    RunTo X="-4134.678" Y="6296.258" Z="13.11671" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                <
    RunTo X="-4124.425" Y="6305.203" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                <
    RunTo X="-4136.515" Y="6305.212" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                <
    RunTo X="-4132.519" Y="6314.895" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                <
    RunTo X="-4139.315" Y="6300.72" Z="13.11746" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton1" />
                <
    CustomBehavior File="RunMacro" Macro="/click ExtraActionButton2" />
                </While>
     
  2. no1knowsy

    no1knowsy Well-Known Member

    Joined:
    Feb 28, 2010
    Messages:
    3,934
    Likes Received:
    57
    Trophy Points:
    48
    <if <="" span=""></if>
    <while condition="Me.HasAura(" using="" steam="" tonk="" controller")"="">

    You'll need to change to "Me.HasAura(& quot;Using Steam Tonk Controller& quot;)"
    Delete the space between the & and quot; Had to do that to get it to show up... fail ass editor.

    If you already have that then change Me.HasAura to Me.ActiveAuras.ContainsKey()</while>
     
  3. asterope

    asterope New Member

    Joined:
    Nov 30, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    K thanks mate i will try that
     

Share This Page