Help - Search - Members - Calendar
Full Version: Inventory Sort - Help Me Out
AC Tools Everything Macro > AC Tool Macros > Final Fantasy XI Online
Lodan
I just need a simple set of lines to help me Sort my Inventory.

This will be used for Scavenge and Chocobo Digging, but will also help me to futher understand how to use this program. (Been a few months since I last tried)
Pyrolol
Look....all you need are 2/3 commands basically.

Delay
KeyDown
ASCIIKey



Read the help on them.
bubbagump
QUOTE (Pyrolol @ Jul 1 2006, 09:28 AM)
...
ASCIIKey
...

It's actually KeyASCII.
Atti
Here's all you have to do:

CTRL+I
Wait a tad
NUMPAD+
Arrow key down
Enter
Arrow key up
Enter
ESCAPE a bunch
aceofspades
HEre is the code i use to sort inv
you have to make a file called junk.inc and list items you dont want in your inv one on each line

CODE
Include Include\FFACT2_Legacy_Template.inc
Constants
scan =
isitjunk = 0
end

Constructs
Junk = List
End

procedure mysort

ListLoad Junk, Include\Junk.inc     //Load list of Junk Items from Junk.inc
 //autosort inventory Start-------------------------------------------
 keydown ^i 250
 delay 500
 keydown f 200
 delay 100
 keyascii 13
 delay 100
 keydown i 100
 delay 100
 keyascii 13
 delay 100
 //autosort inventory Start-------------------------------------------

if $ffact2_TotalItemsOnHand >= $invmax                 //if inv full then set macro to clean out junk
   setconst $scan = 1
end
if $ffact2_TotalItemsOnHand < $invmax
keydown n 200
end
 if $scan = 1
   keydown i 8 sec
   delay 100
while $scan = 1
keydown k 50
delay 300
ListFind Junk, isitJunk, $ffact2_SelectedItemName   //check selected item againt junk.inc      
     if $isitJunk >= 1
       delay 200
       keydown y 200
       delay 200
       keydown i 200
       delay 200
       keydown y 200
       delay 200
       keydown i 200
       delay 200
       keydown y 200
       delay 200
       keydown i 200
       delay 1.5 sec
delay 400
end
 delay 300
     if $ffact2_CursorIndex = $ffact2_TotalItemsOnHand
       setconst $scan = 0
       keydown n 100
       end
end
end
end




Its kinda slow but for safety... I dont wanna throw out somethin good.. you could probably speed it up and not worry but test it first


EDIT: btw you have to be in compact keyboard mode
Pyrolol
what you could do is speed it up significantly by dropping the delays, and just add an additional check in just before it throws anything, and if it hasn't cleared enough space maybe.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.