Jump to content
  • 0

[Question]How do I apply a patch?


Question

Posted

Hello , I've followed every tutorial available here and on google about compiling. What people don't include is how do I apply a patch and mak it work... Do I have to generally right click the L2_GameServer and Team>Apply Patch? On the .patch file do I have to remove/change anything?

 

I need some assistance please.

 

Thank you,

 

Pokiokio

 

P.S.: It's for L2J , not L2JFree/Emu or any preconf. pack..

Recommended Posts

  • 0
Posted

first try is the team->apply patch if it has any error forget it and start to add the lines manually in the patch files you see the line where the patch files wants to add/delete lines or something else so its easy to search

  • 0
Posted

I've tried the tutorials but when I try to apply a patch , I select it , click next and I get many files which say : (file does not exist)  e.x: L2_Gameserver (Project doesn't exist in workspace) The project DOES exist on my workspace and I've set the workspace correctly... I saw somewhere how to manually copy/paste the code to exlipse and then patch it but I don't remember where it was and how to do it..

 

Help :(

  • 0
Posted

you need to set the path in the patch file for ex if you use l2j set java/net/sf/l2j...delete the L2Gameserver part from the index

  • 0
Posted

I'm still having problems..I set the path correctly on my .patch , I try to apply but I get that some files don't exist. And they don't , data at gameserver is full :S , why?

  • 0
Posted

I'd like to request a guide on how to apply a patch , new and detailed :S I mean the other guides aren't clear enough...

  • 0
Posted

I'd like to request a guide on how to apply a patch , new and detailed :S I mean the other guides aren't clear enough...

 

i think its clear enough if you cant apply the patch(error)add it manually line by line i cant explain that better

  • 0
Posted

i think its clear enough if you cant apply the patch(error)add it manually line by line i cant explain that better

 

How do I add it manually? I remember a windwo somewhere that u pasted it , where do I go on Window>Show View ? How do other people manage to apply patches? :(

  • 0
Posted

How do I add it manually? I remember a windwo somewhere that u pasted it , where do I go on Window>Show View ? How do other people manage to apply patches? :(

 

:D

 

there are 2 type of apply patch

1.right click -> team -> apply patch and apply from clipboard or from file

2.open the file navigate to the correct line and change the code

 

first try is 1. if it gives error 2.

  • 0
Posted

 

Already done! It says:

 

• And now I'll explain it

 

Quote

Index: C:/workspace/L2_GameServer/java/net/sf/l2j/Config.java

 

- This is information about which file was modified. In this case Config.java So We should open this file.

 

Quote

(revision 3148)

 

- Revision for which the patch was created

 

Quote

@@ -507,8 +507,21 @@

 

- Lines that should be edited

 

Quote

-    public static boolean CUSTOM_TELEPORT_TABLE;

-   public static boolean CUSTOM_DROPLIST_TABLE;

-    public static boolean CUSTOM_MERCHANT_TABLES;

 

- Minus means that we should delete these lines.

 

Quote

+   public static boolean CHARTITLESTART;

:D

 

there are 2 type of apply patch

1.right click -> team -> apply patch and apply from clipboard or from file

2.open the file navigate to the correct line and change the code

 

first try is 1. if it gives error 2.

+   public static String CHARTITLE;

 

- Plus means that we should add these lines.

 

Where do I add these lines? It says to add them manually. Add them where and how? I'm very confused with that tutorial.

 

:D

 

there are 2 type of apply patch

1.right click -> team -> apply patch and apply from clipboard or from file

2.open the file navigate to the correct line and change the code

 

first try is 1. if it gives error 2.

 

2) What file? Navigate to which line? Change which code? Revision? What changes do I make? Remove lines? what? :(

Guest
This topic is now closed to further replies.


  • Posts

    • To all first time buyers we give a bonus + 10% of the order. 
    • 🔥 Looking for a powerful, clean, and player-friendly Auction House system for your Lineage 2 server? This fully-featured module is ready to plug into your project and provide your players with a modern, centralized marketplace!   💼 What is it? A complete Auction House system designed for fixed-price item sales between players. Forget about private stores and spammed zones—this system offers a smooth, secure, and offline-friendly way to buy and sell items across your server.   Photo Library: https://imgur.com/a/zLlUQbW   ✅ Main Features: 🔹 Fixed-Price Listings Only: Players list items at a set price. No bidding, no delays—just fast, clean trades. 🔹 Multi-Currency Support: Works with Adena, event coins, custom currencies—fully configurable. 🔹 Dynamic Interface: Players can filter items by name, type, and price. Easy-to-use HTML layout with smooth pagination. 🔹 Sell While Offline: Post items and receive payments even if you're not online—true passive trading. 🔹 Safety First: Full validation: no equipped/augmented/restricted items unless allowed. Prevents scams, mispricing, and listing errors. 🔹 Expiration Timer (Optional): Set listing time limits. Expired items go to warehouse/mail automatically. 🔹 Spam & Duplication Protection: Prevents multiple listings of identical items and unnecessary database load. 🔹 Performance Optimized: Clean, indexed SQL structure. No lag or bloating even with thousands of listings.   ⚙️ Plug & Play Clean Java code (compatible with aCis & derivatives). Easy setup with full instructions and sample configurations. Includes SQL, HTML files, and all Java classes – fully working out of the box.   💰 Pricing & Contact 📦 50 euro - One-time purchase with full support for setup & basic customization. 💬 Contact me here via PM or on Discord: @Luminous 🔐 Serious buyers only – source is clean, secure, and tested on live servers.     Give your server the next-level economy it deserves. No more chaotic trade zones. No more confusion. Just clean, efficient, server-wide trading.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
    • 166 pisses on their heads any day of the week though
    • Thnx for share, i can't pm u for password  
  • Topics

×
×
  • Create New...