Jump to content

Recommended Posts

Posted (edited)

Hello guys, nothing special, just a guy ask me for that and maybe more peoples looking for it.  =)

You select enchant aura for all weapons on character selection.

puPU05A.png

 

Diff Created on aCis 378:

Index: config/server.properties
===================================================================
--- config/server.properties	(revision 9)
+++ config/server.properties	(working copy)
@@ -59,6 +59,10 @@
 #                      Clients related options
 # ================================================================
 
+# Visual Enchant for weapons on character selection
+# Disable : 0
+VisualEnchant = 16
+
 # Allow delete chars after D days, 0 = feature disabled.
 DeleteCharAfterDays = 7
 
Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java	(revision 9)
+++ java/net/sf/l2j/Config.java	(working copy)
@@ -497,6 +497,7 @@
 	public static boolean SERVER_GMONLY;
 	
 	/** clients related */
+	public static int VISUAL_ENCHANT;
 	public static int DELETE_DAYS;
 	public static int MAXIMUM_ONLINE_USERS;
 	
@@ -1210,6 +1211,7 @@
 		SERVER_LIST_TESTSERVER = server.getProperty("TestServer", false);
 		SERVER_LIST_PVPSERVER = server.getProperty("PvpServer", true);
 		
+		VISUAL_ENCHANT = server.getProperty("VisualEnchant", 0);
 		DELETE_DAYS = server.getProperty("DeleteCharAfterDays", 7);
 		MAXIMUM_ONLINE_USERS = server.getProperty("MaximumOnlineUsers", 100);
 		
Index: java/net/sf/l2j/gameserver/network/serverpackets/CharSelectInfo.java
===================================================================
--- java/net/sf/l2j/gameserver/network/serverpackets/CharSelectInfo.java	(revision 9)
+++ java/net/sf/l2j/gameserver/network/serverpackets/CharSelectInfo.java	(working copy)
@@ -6,6 +6,7 @@
 import java.util.ArrayList;
 import java.util.List;
 
+import net.sf.l2j.Config;
 import net.sf.l2j.L2DatabaseFactory;
 import net.sf.l2j.gameserver.data.sql.ClanTable;
 import net.sf.l2j.gameserver.model.CharSelectSlot;
@@ -149,7 +150,7 @@
 			writeD((slot.getAccessLevel() > -1) ? ((slot.getDeleteTimer() > 0) ? (int) ((slot.getDeleteTimer() - System.currentTimeMillis()) / 1000) : 0) : -1);
 			writeD(slot.getClassId());
 			writeD((i == _activeId) ? 0x01 : 0x00);
-			writeC(Math.min(127, slot.getEnchantEffect()));
+			writeC(Config.VISUAL_ENCHANT > 0 ? Config.VISUAL_ENCHANT : Math.min(127, slot.getEnchantEffect()));
 			writeD(slot.getAugmentationId());
 		}
 		getClient().setCharSelectSlot(_slots);

 

Edited by StinkyMadness
  • Like 1
  • Upvote 4
  • 2 months later...
Posted

here is adapted for h5

### Eclipse Workspace Patch 1.0
#P L2J_Server
Index: /game/config/Character.properties
===================================================================
--- /game/config/Character.properties (revision 0)
+++/game/config/Character.properties   (working copy)

+# Visual Enchant for weapons on character selection
+# Disable : 0
+VisualEnchant = 16

# Allow character deletion after days set below. To disallow character deletion, set this equal to 0.
# Default: 7
DeleteCharAfterDays = 1




