No need to have the window focused. With this you can surf the internet while autoit logs into FFXIV in the background. Works on any resolution, and its only 4 lines of code.Code:While 1 ControlSend("FINAL FANTASY XIV: A Realm Reborn", "","","{NUMPAD0}") Sleep(250) WEnd
Remember to +rep the OP for their work. Speaking from experience, It's a real pain to troubleshoot a script so it works for everybody. Pay some respect to the time OP spent doing that for us!
Last edited by Tomatoes99; 09-01-2013 at 04:17 AM.
Glad i found this. I was in the process of making something like this. Saves me the trouble.
Hey! Thank you so much for making this! I've been waiting 2 days to play and I just got in within5 minutes. THANK YOU!
The most recent version did not work at all for me until I removed the calls to '_BlockInputEx'. As soon as I would hit F1 the mouse would lock up and never move. Removing the BlockInput calls and now the script works perfect. 1080P version.
I just ran into a issue.
When it went to the character screen it was showing in pink
Then after about 1 second it would go to the Normal Connection Excellent.Code:Connection None
I have not seen this before today. So i changed the location of the white box for server connection check to this in the 1920x1080 file.
This change looks for the the white in the C of connection. I know this won't for all languages but it might be possible to to do a large Pixel search like:Code:Global $ServerCheckCoord[4] = [1721, 93, "0xffffff", 0 ]
Or something to that affect.Code:Func Findpeex($xxx, $yyy, $colorsss, $ynclick) Local $xx = 1 While $xx Sleep(100) $var = PixelGetColor($xxx, $yyy) PixelSearch($xxx, $yyy, $xxx+50, $yyy+50, $colorsss, 0) If @error Then Sleep(100) Else If $ynclick Then MouseClick ( "left", $xxx, $yyy, 10, 0) EndIf return 1 EndIf WEnd EndFunc
Last edited by pyromanci420; 09-02-2013 at 05:22 PM.
v2.0 is out with new features, it needs some testing so if you encounter problems please let me know so I can push out fixes.
Like halsafar, I had to remove al BlockInput calls, then it worked fine. With 2.0, it never relogged if the server error popped up, but I play on JP servers so the shorter error message probably messes up the pixel detection.
Thank you for bringing this to my attention, I'll see about either adding a check for the pinkish red box or just checking for the white "C" depending on if I can get the pink box to show up. If you can send me a screenshot of this pink box and let me know when it occurs I can get pixel color and just substitute in coordinates using that. I prefer screenshots saved in png format at 1920x1080 but any resolution should be fine in this case. Thanks again for the bug report!