Jump to content

Recommended Posts

Posted (edited)

Works Sure of Intelude C6!

This script is used to modify the login and game server ports inside engine.dll without requiring any changes in l2.ini. The modification happens directly within the binary data of engine.dll, ensuring that the client connects to the new ports.

 

Python Script:

 

import os

#  New Ports
NEW_PORT_2106 = 8888  # Login Server 8888
NEW_PORT_7777 = 9999  # Game Server 9999

#  Μετατροπή σε HEX (Little Endian)
OLD_HEX_2106 = bytes.fromhex("3A 08")  # 2106
NEW_HEX_2106 = NEW_PORT_2106.to_bytes(2, "little")  

OLD_HEX_7777 = bytes.fromhex("61 1E")  # 7777
NEW_HEX_7777 = NEW_PORT_7777.to_bytes(2, "little")  

# DLL
with open("engine.dll", "rb") as f:
    dll_data = f.read()

# Replace
dll_data = dll_data.replace(OLD_HEX_2106, NEW_HEX_2106, 6)
dll_data = dll_data.replace(OLD_HEX_7777, NEW_HEX_7777, 8)

# Save New DLL
with open("engine.dll", "wb") as f:
    f.write(dll_data)

print(" New DDL save as 'engine_patched.dll'")
print(f"   - Login Server Port: {NEW_PORT_2106} (Your New Port)")
print(f"   - Game Server Port: {NEW_PORT_7777} (Your New Port)")
print(" Replace engine.dll with a new!")

What This Script Does

  1. Defines New Ports

    • Login Server: Changes the default port 2106 to 8888.
    • Game Server: Changes the default port 7777 to 9999.
    • You can change these values to any ports you want! 
  2. Converts Ports to HEX Format (Little Endian)

    • 21063A 08 (old) → Converted to 8888 (22 22 in HEX).
    • 777761 1E (old) → Converted to 9999 (0F 27 in HEX).
  3. Reads engine.dll

    • Opens engine.dll in binary mode and loads its content.
  4. Replaces Old Port Values with the New Ones

    • Finds hexadecimal values representing the old ports inside engine.dll and replaces them with the new ones.
    • Replaces 6 occurrences of 2106 and 8 occurrences of 7777.
  5. Saves the Modified DLL

    • Writes the updated data back into engine.dll, effectively patching it.
  6. Prints Confirmation Messages

    • Confirms that engine.dll has been patched successfully.
    • Displays the new port values.
       

No need to modify l2.ini since the changes are applied directly inside engine.dll.
Works automatically without requiring manual editing of the client files.
Ensures correct connection ports for the Lineage 2 client.
 

Run the script to patch engine.dll.

Replace the old engine.dll with the patched one in the Lineage 2 system folder.

Launch the client—it will now connect to the new ports (8888 for login and 9999 for game server).

Edited by lampros1996
  • Like 1
  • lampros1996 changed the title to Modify the Loginserver and Gameserver ports! [Interlude c6]
  • 2 months later...
  • 3 months later...
Posted
On 6/3/2025 at 2:23 AM, gaminor said:

Hello.

Tried, but after that game crashes because of engine.dll. Can't even start the game.

This specific modification was tested on a clean L2 C6 client and works perfectly. On ‘modified’ engine.dll I don’t know if it will work — find a clean engine.dll that is Windows 10 ready for C6 and try again!

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

    • If you don't want spam, stop badmouthing open source code just to try and sell your compiled crap in a licensed DLL, which is probably full of backdoors like any criminal would do.   I'll create a Git repository just to publish the mods Skylord prepared for this garbage for free.   You're the only scammer here, selling a compilation of the source code Guytis gave you. Regards.   It's not easy when you dedicate yourself to insulting, threatening, and harassing people. Just look at your own reality and you'll realize it.
    • (3241-100)/9 = 349 online xD     WHAT I WILL SEE ON NEW SEASON ? *Free VIP characters for everyone for first 3 days after opening ! Unique augmentation trade/sell system (NEW PATCH V3.2). Improved server stability. No more lagg / dc. Pvp map area HIDE Names/clans unique system. Big changes on augmentation system.  rotfl Lucky fortune monsters on levelling area with 10min spawn. Also we will try to push longer seasons ever !  HAHAHAHAHAHA XD Increased giran trading area for sell. New raid boss events in coliseum. Fixed reflect damage skills. New raid boss banshee. Fixed pvp area flag issues. Fixed castle siege pray issues. New pvp map in sea of spores. Increased all mob drops rate by +20%. And much more...   Augment diammond 100% 3x winter xDD   And now the best part   HAHAHAH 1-10 random level LS Augment Also we will try to push longer seasons ever !  HAHAHAHAHAHA XD   GRAND START FROM - 15/08/2025, FRIDAY, 20:00 +3 GMT ! GRAND OPENING FROM - 10/10/2025, FRIDAY, 20:00 +3 GRAND OPENING FROM - 05 DECEMBER 2025, FRIDAY, 20:00 +2 GMT ! GRAND OPENING FROM - 12/052025, FRIDAY, 20:00 +3 GMT ! GRAND OPENING FROM - 23 JANUARY 2026, FRIDAY, 20:00 +2 GMT ! WIPE ! NEW SEASON GRAND OPENING FROM TODAY ! - 23/01/2026, FRIDAY, 20:00 +3 GMT ! OPENING TODAY !!! FROM - 06/03/2026, FRIDAY, 20:00 +3 GMT !   1. When wipe?  2. When will there be any response to the allegations? 3. When will they stop deceiving players with the actual number of players online? 4. When change server name to L2][Wipe the best waste Time][Money?
    • Don't spam my post again. Do you need attention? That guy doesn't work at L2Devs, he's not a programmer, and I've never spoken to him. You should respond to the people you scammed. Regards!
    • “WRONG EMAIL – AND EVERYTHING FALLS APART.” ▪ Requests are different. Sometimes a task takes three days, sometimes thirty minutes. ▪ Recently a regular client contacted us. The account had one e-mail, but another one was required for a specific service. ▪ The screenshot was sent immediately. Task – carefully replace the e-mail in the document so that everything looks natural and leaves no editing traces. ▪ Small details like this are often underestimated. › What usually happens: – one symbol in the e-mail doesn’t match – the system starts checking metadata – questions appear about the file origin – the document goes to additional verification ▪ We simply did it properly: the e-mail matches, the file structure remained intact, the document looks original. ▪ Sometimes a good result is not “magic”, but precision in details. ▪ If your document were checked right now – are you sure there are no small details that could ruin everything? › TG: https://t.me/mustang_service ( https:// t.me/ mustang_service ) › Channel: https://t.me/+JPpJCETg-xM1NjNl ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documentdesign #verification #documents #case #antifraud
    • Skylord  = L2Gold.eu ;   Skylord is the programmer at L2Devs. Look what he posted in my thread. I reported him, and they automatically deleted his post and closed my thread.   They need to trick people into buying this garbage.   You can safely use this extender:   https://maxcheaters.com/topic/253977-%F0%9F%94%A5-l2ext-custom-interlude-vang-%E2%80%93-2026-release/  
  • 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..