- 0
[Help]EVENT_INTERVAL
-
Posts
-
By sitehunter · Posted
Download Here: https://sitehunterus.blogspot.com/2025/12/nanakit-premium.html VirusTotal https://www.virustotal.com/gui/file/ea3fb08bd82eb58a5be33a50690fe3d4fba67f3b51c77f4f5768a3b577e182d0 Visit my Blogger list to download 100% free software https://www.freetoolss.com/ https://blackhat8.blogspot.com/ https://hack-crack9.blogspot.com/ https://hackernoons.blogspot.com/ https://sharetools99.blogspot.com/ -
Hi ️ Are you a supplier or do you have your own modem and are looking for a place to sell numbers? SMS.PRO - The best option for selling your numbers You choose the selling price yourself Sale option: public (to everyone) or private (you choose who you want to sell to) Everything works automatically The simplest possible connection Visit the website SMS.PRO and start selling your numbers. Support @alismsorg_bot
-
Good luck to anyone playing on this server . Kamael items are bugged ( stats are insane ) Commands not working properly ( .getreward for example ... gives u free reward without voting ). When i had those files , i fixed most of the stuff . Every 2-3 years , he closes the server because players report bugs to him about items , he dont know how to fix then he repeating the process again https://ibb.co/Fkv7y9hJ https://ibb.co/fdYP2bVQ https://ibb.co/sp1f8C61 https://ibb.co/CKZnCgL7 https://ibb.co/Z6GktJgP
-
Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500 Blessed and simple scrolls max enchant (+200) Enchant maneger to make +500. In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events >Rankings >Clan >RB Status >Updates and other Auto Event system: >Team VS Team event - Auto event >Capture The Flag - Auto event Olympiad: >Retail olympiad game >Competition period [2] week >Olympiad start time [18:00] end [00:00] >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
-
-
Topics

Question
xAddytzu
What is wrong ? no error at build but no effect in game.
I want something like EventInterval = 21:00,22:00,1:00
private AZStartTask _task; class AZStartTask implements Runnable { private long _startTime; public AZStartTask(long startTime) { _startTime = startTime; } public void setStartTime(long startTime) { _startTime = startTime; } public void run() { startEvent(); } } public void scheduleEventStart() { try { Calendar currentTime = Calendar.getInstance(); Calendar nextStartTime = null; Calendar testStartTime = null; for (String timeOfDay : Config.EVENT_INTERVAL) { // Creating a Calendar object from the specified interval value testStartTime = Calendar.getInstance(); testStartTime.setLenient(true); String[] splitTimeOfDay = timeOfDay.split(":"); testStartTime.set(Calendar.HOUR_OF_DAY, Integer.parseInt(splitTimeOfDay[0])); testStartTime.set(Calendar.MINUTE, Integer.parseInt(splitTimeOfDay[1])); // If the date is in the past, make it the next day (Example: Checking for "1:00", when the time is 23:57.) if (testStartTime.getTimeInMillis() < currentTime.getTimeInMillis()) { testStartTime.add(Calendar.DAY_OF_MONTH, 1); } // Check for the test date to be the minimum (smallest in the specified list) if (nextStartTime == null || testStartTime.getTimeInMillis() < nextStartTime.getTimeInMillis()) { nextStartTime = testStartTime; } } _task = new AZStartTask(nextStartTime.getTimeInMillis()); ThreadPoolManager.getInstance().executeTask(_task); } catch (Exception e) { } }9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now