Post Reply Home » Forums » Lineage 2 » Lineage 2 Submissions

Best Login Macro : Lineage 2 Submissions

Posted: April 12th, 2004
Total Posts:10213 Joined:2004
This login macro stops itself in the character selection screen so you don't spam your password out. All you need to do is launch the game.

SetActiveWindow Lineage II
delay 2000

Constants
UserName = // put your username here
Password = //put your password here
LocName = 850, 570
LocPass = 850, 595
LocLogin = 722, 519
ActiveWin = Nul
end

call main

procedure main
Mousepos $locname
leftclick
delay 100
Keys $username
Mousepos $locpass
leftclick

delay 100
Keys $password


while 1 = 1
Keys {RETURN}
delay 100
Keys {RETURN}
delay 100
Keys {RETURN}
delay 100
Call ChkWin
If $ActiveWin = Login
keys {TAB}
delay 100
Keys $password
delay 100
End
end
end

Procedure ChkWin
IsWhite $Loclogin
SetConst ACTIVEWIN = Login
Else
Isblack 770, 417
Else
isblue 770, 417
else
stop
End
end

End
End
Posted: April 12th, 2004
Total Posts:10213 Joined:2004
Quick Change to the Locations for use with 1280 x 1024

SetActiveWindow Lineage II
delay 2000

Constants
UserName = // put your username here
Password = //put your password here
LocName = 650, 480
LocPass = 650, 500
LocLogin = 722, 519
ActiveWin = Nul
end

call main

procedure main
Mousepos $locname
leftclick
delay 100
Keys $username
Mousepos $locpass
leftclick

delay 100
Keys $password


while 1 = 1
Keys {RETURN}
delay 100
Keys {RETURN}
delay 100
Keys {RETURN}
delay 100
Call ChkWin
If $ActiveWin = Login
keys {TAB}
delay 100
Keys $password
delay 100
End
end
end

Procedure ChkWin
IsWhite $Loclogin
SetConst ACTIVEWIN = Login
Else
Isblack 770, 417
Else
isblue 770, 417
else
stop
End
end

End
End
Posted: April 12th, 2004
Total Posts:10213 Joined:2004
What was the res of the orginal script? And would you be so kind as to figure out the remaning resolution? I'm going to check it out later tonight )
Posted: April 12th, 2004
Total Posts:10213 Joined:2004
Just some quick calculations I didn't try some out due to the agony of exiting game and rejoining but they should work

1600x1200
LocName = 812.5, 562.5
LocPass = 812.5, 585.94
LocLogin = 902.5, 608.2


1280x1024
LocName = 650, 480
LocPass = 650, 500
LocLogin = 722, 519

800x600
LocName = 406.25, 281.25
LocPass = 406.25, 292.97
LocLogin = 451.25, 304.1
Posted: April 13th, 2004
Total Posts:10213 Joined:2004
Works good for me ) Although I keep getting in on the first try so I haven't really tested out the resubmitting portion of the script.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 22 guests
Post Reply