Jump to content
  • 0

Make Castle Run Long


Question

Posted (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 by Screwdriver

2 answers to this question

Recommended Posts

Posted

 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/

Posted

 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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...