Jump to content

Recommended Posts

Posted

Hi!

 

Guide is really good but can you please tell me becuase

http://svn.assembla.com/svn/L2J-Archid

doesn't work anymore ;(

RA layer request failed
svn: Server sent unexpected return value (405 Method Not Allowed) in response to PROPFIND request for '/svn/L2J-Archid'

 

Is there other way to get Ready L2J-Archid file trhat i just need to add to DB set rates and connection and lauch ?

Posted

the whole thing is.... hmm anyone can tell me he svn from the L2J Gracia Final?? Only L2J not L2J-Free Neither L2J-BRASIL plz i am in grat need!!!

 

I can hardly understand you, but take a look at branch folder from svn.

Posted

i have 1 question what to do with l2j server? lol same question for only l2j java server.

wait i dont understand what to do next if i compile or something then i want to add something in this site all are for java things like pvp rewards and something like that how to add that things?? and where to add?

Posted

Next person which I can hardly understand.

 

1. Add your codes

 

2. Compile

 

3. Replace compiled files

 

4. If you wish to add another code in future - repeat these steps.

Posted

yeah where add codes? :D

Index: D:/Aqua/mid-core/config/pvp.properties
===================================================================
--- D:/Aqua/mid-core/config/pvp.properties	(revision 5153)
+++ D:/Aqua/mid-core/config/pvp.properties	(working copy)
@@ -41,4 +41,29 @@
# Length one stays in PvP mode after hitting a purple player (in ms)
PvPVsPvPTime = 60000

-CursedWeaponNpcInteract = False
\ No newline at end of file
+CursedWeaponNpcInteract = False
+
+# -------------------------------------------------------------
+# Costum PVP/PK settings
+# -------------------------------------------------------------
+# Costum pvp/pk message
+# after pvp: "Good fight,enemy pwned:)"
+# after pk: "Nice kill!You are so dangerous!"
+AllowCostumPvPMessage = True
+# Pvp reward system
+AllowPvpRewardSystem = False
+# Pvp reward itemId
+PvpRewardItem = 57
+# Pvp reward amount
+PvpRewardAmount = 1
+# Pk reward system
+AllowPkRewardSystem = False
+# Pk reward itemId
+PkRewardItem = 57
+# Pk reward amount
+PkRewardAmount = 1
+# Allow the default PK system(+1 pk,+karma)
+UseDefaultSystem = True
+# Allow costum pk system (pvp point for pk,no karma)
+# UseDefaultSystem need to be False!
+UseCostumSystem = False
\ No newline at end of file
Index: D:/Aqua/mid-core/src/main/java/com/l2jfree/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- D:/Aqua/mid-core/src/main/java/com/l2jfree/gameserver/model/actor/instance/L2PcInstance.java	(revision 5153)
+++ D:/Aqua/mid-core/src/main/java/com/l2jfree/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -5325,7 +5325,16 @@

		// Add karma to attacker and increase its PK counter
		setPvpKills(getPvpKills() + 1);
-
+		if(Config.ALLOW_PVP_REWARD)
+		{
+			// Item Reward system
+			addItem("Loot", Config.PVP_REWARD_ITEM, Config.PVP_REWARD_COUNT, this, true);
+			sendMessage("You will be rewarded for pvp kill!");
+		}
+		if(Config.COSTUM_MSG_ALLOWED)
+		{
+			sendMessage("Good fight,enemy pwned:)");
+		}
		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
	}
@@ -5380,9 +5389,25 @@
			newKarma = Integer.MAX_VALUE - getKarma();

		// Add karma to attacker and increase its PK counter
-		setPkKills(getPkKills() + 1);
-		setKarma(getKarma() + newKarma);
-
+		if(Config.DEFAULT_PK_SYSTEM)
+		{
+			setPkKills(getPkKills() + 1);
+			setKarma(getKarma() + newKarma);
+		}
+		if(Config.COSTUM_PK_SYSTEM)
+		{
+			setPvpKills(getPvpKills() + 1);
+		}
+		if(Config.ALLOW_PK_REWARD)
+		{
+			// Item Reward system
+			addItem("Loot", Config.PK_REWARD_ITEM, Config.PK_REWARD_COUNT, this, true);
+			sendMessage("You will be rewarded for pk kill!");
+		}
+		if(Config.COSTUM_MSG_ALLOWED)
+		{
+			sendMessage("Nice kill!You are so dangerous!");
+		}
		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
	}
Index: D:/Aqua/mid-core/src/main/java/com/l2jfree/Config.java
===================================================================
--- D:/Aqua/mid-core/src/main/java/com/l2jfree/Config.java	(revision 5153)
+++ D:/Aqua/mid-core/src/main/java/com/l2jfree/Config.java	(working copy)
@@ -689,6 +689,16 @@
	public static int				PVP_PVP_TIME;														// Duration (in ms) while a player stay in PVP mode
	// after hitting a purple player
	public static boolean			CURSED_WEAPON_NPC_INTERACT;
