Results 1 to 5 of 5
  1. #1
    Adaman134's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Minecraft Sugar Cane Farm Script

    Hi,
    Anyone know how I could harvest my sugar cane farm using a script? i.e. running and mining, then turning and repeating and eating when hungry and teleport to /warp shop (factions server) to sell the sugar cane?

    I tried making a macro for this (recording keystrokes) but when I moved my mouse 180 degress, the game moved about 10 degrees. (was using AutoHotKey)

    If anybody could show me or make a script that I can adjust to the size of the farm to harvest sugar cane?


    Thanks in Advance,
    Adaman
    Last edited by Nik; 03-30-2016 at 05:33 AM.

  2. #2
    Adaman134's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    So I made a script that works, but the script doesn't spam left click fast enough to break all the sugar cane.


    loop
    {
    ^r::
    sleep, 200
    While GetKeyState("LButton")
    Click

    ;Main Script: Repeat 30 times (about 3hrs)
    loop, 30
    {

    ;Chop down all 22 rows of cane
    ;left 12sec, up 0.175sec, right 12sec, up 0.175 sec

    loop, 11
    {
    Send {click down}
    Send {a down}
    sleep 12000
    send {a up}
    send {w down}
    sleep 175
    send {w up}
    send {d down}
    sleep 12000
    send {d up}
    send {w down}
    sleep 175
    send {w up}
    send {click up}
    }

    ;eat food once you've chopped all the cane
    Send 1
    send {click right down}
    sleep 4000
    send {click right up}
    }

    Esc::ExitApp
    return
    }

    I am new to this and need some guidance. Is there anyway I can make the script spam left click while running the loop for chopping down the cane?

    Thanks in advance,
    Adaman

  3. #3
    Nik's Avatar
    Join Date
    May 2015
    Gender
    male
    Location
    world_the_end
    Posts
    2,521
    Reputation
    149
    Thanks
    1,071
    My Mood
    Angelic
    Use MacroRecorder, I think I've seen this thread about 10 times now. Use MacroRecorder! Learn it and use it!

  4. #4
    Adaman134's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Thanks for the response!
    I figured out how to use AHK and my script works exactly how I want it
    Thanks for the the idea of using Macro Recorder.

  5. #5
    Nik's Avatar
    Join Date
    May 2015
    Gender
    male
    Location
    world_the_end
    Posts
    2,521
    Reputation
    149
    Thanks
    1,071
    My Mood
    Angelic
    Looks like it's solved
    //Closed

Similar Threads

  1. [Release] LD Farming Script
    By NekroX in forum Alliance of Valiant Arms (AVA) Coding / Source Code
    Replies: 61
    Last Post: 09-10-2012, 09:52 AM
  2. SUGAR CANE SONG!
    By Mr.Seyeko in forum General
    Replies: 5
    Last Post: 11-08-2011, 07:06 PM
  3. [Detected] [SCRIPT] Vindictus Auto Farming Script v.1.1
    By mikehan in forum Vindictus Hacks & Cheats
    Replies: 22
    Last Post: 07-04-2011, 01:52 PM
  4. [Request] superior ore farming script
    By asdfzxc in forum Vindictus Farming Discussions / Farming Help
    Replies: 1
    Last Post: 05-26-2011, 12:54 PM
  5. [Request] Farming script for 5 star chuilin armor
    By Etherealblood in forum Vindictus Farming Discussions / Farming Help
    Replies: 7
    Last Post: 05-24-2011, 03:21 PM