Page 1 of 1

Castle Sieges & Territory Wars Timers

Posted: Tue Oct 01, 2013 12:47 pm
by Luna
L2J Revision Number: 5937
L2JDP Revision Number: 9641

Heyo once again, since my last post vanished and I still dont have it working as it should, I'm creating a new one.
So here's what I'm looking for:

Weekly Sieges on Saturday:
Gludio --------> 15:00h - 17:00h
Dion ----------> 15:00h - 17:00h
Oren ---------> 15:00h - 17:00h

Giran ---------> 18:00h - 20:00h
Innadril ------> 18:00h - 20:00h
Aden ----------> 18:00h - 20:00h

Rune ----------> 21:00h - 23:00h
Goddard ------> 21:00h - 23:00h
Schuttgart ----> 21:00h - 23:00h


Territory Wars are on the right hour, which is from 20:00h - 22:00h, but atm they are on Saturday so what I need is to change it from Saturday ->Sunday[/b]. DONE

Re: Castle Sieges & Territory Wars Timers

Posted: Wed Oct 02, 2013 12:39 pm
by BiggBoss
[diff] Index: dist/game/data/scripts/quests/TerritoryWarScripts/TerritoryWarSuperClass.java===================================================================--- dist/game/data/scripts/quests/TerritoryWarScripts/TerritoryWarSuperClass.java   (revision 9966)+++ dist/game/data/scripts/quests/TerritoryWarScripts/TerritoryWarSuperClass.java   (working copy)@@ -79,7 +79,7 @@            Calendar startTWDate = Calendar.getInstance();            if (loadGlobalQuestVar("nextTWStartDate").equalsIgnoreCase(""))            {-               startTWDate.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY);+               startTWDate.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);                startTWDate.set(Calendar.HOUR_OF_DAY, 20);                startTWDate.set(Calendar.MINUTE, 0);                startTWDate.set(Calendar.SECOND, 0);@@ -98,7 +98,7 @@                startTWDate.setTimeInMillis(Long.parseLong(loadGlobalQuestVar("nextTWStartDate")));                if ((startTWDate.getTimeInMillis() < System.currentTimeMillis()) && SevenSigns.getInstance().isSealValidationPeriod() && (SevenSigns.getInstance().getMilliToPeriodChange() > 172800000))                {-                   startTWDate.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY);+                   startTWDate.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);                    startTWDate.set(Calendar.HOUR_OF_DAY, 20);                    startTWDate.set(Calendar.MINUTE, 0);                    startTWDate.set(Calendar.SECOND, 0); [/diff]

Re: Castle Sieges & Territory Wars Timers

Posted: Wed Oct 02, 2013 12:46 pm
by Luna
Thanks ;)

Territory War Issued is solved, missing the Castle Sieges now :P

Re: Castle Sieges & Territory Wars Timers

Posted: Mon Oct 14, 2013 2:52 am
by Luna
Castle Siege are fixed and fully working, but I got a problem on territory wars

It's already 10/14/2013 but it still says that the next territory war is on 10/05/2013, so it's not updating to the next TW, any clue on what's going on? :/

Do I need more than 1 clan with castle to get them working or something? cuz I can't figure out where the prob is.

Thanks in advance!

Re: Castle Sieges & Territory Wars Timers

Posted: Tue Oct 15, 2013 8:13 am
by Luna
The TW's changed today to 10/19/2013, which is on saturday so the sunday code is not working... :/