@Override
public void run()
{
RANDOM = Rnd.get(ZONES.length - 1);
for (L2PcInstance player : L2World.getInstance().getPlayers())
{
if (player.isInsideZone(ZoneIdType.RANDOM_ZONE))
{
player.teleToLocation(getRandomZone().getX() + Rnd.get(-RANDOM_RANGE, RANDOM_RANGE), getRandomZone().getY() + Rnd.get(-RANDOM_RANGE, RANDOM_RANGE), getRandomZone().getZ(), 20);
}
}
Broadcast.toAllOnlinePlayers("The pvp area was changed to a random.", true);
Broadcast.toAllOnlinePlayers("Next random pvp area will be change after " + REFRESH + " minute(s).", true);
Broadcast.toAllOnlinePlayers("Use ''.arenajoin'' to enter on pvp zone and ''.arenaleave'' to leave.", true);
}
//here i treid to show on players screen the remaining time
public void showTimeOnScreen(L2PcInstance player)
{
if (player.isInsideZone(ZoneIdType.RANDOM_ZONE))
{
https://github.com/gawric/Guide-L2Unity/blob/main/Guide/Pakets/Blowfish/General description.md
Perhaps you will find it useful
piece of encryption and decryption code from Acis Interlude
I transferred these methods to Unity c# and everything works fine
https://ibb.co/DHhP0JYr
I think the first 2 bytes are the packet size.
Third byte packet id
And then the information itself
It's all there in l2j servers
Hello,
I’m working on decrypting the Init packet that the server sends to the client during login. This packet is treated specially and contains the Blowfish keys used to encrypt and decrypt subsequent packets. Although it isn’t encrypted irreversibly and should be reversible, I haven’t succeeded yet.
My goal is to extract the Blowfish key to decrypt certain client packets without disrupting the normal session flow. I can inject a DLL to sniff the packets, and with that I plan to develop a module that extends the client’s functionality. For example, after logging in, this module would capture all the data the client receives (character data, etc.). Additionally, it could listen for real-time server events, enabling integrations with Discord SDKs or other systems, thereby expanding Lineage 2’s capabilities.
Init packet(0x00) LoginServer.
Currently in the java Cores I checked there is no decode function for this package, only encript.
Question
Rouxy
Hello everybody.
Well, i've been implementing a code for a type of zone that changes every 'x' minutes.
but I want to show only to all players inside these zones the time left for this zone change using ExShowScreenMessage or another method.
I tried some stuff to make this work.
Here is the code:
9 answers to this question
Recommended Posts