| |
 |
SWG Macros - Auto Forager V6 (Pattern) with Auto Delete : Star Wars Galaxies Bots Hacks | SWG Bots Hacks - Page 3 |
 |
|
|
swg_xploiter
Posted: 19 Mar 2008, 07:05
Total Posts: 184
Joined: 29 May 2006, 09:56
swg_xploiter's Reps: 0
|
nice script
I made a little modification where you dont have to enter the X and Y coordinates before running the script. the script will simply ask you to left click the main spot there the enzyme/map will pop up after foraging and then asks you to click the backpack.
here it is: (can also add a function to ask you to enter amount of forages to left or right you want to do, if anyone needs that)
Code:
Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") Opt("MouseClickDragDelay", 100) #Include <Misc>
;StarWarsGalaxies Forager Version 2 with Auto Delete ;Sleep("5000") Sleep("5000") ;Created a /forage macro and mapped it to N $i = 0 $var1 = "5"; How many times you want to forage Left/Right before going forward SplashTextOn ( "Setup", "Leftclick on the Main Spot (where foraged item will be)", 400, 100, -1, -1, 1, "Ariel", 14 ) While 1 Sleep ( 100 ) If _IsPressed ( "01" ) Then $pos = MouseGetPos() ExitLoop EndIf WEnd SplashOff() $var3 = $pos[0] $var4 = $pos[1] Sleep (1000) SplashTextOn ( "Setup", "Leftclick on the Backpack", 400, 100, -1, -1, 1, "Ariel", 14 ) While 1 Sleep ( 100 ) If _IsPressed ( "01" ) Then $pos = MouseGetPos() ExitLoop EndIf WEnd SplashOff() $var5 = $pos[0] $var6 = $pos[1] Sleep (1000)
Do If WinActive( "Star Wars Galaxies", "" ) Then For $x = 1 to $var1 Send("{a down}") Sleep ("1300") Send("{a up}") ; Sleep("500") Send("{n down}") Send("{n up}") Sleep("100") MouseClick ( "right" , $var3, $var4, 1 ) Sleep("200") send("{2}") Sleep("200") MouseClickDrag ( "left" , $var3, $var4, $var5, $var6, 1) Sleep ("1200") Next send("{d down}") Send("{w down}") Sleep ("1200") Send("{w up}") Send("{d up}") Sleep ("50") For $x = 1 to $var1 Send("{d down}") Sleep ("1300") Send("{d up}") Sleep("500") Send("{n down}") Send("{n up}") Sleep("100") MouseClick ( "right" , $var3, $var4, 1 ) Sleep("200") send("{2}") Sleep("200") MouseClickDrag ( "left" , $var3, $var4, $var5, $var6, 1) Sleep ("1200") Next Send("{a down}") Send("{w down}") Sleep ("1200") Send("{w up}") Send("{a up}") Sleep ("50") EndIf Until $i = 1
Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc
Func Terminate() Exit 0 EndFunc
|
|
|
Post Reps: 0
|
 |
|
|
|
khurag
Posted: 08 May 2008, 05:56
Total Posts: 8
Joined: 05 Jan 2008, 11:31
khurag's Reps: 0
|
|
have any of you guys found a way around the cursor, so you can do other things with the cursor, while it use the script ?
and where the F do you find the option to remove the confirmation for destroy Items ? i had to add another line with left click on "yes" button :S
|
|
|
Post Reps: 0
|
 |
|
|
|
bitterdog
Posted: 25 May 2008, 03:13
Total Posts: 142
Joined: 25 Jun 2006, 23:02
bitterdog's Reps: 0
|
|
I'm not sure what I am doing wrong here but I get a error when I try and run the .au3 file
says
If^ERROR
Error: unknown Function Name
|
|
|
Post Reps: 0
|
 |
|
|
|
panthro8
Posted: 31 Jul 2008, 01:00
Total Posts: 10
Joined: 23 Jan 2008, 06:06
panthro8's Reps: 0
|
|
Can you give instructions on how to use
I have autoit but when i copied and pasted your script and tried to run it I got an error saying something about line 5 which I assume is the line with misc in it any help would be appreciated
|
|
|
Post Reps: 0
|
 |
|
|
|
unkoryu
Posted: 30 Dec 2009, 12:03
Total Posts: 34
Joined: 09 Jul 2007, 02:50
unkoryu's Reps: 0
|
|
Can I get a step-by-step? I haven't used whatever previous versions so I have no damn clue what you are talking about when you describe the differences. No instructions.
|
|
|
Post Reps: 0
|
 |
