Exw valei kati teleprt sthn gk mou (custom_npc) sthn arxh douleve kanonika omws meta apo 2 meres otan patao sto hunters village m vgazei afto mnm ti n kanw? ::)
WARNING Bad RequestBypassToServer:
java.lang.NullPointerException
at net.sf.l2j.gameserver.instancemanager.TownManager.townHasCastleInSieg
e(TownManager.java:288)
at net.sf.l2j.gameserver.model.actor.instance.L2TeleporterInstance.doTel
eport(L2TeleporterInstance.java:186)
at net.sf.l2j.gameserver.model.actor.instance.L2TeleporterInstance.onByp
assFeedback(L2TeleporterInstance.java:115)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(Req
uestBypassToServer.java:215)
at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClie
ntPacket.java:79)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
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
maxuris
Exw valei kati teleprt sthn gk mou (custom_npc) sthn arxh douleve kanonika omws meta apo 2 meres otan patao sto hunters village m vgazei afto mnm ti n kanw? ::)
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.