Jump to content

Recommended Posts

Posted

when you use the command / unstuck

you will be teleported to the location of your configuration

 

 

===================================================================
--- D:/L2JBRASIL NOVO/L2JBrasil_CORE/config/L2JBrasil.properties	(revision 657)
+++ D:/L2JBRASIL NOVO/L2JBrasil_CORE/config/L2JBrasil.properties	(working copy)
@@ -49,18 +49,23 @@
AllowDaggersUseHeavy = True
# IF False , Archer Classes Won't Be Able To Use Heavy Armors
AllowArchersUseHeavy = True
+#---------------------------------------------------------------  
+# Custom Escape.                                              -  
+#--------------------------------------------------------------- 

+UnstuckX = 82698
+UnstuckY = 148638
+UnstuckZ = -3473

Index: D:/L2JBRASIL NOVO/L2JBrasil_CORE/java/com/it/br/Config.java
===================================================================
--- D:/L2JBRASIL NOVO/L2JBrasil_CORE/java/com/it/br/Config.java	(revision 657)
+++ D:/L2JBRASIL NOVO/L2JBrasil_CORE/java/com/it/br/Config.java	(working copy)
@@ -912,6 +912,10 @@
    public static boolean   ANNOUNCE_GM_LOGIN;
    public static boolean   ALLOW_HERO_SKILLS_ON_SUB; 
    public static boolean   DISABLE_GRADE_PENALTY; 
+   public static int       ESCAPE_X;  
+   public static int       ESCAPE_Y; 
+   public static int       ESCAPE_Z; 
    public static boolean   ALT_NEW_SPAWN;  
    public static int       ALT_NEW_SPAWN_X;  
    public static int       ALT_NEW_SPAWN_Y; 
@@ -1269,6 +1273,11 @@
               DUEL_SPAWN_Y    = Integer.parseInt(L2JBrasil.getProperty("PartyDuelSpawnY", "46710"));  
               DUEL_SPAWN_Z    = Integer.parseInt(L2JBrasil.getProperty("PartyDuelSpawnZ", "-3413"));

+              ESCAPE_X = Integer.parseInt(L2JBrasil.getProperty("UnstuckX", ""));  
+              ESCAPE_Y = Integer.parseInt(L2JBrasil.getProperty("UnstuckY", ""));  
+              ESCAPE_Z = Integer.parseInt(L2JBrasil.getProperty("UnstuckZ", ""));  
+

Index: D:/L2JBRASIL NOVO/L2JBrasil_CORE/java/com/it/br/gameserver/handler/usercommandhandlers/Escape.java
===================================================================
--- D:/L2JBRASIL NOVO/L2JBrasil_CORE/java/com/it/br/gameserver/handler/usercommandhandlers/Escape.java	(revision 656)
+++ D:/L2JBRASIL NOVO/L2JBrasil_CORE/java/com/it/br/gameserver/handler/usercommandhandlers/Escape.java	(working copy)
@@ -124,7 +124,8 @@

             try
             {
-                _activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
+                _activeChar.teleToLocation(Config.ESCAPE_X,Config.ESCAPE_Y,Config.ESCAPE_Z);
             } catch (Throwable e) { if (Config.DEBUG) e.printStackTrace(); }
         }
     }

Posted

Nothing special, another share with < 10 lines..

 

And learn to use proper tag in your topic title.

Posted

Nothing special, another share with < 10 lines..

 

And learn to use proper tag in your topic title.

14 lines, but is useless.. put directly x.y.z w/o configs ... more performance :D :D

 

 

Use the following prefixs for your topics:

 

Use [share] if you wanna share something, created by you or not.

Use [Guide] if you wanna let us know how to do something.

Use [Tool] if you wanna share a tool created by you or not.

Posted

14 lines, but is useless.. put directly x.y.z w/o configs ... more performance :D :D

 

 

Use the following prefixs for your topics:

 

Use [share] if you wanna share something, created by you or not.

Use [Guide] if you wanna let us know how to do something.

Use [Tool] if you wanna share a tool created by you or not.

he have and config... :P .. its at begin.. l2jbrasil.properties :P ..
Posted

Nothing special, another share with < 10 lines..

 

And learn to use proper tag in your topic title.

 

not very special

but an idea for those who want and for those who like ;)

Posted

14 lines, but is useless.. put directly x.y.z w/o configs ... more performance :D :D

 

 

Use the following prefixs for your topics:

 

Use [share] if you wanna share something, created by you or not.

Use [Guide] if you wanna let us know how to do something.

Use [Tool] if you wanna share a tool created by you or not.

 

Ah I forgot to count lines from config.. what ever.

 

Everyone can do it. I dont see any point to share things like this.

 

In fact this is only one line share:

 

_activeChar.teleToLocation(Config.ESCAPE_X,Config.ESCAPE_Y,Config.ESCAPE_Z);

 

.. with config included.

Posted

and also of doing so:

 

-                _activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);

+                _activeChar.teleToLocation(82698,148638,-3473);

 

 

but not given the option to change after

'll have to modify the file escape.java

 

edit~~

sorry not seen this topic

but mine is also with different options.

Posted

and why should beam?

 

if this is completely different from the other and still with options?

 

completely different xd?

Posted

and why should beam?

 

if this is completely different from the other and still with options?

 

lol you just added some configs, what's the big difference?

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

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
    • ✨ Exclusive Offer for Marketplace Growth 🔥 Elevate your performance with a premium bonus. 💲 Top up your balance with $100 or more and receive an additional $5 credit — seamlessly added to your account. ⭐️ Designed for those who value efficiency, scale, and results. ⚡️ Effortless. Refined. Effective. 💥 Enhance your strategy today 💥
  • 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..