Wholesale buyers - special terms!
Looking for a profitable bulk deal?
We’ll let you choose numbers from our pool - and find the ones that fit your needs perfectly.
Message us here 👉 [https://t.me/vibe_sms_admin] - we’ll discuss, agree on the price, and offer a discount if needed!
Our website: https://vibe-sms.net/
Our Telegram channel: https://t.me/vibe_sms
🎉 **OPENING — Lineage 2 x17 MULTIPROF COMFORT SERVER!**
🔥 **October 31, 2025 at 20:00 (MSK)**
(OBT starts **October 27, 2025 at 20:00**)
💎 **Multeria** invites you to join the brand-new **Multiprof server** — built with care, balance, and community feedback in mind!
⚔️ **COMFORT RATES:**
• EXP ×17 (with PA ×25.5)
• SP ×8.5 (with PA ×17)
• Drop / Spoil ×1 (with PA ×2.5)
• Adena ×1 (with PA ×2)
🚀 **WHAT’S NEW:**
• New max level — **100**
• **100% Craft System** for armor, weapons, belts (incl. Power Belt), bracelets & talismans
• New epic accessory — **Frintezza’s Necklace**
• **Mass skills cooldown reduced ×10** (Defense Instinct, Magic Impulse, Fanatic, etc.)
• Fair play — HWID limits on global instances and rebirth-based party checks
• **New 90+ dungeons** (60/120 min time limits)
• **New PvP zones:** Varka, FoG, LoA, Stakato (battle zones active)
• **Extra game window** available for in-game currency (Gold Einhasad)
💬 Everything you love about Lineage 2 — **balance, comfort, and fairness**.
🔗 More info: https://hf.multeria.world/
Question
heladito
hi! i added this code to my datapack but its giving me a problem with Duplicate Character in DB Have idea why? and critical error.
The author its @EdenEternal
Code
Index: com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (revision 946) +++ com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -3041,6 +3042,15 @@ { karma = 0; } + + if(karma ==0 && Config.TRANSFORM_PK) + { + getPoly().setPolyInfo(null, "1"); + decayMe(); + spawnMe(getX(),getY(),getZ()); + sendMessage("You have been untransformed."); + broadcastUserInfo(); + } if(_karma == 0 && karma > 0) { @@ -8359,10 +8369,21 @@ updateTitle(); } + if(Config.TRANSFORM_PK) + { + String transform_id = Config.TRANSFORM_NPC_ID; + getPoly().setPolyInfo("npc", transform_id); + teleToLocation(getX(), getY(), getZ(), false); + sendMessage("You have killed a player!"); + sendMessage("You have been transformed to "+Config.TRANSFORM_NPC_NAME+"."); + broadcastUserInfo(); + } + //Update the character's title color if they reached any of the 5 PK levels. updatePkColor(getPkKills()); broadcastUserInfo(); + // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); } =================================================================== --- com/l2jfrozen/Config.java (revision 946) +++ com/l2jfrozen/Config.java (working copy) @@ -2167,10 +2167,21 @@ public static boolean DONATOR_SKILLS; + public static boolean TRANSFORM_PK; + public static String TRANSFORM_NPC_ID; + public static String TRANSFORM_NPC_NAME; @@ -2309,10 +2311,21 @@ //============================================================ public static void loadByLekiConfig() GM_MAX_ENCHANT = Integer.parseInt(ByLekiSettings.getProperty("GMMaxEnchant", "65355")); + TRANSFORM_PK = Boolean.parseBoolean(ByLekiSettings.getProperty("EnableTransformPK", "False")); + TRANSFORM_NPC_ID = ByLekiSettings.getProperty("TransformNPCID", "14040"); + TRANSFORM_NPC_NAME = ByLekiSettings.getProperty("TransformNPCName", "Zombie"); if (L2JMOD_CHAMPION_ENABLE_mxc != 0 && L2JMOD_CHAMPION_ENABLE_mxc != 1 && L2JMOD_CHAMPION_ENABLE_mxc != 2) L2JMOD_CHAMPION_ENABLE_mxc = 0; } catch(Exception e) Index: config/ByLeki/ByLeki.ini =================================================================== --- config/ByLeki/ByLeki.ini (revision 946) +++ config/ByLeki/ByLeki.ini (working copy) @@ -21,7 +24,5 @@ # words to use, between 10 and 16 keys. ######################################## #PK Cleaner NPC ######################################## #Item ID for Cleaning PK PKCleanItemID = 4037 #PK Cleaning price PKCleanPrice = 1 +######################################## +# Tranform PKs +######################################## +#Tranform PK Players? +EnableTransformPK = False +#Tranformation Monster ID +TransformNPCID = 14040 +#Tranform Monster Name +TransformNPCName = Zombie
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now