Jump to content
  • 0

little help needed


lieneil

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   0
  • Joined:  10/03/12
  • Last Seen:  

so my server goes lag when woe time which is not happening when my server doesnt have automated events. so i think its th automated events that causes the server to lag when woe time. so how can i disable automated events when woe is started?

hope you can help me thanks alot..

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

its very simple, open your event file and find the time setup of it, for example your WOE is 1:00am find a line like this and remove it OnClock0100:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Well, instead removing you could use agitcheck() and agitcheck2() at the event files when they start.

The problem is when the events are already running.

You could add this:

OnMinute00:
while( (agitcheck() ==1 || agitcheck2() ==1) && <EventVariable> ==1) {  donpcevent strnpcinfo(0)+"::<EventOffLabel>;
announce " The event <Event Name> has shut down duo WoE starting.",0;
sleep 180000; // 30 minutes
}
end;

Just edit the <EventOffLabel> to the label which shuts down the event.

Also <Event Name> which should b obvious. :)

<EventVariable> to check if the event is running or not.

Regards,

Chris

Edited by llchrisll
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...