Jump to content
  • 0

[HELP] me java codes


Question

Posted

Geia sas.!

Exw ena problem me ta java codes. Exw parei merika codes ke dn mporw na ta balw. ;/

prospa8w na balw auto to code alla dn mporw na brw to java/config/l2jmods.properties

(Exw L2J High Five Pack)

Index: java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java	(revision 4420)
+++ java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java	(working copy)
@@ -253,7 +253,7 @@
			return false;
		if (item.isWear())
			return false;
-		if (item.isPvp())
+		if (item.isPvp() && !Config.ALT_ALLOW_REFINE_PVP_ITEM)
			return false;
		if (item.getItem().getCrystalType() < L2Item.CRYSTAL_C)
			return false;
Index: java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java	(revision 4420)
+++ java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java	(working copy)
@@ -67,7 +67,7 @@
			return;
		}

-		if (item.isPvp())
+		if (item.isPvp() && !Config.ALT_ALLOW_REFINE_PVP_ITEM)
		{
			activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_IS_NOT_A_SUITABLE_ITEM));
			return;

Index: java/com/l2jserver/Config.java
===================================================================
--- java/com/l2jserver/Config.java	(revision 4425)
+++ java/com/l2jserver/Config.java	(working copy)
@@ -715,6 +715,7 @@
	public static int L2JMOD_DUALBOX_CHECK_MAX_PLAYERS_PER_IP;
	public static int L2JMOD_DUALBOX_CHECK_MAX_OLYMPIAD_PARTICIPANTS_PER_IP;
	public static TIntIntHashMap L2JMOD_DUALBOX_CHECK_WHITELIST;
+	public static boolean ALT_ALLOW_REFINE_PVP_ITEM;

	//--------------------------------------------------
	// NPC Settings
@@ -2449,6 +2450,7 @@
							}
						}
					}
+					ALT_ALLOW_REFINE_PVP_ITEM = Boolean.parseBoolean(L2JModSettings.getProperty("AltAllowRefinePVPItem", "False"));
				}
				catch (Exception e)
				{
Index: java/config/l2jmods.properties
===================================================================
--- java/config/l2jmods.properties	(revision 4425)
+++ java/config/l2jmods.properties	(working copy)
@@ -418,3 +418,11 @@
# will be 1+2=3. Use 0 or negative value for unlimited number of connections.
# Default: 127.0.0.1,0 (no limits from localhost)
DualboxCheckWhitelist = 127.0.0.1,0
+
+# ---------------------------------------------------------------------------
+# Items
+# ---------------------------------------------------------------------------
+
+# Allows players to refine (augment) PVP items.
+# Default: False
+AltAllowRefinePVPItem = True
\ No newline at end of file

Exw prospa8isei na to brw alla dn mporw me tpt.

sas Dixnw merikes Eikones mpas ke mporesete na me boi8isete... ;/

clip00060002.jpg

clip00070001.jpg

clip000900011.jpg

width=349 height=768http://img696.imageshack.us/img696/5213/clip00090001.jpg[/img]

Mpas ke exw allo eclipse ke mou dixnei allios to pack?

 

15 answers to this question

Recommended Posts

  • 0
Posted

prwta ap'ola an deis exi ena kokkino X pou simeni oti kati paei la8os , 2n mporis na to valis kai alou

+					ALT_ALLOW_REFINE_PVP_ITEM = Boolean.parseBoolean(L2JModSettings.getProperty("AltAllowRefinePVPItem", "False"));

apla alazontas to L2JModSettings se oti alo 8es :)

  • 0
Posted

dn se epiasa... :P

1) sou leei build failed epidi exi ena kokkino X sto java , des

 http://img443.imageshack.us/img443/4209/clip00070001.jpg

2) mporis na to pas se alo arxio , oxi mono sto l2jmods.properties alazontas to apo dw

+ ALT_ALLOW_REFINE_PVP_ITEM = Boolean.parseBoolean(L2JModSettings.getProperty("AltAllowRefinePVPItem", "False"));

  • 0
Posted

1)pws mporw na bgalw auto to x?

2)pou allou mporw na to balw?

1)poli apla exis kati la8os sto code sou

2)se oti alo property exis...

  • 0
Posted

paw na balw auto ke pali x :@

ALT_ALLOW_REFINE_PVP_ITEM = Boolean.parseBoolean(communityServerSettings.getProperty("AltAllowRefinePVPItem", "False"));

aaa xriazete ke to java/config/l2jmods.properties pou 8a to brw?

  • 0
Posted

re stoke pws 8a perasw auto

--- java/config/l2jmods.properties	(revision 4425)
+++ java/config/l2jmods.properties	(working copy)
@@ -418,3 +418,11 @@
# will be 1+2=3. Use 0 or negative value for unlimited number of connections.
# Default: 127.0.0.1,0 (no limits from localhost)
DualboxCheckWhitelist = 127.0.0.1,0
+
+# ---------------------------------------------------------------------------
+# Items
+# ---------------------------------------------------------------------------
+
+# Allows players to refine (augment) PVP items.
+# Default: False
+AltAllowRefinePVPItem = True
\ No newline at end of file

  • 0
Posted

