Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Autosort Problems?


  • Please log in to reply
12 replies to this topic

#1 Breckenridge

Breckenridge

    Seeker

  • Active Members
  • 37 posts

Posted 03 February 2004 - 10:29 AM

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:







#2 Breckenridge

Breckenridge

    Seeker

  • Active Members
  • 37 posts

Posted 03 February 2004 - 11:51 AM

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, 03 February 2004 - 11:52 AM.


#3 fishinforgil

fishinforgil

    Seeker

  • New Members
  • 7 posts

Posted 03 February 2004 - 12:32 PM

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)


#4 Ealric

Ealric

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 521 posts

Posted 03 February 2004 - 01:24 PM

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


#5 Guest_swiftuser_*

Guest_swiftuser_*
  • Guests

Posted 03 February 2004 - 02:25 PM

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.

#6 Breckenridge

Breckenridge

    Seeker

  • Active Members
  • 37 posts

Posted 03 February 2004 - 09:48 PM

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, 03 February 2004 - 10:05 PM.


#7 ravenfyre

ravenfyre

    Wayfarer

  • Active Members
  • Pip
  • 77 posts

Posted 04 February 2004 - 12:00 AM

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, 04 February 2004 - 12:01 AM.


#8 Guest_The Magilord_*

Guest_The Magilord_*
  • Guests

Posted 04 February 2004 - 04:37 AM

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


#9 Guest_swiftuser_*

Guest_swiftuser_*
  • Guests

Posted 04 February 2004 - 03:07 PM

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, 04 February 2004 - 03:08 PM.


#10 Breckenridge

Breckenridge

    Seeker

  • Active Members
  • 37 posts

Posted 04 February 2004 - 10:27 PM

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.

#11 Neesnu

Neesnu

    Seeker

  • Active Members
  • 18 posts

Posted 05 February 2004 - 03:55 AM

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

#12 Breckenridge

Breckenridge

    Seeker

  • Active Members
  • 37 posts

Posted 05 February 2004 - 07:29 AM

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!

#13 Neesnu

Neesnu

    Seeker

  • Active Members
  • 18 posts

Posted 05 February 2004 - 05:51 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users