Best Login Macro
Posted: April 12th, 2004, 7:45 pm
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
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