|
|
|
r04r
Posted: 30 Dec 2009, 12:29
Total Posts: 393
Joined: 17 Jan 2009, 12:33
r04r's Reps: 0
|
khurag wrote: have any of you guys found a way around the cursor, so you can do other things with the cursor, while it use the script ?
and where the F do you find the option to remove the confirmation for destroy Items ? i had to add another line with left click on "yes" button :S
Misc -> Confirm object deletes
And in the script change where it says
#Include <Misc>
the Misc to Misc.au3
|
|
|
Post Reps: 0
|
 |
|
|
|
rugburn
Posted: 09 Apr 2011, 15:17
Total Posts: 375
Joined: 11 Oct 2006, 15:11
rugburn's Reps: 1
|
|
I don't see any PixelChecksum's in this script. So I assume it wont recognize Lyase 11's or 9's+stat you forage. One that would move all 11's and 9's+stat to a separate and delete the rest would be sweet.
|
|
|
Post Reps: 0
|
 |
|
|
|
evilfigment
Posted: 09 Apr 2011, 17:13
Total Posts: 260
Joined: 18 Jul 2008, 07:05
evilfigment's Reps: 1098
|
r04r wrote: khurag wrote: have any of you guys found a way around the cursor, so you can do other things with the cursor, while it use the script ?
and where the F do you find the option to remove the confirmation for destroy Items ? i had to add another line with left click on "yes" button :S Misc -> Confirm object deletes And in the script change where it says #Include <Misc> the Misc to Misc.au3 You could attempt to enable it automaticly via your bot, if anyones interested.. Quote: .text:006499C0 SetConfirmObjectDeletes proc near ; DATA XREF: sub_EEC5E0+F7o .text:006499C0 .text:006499C0 arg_0 = byte ptr 4 .text:006499C0 .text:006499C0 mov al, [esp+arg_0] ; Move byte from the stack (first parameter) to the 'al' register .text:006499C4 mov byte_1BB0DBF, al ; Move the value in 'al' to the byte in memory .text:006499C9 retn .text:006499C9 SetConfirmObjectDeletes endp
Heres the xref for this func...
.text:00EEC6B3 push offset aCheckconfirmob ; "checkConfirmObjDelete" .text:00EEC6B8 lea eax, [esp+2Ch+arg_0] .text:00EEC6BC push eax .text:00EEC6BD push 0Fh .text:00EEC6BF push ecx .text:00EEC6C0 push edx .text:00EEC6C1 mov ecx, esi .text:00EEC6C3 call sub_64FE00 .text:00EEC6C8 mov eax, [esp+24h+arg_0] .text:00EEC6CC push edi .text:00EEC6CD push offset sub_648750 .text:00EEC6D2 push offset sub_649FE0 .text:00EEC6D7 push offset SetConfirmObjectDeletes
|
|
|
Post Reps: 0
|
 |
|
|
|
r04r
Posted: 09 Apr 2011, 17:40
Total Posts: 393
Joined: 17 Jan 2009, 12:33
r04r's Reps: 0
|
|
I'll include that in the next release.
How do you get the "push offset SetConfirmObjectDeletes" texts? Do you put that there yourself, or is that a debugger trick I haven't discovered yet?
|
|
|
Post Reps: 0
|
 |
|
|
|
evilfigment
Posted: 09 Apr 2011, 17:54
Total Posts: 260
Joined: 18 Jul 2008, 07:05
evilfigment's Reps: 1098
|
r04r wrote: I'll include that in the next release.
How do you get the "push offset SetConfirmObjectDeletes" texts? Do you put that there yourself, or is that a debugger trick I haven't discovered yet? I just renamed the standard IDA assigned function name
|
|
|
Post Reps: 0
|
 |
|
|
|
msbmichael
Posted: 28 Apr 2011, 01:56
Total Posts: 4
Joined: 28 Apr 2011, 01:22
msbmichael's Reps: 0
|
Returning back to SWG. Looking for help with this. Just joined TU. I have my own basic follow droid as he patrols worked out. And all I want is to auto-delete any enzymes so I only have the maps. PM or whatever if possible. TY! 
|
|
|
Post Reps: 0
|
 |
|
|
|
r04r
Posted: 28 Apr 2011, 08:10
Total Posts: 393
Joined: 17 Jan 2009, 12:33
r04r's Reps: 0
|
|
Take a look at my inventory sorter for that. It should do just fine for that. I suggest leaving the default config seeing as that leaves the +11 lyases (Most of them, at least. Still working out bugs) which are also valuable.
|
|
|
Post Reps: 0
|
 |
|
 |
Who is online |
 |
| Users browsing this forum: No registered users and 2 guests |
|
|
|