I made some 'config" files and applied to a fresh build epilogue...but no success to work :D. Actually nothing happen after starting server and am on lvl 0,1 on java so don't laugh to much about my config files :).If anyone have time to remake what is wrong or to help a little will be very nice for all of newbie out here :P...:
\ No newline at end of file
Index: java/com/l2jserver/Config.java
===================================================================
--- java/com/l2jserver/Config.java (revision 4059)
+++ java/com/l2jserver/Config.java (working copy)
@@ -583,6 +572,51 @@
//--------------------------------------------------
// L2JMods Settings
//--------------------------------------------------
+
+ public static boolean DM_ALLOWED;
+ public static int DM_MIN_PLAYER;
+ public static int DM_MAX_PARTICIPANT;
+ public static int DM_MIN_LVL;
+ public static int DM_MAX_LVL;
+ public static int DM_REWARD_ID;
+ public static int DM_REWARD_COUNT;
+ public static long DM_DELAY_INITIAL_REGISTRATION;
+ public static int DM_REGISTRATION_ANNOUNCEMENT_COUNT;
+ public static long DM_REGISTRATION_LENGHT;
+ public static long DM_PREPARATION_LENGHT;
+ public static long DM_EVENT_LENGHT;
+ public static long DM_ENDING_LENGHT;
+ public static long DM_DELAY_BETWEEN_EVENTS;
+ public static boolean DM_RECOVER_ONSTART;
+ public static int DM_REVIVE_DELAY;
+ public static boolean DM_REGISTER_AFTER_RELOG;
+ public static boolean DM_REG_CANCEL;
+ public static boolean DM_HERO_JOIN;
+ public static boolean DM_CWOWNER_JOIN;
+ public static String DISALLOWED_ITEMS;
+ public static List<Integer> DM_DISALLOWED_ITEMS = new ArrayList<Integer>();
+ public static boolean DM_CANCEL_PARTY_ONSTART;
+ public static boolean DM_CANCEL_BUFF_ONSTART;
+ public static boolean DM_CANCEL_CUBIC_ONSTART;
+ public static boolean DM_UNSUMMON_PET_ONSTART;
+ public static boolean DM_CANCEL_TRANSFORM_ONSTART;
+ public static int DM_LOCX1;
+ public static int DM_LOCY1;
+ public static int DM_LOCZ1;
+ public static int DM_LOCX2;
+ public static int DM_LOCY2;
+ public static int DM_LOCZ2;
+ public static int DM_RANDOM_RESPAWN1_X;
+ public static int DM_RANDOM_RESPAWN1_Y;
+ public static int DM_RANDOM_RESPAWN1_Z;
+ public static int DM_RANDOM_RESPAWN2_X;
+ public static int DM_RANDOM_RESPAWN2_Y;
+ public static int DM_RANDOM_RESPAWN2_Z;
+ public static int DM_TELE_BACK_X;
+ public static int DM_TELE_BACK_Y;
+ public static int DM_TELE_BACK_Z;
+
+
public static boolean L2JMOD_CHAMPION_ENABLE;
public static boolean L2JMOD_CHAMPION_PASSIVE;
public static int L2JMOD_CHAMPION_FREQUENCY;
@@ -1976,6 +2010,54 @@
L2Properties L2JModSettings = new L2Properties();
is = new FileInputStream(new File(L2JMOD_CONFIG_FILE));
L2JModSettings.load(is);
+
+
+ DM_ALLOWED = Boolean.parseBoolean(L2JModSettings.getProperty("DMAllowed", "true"));
+ DM_MIN_PLAYER = Integer.parseInt(L2JModSettings.getProperty("DMMinPlayer", "2"));
+ DM_MAX_PARTICIPANT = Integer.parseInt(L2JModSettings.getProperty("DMMaxParticipant", "80"));
+ DM_MIN_LVL = (byte)Integer.parseInt(L2JModSettings.getProperty("DMMinLevel", "85"));
+ DM_MAX_LVL = (byte)Integer.parseInt(L2JModSettings.getProperty("DMMaxLevel", "85"));
+ DM_REWARD_ID = Integer.parseInt(L2JModSettings.getProperty("DMRewardID", "6393"));
+ DM_REWARD_COUNT = Integer.parseInt(L2JModSettings.getProperty("DMRewardCount", "1"));
+ DM_DELAY_INITIAL_REGISTRATION = Integer.parseInt(L2JModSettings.getProperty("DMInitialRegistration", "3600"));
+ DM_REGISTRATION_ANNOUNCEMENT_COUNT = Integer.parseInt(L2JModSettings.getProperty("DMRegAnnCount", "3600"));
+ DM_REGISTRATION_LENGHT = Long.parseLong(L2JModSettings.getProperty("DMRegLenght","3600"));
+ DM_PREPARATION_LENGHT = Long.parseLong(L2JModSettings.getProperty("DMPrepLenght","3600"));
+ DM_EVENT_LENGHT = Long.parseLong(L2JModSettings.getProperty("DMEventLenght","3600"));
+ DM_ENDING_LENGHT = Long.parseLong(L2JModSettings.getProperty("DMEndingLenght","3600"));
+ DM_DELAY_BETWEEN_EVENTS = Long.parseLong(L2JModSettings.getProperty("DMDelayBetweenEvents","3600"));
+ DM_RECOVER_ONSTART = Boolean.parseBoolean(L2JModSettings.getProperty("DMRecover", "true"));
+ DM_REVIVE_DELAY = Integer.parseInt(L2JModSettings.getProperty("DMReviveDelay", "10"));
+ DM_REGISTER_AFTER_RELOG = Boolean.parseBoolean(L2JModSettings.getProperty("DMRegAfterRelog", "false"));
+ DM_REG_CANCEL = Boolean.parseBoolean(L2JModSettings.getProperty("DMRegCancel", "true"));
+ DM_HERO_JOIN = Boolean.parseBoolean(L2JModSettings.getProperty("DMHeroJoin", "true"));
+ DM_CWOWNER_JOIN = Boolean.parseBoolean(L2JModSettings.getProperty("DMCursedAllowed", "true"));
+ DISALLOWED_ITEMS = L2JModSettings.getProperty("DisallowedItems", "0");
+ DM_DISALLOWED_ITEMS = new FastList<Integer>();
+ for (String id : DISALLOWED_ITEMS.split(","))
+ {
+ DM_DISALLOWED_ITEMS.add(Integer.parseInt(id));
+ }
+ DM_CANCEL_PARTY_ONSTART = Boolean.parseBoolean(L2JModSettings.getProperty("DMCancelParty", "true"));
+ DM_CANCEL_BUFF_ONSTART = Boolean.parseBoolean(L2JModSettings.getProperty("DMCancelBuff", "true"));
+ DM_CANCEL_CUBIC_ONSTART = Boolean.parseBoolean(L2JModSettings.getProperty("DMCancelCubic", "true"));
+ DM_UNSUMMON_PET_ONSTART = Boolean.parseBoolean(L2JModSettings.getProperty("DMUnsummonPet", "true"));
+ DM_CANCEL_TRANSFORM_ONSTART = Boolean.parseBoolean(L2JModSettings.getProperty("DMCancelTransform", "true"));
+ DM_LOCX1 = Integer.parseInt(L2JModSettings.getProperty("LocX1", "0"));
+ DM_LOCY1 = Integer.parseInt(L2JModSettings.getProperty("LocY1", "0"));
+ DM_LOCZ1 = Integer.parseInt(L2JModSettings.getProperty("LocZ1", "0"));
+ DM_LOCX2 = Integer.parseInt(L2JModSettings.getProperty("LocX2", "0"));
+ DM_LOCY2 = Integer.parseInt(L2JModSettings.getProperty("LocY2", "0"));
+ DM_LOCZ2 = Integer.parseInt(L2JModSettings.getProperty("LocZ2", "0"));
+ DM_RANDOM_RESPAWN1_X = Integer.parseInt(L2JModSettings.getProperty("Respawn1X", "0"));
+ DM_RANDOM_RESPAWN1_Y = Integer.parseInt(L2JModSettings.getProperty("Respawn1Y", "0"));
+ DM_RANDOM_RESPAWN1_Z = Integer.parseInt(L2JModSettings.getProperty("Respawn1Z", "0"));
+ DM_RANDOM_RESPAWN2_X = Integer.parseInt(L2JModSettings.getProperty("Respawn2X", "0"));
+ DM_RANDOM_RESPAWN2_Y = Integer.parseInt(L2JModSettings.getProperty("Respawn2Y", "0"));
+ DM_RANDOM_RESPAWN2_Z = Integer.parseInt(L2JModSettings.getProperty("Respawn2Z", "0"));
+ DM_TELE_BACK_X = Integer.parseInt(L2JModSettings.getProperty("TeleBackX", "0"));
+ DM_TELE_BACK_Y = Integer.parseInt(L2JModSettings.getProperty("TeleBackY", "0"));
+ DM_TELE_BACK_Z = Integer.parseInt(L2JModSettings.getProperty("TeleBackZ", "0"));
L2JMOD_CHAMPION_ENABLE = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionEnable", "false"));
L2JMOD_CHAMPION_PASSIVE = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionPassive", "false"));
@@ -2815,7 +2897,30 @@
else if (pName.equalsIgnoreCase("AltMembersCanWithdrawFromClanWH")) ALT_MEMBERS_CAN_WITHDRAW_FROM_CLANWH = Boolean.parseBoolean(pValue);
else if (pName.equalsIgnoreCase("DwarfRecipeLimit")) DWARF_RECIPE_LIMIT = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("CommonRecipeLimit")) COMMON_RECIPE_LIMIT = Integer.parseInt(pValue);
+
+
+
+ else if (pName.equalsIgnoreCase("DMAllowed")) DM_ALLOWED = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMInitialRegistration")) DM_DELAY_INITIAL_REGISTRATION = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("DMRegAnnCount")) DM_REGISTRATION_ANNOUNCEMENT_COUNT = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("DMRegLenght")) DM_REGISTRATION_LENGHT = Long.parseLong(pValue);
+ else if (pName.equalsIgnoreCase("DMPrepLenght")) DM_PREPARATION_LENGHT = Long.parseLong(pValue);
+ else if (pName.equalsIgnoreCase("DMEventLenght")) DM_EVENT_LENGHT = Long.parseLong(pValue);
+ else if (pName.equalsIgnoreCase("DMEndingLenght")) DM_ENDING_LENGHT = Long.parseLong(pValue);
+ else if (pName.equalsIgnoreCase("DMDelayBetweenEvents")) DM_DELAY_BETWEEN_EVENTS = Long.parseLong(pValue);
+ else if (pName.equalsIgnoreCase("DMRecover")) DM_RECOVER_ONSTART = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMReviveDelay")) DM_REVIVE_DELAY = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("DMRegAfterRelog")) DM_REGISTER_AFTER_RELOG = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMRegCancel")) DM_REG_CANCEL = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMHeroJoin")) DM_HERO_JOIN = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMCursedAllowed")) DM_CWOWNER_JOIN = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMCancelParty")) DM_CANCEL_PARTY_ONSTART = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMCancelBuff")) DM_CANCEL_BUFF_ONSTART = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMCancelCubic")) DM_CANCEL_CUBIC_ONSTART = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMUnsummonPet")) DM_UNSUMMON_PET_ONSTART = Boolean.parseBoolean(pValue);
+ else if (pName.equalsIgnoreCase("DMCancelTransform")) DM_CANCEL_TRANSFORM_ONSTART = Boolean.parseBoolean(pValue);
+
else if (pName.equalsIgnoreCase("ChampionEnable")) L2JMOD_CHAMPION_ENABLE = Boolean.parseBoolean(pValue);
else if (pName.equalsIgnoreCase("ChampionFrequency")) L2JMOD_CHAMPION_FREQUENCY = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("ChampionMinLevel")) L2JMOD_CHAMP_MIN_LVL = Integer.parseInt(pValue);
Index: java/config/l2jmods.properties
===================================================================
--- java/config/l2jmods.properties (revision 4059)
+++ java/config/l2jmods.properties (working copy)
@@ -1,7 +1,52 @@
# ---------------------------------------------------------------------------
# L2JMODS - non-retail-like systems that have been integrated into the L2J project.
# Be warned that there may be no support for these mods beyond the original author's assistance.
+
# ---------------------------------------------------------------------------
+# DeathMatch Event Config
+# ---------------------------------------------------------------------------
+DMAllowed = True
+DMMinPlayer = 2
+DMMaxParticipant = 80
+DMMinLevel = 85
+DMMaxLevel = 85
+DMRewardID = 6393
+DMRewardCount = 100
+DMInitialRegistration = 3600
+DMRegAnnCount = 3600
+DMRegLenght = 3600
+DMEventLenght = 3600
+DMDelayBetweenEvents = 3600
+DMRecover = True
+DMReviveDelay = 10
+DMRegAfterRelog = True
+DMRegCancel = True
+DMHeroJoin = True
+DMCursedAllowed = True
+DisallowedItems = 0
+DMCancelParty = True
+DMCancelBuff = True
+DMCancelCubic = True
+DMUnsummonPet = True
+DMCancelTransform = True
+LocX1 = 0
+LocY1 = 0
+LocZ1 = 0
+LocX2 = 0
+LocY2 = 0
+LocZ2 = 0
+Respawn1X = 0
+Respawn1Y = 0
+Respawn1Z = 0
+Respawn2X = 0
+Respawn2Y = 0
+Respawn2Z = 0
+TeleBackX = 0
+TeleBackY = 0
+TeleBackZ = 0
+
+
+# ---------------------------------------------------------------------------
# Champion mobs - Turn random mobs into Champions
# ---------------------------------------------------------------------------
# Enable/Disable Champion Mob System.
ty for the first version..