Help wiff my macro plz

Discussion in 'Help & Support / Errors & Bugs' started by Nick0jenna, May 16, 2013.

  1. Nick0jenna

    Nick0jenna Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    May 23, 2012
    Messages:
    686
    Trophy Points:
    27,340
    Gender:
    Male
    Ratings:
    +141
    @
    jakeyray18
     
  2. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    You start a do loop, but you don't end it. So it only does it once.

    $${
    IF(autousing);
    LOG("&2[AutoFarm] &fStopped.");​
    UNSET(autousing);​
    STOP();​
    ELSE;
    LOG("&2[AutoFarm] &fStarted.");​
    SET(autousing);​
    DO;​
    KEYDOWN(attack);​
    KEYDOWN(forward);​
    LOOP;
    ENDIF
    }$$
     
    #2 kukelekuuk, May 16, 2013
    Last edited: May 16, 2013
  3. Nick0jenna

    Nick0jenna Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    May 23, 2012
    Messages:
    686
    Trophy Points:
    27,340
    Gender:
    Male
    Ratings:
    +141
    still only walking not "attacking"
     
  4. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    $${
    IF(autousing);
    LOG("&2[AutoFarm] &fStopped.");​
    UNSET(autousing);​
    STOP();​
    ELSE;
    LOG("&2[AutoFarm] &fStarted.");​
    SET(autousing);​
    DO;​
    KEY(attack);​
    KEY(forward);​
    LOOP;​
    ENDIF
    }$$

    You have to use KEY instead of KEYDOWN
     
    #4 kukelekuuk, May 16, 2013
    Last edited: May 16, 2013