Automatic sell macro for tree farming

Discussion in 'Basic Tutorials' started by Scamazon, Oct 6, 2017.

  1. Scamazon

    Scamazon monkey
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 1, 2017
    Messages:
    666
    Trophy Points:
    27,090
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +2,157
    THIS PROJECT IS A WORK IN PROGRESS AND WILL BE CHANGED OVER TIME. THE CURRENT MACRO IS UNSTABLE AND SPAMS THE SERVER LOGS.

    You heard it right - no more having to stop and sell all your wood. With this, all your wood gets sold straight away!

    Tree Farming Macro

    Hey everyone, I only just installed macro a couple of days ago and let me tell you right now - it's amazing. Now, I love going into the technical side of stuff so I began to learn how scripting in macro works. I started off with a bit of a struggle, but just a few minutes later I had made my first ever macro - the tree farming macro.

    What can this do?

    Simple - the moment you collect wood, it sells it for you? There's no more need to stop and manually type it, from now on it's automatic!

    Sweet! How can I get it?

    Firstly, you need to make sure that macro is installed properly into your Minecraft client. There are plenty of tutorials all over the internet, and even on the "Basic Tutorial" section, which you're on right now! Next, create a new text file and create a new file called "Wood.txt" (or really anything you want). Paste this script into the text file:
    Code:
    $${[/SIZE][/LEFT]
    [SIZE=4][LEFT]IF(%PICKUPITEM%="Spruce Wood")
       ECHO( /sell log:1)
    ENDIF
    }$$



    Now, create a new macro in the "Events" section called "onPickupItem". Type in $$<Wood.txt> (replace Wood with whatever you named your text file).

    After that, you should be all set! Enjoy automatically selling your wood whenever you tree farm!

    IMPORTANT: In the text code I have assumed that you are farming spruce wood. You may have to edit this, depending on what wood you are farming. Simply change "Spruce Wood" with whatever you are farming and change log:1 to the type of wood as well.

    log = Oak
    log:1 = Spruce
    log:2 = Birch
    log:3 = Jungle
    Log_2 = Acacia
    Log_2:1 = Dark Oak
     
    #1 Scamazon, Oct 6, 2017
    Last edited: Oct 6, 2017
  2. Capbo_

    Capbo_ Reformed Scammer
    Tycoon ⛰️⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 21, 2016
    Messages:
    1,237
    Trophy Points:
    57,660
    Gender:
    Male
    EcoDollars:
    $1,348,456
    Ratings:
    +3,040
    Just add a delay or wait command. I forgot what it was called :).
     
  3. Scamazon

    Scamazon monkey
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 1, 2017
    Messages:
    666
    Trophy Points:
    27,090
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +2,157
    The wait command won't work, as it just delays the spam by however seconds ;-;
     
  4. Enzonium

    Enzonium Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Aug 17, 2017
    Messages:
    55
    Trophy Points:
    7,350
    Gender:
    Male
    Ratings:
    +11
    Whats the name of the mod called?
     
  5. Scamazon

    Scamazon monkey
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 1, 2017
    Messages:
    666
    Trophy Points:
    27,090
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +2,157
    Macro mod
     
  6. Enzonium

    Enzonium Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Aug 17, 2017
    Messages:
    55
    Trophy Points:
    7,350
    Gender:
    Male
    Ratings:
    +11
    May you please provide a link.
     
  7. Capbo_

    Capbo_ Reformed Scammer
    Tycoon ⛰️⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 21, 2016
    Messages:
    1,237
    Trophy Points:
    57,660
    Gender:
    Male
    EcoDollars:
    $1,348,456
    Ratings:
    +3,040
    You have to follow the thread. The author would prefer you not.
     
  8. Enzonium

    Enzonium Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Aug 17, 2017
    Messages:
    55
    Trophy Points:
    7,350
    Gender:
    Male
    Ratings:
    +11
  9. Capbo_

    Capbo_ Reformed Scammer
    Tycoon ⛰️⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 21, 2016
    Messages:
    1,237
    Trophy Points:
    57,660
    Gender:
    Male
    EcoDollars:
    $1,348,456
    Ratings:
    +3,040
    Yo marsh when you got time I got better version of the script for you
     
  10. Scamazon

    Scamazon monkey
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 1, 2017
    Messages:
    666
    Trophy Points:
    27,090
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +2,157
    Honestly at this point I just make it so that it sells wood every 10 seconds. If you'd like that I'll put it up.
     
  11. Capbo_

    Capbo_ Reformed Scammer
    Tycoon ⛰️⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 21, 2016
    Messages:
    1,237
    Trophy Points:
    57,660
    Gender:
    Male
    EcoDollars:
    $1,348,456
    Ratings:
    +3,040
    Got it take you can bind it to a button or key.
     
  12. Capbo_

    Capbo_ Reformed Scammer
    Tycoon ⛰️⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 21, 2016
    Messages:
    1,237
    Trophy Points:
    57,660
    Gender:
    Male
    EcoDollars:
    $1,348,456
    Ratings:
    +3,040
    Can you do that