EdenEternal Posted April 10, 2010 Share Posted April 10, 2010 Patch Index: /trunk/Game/config/main/custom.ini =================================================================== --- /trunk/Game/config/main/custom.ini (revision 357) +++ /trunk/Game/config/main/custom.ini (revision 358) @@ -437,2 +437,9 @@ # Default: True CustomMerchantTables = True + +# --------------------------------------------------------------------------- +# Custom Siege +# --------------------------------------------------------------------------- +# Make Siege Every Week? +# Default: False +SiegeEveryWeek = False Index: /trunk/Game/src/main/java/com/l2open/gameserver/model/entity/Siege.java =================================================================== --- /trunk/Game/src/main/java/com/l2open/gameserver/model/entity/Siege.java (revision 221) +++ /trunk/Game/src/main/java/com/l2open/gameserver/model/entity/Siege.java (revision 358) @@ -1454,5 +1454,5 @@ siegeDate.add(Calendar.DAY_OF_MONTH, 7); } - if (!SevenSigns.getInstance().isDateInSealValidPeriod(siegeDate)) + if (!SevenSigns.getInstance().isDateInSealValidPeriod(siegeDate) && !Config.ALT_SIEGE_EVERY_WEEK) siegeDate.add(Calendar.DAY_OF_MONTH, 7); _isRegistrationOver = false; // Allow registration for next siege Index: /trunk/Game/src/main/java/com/l2open/Config.java =================================================================== --- /trunk/Game/src/main/java/com/l2open/Config.java (revision 323) +++ /trunk/Game/src/main/java/com/l2open/Config.java (revision 358) @@ -2047,4 +2047,5 @@ public static boolean ALLOW_SPECIAL_VOICED_COMMANDS; public static int ALT_SOUL_CRYSTAL_LEVEL_CHANCE; + public static boolean ALT_SIEGE_EVERY_WEEK; // ******************************************************************************************************* @@ -2149,4 +2150,5 @@ ALLOW_SPECIAL_VOICED_COMMANDS = Boolean.parseBoolean(customSettings.getProperty("AllowSpecialVoicedCommands", "False")); ALT_SOUL_CRYSTAL_LEVEL_CHANCE = Integer.parseInt(customSettings.getProperty("AltSoulCrystalLevelChance", "32")); + ALT_SIEGE_EVERY_WEEK = Boolean.parseBoolean(customSettings.getProperty("SiegeEveryWeek", "False")); } catch (Exception e) Quote Link to comment Share on other sites More sharing options...
aivazoglou Posted April 10, 2010 Share Posted April 10, 2010 What's this ? no description, just a [code ] [/code ] 0.0001 line code ? Quote Link to comment Share on other sites More sharing options...
Neo1993k Posted April 10, 2010 Share Posted April 10, 2010 This is code which set-up config siege every week (In retail siege = every 2 week) Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted April 10, 2010 Author Share Posted April 10, 2010 This is code which set-up config siege every week (In retail siege = every 2 week) yes it's true :) Quote Link to comment Share on other sites More sharing options...
panoskouf Posted April 10, 2010 Share Posted April 10, 2010 thanks ,i was looking for that Quote Link to comment Share on other sites More sharing options...
aivazoglou Posted April 10, 2010 Share Posted April 10, 2010 thanks ,i was looking for that Su000re spammer, Anyway.. nice share, but is like crap not either a line :D Quote Link to comment Share on other sites More sharing options...
DominiQue Posted April 10, 2010 Share Posted April 10, 2010 Credits ? I saw this on L2OPEN! Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted April 10, 2010 Author Share Posted April 10, 2010 Credits To L2Open i have forget! Quote Link to comment Share on other sites More sharing options...
Belzebul Posted April 10, 2010 Share Posted April 10, 2010 Credits To L2Open i have forget! sure you did.. Quote Link to comment Share on other sites More sharing options...
Gxz Posted April 10, 2010 Share Posted April 10, 2010 small share but usefull, i will use it thx for sharing and keep up :D Quote Link to comment Share on other sites More sharing options...
livogro Posted April 10, 2010 Share Posted April 10, 2010 thanks, i changed just time. These things some times very useful when u don't know where to look :D Quote Link to comment Share on other sites More sharing options...
panino Posted April 19, 2010 Share Posted April 19, 2010 Thanks usefull . How to change time ? Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted April 20, 2010 Author Share Posted April 20, 2010 Thanks usefull . How to change time ? drom castle table use Search! Quote Link to comment Share on other sites More sharing options...
Matim Posted April 29, 2010 Share Posted April 29, 2010 it dont works for me If it doesn't work for you, you can tell us whats wrong (error logs etc), and than we can help you. Quote Link to comment Share on other sites More sharing options...
Alexi Posted April 30, 2010 Share Posted April 30, 2010 Very nC share i will add it on my project thnx... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.