Search: Home | Atlas | Guides | Tests | Research | Index | Recent Changes | Preferences | Login

Macros > Grass Macro

This one uses ACTool. It picks grass. Yeah, not so exciting, but if you need 500 in 20 minutes and you don't have a scythe or a greenhouse, it's saves a lot of effort. You can also adjust the number of times you pick grass based on whether or not you have a decent scythe (so if you're getting 4x instead of the normal 1 you can pick 2000 in 20 minutes running the program 4x successively).

You can find ACTool at http://www.actool.net/, and the macro itself attached at the bottom of the page. Either copy and paste the code into a new macro window within the tool or download the attachment and then read any instructions in the top portion of the commented code. When you run the macro, make sure the macro window isn't maximized; resize it so it's positioned in the middle of the screen and you can see ATITD running in the background. The macro selects the ATITD window by clicking on the title bar, so you want to make sure you see "eGenesis Client" at the top of your screen.

Note 1: the code may not paste properly from ACTool into the wiki, so if you're pasting it from the site it may not line up properly. This is a lame fix, but you can open up the edit window and copy the text straight from there. Sorry about that. Also, when you paste, make sure to paste over top of the lines that may already be written there ("// This line is necessary to select the proper window / SetActiveWindow Asheron's Call"). Of course, it'll be easier to just download the files themselves from the bottom of the page.

Note 2: you'll want to edit line 42 of the code to change the number of times you pick grass. Every loop gets you 10 grass without a scythe, so looping 50 times is 500 grass. If your scythe gets you twice as much, only loop 25 times.

Note 3: the mouse will only click the grass icon if you're a citizen and you have selected smaller icons from the menu (Utility -> Interface -> Action Icons appear in smaller size).


Grass Picker

//Grass Picker - Be in open field with 500 room in inventory. (To pick less, edit line 42.) //You move forward a bit as the program runs, so make sure you have a fair amount of room ahead of you.

Constants

  XPos1 = 975
  YPos1 = 50
  XPos2 = 510
  YPos2 = 350
End

Procedure MouseAbove

    MousePos $XPos1, $YPos1
    Delay 250
    LeftClick

    Delay 1500

    MousePos $XPos2, $YPos2
    Delay 250
    LeftClick

    Delay 600
End

Procedure MouseBelow

    MousePos $XPos1, $YPos1
    Delay 250
    LeftClick

    Delay 1500

    MousePos $XPos2, $YPos2
    Delay 250
    LeftClick

    Delay 600
End

Delay 1000

Loop 50

  Loop 5
    Call MouseAbove

  End
  Compute YPos2 = $YPos2 + 100
  Loop 5
    Call MouseBelow
  End
  Compute YPos2 = $YPos2 - 100  
End


Written by Ouroboros. Macro code last updated October 6, 2004.

Note from Bigboy - Chichis uses ACtool for his macros (I think) and he told me that the only way to do it full screen is to set up a new shortcut to eclientc.exe and put as the shortcut ""C:\Program Files\A Tale in the Desert\eclientc.exe" - 1280" (where the -1268 is the first number of the resolution and the first bit changes depending on where you put the files). This is what I got from it but it doesn't work for me ;) contact him though.


NameCreatorDateSizeDescription
GrassMacroOuroborosOctober 6, 2004 2:51 pm832This is the macro itself.

Home | Atlas | Guides | Tests | Research | Index | Recent Changes | Preferences | Login
You must log in to edit pages. | View other revisions
Last edited October 11, 2004 3:06 pm by host81-154-135-92.range81-154.btcentralplus.com (diff)
Search: