Castle Sieges & Territory Wars Timers

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Luna
Posts: 34
Joined: Sat Mar 16, 2013 6:59 pm

Castle Sieges & Territory Wars Timers

Post 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
Last edited by Luna on Wed Oct 02, 2013 12:54 pm, edited 1 time in total.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: Castle Sieges & Territory Wars Timers

Post 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]
Image
Luna
Posts: 34
Joined: Sat Mar 16, 2013 6:59 pm

Re: Castle Sieges & Territory Wars Timers

Post by Luna »

Thanks ;)

Territory War Issued is solved, missing the Castle Sieges now :P
Luna
Posts: 34
Joined: Sat Mar 16, 2013 6:59 pm

Re: Castle Sieges & Territory Wars Timers

Post 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!
Luna
Posts: 34
Joined: Sat Mar 16, 2013 6:59 pm

Re: Castle Sieges & Territory Wars Timers

Post by Luna »

The TW's changed today to 10/19/2013, which is on saturday so the sunday code is not working... :/
Post Reply