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

    • I would like to know about the Acis base of the data pack I use. The server source and server file could not find that information. I respectfully ask for the help of masters.🥲
    • discord - adver745645   https://t.me/adenala2   THERE ARE A LOT OF ADEN AT A VERY GOOD PRICE!!! HURRY  
    • Artificial Intelligence for all Chronicles. Developed in L2 HighFive branch since 2023 but it can be adapted to any project including Fand-C, aCis, Frozen, Scripts even compiled projects such as Lucera with some aditional cost.   Features:  1. Grouped of templates to create your own BOT (including skill, items, appearance, sex e.t.c.) 2. Bot can participate in Olympiad (+ any event with extra cost base on your event engine) 3. Bot walk nearby NPC to receive buff, receive equipment and teleport to any other area 4. Bot will accept party & clan invitation and follow party leader to wherever he go including teleport 6. Bot will trade player back dropped items from PK or fallen Raid Bosses after they visit a peace zone 7. Bot will open store and sell configurable item in configurable prices to players. 8. Bot will attack and cast spells in a realistic way. All classes are used including buffers, summoners, bishops e.t.c. 9. Buffer and bishops will cast buff to party members when player has no available or overriden buffs. 10. Bot will enchant their equipent and re-purchase upon failure. Their weapon will also switched between hero weapon and retail weapon when they need to. 11. Bot can move in complex map system and find monsters or players but they can also follow routes for specific paths using configurable XML if you want to.   Preview of some features: Olympiad Trade Store PvP   Example of a single configurable template in XML: https://pastebin.com/RXZVGCfA   Price: 270 Euro (Compiled) - 450 Euro (Source)    Contact Me Discord: https://discord.gg/gKAsAhJNuq MaxCheaters: https://maxcheaters.com/profile/243647-out-of-time/ Gmail: l2outoftime@gmail.com RCS Message: +30 698 740 8501  
    • Good day! Due to the increasing number of questions, "Do you provide services for the client?" - I decided to answer with a separate topic. I provide services for editing/modifying the client and individual files, namely: 1. Transfer/Creation/Editing locations, geodata.   2. All kinds of work with NPCs, including transfer, animation, adding effects to them and logos.   3. Actually, Transfer/Creation/Edit any EFFECTS, including Abnormal Effects.   4. Any work with weapons, armor, accessories and everything related to it.   5. Create or edit textures, including dynamic textures.   6. Creating a Lobby Screen, Lobby Char Selection (character selection window) and Lobby Char Creation (character creation window). What I don't do: 1. Coding in any form (except for CB).   I started publishing my work recently, here - YouTube And here - RuTube If required, I respect confidentiality. Any other questions? Welcome to Telegram or PM.
  • Topics

×
×
  • Create New...