### Eclipse Workspace Patch 1.0
#P L2J_Server
Index: src/main/java/com.l2jserver/config.java
===================================================================
--- src/main/java/com.l2jserver/config.java (revision 0)
+++src/main/java/com.l2jserver/config.java   (working cop



     public static boolean SERVER_GMONLY;
     
     /** clients related */
+    public static int VISUAL_ENCHANT;
     public static int DELETE_DAYS;
     public static int MAXIMUM_ONLINE_USERS;
     
@@ -1210,6 +1211,7 @@
         SERVER_LIST_TESTSERVER = server.getProperty("TestServer", false);
         SERVER_LIST_PVPSERVER = server.getProperty("PvpServer", true);
         

            ALT_GAME_FREE_TELEPORT = character.getBoolean("AltFreeTeleporting", false);
+            VISUAL_ENCHANT = character.getInt("VisualEnchant", 0);
            DELETE_DAYS = character.getInt("DeleteCharAfterDays", 7);
            ALT_GAME_EXPONENT_XP = character.getFloat("AltGameExponentXp", 0);
            ALT_GAME_EXPONENT_SP = character.getFloat("AltGameExponentSp", 0);



### Eclipse Workspace Patch 1.0
#P L2J_Server
Index: src/main/java/com.l2jserver/gameserver/network/serverpackets/CharSelectInfo.java
===================================================================
--- src/main/java/com.l2jserver/gameserver/network/serverpackets/CharSelectInfo.java (revision 0)
+++src/main/java/com.l2jserver/gameserver/network/serverpackets/CharSelectInfo.java   (working cop

            writeD(charInfoPackage.getDeleteTimer() > 0 ? (int) ((charInfoPackage.getDeleteTimer() - System.currentTimeMillis()) / 1000) : 0); // days left before
            // delete .. if != 0
            // then char is inactive
            writeD(charInfoPackage.getClassId());
            writeD(i == _activeId ? 0x01 : 0x00); // c3 auto-select char
            
+            writeC(Config.VISUAL_ENCHANT > 0 ? Config.VISUAL_ENCHANT : Math.min(127, charInfoPackage.getEnchantEffect()));
            writeD(charInfoPackage.getAugmentationId());

 

  • 2 months later...
  • 6 months later...
Posted
On 1/17/2019 at 3:20 AM, StinkyMadness said:

Hello guys, nothing special, just a guy ask me for that and maybe more peoples looking for it.  =)

You select enchant aura for all weapons on character selection.

puPU05A.png

 

Diff Created on aCis 378:


Index: config/server.properties
===================================================================
--- config/server.properties	(revision 9)
+++ config/server.properties	(working copy)
@@ -59,6 +59,10 @@
 #                      Clients related options
 # ================================================================
 
+# Visual Enchant for weapons on character selection
+# Disable : 0
+VisualEnchant = 16
+
 # Allow delete chars after D days, 0 = feature disabled.
 DeleteCharAfterDays = 7
 
Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java	(revision 9)
+++ java/net/sf/l2j/Config.java	(working copy)
@@ -497,6 +497,7 @@
 	public static boolean SERVER_GMONLY;
 	
 	/** clients related */
+	public static int VISUAL_ENCHANT;
 	public static int DELETE_DAYS;
 	public static int MAXIMUM_ONLINE_USERS;
 	
@@ -1210,6 +1211,7 @@
 		SERVER_LIST_TESTSERVER = server.getProperty("TestServer", false);
 		SERVER_LIST_PVPSERVER = server.getProperty("PvpServer", true);
 		
+		VISUAL_ENCHANT = server.getProperty("VisualEnchant", 0);
 		DELETE_DAYS = server.getProperty("DeleteCharAfterDays", 7);
 		MAXIMUM_ONLINE_USERS = server.getProperty("MaximumOnlineUsers", 100);
 		
Index: java/net/sf/l2j/gameserver/network/serverpackets/CharSelectInfo.java
===================================================================
--- java/net/sf/l2j/gameserver/network/serverpackets/CharSelectInfo.java	(revision 9)
+++ java/net/sf/l2j/gameserver/network/serverpackets/CharSelectInfo.java	(working copy)
@@ -6,6 +6,7 @@
 import java.util.ArrayList;
 import java.util.List;
 
+import net.sf.l2j.Config;
 import net.sf.l2j.L2DatabaseFactory;
 import net.sf.l2j.gameserver.data.sql.ClanTable;
 import net.sf.l2j.gameserver.model.CharSelectSlot;
@@ -149,7 +150,7 @@
 			writeD((slot.getAccessLevel() > -1) ? ((slot.getDeleteTimer() > 0) ? (int) ((slot.getDeleteTimer() - System.currentTimeMillis()) / 1000) : 0) : -1);
 			writeD(slot.getClassId());
 			writeD((i == _activeId) ? 0x01 : 0x00);
-			writeC(Math.min(127, slot.getEnchantEffect()));
+			writeC(Config.VISUAL_ENCHANT > 0 ? Config.VISUAL_ENCHANT : Math.min(127, slot.getEnchantEffect()));
 			writeD(slot.getAugmentationId());
 		}
 		getClient().setCharSelectSlot(_slots);

 

hello my friend everything in peace, I liked this new method of showing or enchanting Allow more and move from another place to select or define account creation character equal to chronicles up

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

    • Download Lobby u need island for lobby Download Crow Island  
    • Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • L2-LORENA x100 MID RATE   Interlude Nostalgia Meets Modern Gameplay   OFFICIAL OPENING:  April 4 (Saturday)  19:00 UTC+1 ⸻  MAIN INFORMATION  Adena: x5  Drop: x10  Spoil: x10  Raid Boss: x10  Seal Stones: x2  Quests: x10 ⸻  FEATURES  GM Shop up to B-Grade  Full Buffer  Premium System (x2 bonuses)  AutoFarm – FREE for everyone ⸻  SERVER CONCEPT  Classic Interlude nostalgia  Enhanced with modern interface & mechanics  Balanced PvP & PvE gameplay  Active development & custom features ⸻  WHY JOIN L2-LORENA?  No Pay-to-Win  Smooth gameplay & stable server  Competitive PvP environment  Friendly & active community ⸻  JOIN US NOW L2-LORENA 100X <<< LINK Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr   L2-LORENA Link << Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr
    • https://web.archive.org/web/20260306183214/https://maxcheaters.com/topic/241828-l2j-l2damage/page/3/ https://l2topzone.com/forum/l2-server-support-problems/9/l2damage-stopped/30514 Also we will try to push longer seasons ever ! (1135-100)/9 = 115 online
    • ONE SIDE – AND EVERYTHING BREAKS ▪ Looks like a simple case: Florida DL, back side, barcode – “clean and minimal”. ▪ In reality, these are exactly the tasks that fail most often. – data provided as plain text – request only for the back side – focus on the barcode (PDF417) ▪ And here’s the key point: ▪ A barcode is not just a “picture on the back”. It’s compressed logic of the entire document. ▪ If it doesn’t match the front, format, and data structure – the system flags it instantly. ▪ Many create a “similar-looking” code. But systems don’t read “similar” – they read by specification. ▪ In cases like this, it’s not about design. It’s about correct data assembly and how it behaves inside the format. ▪ Today only – 15% off for verification cases. ▪ Want it to pass, not just look right? Describe your case – we’ll show where even clean files break. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #editing #photoshop #documents #verification #case
  • 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..