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

    • Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500  Blessed and simple scrolls max enchant (+200)  Enchant maneger to make +500.  In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events  >Rankings  >Clan  >RB Status  >Updates and other Auto Event system: >Team VS Team event - Auto event  >Capture The Flag - Auto event Olympiad: >Retail olympiad game  >Competition period [2] week  >Olympiad start time [18:00] end [00:00]  >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
    • L2 VOID - ADVERTISING BANNER   L2 FURY - ANIMATED BANNER   L2 HEROIC - ANIMATED BANNER   L2 WEED - ANIMATED BANNER   L2 REFORGE - ANIMATED LOGO   L2 WARZONE - ANIMATED LOGO   L2 ACME - SPLASH SCREEN   L2 DRUGS - ANIMATED BANNER   L2 GOLD - ADVERTISING BANNER   L2 AARON - ADVERTISING BANNER  
    • Download Here: https://sitehunterus.blogspot.com/2025/12/fashionnova-checker-multi-threaded-high.html VirusTotal https://www.virustotal.com/gui/file/c69e889b53354aecb2bf8ca50b59c9e410bb5a42da4711e80fe04af5f2b3e945?nocache=1 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/
    • I am very satisfied, wonderful work and trustworthy, thank you for my logo.
  • 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..

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