AFK Crafting Macro Uses Auto-It
Posted: August 28th, 2006, 7:48 am
what you do is get 5 crafting tools and put them in slot 0-4 on your toolbar.
then make the following macro and put it in slot 8.
make sure you have Options->Keymap-> Actions can be fired from the toolbar checked.
It helps if you take all resources except the ones you are using out of ur inventory.
Macro name: crafting
/ui action toolbarSlot00;
/pause 1;
/selectDraftSchematic## "THE## will be replaced with you draft schematic number starting from 00 all the way to 100 and up now to find out what ur draft schem is goto ur datapad draft schem and start counting left to right 00 01 02 03 ect"
/pause 6;
/nextCraftingStage;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice noitem;
/createPrototype practice noitem;
/pause 2;
/ui action toolbarSlot01;
.......
///here put the exact same thing as for toolbarslot00....
/ui action toolbarSlot02;
.....and continue until...
/ui action toolbarSlot04;
/macro crafting;
now for the auto it to auto click the macro button and click resources
im not gona post my exe or script file cause i dont like downloads so ill post code and let u do the script part i use auto it v3
if you dont know where to get it then search google
HotKeySet("1", "end")
Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
$title = "SwgClient"
WinWait($title,"")
If Not WinActive($title,"") Then WinActivate($title,"")
MouseMove ( 772, 704 );macro button cords
MouseClick("Left", 772, 704, 1, 1);macro button cords
While 1
Sleep(30)
MouseMove ( 207, 212 );resource coreds#1
MouseClick("Left", 207, 212, 4, 1);resource coreds#1
MouseMove ( 279, 215 );resource coreds#2
MouseClick("Left", 279, 215, 4, 1);resource coreds#2
Sleep(30)
WEnd
Func end()
Exit (0)
EndFunc ;==>end
it will maximize swg for you and
it will click you crafting macro for you you gota set the mouse xy cords these are where mine are wont be same on evey pc
after
then it will click the resources and if you have more resurces to click just add it to the script
if you need any help make a post and ill respond i have a autoit grinding macro also i wrote if i get points for this one ill post the grinding one as well
FYI WHEN EVER USIGN 3RD PARTY PROGRAMES YOU MAY/CAN BE BANNED OR SUSPENDED ME NOR TAULT ARE NOT RESPONSABLE KTHX AND HAVE FUN
then make the following macro and put it in slot 8.
make sure you have Options->Keymap-> Actions can be fired from the toolbar checked.
It helps if you take all resources except the ones you are using out of ur inventory.
Macro name: crafting
/ui action toolbarSlot00;
/pause 1;
/selectDraftSchematic## "THE## will be replaced with you draft schematic number starting from 00 all the way to 100 and up now to find out what ur draft schem is goto ur datapad draft schem and start counting left to right 00 01 02 03 ect"
/pause 6;
/nextCraftingStage;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice noitem;
/createPrototype practice noitem;
/pause 2;
/ui action toolbarSlot01;
.......
///here put the exact same thing as for toolbarslot00....
/ui action toolbarSlot02;
.....and continue until...
/ui action toolbarSlot04;
/macro crafting;
now for the auto it to auto click the macro button and click resources
im not gona post my exe or script file cause i dont like downloads so ill post code and let u do the script part i use auto it v3
if you dont know where to get it then search google
HotKeySet("1", "end")
Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
$title = "SwgClient"
WinWait($title,"")
If Not WinActive($title,"") Then WinActivate($title,"")
MouseMove ( 772, 704 );macro button cords
MouseClick("Left", 772, 704, 1, 1);macro button cords
While 1
Sleep(30)
MouseMove ( 207, 212 );resource coreds#1
MouseClick("Left", 207, 212, 4, 1);resource coreds#1
MouseMove ( 279, 215 );resource coreds#2
MouseClick("Left", 279, 215, 4, 1);resource coreds#2
Sleep(30)
WEnd
Func end()
Exit (0)
EndFunc ;==>end
it will maximize swg for you and
it will click you crafting macro for you you gota set the mouse xy cords these are where mine are wont be same on evey pc
after
then it will click the resources and if you have more resurces to click just add it to the script
if you need any help make a post and ill respond i have a autoit grinding macro also i wrote if i get points for this one ill post the grinding one as well
FYI WHEN EVER USIGN 3RD PARTY PROGRAMES YOU MAY/CAN BE BANNED OR SUSPENDED ME NOR TAULT ARE NOT RESPONSABLE KTHX AND HAVE FUN