Jump to content

Pamela32

Banned
  • Posts

    532
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Pamela32

  1. Hello every1 I need your opinion for these features low mid rate 15-40 xp extreme low enchant rates like 15-30% and max enchant +6 no safe enchant no mana potions re work buff resists % and re use of all skills buffer with all buffs and gm shop up to S no custom item no custom zones nothing costum all retail like Interlude
  2. since years i was player there , was a fail copy , i m not sure about now :P
  3. L2 WarGate is a Professional Gracia Final Client PvP Server with 3+ years work of under high development. 1001231213221 years :P
  4. i cant do this :/ so many days and many tests i cant undestand how its working exacly.
  5. check about spawm cords , and go at same place and set new cords try this , i m not sure about this.
  6. change pack man ... :/
  7. change pack ? what pack u use?
  8. as i see i have to set validation at least 6 hours . if some1 can give me an example , about daily olympiad period.
  9. Para poder configurar las olimpiadas a vuestro gusto, creado por Pandragon. ### Eclipse Workspace Patch 1.0 #P L2J_Server_BETA Index: java/com/l2jserver/Config.java =================================================================== --- java/com/l2jserver/Config.java (revision 6469) +++ java/com/l2jserver/Config.java (working copy) @@ -599,6 +599,9 @@ public static List<Integer> LIST_OLY_RESTRICTED_ITEMS; public static int ALT_OLY_ENCHANT_LIMIT; public static int ALT_OLY_WAIT_TIME; + public static boolean ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS; + public static String ALT_OLY_PERIOD; + public static int ALT_OLY_PERIOD_MULTIPLIER; public static int ALT_MANOR_REFRESH_TIME; public static int ALT_MANOR_REFRESH_MIN; public static int ALT_MANOR_APPROVE_TIME; @@ -2683,6 +2686,9 @@ } ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1); ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 120); + ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS = Olympiad.getBoolean("AltOlyUseCustomPeriodSettings", false); + ALT_OLY_PERIOD = Olympiad.getString("AltOlyPeriod", "MONTH"); + ALT_OLY_PERIOD_MULTIPLIER = Olympiad.getInt("AltOlyPeriodMultiplier", 1); final File hexIdFile = new File(HEXID_FILE); if (hexIdFile.exists()) Index: java/com/l2jserver/gameserver/model/olympiad/Olympiad.java =================================================================== --- java/com/l2jserver/gameserver/model/olympiad/Olympiad.java (revision 6469) +++ java/com/l2jserver/gameserver/model/olympiad/Olympiad.java (working copy) @@ -584,6 +584,12 @@ protected void setNewOlympiadEnd() { + if (Config.ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS) + { + setNewOlympiadEndCustom(); + return; + } + SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.OLYMPIAD_PERIOD_S1_HAS_STARTED); sm.addInt(_currentCycle); @@ -603,6 +609,70 @@ scheduleWeeklyChange(); } + protected void setNewOlympiadEndCustom() + { + SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.OLYMPIAD_PERIOD_S1_HAS_STARTED); + sm.addInt(_currentCycle); + + Announcements.getInstance().announceToAll(sm); + + Calendar currentTime = Calendar.getInstance(); + currentTime.set(Calendar.AM_PM, Calendar.AM); + currentTime.set(Calendar.HOUR, 12); + currentTime.set(Calendar.MINUTE, 0); + currentTime.set(Calendar.SECOND, 0); + + Calendar nextChange = Calendar.getInstance(); + + switch (Config.ALT_OLY_PERIOD) + { + case "DAY": + { + currentTime.add(Calendar.DAY_OF_MONTH, Config.ALT_OLY_PERIOD_MULTIPLIER); + currentTime.add(Calendar.DAY_OF_MONTH, -1); // last day is for validation + + if (Config.ALT_OLY_PERIOD_MULTIPLIER >= 14) + { + _nextWeeklyChange = nextChange.getTimeInMillis() + WEEKLY_PERIOD; + } + else if (Config.ALT_OLY_PERIOD_MULTIPLIER >= 7) + { + _nextWeeklyChange = nextChange.getTimeInMillis() + (WEEKLY_PERIOD / 2); + } + else + { + _log.warning("Invalid config value for Config.ALT_OLY_PERIOD_MULTIPLIER, must be >= 7"); + } + break; + } + case "WEEK": + { + currentTime.add(Calendar.WEEK_OF_MONTH, Config.ALT_OLY_PERIOD_MULTIPLIER); + currentTime.add(Calendar.DAY_OF_MONTH, -1); // last day is for validation + + if (Config.ALT_OLY_PERIOD_MULTIPLIER > 1) + { + _nextWeeklyChange = nextChange.getTimeInMillis() + WEEKLY_PERIOD; + } + else + { + _nextWeeklyChange = nextChange.getTimeInMillis() + (WEEKLY_PERIOD / 2); + } + break; + } + case "MONTH": + { + currentTime.add(Calendar.MONTH, Config.ALT_OLY_PERIOD_MULTIPLIER); + currentTime.add(Calendar.DAY_OF_MONTH, -1); // last day is for validation + + _nextWeeklyChange = nextChange.getTimeInMillis() + WEEKLY_PERIOD; + break; + } + } + _olympiadEnd = currentTime.getTimeInMillis(); + scheduleWeeklyChange(); + } + public boolean inCompPeriod() { return _inCompPeriod; Index: dist/game/config/Olympiad.properties =================================================================== --- dist/game/config/Olympiad.properties (revision 6469) +++ dist/game/config/Olympiad.properties (working copy) @@ -159,4 +159,30 @@ # Maximum number of Class-Irrelevant Team matches a character can join per week # Default: 10 -AltOlyMaxWeeklyMatchesTeam = 10 \ No newline at end of file +AltOlyMaxWeeklyMatchesTeam = 10 + + +# --------------------------------------------------------------------------- +# Custom Olympiad period settings +# --------------------------------------------------------------------------- +# Example for Olympiad every 2 weeks: +# AltOlyUseCustomPeriodSettings = True +# AltOlyPeriod = WEEK +# AltOlyPeriodMultiplier = 2 +# --------------------------------------------------------------------------- +# Enable/disable custom period settings. +# Default: False +AltOlyUseCustomPeriodSettings = False + +# Change the type of delay between two Olympiads. +# Available values: MONTH, WEEK, DAY +# Default: MONTH +AltOlyPeriodType = MONTH + +# Change the Olympiad frequency. +# The value is a multiplier of period type, +# i.e. if type is MONTH and multiplier is 2, +# then Olympiad will occur every 2 months. +# Default: 1 +# Note! If type = DAY, multiplier must be >= 7! +AltOlyPeriodMultiplier = 1 \ No newline at end of file found this , i m not java coder , i thing i m close to fix it , but not yet.
  10. if some1 has any other opinion and tip about daily olympiad period , i wanna save time , thanks.
  11. How to create a custom Pet / Summon without any bug? 1st step : we find an official summon that exist`s in game , we copy paste his stats skill bla bla and server side and java side 2 step : we replace his animation with new one , we done simple and fast, ( it a was long time ago that i create a custom , so u can change also a summon like Mew the cat ( uselles) and change just the animations at client side ) i hope i help u, have fun,
  12. u are so lazy to test it? lawl , if cant test alone dude .. u never learn ... 3 is 300%
  13. as tittle say , i try to set everyday new period , but nothing ... any ideas? what i should change ? need core re-work ? i set # Default: 1 CurrentCycle = 1 # Default: 0 Period = 0 # Default: 0 OlympiadEnd = 86400000 # Default: 0 ValidationEnd = 6000 # Default: 0 NextWeeklyChange = 0
  14. l2jfrozen have it already in configs
  15. Fixed , gia osous exoun to idio provlima , edw Δεν δημιουργείς νέα μεταβλητή! Αλλά στην μεταβλητή (του συστήματος) PATH προσθέτεις στο τέλος ;C:\Program Files\Java\jdk1.7.0_01\bin ή όπου άλλου είναι ο φάκελος bin του jdk .. χωρίς να πειράξεις όλα τα άλλα περιεχόμενα ! Eμένα η PATH είναι lock
  16. Den briski to java pou exw instail , kanw update sto last java kai to briski alla o server mou trexi me java 6 kai to last einai 8 k exw ena soro erros piga sto pc option , metablites peribalontos ebala tin diadromi k pali error , enw me to 8 dn exw tpt psaxnw apo xtes sto google exoun polu auto to error alla den vrisko akri... auto einai to error , me to last version trexi alla o server thelei to 6 kai oxi to 8 .. ti na kanw , exw liosi... Starting L2J Game Server. 'java' δεν αναγνωρίζεται ως εσωτερική ή εξωτερική εντολή, εκτελέσιμο πρόγραμμα ή αρχείο δέσμης ενεργειών. Admin Restart ...
  17. u can also add drop to that mob / raid an item that give u the options about sub class?
  18. BBm1ks from l2archon ( c4 )
  19. na kseris oti auto einai to mikro provlima s :P tha bris alla p tha s fane thn zwh :P
  20. to frozen exei kapou allou ena check # On / off protection from re-enchant # The GMs do not apply # If a player log with an item Overenchanted he will be banned. # IMPORTANT: Put True for server security. ProtectorEnchant = True config game server protected
  21. den uparxei kapoio kalo pack ara tsampa xronos tha xasis :P
  22. try to find soe to Giran as example and just create new with same codes just replace the name and location
  23. Hello , i wanna test Gracia pride files but i never work at other clients , only interlude i add pride source but exist many errors , if some1 know why .. just send a guide and any tip , thanks for your time.
×
×
  • Create New...