Client Launcher

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
GjBob
Posts: 4
Joined: Sat Dec 19, 2009 9:41 am

Client Launcher

Post by GjBob »

I would like to know if is possible to make a custom client launcher with a sort of user database so that i dont have to remember all my accounts, and if possible, some tips on how to start.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: Client Launcher

Post by BiggBoss »

Programming in java, you can use the class Robot. It will virtually "press" the keys you tell him on the focused component. So, as soon as client is loaded, something like:

Code: Select all

 Robot r = new Robot();r.keyPress(KeyEvent.VK_J); // writes "j" 
Image
GjBob
Posts: 4
Joined: Sat Dec 19, 2009 9:41 am

Re: Client Launcher

Post by GjBob »

BiggBoss wrote:Programming in java, you can use the class Robot. It will virtually "press" the keys you tell him on the focused component. So, as soon as client is loaded, something like:

Code: Select all

 Robot r = new Robot();r.keyPress(KeyEvent.VK_J); // writes "j" 
It's working but this metod got a lot of problem on focus. I was thinking about sending packets. I played on a server some times ago that had a custom launcher and username and password were typed there.
GjBob
Posts: 4
Joined: Sat Dec 19, 2009 9:41 am

Re: Client Launcher

Post by GjBob »

up :shock:
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: Client Launcher

Post by BiggBoss »

i dont think theres default packet which would let you fill id/pwd boxes. Maybe you can start l2 in cmd line using args, but imo the launcher you saw required client mod
Image
User avatar
Konstantinos
Posts: 501
Joined: Wed Feb 08, 2012 12:19 pm

Re: Client Launcher

Post by Konstantinos »

so we cant use it.
Post Reply