Jump to content

Recommended Posts

Posted

there is any way to send hex packet in client-ip?

smthing like this

 

sendpacket(data, ip);

sendpacket("00 0A 10 22 BA A1 C8", 127.0.0.1);

 

or smthing like this

 

sendpacket(data, window-client)

sendpacket(("00 0A 10 22 BA A1 C8", "Lineage 2")

 

im loking for easy way send packets in client not server, i no have idea how works socket programming, so im loking smthink like this.

 

 

Posted

Actually you need to study a bit of Socket Programming, trust after one or two times its easy.

Anyway I will try to code you a class.

Posted

Serverpackets in Java servers...

 

A Packet Example...

 

protected void writeImpl()
{
	writeC(0xfe);
	writeH(0x39);
	writeD(_type); // 0 - system messages, 1 - your defined text
	writeD(_sysMessageId); // system message id (_type must be 0 otherwise no effect)
	writeD(_position); // message position
	writeD(_unk1); // ?
	writeD(_size); // font size 0 - normal, 1 - small
	writeD(_unk2); // ?
	writeD(_unk3); // ?
	writeD(_effect == true ? 1 : 0); // upper effect (0 - disabled, 1 enabled) - _position must be 2 (center) otherwise no effect
	writeD(_time); // time
	writeD(_unk4); // ?
	writeD(0x00); //TODO: npcString
	writeS(_text); // your text (_type must be 1, otherwise no effect)
}

 

is not that posible without to conect, like some programs send packet in process ...

like l2tower boot..

 

this in c# how can be?

 

Example, lets create packet...

 

Packet ->

 


        string _text = "Whats up ppl";
        int _time = 1000;

void PacketExShowSM()
{
	writeC(0xfe);
	writeH(0x39);
	writeD(1); // 0 - system messages, 1 - your defined text
	writeD(0); // system message id (_type must be 0 otherwise no effect)
	writeD(_position); // message position
	writeD(_unk1); // ?
	writeD(1); // font size 0 - normal, 1 - small
	writeD(_unk2); // ?
	writeD(_unk3); // ?
	writeD(_effect == true ? 1 : 0); // upper effect (0 - disabled, 1 enabled) - _position must be 2 (center) otherwise no effect
	writeD(_time); // time
	writeD(_unk4); // ?
	writeD(0x00); //TODO: npcString
	writeS(_text); // your text (_type must be 1, otherwise no effect)
}

 

And we want send this packet in process-client

smthing like..

 

sendpacket(PacketExShowSM, _processid);

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I buy Interface.u and compiler protocol 311 classic 
    • This document provides a structured and reproducible methodology for installing and running Lineage II on macOS using Lineage II through CrossOver.   The purpose of this guideline is to present a clear, technically sound procedure that allows macOS users to execute a Windows-native Lineage 2.   1. System Requirements 2.1 Hardware Mac with Intel or Apple Silicon (M1/M2/M3) Minimum 8 GB RAM (16 GB recommended)   2. Methodology 2.1 Installation of CrossOver Download CrossOver from the official CodeWeavers website. Install it via standard macOS installation procedure. Launch CrossOver and ensure it is updated to the latest build 2.2 Bottle Configuration In CrossOver terminology, a Bottle represents an isolated Windows environment. Click “Create a New Bottle.” Select: Windows 10 (recommended) Name the bottle: Lineage2 Wait for initialization to complete. Recommended Bottle Settings: Enable DXVK Enable High-Resolution Mode Install additional components if needed (you will be prompted): DirectX Visual C++ Redistributables (2015–2022) 2.3 Installing Lineage II Client Download the client: link In CrossOver: Open the Lineage2 bottle. Click Install Application → Select Installer. Choose the downloaded setup.exe. Follow standard Windows installation procedure.   In the end you will be able to utilize lineage 2 on MacOS  
    • L2 COVEN - ANIMATED BORDER   L2 LUNARIS - ANIMATED BORDER   L2 NOW - ANIMATED BORDER   L2 EUPHORIA - ANIMATED BORDER   L2 ECLIPSE - ANIMATED BANNERS     L2 NOOBWARS - ANIMATED BANNERS     L2 WARBORNE - COMMUNITY BOARD    
    • I ended up sorting a similar mess by working with a team that handled everything from discovery to launch and kept things super clear. Their business website design approach made it easy for me to get a site that actually fit my goals, plus I kept full ownership of everything. The long-term support and simple pricing structure saved me a ton of headaches down the road.
    • Online card acquiring for high-risk hosting projects We provide reliable payment processing for hosting platforms operating in high-risk sectors, including adult content and similar industries. Available payment methods: • Visa / Mastercard  • American Express (AMEX)  • Apple Pay / Google Pay We have strong experience processing payments from U.S. customers.  Fast onboarding with minimal docs.   https://laucharge.com/creditcard   Telegram: @Laucharge_Support  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..