Blowfish key

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Dreigas
Posts: 17
Joined: Mon Jul 06, 2009 12:25 pm

Blowfish key

Post 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. :)
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Blowfish key

Post by _DS_ »

This is easy - all who has different bf key will just not be able to login :)
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
macdonald12
Posts: 89
Joined: Mon Sep 15, 2008 8:51 am

Re: Blowfish key

Post 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	}; 
Dreigas
Posts: 17
Joined: Mon Jul 06, 2009 12:25 pm

Re: Blowfish key

Post 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? :)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Blowfish key

Post by jurchiks »

it's already made...
or you're another one of those who don't know what they want?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Dreigas
Posts: 17
Joined: Mon Jul 06, 2009 12:25 pm

Re: Blowfish key

Post 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!
macdonald12
Posts: 89
Joined: Mon Sep 15, 2008 8:51 am

Re: Blowfish key

Post 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?
Dreigas
Posts: 17
Joined: Mon Jul 06, 2009 12:25 pm

Re: Blowfish key

Post 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?
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Blowfish key

Post 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.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Post Reply