Thank you, work great.
Im also curious of a bug I sometime run into.
It is not the biggest issue since I managed to have a fix arround that problem. But still curious as I had this kind of problem in the past with login script.(in worse tho)
When I press play,
1. sometime the login totaly fail. It erase the current name, write proper account, delete it, write my password in account name field.
2. When I already played and decide to start it. It will do it in the password field instead.
Now, what I think is that is 'fail' to click. What is even more weird is that it's not always the case. But usualy is persistent to the current boot. If I reboot my computer. There are chance it will just start working properly again.
On a even weirder note... I checked the pixel click and they are very well placed to have no chance of being outside the text field. I fixed the issue by changing of using 'key tab' to switch between text fields as a test. It does not fail to log in and somehow it will not fail to select proper characters.
I tried with both version of clicking
gosub setshard
click %MainMenuNameX %MainMenuNameY f
gosub sendstring %acct
lclick %clickx %clicky f
click %MainPassNameX %MainPassNameY f
wait 10
gosub sendstring %pass
click %NextScreenArrowX %NextScreenArrowY f
wait 5
; }
and
if #contname = MainMenu_gump
{
set %clickx #contposx + 521
set %clicky #contposy + 356
click %clickx %clicky f
gosub sendstring %acct
set %clickx #contposx + 521
set %clicky #contposy + 396
click %clickx %clicky f
wait 10
gosub sendstring %pass
set %clickx #contposx + 618
set %clicky #contposy + 445
click %clickx %clicky f ; the green arrow
wait 5
}
It seem to be an issue that come and go like a bad relationship.
Like I said, it's not the biggest problem as I got a work arround. But, Im still wondering what is going on. Anyone else ran into this kind of problem on easyuo ?