Jump to content

Recommended Posts

Posted

Hello. This share includes nothing special and amazing but this one will be funny for gameplay.

Please don't judge me...

PK Players will transform to monsters till they will have karma(tranformation can be seen only by other players)

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		

Posted

Lol.

 

Where you see the problem?

 

Quote from: Finito

You can now give karma to anything you like(a simple share, a helpful answer[The person who does the request], and even more than 1 karma in a topic)

Posted

Where you see the problem?

 

 

I used an abbreviation of the Internet "Lol", can I ask you the same question?

 

Don't worry, I do not want to quarrel.

Posted

I used an abbreviation of the Internet "Lol", can I ask you the same question?

 

Don't worry, I do not want to quarrel.

 

i dont have any problem man Rules for Karma are changed i dont care for a pixel :) i just making my own shares to help some people about l2 Thanks.

Posted

i dont have any problem man Rules for Karma are changed i dont care for a pixel :) i just making my own shares to help some people about l2 Thanks.

 

Sure, no problem, keep up. I apologize if I am wrong somewhere. <_< I was surprised.

Guest Elfocrash
Posted

Wow man! Probably the best share in the section! You deserve your title!

+1 karma for this amazing share!

Guest
This topic is now closed to further replies.



  • Posts

    • "If you’re not on the internet, you don’t exist." — Bill Gates And to be on the internet, you need to be visible. In 2025, SMM is not just advertising. It’s a systematic process that makes your brand noticeable, recognizable, and in demand. Every day, millions of posts are created across social media and content platforms. If you don’t claim your spot in this stream, your project will simply vanish in the noise. SMM means: ➡ Constant growth of followers, likes, and comments ➡ Increasing reach and engagement ➡ Presence on all key platforms ➡ Driving targeted traffic to your website or app ➡ Building brand image and audience trust Doing all this manually is time-consuming and expensive. That’s why we created the SocNet SMM Panel — a convenient, fast, and powerful tool that automates promotion across top platforms. Use our SMM Panel to boost and promote on Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, TikTok, Trust Pilot, Apple Music, Tripadvisor, Snapchat, and more. Followers, likes, views, reposts, listens, viewers, reactions, comments — all in one place, without complex setup or extra costs. Get $1 for your first trial launch: Simply create a ticket with the subject “Get Trial Bonus” on our website (Support) ➡ Go to SMM Panel (clickable) or via support in the bot How to order: ➡ SMM Panel: Click - promotion for your social media accounts. ➡ SMM Panel directly inside our Telegram bot: Click (Menu ➡ SMM Panel) Our digital goods store: ➡ Online Store: Click ➡ Telegram Bot: Click Regular customers get extra discounts and promo codes! Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Discord: socnet_support ➡ Discord Server: https://discord.gg/y9AStFFsrh ➡ ✉ Email: solomonbog@socnet.store You can also use these contacts to: — Consult on wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — store of digital goods and premium subscriptions
    • can you give me please on pm his telegram ?   
    • Hello, I need support i cannot pay for smart-guard.eu smartguard protection, there is no payment button, i tried to add a new product, or buy it as new even with new email, there is no payment button, i tried to reach riotta on skype or akumu but i have no contacts for akumu, please help.
    • Looking for full patch for this server (ALL accessories, cloaks, weapons needed) - Price MINIMUM $50
  • 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