Page 1 of 1

Blowfish key

Posted: Tue Mar 09, 2010 3:45 pm
by Dreigas
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Hello,

Maybe someone know, how to get client blowfishkey in server? I need to check, if he use right client. :)

Re: Blowfish key

Posted: Tue Mar 09, 2010 6:22 pm
by _DS_
This is easy - all who has different bf key will just not be able to login :)

Re: Blowfish key

Posted: Wed Mar 10, 2010 10:27 am
by macdonald12
LoginCrypt.java

Code: Select all

 	private static final byte[] STATIC_BLOWFISH_KEY =	{		(byte) 0x6b, (byte) 0x60, (byte) 0xcb, (byte) 0x5b,		(byte) 0x82, (byte) 0xce, (byte) 0x90, (byte) 0xb1,		(byte) 0xcc, (byte) 0x2b, (byte) 0x6c, (byte) 0x55,		(byte) 0x6c, (byte) 0x6c, (byte) 0x6c, (byte) 0x6c	}; 

Re: Blowfish key

Posted: Wed Mar 10, 2010 5:31 pm
by Dreigas
_DS_ wrote:This is easy - all who has different bf key will just not be able to login :)
i want to make it, but how i can get bf key? From which class and which method? :)

Re: Blowfish key

Posted: Wed Mar 10, 2010 6:16 pm
by jurchiks
it's already made...
or you're another one of those who don't know what they want?

Re: Blowfish key

Posted: Wed Mar 10, 2010 6:56 pm
by Dreigas
jurchiks wrote:it's already made...
or you're another one of those who don't know what they want?

I know what i want, i want to block client, who use other blowfish key, then my client.

I just need know, how to get this blowfish key of client from server side!

Re: Blowfish key

Posted: Wed Mar 10, 2010 7:01 pm
by macdonald12
Dreigas wrote: I know what i want, i want to block client, who use other blowfish key, then my client.

I just need know, how to get this blowfish key of client from server side!
Jeez, how many times you want people to repeat themselves? :roll:

IT'S ALREADY CHECKED AT THE LOGINSERVER

If you edited your client to have a different blowfish key (which is illegal btw) ...

THEN CHANGE IT IN THE CODE POSTED ABOVE

Clear now?

Re: Blowfish key

Posted: Wed Mar 10, 2010 7:45 pm
by Dreigas
macdonald12 wrote:
Dreigas wrote: I know what i want, i want to block client, who use other blowfish key, then my client.

I just need know, how to get this blowfish key of client from server side!
Jeez, how many times you want people to repeat themselves? :roll:

IT'S ALREADY CHECKED AT THE LOGINSERVER

If you edited your client to have a different blowfish key (which is illegal btw) ...

THEN CHANGE IT IN THE CODE POSTED ABOVE

Clear now?
Thanks for reply,

But, it's server side static BF key, so, i need exactly get, which send to server BF key, i just need to know, how i can do this?

Re: Blowfish key

Posted: Wed Mar 10, 2010 8:20 pm
by _DS_
OMG...
Server does not send bf key. Read code how it works.
Clients with different key will not connect, they will stuck on "please wait" msg.