Hello, I was reading through and noticed plenty of threads about the same issue: AFK deletions, and throughout all of them there are people saying they have not been able to get it to work. Instead of resurectinging old threads I wanted to mention the problems I have noticed which have prevented scripts from working for me until I rewrote them.
Some people are using the "mouse move to these cordinates and click" to hit each option on the radial menu to get that pesky loot deleted. This poses a problem with resolution sizes and is not uniform enough to be relied on. It is possible to go back and adjust each cordinate yourself but that takes way too much effort when you can just use what I am about to give you.
The "send" commands are most useful, triggering your client to enter the number on the radial menu which deletes the item. There is no need for "sleep" time inbetween them so I wrote mine without, there is still enoguh time for the junk item to get to its stack.
So then we have our "getposition" scripts many newer people, myself included for awhile, could not get to work. This is because the script with this in it will need:
#include <Misc> in it
I wrote "#include (left bracket) misc.au3 (right bracket)
however, when submitted in forums the .au3 at the end, if it is in < > gets left out. This causes your script to crash. If you make this adjustment on the script I wrote which follows you should not have problems with anything, not even those eyes of mesra. If you do not make the adjustment it will not run.
This will work in full screen mode unlimitedly, and will end when you tab to windows mode and hit ESC.
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
;Auto Inventory Deletions Version 1.6 for Star Wars Galaxies
;Copy and past this code into a notepad and save the file as .au3
;This is meant for junk looting and will not delete Eyes of Mesra
Global $Paused
HotKeySet("{ESC}", "Terminate")
Opt("MouseClickDragDelay", 90)
#include <Misc>
SplashTextOn('SWGautodeletes.exe',"Welcome to Auto Inventory Deletions 1.6 intended for Junk Loot
harvesting.", 400, 100, -1, -1, 0, "Ariel", 20)
Sleep ( 5000 )
SplashOff()
While 1
Sleep ( 100 )
If MsgBox(1, 'User Agreement',"This program is built to empty unwanted inventory space 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
$i = 0
SplashTextOn("AutoDelete setup", "Please Click once on the center of the first item after the items you
wish to keep. ", 400, 100, -1, -1, 0, "Ariel", 16)
While 1
Sleep ( 100 )
If _IsPressed("01") Then
$pos = MouseGetPos()
ExitLoop
EndIf
WEnd
SplashOff()
$itemx = $pos[0]
$itemy = $pos[1]
Sleep ( 1000 )
while 1
sleep (2000)
MouseClick ("right", $itemx, $itemy, 1)
Send ( "2" ); Deletes Mesras and posters
Send ( "4" ); Deletes Backpacks
Send ( "3" ); Deletes Weapons and Clothing
Send ( "2" ); Deletes Mesras and Posters
sleep (2000)
WEnd
Func Terminate()
Exit 0
EndFunc
;this should work smoothly as I have addressed the problems where people mentioned it was failing for them.
Let me know if somehow this does not work and I can walk you through it, this script itself is in high working order. If you are not in a palce where you can loot an Eyes of Mesra get rid of the first "Send ( "2" ); Deletes Mesras and posters"
If you are in an area where these can be looted make sure your examine window does not overlap the looted item you will be deleting.