Jump to content
  • 0

Make Castle Run Long


Screwdriver

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

 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/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

 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?

Link to comment
Share on other sites

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.

×
×
  • Create New...