hey there.
Here's the script I made to AFK sell and delete stuff from my inventory.
This can be use by smuggler ONLY with the Fence ability.
I might try to find a way to use it with a JunkDealer.
First of all, run SWG in windowed mode.
Before running the script, go to the Kkowir Forest /wp 155 51 and make an in-game macro to kill the Mouf.
I'm using:
/ui action toolbarSlot00; Fence Ability here
/pause 0.5
/ui action cycleTargetOutward; Cycle between the targets
/pause 1
/ui action toolbarSlot01; Brawler Swipe 3 or 4 (not 6)
/pause 1
/ui action toolbarSlot02; Pin Down 3 or 4 (not 6)
/pause 1
/ui ac tion toolbarSlot03; Dirty Trap
/macro farm
EDIT: For some reason all the corpses are not looted. I am now using 2 loot macro:
Macro loot
/loot corpse
/pause 0.5
/macro loot
Macro loot2
/loot
/pause 0.5
/macro loot2
Once you there, put the camera on the top of your head (important!). This way you'll only see the top of your helmet/head and only target the mouf in range. Open your inventory and make sure there's nothing that you can sell to a junk dealer inside. (You can drop stuff in droids) Then run the 2 in-game macro.
You'll Start killing and looting some mouf paw/pelt, enzyme and pistol that you're selling for a good amount of cash.
Right click on any item you have and do Examine. Now put the examine window away from the middle of your screen.
You are now ready to run this script:
EDIT: If you are using the following code and compiling it yourself, don't forget to add .au3 after <misc> and <GuiConstants> at the begining.
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=favicon.ico
#AutoIt3Wrapper_outfile=SWGAutoSell_v1.1.exe
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_Comment=Auto Sell
#AutoIt3Wrapper_Res_Description=Auto Sell
#AutoIt3Wrapper_Res_Fileversion=1.1
#AutoIt3Wrapper_Res_Icon_Add=favicon.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <misc>
#include <GuiConstants>
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
SplashTextOn('SWGAutoSell',"Welcome to SWG Auto Sell!", 420, 60, -1, -1, 0, "Ariel", 24)
Sleep (2500)
SplashOff()
While 1
Sleep ( 100 )
If MsgBox(1,"User Agreement", "This program is built to sell items and empty your inventory in Star Wars Galaxies. This program assumes confirm object deletes is off. The acceptance of this agreement removes the developer of this program from any and all liabilities. The maker is not responsble for the ramifications of the use of this program. By selecting OK, you agree to these terms.") = 2 Then Exit
ExitLoop
WEnd
SplashTextOn("SETUP", "Please Click once on the first item to Sell. ", 400, 100, -1, -1, 0, "Ariel", 18)
While 1
Sleep ( 100 )
If _IsPressed("01") Then
$pos = MouseGetPos()
ExitLoop
EndIf
WEnd
SplashOff()
$mainselx = $pos[0]
$mainsely = $pos[1]
Sleep ( 1000 )
SplashTextOn("SETUP", "Please Click once on the Sell button. ", 400, 100, -1, -1, 0, "Ariel", 18)
While 1
Sleep ( 100 )
If _IsPressed("01") Then
$pos = MouseGetPos()
ExitLoop
EndIf
WEnd
SplashOff()
$sellbuttonx = $pos[0]
$sellbuttony = $pos[1]
Sleep ( 1000 )
SplashTextOn("SETUP", "Please Click once on the first item in inventory. ", 400, 100, -1, -1, 0, "Ariel", 18)
While 1
Sleep ( 100 )
If _IsPressed("01") Then
$pos = MouseGetPos()
ExitLoop
EndIf
WEnd
SplashOff()
$deletex = $pos[0]
$deletey = $pos[1]
Sleep ( 1000 )
SplashTextOn("SWGAutoSell", "This concludes the setup. The program will start in 5 seconds.Press Escape at any time to end the program.", 400, 100, -1, -1, 0, "Ariel", 16)
Sleep ( 5000 )
SplashOff()
$i = 0
Do
$a = 0
$b = 0
Sleep(500)
While $a < 2
MouseClick ( "left" ,$mainselx ,$mainsely ) ;select the first item to sell.
Sleep (1000)
MouseClick ( "left" ,$sellbuttonx ,$sellbuttony ) ;sell the item.
Sleep (1000)
$a = $a + 1
WEnd
While $b < 2
Mouseclick ( "right" ,$deletex ,$deletey ) ;Open the radial menu on the inventory item.
Sleep (700)
Send("{2}") ;Delete your selected inventory if it's an enzyme.
Sleep (1000)
$b = $b + 1
WEnd
Until $i = 1
Func TogglePause() ; "Pause" key to pause the script.
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Func Terminate()
Exit 0
EndFunc
There's an Auto-Setup included so you won't have to enter the X&Y yourself in the script.
Look at the Screen beelow for more detail.
I suggest you loot a small stack of mouf pelt and mouf paw before running the macros this way they'll stack in your inventory instead of getting half deleting half selling.
Good luck with all this! Im open to any suggestion for improvment :)