Jump to content

Recommended Posts

Posted

Το παρακάτω share είναι παλιό (ίσως να μην κάνει Apply αλλά manually μπορείτε να το κάνετε) και απαιτεί τροποποίηση των sources. Σχετικούς οδηγούς για Compile μπορείτε να βρείτε στο συγκεκριμένο Section. Τα πράγματα είναι πολύ απλά, αφαιρούμε ένα check στον core που αφορά την πρόσβαση στα Blacksmith & Merchant of Mammon από παίκτες που δεν είναι εγγεγραμένοι στο Seven Signs ώστε να τα κάνετε ακόμα και Spawn όπου θελήσετε. Δυστυχώς δεν χρησιμοποιώ L2J πλέον άρα δεν μπορώ να κάνω update το patch.

 

Index: java/net/sf/l2j/gameserver/model/actor/L2Npc.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/L2Npc.java	(revision 2904)
+++ java/net/sf/l2j/gameserver/model/actor/L2Npc.java	(working copy)
@@ -2268,47 +2268,9 @@
				filename += "blkmrkt_1.htm";
				break;
			case 31113: // Merchant of Mammon
-				switch (compWinner)
-				{
-					case SevenSigns.CABAL_DAWN:
-						if (playerCabal != compWinner || playerCabal != sealAvariceOwner)
-						{
-							player.sendPacket(new SystemMessage(SystemMessageId.CAN_BE_USED_BY_DAWN));
-							player.sendPacket(ActionFailed.STATIC_PACKET);
-							return;
-						}
-						break;
-					case SevenSigns.CABAL_DUSK:
-						if (playerCabal != compWinner || playerCabal != sealAvariceOwner)
-						{
-							player.sendPacket(new SystemMessage(SystemMessageId.CAN_BE_USED_BY_DUSK));
-							player.sendPacket(ActionFailed.STATIC_PACKET);
-							return;
-						}
-						break;
-				}
				filename += "mammmerch_1.htm";
				break;
			case 31126: // Blacksmith of Mammon
-				switch (compWinner)
-				{
-					case SevenSigns.CABAL_DAWN:
-						if (playerCabal != compWinner || playerCabal != sealGnosisOwner)
-						{
-							player.sendPacket(new SystemMessage(SystemMessageId.CAN_BE_USED_BY_DAWN));
-							player.sendPacket(ActionFailed.STATIC_PACKET);
-							return;
-						}
-						break;
-					case SevenSigns.CABAL_DUSK:
-						if (playerCabal != compWinner || playerCabal != sealGnosisOwner)
-						{
-							player.sendPacket(new SystemMessage(SystemMessageId.CAN_BE_USED_BY_DUSK));
-							player.sendPacket(ActionFailed.STATIC_PACKET);
-							return;
-						}
-						break;
-				}
				filename += "mammblack_1.htm";
				break;
			case 31132:

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...