+	
+	public static boolean			COSTUM_MSG_ALLOWED;
+	public static boolean			ALLOW_PVP_REWARD;
+	public static int				PVP_REWARD_ITEM;
+	public static int				PVP_REWARD_COUNT;
+	public static boolean			ALLOW_PK_REWARD;
+	public static int				PK_REWARD_ITEM;
+	public static int				PK_REWARD_COUNT;
+	public static boolean			DEFAULT_PK_SYSTEM;
+	public static boolean			COSTUM_PK_SYSTEM;

	// *******************************************************************************************
	public static void loadPvpConfig()
@@ -732,6 +742,18 @@
			PVP_PVP_TIME = Integer.parseInt(pvpSettings.getProperty("PvPVsPvPTime", "60000"));
			PVP_TIME = PVP_NORMAL_TIME;
			CURSED_WEAPON_NPC_INTERACT = Boolean.parseBoolean(pvpSettings.getProperty("CursedWeaponNpcInteract", "false"));
+			
+			//Costum PVP/PK Message - Start
+			COSTUM_MSG_ALLOWED = Boolean.parseBoolean(IntrepidSettings.getProperty("AllowCostumPvPMessage", "True"));
+			ALLOW_PVP_REWARD = Boolean.parseBoolean(IntrepidSettings.getProperty("AllowPvpRewardSystem", "False"));
+			PVP_REWARD_ITEM = Integer.parseInt(IntrepidSettings.getProperty("PvpRewardItem", "57"));
+			PVP_REWARD_COUNT = Integer.parseInt(IntrepidSettings.getProperty("PvpRewardAmount", "1"));
+			ALLOW_PK_REWARD = Boolean.parseBoolean(IntrepidSettings.getProperty("AllowPkRewardSystem", "False"));
+			PK_REWARD_ITEM = Integer.parseInt(IntrepidSettings.getProperty("PkRewardItem", "57"));
+			PK_REWARD_COUNT = Integer.parseInt(IntrepidSettings.getProperty("PkRewardAmount", "1"));
+			DEFAULT_PK_SYSTEM = Boolean.parseBoolean(IntrepidSettings.getProperty("UseDefaultSystem", "True"));
+			COSTUM_PK_SYSTEM = Boolean.parseBoolean(IntrepidSettings.getProperty("UseCostumSystem", "False"));
+			//Costum PVP/PK Message - End

		}
		catch (Exception e)

 

please i want it very much explain where add this code then how to compile (i think i know how to do that) and then i think i know where files will be but just say anyways its just 1 problem i have compiled other version of server i have l2j and i have compiled OFF l2j i think :D

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

    • I had friends who played on Elegant and I can confirm it wasn't a bad server. I don't know about the AI bots running around, but in my opinion the price is simply too high. I don't think many people will spend that much money on Lineage 2 files when alternatives like L2Scripts already exist.   Of course it's all about personal preference, but for such an old chronicle the price seems ridiculously expensive. Modern chronicles usually offer more value.   Anyway, I wish you the best of luck with the sale. This is just my personal opinion. Whoever likes it, good for them, and whoever doesn't, that's fine too. Everyone has different preferences.
    • https://l2avokado.com/ Hello everyone,   After some time of development, we've decided to open L2Avokado to the public in its current development stage. We're looking for players who enjoy Interlude and would like to help shape the project before its official release.   This isn't a "launch" announcement. Instead, we're inviting the community to log in, explore the server, test the systems we've built, and provide honest feedback. Whether it's bug reports, balance suggestions, progression ideas, or quality-of-life improvements, we'd love to hear them.   Our goal has always been to create an Interlude server that feels familiar while offering a fresh progression experience. We've intentionally avoided custom weapons, armor, and client modifications. Instead, we've focused on redesigning progression through reworked hunting grounds, quests, crafting, and gameplay systems while remaining compatible with a clean Interlude client.   At this stage, the core progression path has been implemented, including the main hunting grounds, quests, custom systems, and events. However, as the project is still under active development, there will inevitably be bugs, balance issues, and areas that require further polishing.   This is exactly why we'd like your help.   We're looking for players who are willing to: Test gameplay and progression. Report bugs and exploits. Suggest balance improvements. Share ideas for new features or quality-of-life changes. Help us build a server that the community genuinely enjoys playing.   The Client and System downloads are already available on our website, so you can jump straight into the game. We're also working on a dedicated launcher that will simplify installation and future updates.   If you're interested in helping develop a unique Interlude project and want your feedback to genuinely influence the direction of the server, we'd love to have you with us.   We look forward to seeing you in-game and hearing your thoughts on Discord. https://l2avokado.com/
    • Mate your server used to play with full of bots, from where you find that revenue? 
  • 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..