Jump to content
  • 0

Adding patch manually


Question

Posted

Hi all, I'm trying to add the rebirth patch to the newest revision of l2j manually. The problem I have is that when I try to add this code in eclipse WorldHandler.java does not exist. Do I have to create a new java source file named Worldhandler.java ? If so how to I add it ?  Thanks

 

===================================================================

--- java/net/sf/l2j/gameserver/handler/WorldHandler.java (revision 0)

+++ java/net/sf/l2j/gameserver/handler/WorldHandler.java (revision 0)

-0,0 +1,38 @@

+package net.sf.l2j.gameserver.handler;

+

+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

+

+import net.sf.l2j.gameserver.model.entity.RebirthManager;

+

+/**

+ *This will simply manage any custom 'Enter World callers' needed.<br>

+ *Rather then having to add them to the core's. (yuck!)

+ *

+ * @author  JStar

+ */

+public class WorldHandler{

+

+ private static WorldHandler _instance = null;

+

+ private WorldHandler(){

+ //Do Nothing ^_-

+ }

+

+ /** Receives the non-static instance of the RebirthManager.*/

+ public static WorldHandler getInstance(){

+ if(_instance == null){

+ _instance = new WorldHandler();

+ }

+ return _instance;

+ }

+

+ /** Requests entry into the world - manages appropriately. */

+ public void enterWorld(L2PcInstance player){

+ RebirthManager.getInstance().grantRebirthSkills(player);

+ }

+

+ /** Requests removal from the world - manages appropriately. */

+ public void exitWorld(L2PcInstance player){

+ }

+

+}

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


  • Posts

    • Same glitch or "technique" was working on Interlude L2Pride aswell.. only few knew about it!
    • 🌟 Need fast setup and guaranteed warranty? All products are fully tested and delivered instantly 24/7.
    • 7 DAYS TO CLOSED BETA!   WARFRONT Closed Beta begins in just 7 days!    If you're planning to participate and haven't registered yet, please make sure you [b]register now[/b]. If you're coming with friends or your clan, please make sure they register too — registration only takes a few seconds.   https://l2warfront.com/   Over the next couple of days I will begin sending emails to registered players containing: Account registration/access link WARFRONT Game Client WARFRONT Launcher Final Closed Beta instructions Important: Special Closed Beta participant rewards will also be distributed using the email address you registered with, so please make sure you've registered with a valid email you can access.   Closed Beta: 3 October 2026 — 19:00 GMT+0 We're almost there. 7 days. Angels vs Demons. See you on the battlefield.
    • No problem — it will decrypt AA (any chronicles). Text telegram
    • As the title says, we are an International group of players that currently play on Exiliumworld for arround 5 years now and we plan to keep on playing here long term now on. Exiliumworld its a server created on Fafurion client, with new skills added for each class and a completely different gameplay. All classes are good and do great damage, there are new exciting features and party compositions that are incredibly great to be played.   While most of us are Romanians, we also have people from different countrys so English is the main language we use on PvP/TW/Sieges or whenever objective pops on. Our  community runs on Discord, we try to keep it very simple in terms of rules : We dont flame each other, we try to respect each member of this group and overall we mentain a good atmosphere inside the group by always laughing, being positive in any situation and helping each other out with whatever it's needed.   If you also wish to be a part  of our community and play on a server that is opened for over a decade and continues running smooth, always gets updates and fixes, contact me in private on Discord because i won't be active in here. About what classes you can play, we will discuss more details like that when we get in contact. Have a great day, guys and remember : Having a good, stable server and a group of players that respect you and help you whenever you are in need might be the perfect environment for you to grow as a player and also as human being!    CONTACT  DISCORD : pqtestpq_97112 (Me) ash3s8354 (Leader) xmariusx (Subleader)   Whoever you choose to talk to, you will meet a friendly person ready to answer your all questions about our group, server features or explain you all the insights of the server.  P.S. : Don't hesitate to contact us. We also recruit CPs or group of players, not only single players. Have a nice day!   #SABOTAGEclan  
  • 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..