My way of dealing with 1017 errors: Download Autohotkey -->
Run it, right click tray icon --> edit script --> Paste this:
BreakLoop=0
SetTimer, Loop, 1
F1::BreakLoop=1
F2::BreakLoop=0
Loop:
Loop {
if (BreakLoop = 1) ; While the F1 key is being held down physically.
break
Click, left, 961, 840
Click, left, 961, 840
Sleep 3000
Click, left, 1512, 190
Click, left, 1512, 190
sleep 1000
Click, left, 904, 553
Click, left, 904, 553
sleep 1000
Click, left, 962, 597
Click, left, 962, 597
sleep 1000
}
Ctrl + S to save
Go to Main menu of FFXIV (Where you click start)
Right click tray icon --> Reload script
This is for 1920x1080 resolution borderless. If you run a different resolution you may have to change the x,y coordinates. Do this by opening AutoHotkey Spy and finding them. If your latency sucks adjust the sleep timers.
Edit: This chooses the 2nd character on that server as that's my main, adjust the second set of Clicks to move it to the first or whatever number. Press F1 to stop F2 to start again. Fixed script.