Page 1 of 2

SWG Bots - AFK Bot - Combat Macro for ALL Proffessions

Posted: July 22nd, 2007, 9:15 am
by xzas123
Ok, I made this for use on my Level 90 Medic, to get Junk loot for my Tailor to Reverse Engineer. But im sure you could adapt it for grinding by changing the times etc..

Basically what the macro does is, rotate your character, Makes your character shoot automatically! and Automatically Loots for you.

Note: You could add a third in-game Macro if you like to pull off a couple of your special moves.
Here it is:

Setup:

1. Go to Options> Keymap> Target Tab

Find: "Toggle Repeat Auto Attack"

I have bound this to the key "f"

2. Under Options -> Keymap there should be a tick at "disable Strafe Turn with keys"

-----------------------------------

Create the following Macros ingame:

Macro: Loot
/loot all;
/pause 0.2;
/macro loot;

Macro: CycleTargets
/ui action cycleTargetOutward;
/pause 6; \\Change this to the time it takes you to kill your target mob
/macro CycleTargets;

Create the Following Script in Autoit v.3
Get it here: http://www.autoitscript.com/autoit3/downloads.php

Code: Select all

;StarWarsGalaxies Junk Looter v1.0 by Xzi
MsgBox("48", "Auto Junk Loot Grind", 4)
Sleep("5000")
Sleep("10000")
$i = 0
Do
If WinActive( "Star Wars Galaxies", "" ) Then     
   Send("{f down}") ;Holds the f key down
   Send("{f up}") ;Releases the f key
   Sleep("2000")
   Send("{d down}") ;Holds the d key down
   Sleep("1000")
   Send("{d up}") ;Releases the d key

 
Else
   WinActivate( "Star Wars Galaxies", "")
EndIf
Until $i = 1



Run All Macros :)

Advanced users: If you use this macro instead of the loot macro listed above, it may work better! But you must satrt the cylce macro and loot macro simultaenously. Experiement yourselves:

Macro:Loot
/tar corpse;
/loot all;
/pause 12;
/macro loot;

d key

Posted: July 22nd, 2007, 10:06 am
by jomarz
whats the d key for tho? in my keymap its moving right

Posted: July 22nd, 2007, 10:21 am
by swg_xploiter
Looks like "d" will be used for making the character spin all the time.
(Under Options -> Keymap there should be a tick at "disable Strafe Turn with keys" you might want to at to the guide).

and you should add which auto-it version is used (looks like it's v.3) + where to get it (http://www.autoitscript.com/autoit3/downloads.php would be one possibility)


after setting up all these things it worked so

yay

Posted: July 23rd, 2007, 6:27 am
by Tault_admin
400 to you and moved to confirmed

Posted: July 27th, 2007, 7:42 am
by suprbiz
For some reason my jedi isn't attacking anything, he is only cycling and looting when I kill something manually.

Any suggestions?

Posted: August 5th, 2007, 1:04 pm
by eyriku
I like the idea of this macro, but I found myself dying a lot using it. I think this is due largely in part to the fact that I had a really tough time finding spawns that did not obstruct my view of mobs that I was grinding on.

Posted: August 14th, 2007, 6:28 am
by darkcarny
all ya really need for looting is

/loot corpse;
/pause .2
/m loot

this will loot all corpse with in your range of looting

i found if ya use /target corpse it would keep targeting some one elses corpse on other side of city

AFK Medic Buff Macro

Posted: August 24th, 2007, 6:14 am
by scubaman31
I need a good afk Medic buff macro anyone know of one?

Posted: September 3rd, 2007, 6:40 pm
by rabidithorian
All you need for the loot macro is...
/loot corpse
/macro loot

It will not require any corpses to be targeted, so there is no need to time anything. Then all you need to do is use the basic combat macros.

Posted: September 9th, 2007, 3:36 am
by kampus78
suprbiz wrote:For some reason my jedi isn't attacking anything, he is only cycling and looting when I kill something manually.

Any suggestions?


u need the option "fire actions from toolbar"

Posted: September 11th, 2007, 1:41 am
by pldandrea
anybody have a code that will delete the items in the inventory also? I know they exist just havent been able to find one

Posted: September 13th, 2007, 1:15 pm
by jwtiger69
suprbiz wrote:For some reason my jedi isn't attacking anything, he is only cycling and looting when I kill something manually.

Any suggestions?


I find myself with the same problem. My character does not target by itself for some reason. I made the macros just like they are listed. Is there a certain place they should be located on my action bar? Or is there anything that I need to change to my autoit code?

Posted: September 29th, 2007, 10:14 am
by jedibowo101
great macro, got it working for cpl days then went sf for a bit and now cant get it to work .toon cycles and rotates but won't attack unless mouse crosshairs land on npc.but before toon was attacking perfect,i've doubled checked everything .any ideas,and im on leave now.

Posted: October 1st, 2007, 7:43 am
by jwtiger69
Still having problems with this! Everything else is working with it, but it still won't autotarget. Do i need to be in first person, do I need to put myselft in a big spawn of creatures so they get in my crosshair?

Posted: October 1st, 2007, 1:39 pm
by ucardmaster
I got this working as well, except also looking for a way to delete from a location in the inventory, i know it can be done, just not good enough with AutoIt to program one.. say the inventory is open, i pick a location to delete from, then anything after that gets deleted, anyone have this?? Would be awesome with this one!