|
Yet another new and improved login macro for L2 which takes into account all their strange server issues. This one will keep banging login while the login screen hasn't disappeared, and when it does, accept the agreement.......then attempt to log you into your server. If after clicking confirm it doesn't detect a new screen it will cancel out and start over. You can just leave your PC and when you come back you should be logged in.
This is made for BOTH 1280x1024 and 1024x768 resolution and requires ACTool.
//CODE BELOW IS FOR RUNNING L2 at 1280x1024 //start code //set window Constants Username=typeyourusernamehere Password=typeyourpasswordhere Const=none End SetConst Const=none SetActiveWindow Lineage II //put mouse over login Loop 5000 IsWhite 582, 543 //click id area MousePos 623, 478 LeftMouseDown LeftMouseUp Delay 100 //delete contents Keys {BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK} Delay 40 //enter login id Keys $username Delay 40 MousePos 622, 502 //click password area LeftMouseDown LeftMouseUp Delay 100 //enter password //delete contents Keys {BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK} Delay 100 Keys $password Delay 100 //put mouse over login MousePos 582, 543 LeftMouseDown LeftMouseUp Delay 200 Else MousePos 631, 680 LeftMouseDown LeftMouseUp Delay 3000 MousePos 600, 707 LeftMouseDown LeftMouseUp Delay 2000 IsWhite 600,707 MousePos 669,706 LeftMouseDown LeftMouseUp Delay 5000 Else IsWhite 582, 543 Else Break End //click id area End End End //CODE ABOVE IS FOR RUNNING L2 at 1280x1024
1024x768 Version Below
//CODE BELOW IS FOR RUNNING L2 at 1024x768 //set window Constants Username=typeyourusernamehere Password=typeyourpasswordhere Const=none End SetConst Const=none SetActiveWindow Lineage II //put mouse over login Loop 5000 IsWhite 454, 416 //click id area MousePos 498, 350 LeftMouseDown LeftMouseUp Delay 100 //delete contents Keys {BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK} Delay 40 //enter login id Keys $username Delay 40 MousePos 510, 380 //click password area LeftMouseDown LeftMouseUp Delay 100 //enter password //delete contents Keys {BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK}{BACK} Delay 100 Keys $password Delay 100 //put mouse over login MousePos 454, 416 LeftMouseDown LeftMouseUp Delay 200 Else MousePos 522, 555 LeftMouseDown LeftMouseUp Delay 3000 MousePos 473, 580 LeftMouseDown LeftMouseUp Delay 2000 IsWhite 473,580 MousePos 548,581 LeftMouseDown LeftMouseUp Delay 7000 Else IsWhite 454, 416 setconst const=startover Else Break End //click id area End End End //CODE ABOVE IS FOR RUNNING L2 at 1024x768
|