hmmm i edited the installer tool and i put pass=root and location of bin in diskw and i installed correctly the db with no errors.After i went in loginserver.properties and put pass=root and i did the same to server.properties in gameserver\config.I reg server correctly and created account and all where going well but when i logged in and pressed ok to enter "bartz"
I open the l2j server and see
1. XOR->NewCrypt.encXORPass(raw, offset, size, Rnd.nextInt()); ---> XOR can also be taken from l2j
2. _staticCrypt.crypt(raw, offset, size);
----->
I scroll down the code and see this code
----->
===================================================
I'm transferring this code to C#
And in c# I first do decryptBlock and then XOR and everything works, I get the package
and the first 2 bytes have already been removed as far as I remember
This only works for the login server.
The blowfish encryption key is used static, it can be found in the l2j server
Question
Thelasthero
hmmm i edited the installer tool and i put pass=root and location of bin in diskw and i installed correctly the db with no errors.After i went in loginserver.properties and put pass=root and i did the same to server.properties in gameserver\config.I reg server correctly and created account and all where going well but when i logged in and pressed ok to enter "bartz"
this problem comes from gameserver
1 answer to this question
Recommended Posts