Hey absolution, I was looking over your code and it will not run unless you have
#include Misc.au3
(NOTE: the misc.au3 must be in < > but when it is typed that way it does not get through on the forums. This is a large reason many newcomers have had trouble with code.) Even in copying my code below be sure to add .au3 after misc, otherwise it will not work.
not just
#include <Misc>
I know a few others have had issues with not knowing why theres did not work, may want to make that edit so others can use your code as well. Also there is no real reason for the pauses inbetween the send numbers in my opinion. Hopfully our code helps out those who were having trouble before, here is mine in case you are interested.
Code: Register to unlock hidden link
;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 ( "4" ); Deletes Backpacks
Send ( "3" ); Deletes Weapons and Clothing
Send ( "2" ); Deletes 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.
I am hoping to get premium membership in time, this was a big catch that will fix many of the problems I was hearing, with luck it will be worth at least a couple bucks
