Sign in to follow this  
Followers 0

Autosort Problems?

13 posts in this topic

Posted

I was fiddling with my script, you know, learning by doing :angry: and I figured out that by changing ("{up}") to ("{UP}") it seems to make things work.

I was just browsing through some of the other threads to see what's new and I see that Ealric has also figured this out (before I did B))

I thought that this merited it's own thread.

Good luck and good scripting :whistle:

Share this post


Link to post
Share on other sites



Posted (edited)

Well damnit. I left my bot on for about half an hour and it seems the autosort STILL isn't working for me.

I've capitalized the UP, I've left it lower-case.... there's just something wrong here.

Edit: I've tried adding a sleep command between ENTER and UP in hopes that it would register, but no avail :whistle:

Specs:

WinXP Pro

V3 Beta of AutoIT

using Earlics 2nd script (third post) for 1024x768

Edited by Breckenridge

Share this post


Link to post
Share on other sites

Posted

If your using WinXP and 1024x768 here is a working and tested solution:

Func autosort()
AutoItSetOption("SendKeyDelay", 225);
Sleep (0125);
Send ("!i");
Sleep (0500);
Send ("{NUMPADADD}");
Sleep (0250);
Send ("{ENTER}");
Sleep (0250);
;Send ("{up}"); Ignored
MouseClick("left", 955, 121); Click Yes
Sleep (0250);
Send ("{ENTER}");
Sleep (0250);
Send ("{ESCAPE}");
Send ("{ESCAPE}");
Sleep (0125);
Send ("!2"); Equip Macro
Sleep (0100)

Share this post


Link to post
Share on other sites

Posted

This works flawlessly for me in 1280 x 1024.

Func autosort()
Sleep(9000);
AutoItSetOption("SendKeyDelay", 0235);
Send ("!i");
Sleep(0250);
Send ("{NUMPADADD}");
Sleep (0250);
Send ("{ENTER}");
sleep(0250);
MouseMove(1209,122,10);
sleep(0250);
Send ("{ENTER}");
sleep(0250);
Send ("{ESCAPE}");
sleep(0250);
Send ("{ESCAPE}");
Sleep (0250);
EndFunc

Share this post


Link to post
Share on other sites

Posted

If you must use the {UP} then just switch to compact keyboard and use the i key it makes menu go up in the compact keyboard selection in game.

Share this post


Link to post
Share on other sites

Posted (edited)

Thanks fishin, I'll give that a shot :whistle:

EDIT: I tried using the mouse thing Fishin, but all it does is move my screen, like scroll it down so I look up into the trees and it doens't click cause it doesn't move to the right area.

I'm attempting to use Ironfist's new script, so I have the mouse hardware thing off and Compact Keyboard on.

I will attempt to use i next. See if that works.

EDIT 2: the I key doesn't seem to work either. Why does it keep ignoring these commands?

Edited by Breckenridge

Share this post


Link to post
Share on other sites

Posted (edited)

I just realized today that my arrow buttons do not work when called by the script and also it they mess things up. If the script presses an arrow button then leftclick will no longer work. If only leftclick is used then it works. I think there is something wrong with my auto it, yes I have the latest version.

I used the arrow keys in autoit ver2, then I moved to mouseclicks in ver3 and when I tested arrow keys today they didn't work and messed up the script like mentioned above. Lowercase or uppercase don't make a difference.

By the way manually pressing the arrow keys works everytime. What do you guys make of this?

Edited by ravenfyre

Share this post


Link to post
Share on other sites

Posted

for a autosort that works in 800x600

Func autosort()
AutoItSetOption("SendKeyDelay", 300);slow key delay a bit 
Sleep (0500); 
Send ("{NUMPADSUB}");opens menu
Sleep (Random(0200, 0400));
MouseClick("left", 720, 110);
Sleep (Random(0200, 0400));
MouseClick("left", 727, 78);auto stack
Sleep (Random(0200, 0400));
MouseClick("left", 723, 121);complete auto stack
Sleep (Random(0200, 0400));
Send ("{ESCAPE}");exits menu
Sleep (Random(0200, 0400));
Send ("{ESCAPE}");exits menu
Sleep (Random(0200, 0400));
Send ("{ESCAPE}");exits menu
EndFunc

