Page 1 of 1

SWG Macros - AutoIt Forage Macro

Posted: October 10th, 2007, 1:36 pm
by tehghosthawk
After reading one of the Forage macros I got a little bit obsessed with getting the successful forage time even lower and lower. I started out at 20 seconds, then got it down to 10, then down to between 7-8. I decided to play around with AutoIt and got it down to 3 seconds.

I used it through out the day at work for about 4 hours off and on and got 20 treasure maps.

I first created a /forage macro and mapped it to the N key. I borrowed a little of the code from other scripts on the site.

Heres the script.

Code: Select all

;StarWarsGalaxies Forager
Sleep("5000")
Sleep("10000")
$i = 0
Do
If WinActive( "Star Wars Galaxies", "" ) Then     
   Send("{w down}") ;Walk Forward
   Sleep("1500")
   Send("{w up}") 	;Stop
   Sleep("500")
   Send("{n down}") ;Created a /forage macro and mapped it to N
   Send("{n up}")
   Sleep("2500")
EndIf
Until $i = 1

Posted: October 11th, 2007, 8:45 am
by Tault_admin
Can members say yay or nay to this being moved to a confirmed section.

Posted: October 14th, 2007, 8:19 am
by tault_lehorton
Yay

Works incredibly well.

Posted: October 14th, 2007, 9:25 am
by collin8579
This is all well and good
but is there a way to get rid of all the crap you forage and just keep maps?

would take a complex macro program but it might be feasable,,
any thoughts?

Posted: October 15th, 2007, 12:46 pm
by Tault_admin
300 to you and moved to confirmed

HELP!!!

Posted: May 5th, 2008, 4:47 pm
by diso82
I decided to try this program and used this script, well, this works great, but how the hell do you get it to STOP?!?

Posted: June 14th, 2008, 5:38 am
by newbsurfer
STOP!!! I need to stop lol. Is there a a buuton???

Posted: June 14th, 2008, 8:18 am
by newbsurfer
close it in your decktop tray

Posted: June 25th, 2008, 10:50 pm
by elscorcho
Kinda new to this, Do I make a macro? is it something I put in my swg folder...In other words how do I do this??

Re: SWG Macros - AutoIt Forage Macro

Posted: June 26th, 2008, 12:31 am
by djsdark

Code: Select all

;StarWarsGalaxies Forager

HotKeySet("{ESC}", "Terminate")

Sleep("5000")
Sleep("10000")
$i = 0
Do
If WinActive( "Star Wars Galaxies", "" ) Then     
   Send("{w down}") ;Walk Forward
   Sleep("1500")
   Send("{w up}") 	;Stop
   Sleep("500")
   Send("{n down}") ;Created a /forage macro and mapped it to N
   Send("{n up}")
   Sleep("2500")
EndIf
Until $i = 1

Func Terminate()
Exit 0
EndFunc


Fixed code with Escape key to end it :)

Posted: June 26th, 2008, 5:35 am
by alimann
how do you make this script ??
Is it script for autoit or what ?