Screwdriver Posted February 14, 2013 Posted February 14, 2013 (edited) How could I make castles run longer than "OnClock: 0000"? - script Agit_Event -1,{ OnClock1900: //start time for Mon-Sun OnClock0500: //end time for Mon-Sun OnAgitInit: // starting time checks if((gettime(4)==1) && (gettime(3)>=19 && gettime(3)<05) || (gettime(4)==2) && (gettime(3)>=19 && gettime(3)<05) || (gettime(4)==3) && (gettime(3)>=19 && gettime(3)<05) || (gettime(4)==4) && (gettime(3)>=19 && gettime(3)<05) || (gettime(4)==5) && (gettime(3)>=19 && gettime(3)<05) || (gettime(4)==6) && (gettime(3)>=19 && gettime(3)<05) || (gettime(4)==7) && (gettime(3)>=19 && gettime(3)<05)) { It doesn't start WoE, I believe because of the time.. Could anyone elaborate on this? How could I have my castle(s) run past "0000"? Edited February 14, 2013 by Screwdriver Quote
Capuche Posted February 14, 2013 Posted February 14, 2013 Try On<weekday><hour><minute>: *agitstart;*agitend; For example OnSun0500: OnMon0500: agitstart;// start woe end; OnSun0600: OnMon0600: agitend;// put an end of woe end; or you can use Euphy's woe controller or Toasty's woe controller https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/woe_controller.txt http://rathena.org/board/topic/57377-toastys-woe-controller/ Quote
Screwdriver Posted February 14, 2013 Author Posted February 14, 2013 Try On<weekday><hour><minute>: >*agitstart; *agitend; For example OnSun0500: OnMon0500: agitstart;// start woe end; OnSun0600: OnMon0600: agitend;// put an end of woe end; or you can use Euphy's woe controller or Toasty's woe controller https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/woe_controller.txt http://rathena.org/board/topic/57377-toastys-woe-controller/ I believe I got something to fit my needs, but now when I break the emp while in a guild, the emp disappears? How could I fix this? It's my custom castle, by the way, but duplicated original castle. I have another problem, I can't touch the emp at all, I created a new guild, broke the emp, while the guild still holding the castle, I had someone in a different guild try breaking the emp. I also tried breaking the emp with a different guild, but I can't attack it. Anyone got any ideas on what I did wrong? Quote
Question
Screwdriver
How could I make castles run longer than "OnClock: 0000"?
It doesn't start WoE, I believe because of the time.. Could anyone elaborate on this? How could I have my castle(s) run past "0000"?
Edited by Screwdriver2 answers to this question
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.