Jump to content

Recommended Posts

Posted

This is simple simple simple simple simple simple simple simple simple simple simple simple simple simplest thing ever,by the way since one friend request me to do, i did it(I know its share but with other way,btw)

Hope you will find it usefull :]

 

### Eclipse Workspace Patch 1.0
#P L2_GameServer_It
Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java	(revision 20)
+++ java/net/sf/l2j/Config.java	(working copy)
@@ -886,6 +886,8 @@
     public static boolean L2JMOD_WEDDING_FORMALWEAR;
     public static int L2JMOD_WEDDING_DIVORCE_COSTS;
     
+    /** Noblesse At New Chars */
+    public static boolean ADD_NOBLESSE;
     /** Custom Tittle When new char Login */
     public static boolean CHAR_TITLE;
     public static String ADD_CHAR_TITLE;
@@ -1883,6 +1885,8 @@
                 L2JMOD_WEDDING_FORMALWEAR               = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True"));
                 L2JMOD_WEDDING_DIVORCE_COSTS            = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20"));
                 
+                /** Noblesse At New Chars */
+                ADD_NOBLESSE                            = Boolean.parseBoolean(L2JModSettings.getProperty("NoblesseAtNewChars", "True"));
                 /** Custom Tittle When new Char Log In */
                  CHAR_TITLE              = Boolean.parseBoolean(L2JModSettings.getProperty("CharTitle", "true"));
                  ADD_CHAR_TITLE          = L2JModSettings.getProperty("CharAddTitle", "L2JValor Project");
Index: java/config/l2jmods.properties
===================================================================
--- java/config/l2jmods.properties	(revision 20)
+++ java/config/l2jmods.properties	(working copy)
@@ -145,4 +145,8 @@
+
+#This feature if true,give to all new chars Noblesse Status
+#Default:True
+NoblesseAtNewChars = True
\ No newline at end of file
Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(revision 19)
+++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(working copy)
@@ -184,7 +184,14 @@
         	}
         }
         
-
+        if (Config.ADD_NOBLESSE)
+        {
+        	if (activeChar.getLevel() <= 2)
+        
+            activeChar.setNoble(true);
+            activeChar.sendMessage("[sRV]: Noblesse Status ADDED");
+        }
+        
         if (activeChar.getAllEffects() != null)
         {
             for (L2Effect e : activeChar.getAllEffects())

Posted

Whats the point of sharring things that takes few secs to build them in your mind :P.

Try to make something more complicated instead of such things with configs > code.

Posted

Whats the point of sharring things that takes few secs to build them in your mind :P.

Try to make something more complicated instead of such things with configs > code.

Cuze i rly lack of imagine if you any idea pleaze pm me and tell it,i cant think something rly new ...

if you can send me a pm(with any idea)

Posted

It wasn't really smart.

 

Whats the point to add noble ALL THE TIME at enter world?

 

At least there should be check if character is already noble.. anyway EnterWorld is not right place for it.

 

You said "For NEW chars"

 

Now think a bit where exactly u should put it  ;)

Posted

Code is wrong.

 

1) It's misplaced, you should add it at CreateCharacter.java

2) The message will be broad casted even if the character is higher level than 2. You should add brackets after your level check.

 

 

Please, before sharing, ensure that your code is efficient and working properly. Yet again, maxcheaters community appreciates your try and thanks you.

Guest
This topic is now closed to further replies.


  • Posts

    • https://discord.gg/k53SZ4DM5z   Interlude Client L2Old Pride is a L2 Pride Interlude Based All functional skills (Not archer/mage server)   L2Old Pride Helper (Works like Woundrous Cubic) https://imgur.com/iYqmHQY Farm Zones: Cave of Trials and Elven Ruins (Chaotic) Olympiads: Every 15 days Various Cosmetic Items https://imgur.com/uoeU6Jw https://imgur.com/oCS2Zed PvP Zone: Gludin Village (No-Parties, Disguised) More than 100 new Skills https://imgur.com/6RaPsQV Max Level: 90 https://imgur.com/z4QVJKZ Gaining Xp by PVP https://imgur.com/LRqI31T Purchasable S-grade items +10 or +20 with random chance to enchant +5 Purchasable Custom Items Depends on Tier Mysterious Merchants https://imgur.com/2ZwWyPH Auto Enchant Via PvPing (with low chance) Custom Raid Bosses Siege Every Weekend (Aden, Rune, Giran) Autofarm / Drop Tracker https://imgur.com/Vz3rha6   RATES: • Start Level 80 • Max level 90  • EXP: 5000x • SP: 5000x • ADENA 6000x   ENCHANT: • Maximum enchant S Grade Items: +35. • Maximum enchant Unique/Epic Items: +25. • Maximum enchant Legendary Items: +18. • Maximum enchant Relic Items: +14. •Descriptions for rate at scrolls!   EVENTS: • TEAMS vs TEAMS • CAPTURE THE FLAG • DOMINATION • DEATH MATCH • DICE OF DEATH • CHAOTIC ZONE   OTHERS: Assistance system in pvps. Where support classes are enabled to receive pvp with a low chance, for supporting a party member during pvp. •  /sit to regen HP/MP/CP • Custom Shots Glows https://imgur.com/FLK0DmR • Achievements System • Daily Tasks System • Monthly Tasks System   CUSTOM ARMORS SETS Dread Armor/Titanium Armor Pride Armor Rykros Armor https://imgur.com/SPxoQp1   CUSTOM WEAPONS SETS Unique Weapons Pride Weapons Legendary Weapons Relic Weapons https://imgur.com/kOHNXhS   CUSTOM ACCESSORIES Standard Superior Legendary https://imgur.com/zPqNiiX   CUSTOM JEWELS/TATTOO Legendary Nightmarish https://imgur.com/gcqS28P There are many more features that you will only understand by playing and following. Beta testing server is currently open. Follow us on our discord and join our server to test it.
    • You shouldn't use rev 382, not sure why everyone keep using that.   I don't make changesets for fun, I don't make new revisions for nothing.   Follow the revisions.
    • Your issue isn't related to geoengine at all (as always), rev 410 got improved water movement management.
    • Download Here: https://sitehunterus.blogspot.com/2025/12/custom-proxy-checker-check-proxies.html VirusTotal https://www.virustotal.com/gui/file/b74418850d82dbf0031e0549f20239b5bff5dbba7a59903fcf9ba55780002a4e Visit my Blogger list to download 100% free software https://www.freetoolss.com/ https://blackhat8.blogspot.com/ https://hack-crack9.blogspot.com/ https://hackernoons.blogspot.com/ https://sharetools99.blogspot.com/
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock