Es sencillo, solo me ha costado un par de minutos realizar este parche. Con el podreis cambiar el numero de miembros permitidos en una party, por defecto es 9; pero gracias a este parche podeis aumentarlo a 10 por ejemplo.
Eso si, tener en cuenta que no todos tienen una gran pantalla, a partir de los 12 ya no se ven!
Index: java/com/l2jserver/Config.java
===================================================================
--- java/com/l2jserver/Config.java (revision 6513)
+++ java/com/l2jserver/Config.java (working copy)
@@ -1119,6 +1119,12 @@
public static int CHS_FAME_AMOUNT;
public static int CHS_FAME_FREQUENCY;
+ // --------------------------------------------------
+ // Other Settings
+ // --------------------------------------------------
+ // Setting Party
+ public static int MAX_PARTY_MEMBERS;
+
/**
* This class initializes all global variables for configuration.<br>
* If the key doesn't appear in properties file, a default value is set by this class. {@link #CONFIGURATION_FILE} (properties file) for configuring your server.
@@ -2611,6 +2617,7 @@
}
}
L2JMOD_ALLOW_CHANGE_PASSWORD = L2JModSettings.getBoolean("AllowChangePassword", false);
+ MAX_PARTY_MEMBERS = L2JModSettings.getInt("MaxPartyMembers", 10);
// Load PvP L2Properties file (if exists)
final PropertiesParser PVPSettings = new PropertiesParser(PVP_CONFIG_FILE);
Index: java/com/l2jserver/gameserver/network/clientpackets/RequestAnswerJoinParty.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/RequestAnswerJoinParty.java (revision 6513)
+++ java/com/l2jserver/gameserver/network/clientpackets/RequestAnswerJoinParty.java (working copy)
@@ -60,7 +60,7 @@
{
if (requestor.isInParty())
{
- if (requestor.getParty().getMemberCount() >= 9)
+ if (requestor.getParty().getMemberCount() >= Config.MAX_PARTY_MEMBERS)
{
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.PARTY_FULL);
player.sendPacket(sm);
Index: java/com/l2jserver/gameserver/network/clientpackets/RequestJoinParty.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/RequestJoinParty.java (revision 6513)
+++ java/com/l2jserver/gameserver/network/clientpackets/RequestJoinParty.java (working copy)
@@ -168,7 +168,7 @@
requestor.sendPacket(SystemMessageId.ONLY_LEADER_CAN_INVITE);
return;
}
- if (party.getMemberCount() >= 9)
+ if (party.getMemberCount() >= Config.MAX_PARTY_MEMBERS)
{
requestor.sendPacket(SystemMessageId.PARTY_FULL);
return;
Index: L2JMods.properties
===================================================================
--- L2JMods.properties (revision 6513)
+++ L2JMods.properties (working copy)
@@ -481,4 +481,12 @@
# Enables .changepassword voiced command which allows the players to change their account's password ingame.
# Default: False
-AllowChangePassword = False
\ No newline at end of file
+AllowChangePassword = False
+
+
+# ---------------------------------------------------------------------------
+# Other Setting
+# ---------------------------------------------------------------------------
+# Numero de jugadores en una party:
+# Por defecto 9
+MaxPartyMembers = 9
\ No newline at end of file