First time i have seen problem like this, in database, raidboss_spawnlist table, im trying to change Barakels respawn time and i have a problem.
When first time i get there, i have seen this: 1379099558084 (that means about 27:45hours (97245minutes)) i counted that
1min should be = 14181702 ~. I entered it in respawn time column, and it didnt worked :/ Barakels respawns every 1-2sec after I kill him, Whats the problem???
ps. //spawn 25325 180 doesnt work... (it respawn immideatly after kill)
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
semkius
Hey,
First time i have seen problem like this, in database, raidboss_spawnlist table, im trying to change Barakels respawn time and i have a problem.
When first time i get there, i have seen this: 1379099558084 (that means about 27:45hours (97245minutes)) i counted that
1min should be = 14181702 ~. I entered it in respawn time column, and it didnt worked :/ Barakels respawns every 1-2sec after I kill him, Whats the problem???
ps. //spawn 25325 180 doesnt work... (it respawn immideatly after kill)
4 answers to this question
Recommended Posts