Share this post


Link to post
Share on other sites

Posted (edited)

Give this a shot--you have to have your in-game options set to compact keyboard

Func autosort()

Send ("{ESCAPE}") ;Exits open windows

Send ("{ESCAPE}") ;Exits open windows

AutoItSetOption("SendKeyDelay", 160); More delay

Send ("{CTRLDOWN}") ;Starts menu opening going

Sleep (0250) ;Sleeps

send( "{i down}") ;Holds down I

sleep(250) ;Sleeps

Send("{i up}") ;Releases I

Sleep (0250) ;Sleeps

Send ("{CTRLUP}") ;Makes ctrl stop pressing down

Sleep (0250) ;Sleeps

Send ("{NUMPADADD}") ;Sort

Sleep (0250) ;Sleeps

Send ("{ENTER}") ;Opens Auto-Sort menu

Sleep (0550) ;Sleeps

send( "{i down}")

Sleep (0250) ;Sleeps

send( "{i up}")

Sleep (0250) ;Sleeps

Send ("{ENTER}") ;Confirms auto-sort

Sleep (0250) ;Sleeps

Send ("{ESCAPE}") ;Exits open windows

Send ("{ESCAPE}") ;Exits open windows

EndFunc

Edited by swiftuser

Share this post


Link to post
Share on other sites

Posted

Func autosort()

AutoItSetOption("SendKeyDelay", 225);

Sleep (0125);

Send ("!i");

Sleep (0500);

Send ("{NUMPADADD}");

Sleep (0250);

Send ("{ENTER}");

Sleep (0250);

MouseClick("left", 955, 121); Click Yes

Sleep (0250);

Send ("{ESCAPE}");

Send ("{ESCAPE}");

Send ("{ESCAPE}");

Sleep (0125);

EndFunc

This works just GREAT in 1024x768 mode. However, make sure it looks something like this:

If PixelGetColor(228,735) = 16777215 AND PixelGetColor(200,735) = 16777215 AND PixelGetColor(175,735) = 16777215 Then

AutoItSetOption("SendKeyDelay", 40);

Sleep(Random(600,900));

Send("{ENTER}");

Sleep(9000);

autosort()

Sleep(2500);

If PixelGetColor(128,735) = 16777215 AND PixelGetColor(74,1168) = 16777215 Then

$logtime = $logtime + 1;

EndIf

Sleep(3000);

$biteyes = 1;

$sortnow = 1;

EndIf

Make sure you give the script enough time so that FFXI can FINISH the fish catching emote. The sleep period must be long enough so that no emotes are happening when it attempts to autosort. This should fix anyone's problems... I hope.

Share this post


Link to post
Share on other sites

Posted

Ive posted a solution many many times.... it doesnt use mouse click either

And you said that it doesnt notice the down and up buttons? Not true, it just doesnt have enough time to move the cursor up.. and you guys think your smart..

Func autosort()

AutoItSetOption("SendKeyDelay", 225);

Send ("!i");

Send ("{NUMPADADD}");

Sleep (0125);

Send ("{ENTER}");

Sleep (0100);

Send ("{UP down}");

Sleep (0050);

Send ("{UP up}");

Sleep (0100);

Send ("{ENTER}");

Sleep (0300);

Send ("{ESCAPE}");

Send ("{ESCAPE}");

Sleep (0100)

$sortnow = 0;

EndFunc

Share this post


Link to post
Share on other sites

Posted

It's you're or YOU ARE. Not your. If you're going to insult people for trying to help others, first of all, go play in traffic and second, learn to spell.

OKIEZ D00D!!!11!1two. j00 Nubbie!1!1!

Share this post


Link to post
Share on other sites

Posted

Breckenridge, i was joking, not trying to make fun of anyone. =P

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0