1) sou leei build failed epidi exi ena kokkino X sto java , des

 http://img443.imageshack.us/img443/4209/clip00070001.jpg

2) mporis na to pas se alo arxio , oxi mono sto l2jmods.properties alazontas to apo dw

+ ALT_ALLOW_REFINE_PVP_ITEM = Boolean.parseBoolean(L2JModSettings.getProperty("AltAllowRefinePVPItem", "False"));

zwo diavase

  • 0
Posted

Όπου έχεις αυτό:

	if (item.isPvp() && !Config.ALT_ALLOW_REFINE_PVP_ITEM)
			return false;

Η αυτό:

	if (item.isPvp()
			return false;

 

Σβήσε τα τελείως (Δηλαδή σβήσε τελείως αυτές τις γραμμές). Αν δεν κατάλαβες τι εννοώ τότε δεν μπορώ να κάνω κάτι άλλο.

Είναι η ευκολότερη λύση.

 

  • 0
Posted

ne dn to exei pws 8a to perasw?

re file sou eksigo oti dn xriazete na vris afto to arxio , to pernas se alo , px sto other.properties

 

sto gameserver config den exi katholou afto  l2jmods.properties

exw apantisi idi

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

    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • 🚀 IronLock Shield - Closed Beta Update Hello everyone, Since our first announcement, IronLock Shield has received several major protection upgrades. IronLock Shield is a security platform developed specifically for Lineage II Interlude servers, focused on launcher integrity, runtime protection, session security, and anti-bot hardening. Current protection features: ✓ Secure Launcher Architecture ✓ HWID-Based Licensing ✓ Signed Launcher Session System ✓ Gateway Session Verification ✓ Automatic Session Revoke on Critical Detection ✓ Replay Protection with Nonce Validation ✓ Runtime Integrity Verification ✓ Secure Update System Client-side protections: ✓ Anti-Debug Protection ✓ Anti-Dump Protection ✓ DLL Injection Detection ✓ Manual Map Detection ✓ Remote Thread Detection ✓ Runtime Patch Detection ✓ Suspicious Handle Detection ✓ Memory Read / Write Guard ✓ Strict DLL Hash / Allowlist Control ✓ Launcher Self-Protection ✓ Watchdog Protection Bot and automation hardening: ✓ Adrenaline / Memory Reader Hardening ✓ Runtime Decoy Memory Regions ✓ Fake Pointer-Chain / Offset Noise ✓ Per-Build Mutation System ✓ Pointer Scan Disruption ✓ Virtual Keyboard Input Detection ✓ Hookless Virtual Mouse Click Detection ✓ Raw Input Based Mouse Verification Server and gateway security: ✓ Signed Launcher-to-Server Requests ✓ Build ID Binding ✓ HWID Binding ✓ IP / Session Binding ✓ Expired Session Blocking ✓ Revoked Session Blocking ✓ Gateway Runtime Session Checks ✓ Critical Detection Reporting Panel Recent improvements: ✓ Improved protection against memory-reading bots ✓ Added decoy pointer-chain memory traps ✓ Added per-build mutation data ✓ Added stricter process handle policy ✓ Added hookless virtual mouse click detection ✓ Improved watchdog stability to reduce false positives ✓ Improved session revoke logic for critical detections ✓ Updated website and protection feature list IronLock Shield is currently in closed beta. Selected Lineage II Interlude server owners can receive 1 month of free access in exchange for testing and feedback. Website: https://ilshield.com If you are interested, feel free to send me a private message or contact me through Discord. Thank you.
    • Contacts for communication. Telegram https://t.me/a_dvertising_man Telegram short link @a_dvertising_man   Delta Chat https://i.delta.chat/#11D46642C67CF6BDD4BD6430EB8AE99106CC54D7&v=3&i=u1npSLMZpUfcnWi5FGHNBn-1&s=GjBgI7oXKcuCXGl1acvt0tcp&a=p2norrc0e%40nine.testrun.org&n=advertisingman Hello. I participate in "forum deal" in role middleman. Paid services in graphic design,garant service(https link to profile) is provided only from buyer. Please write me in messenger for contact who are you by nationality and in which country you live.   I will not conduct deals with buyers and sellers from Ukraine. I do not cooperate with country Ukraine. If you Ukrainian by nationality or live in Ukraine,ignore this topic. If you other nationality: paid service from garant service buyer pays using own money.   Garant service(https link to profile) provided only from buyer. Buyer provides address guarantor service(https link to profile) or multiple addresses guarantors services. If seller don't like this garant service address(seller may doubt whether he will receive money from this garant service),then buyer offers another address garant service or multiple addresses guarantors services. If neither address seller doesn't like,then buyer is leaving from me.   Buyer deposits full amount to payment details guarantor service, plus my commission(my percent above amount for service in graphic design). In "forum questionnaire" buyer writes: payment details from seller,payment details seller i will send to buyer in advance via messenger.   Paid creation avatar and banner(price depends from complexity work). Paid creation visuals for music releases,for promo art(price depends from complexity work). Original posters using stock images(price depends from complexity work). Design for social media:covers,previews(price depends from complexity work). Other paid services in graphic design(price depends from complexity work).  
  • 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..