Jump to content
  • 0

little help needed


Question

Posted

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..

2 answers to this question

Recommended Posts

Posted (edited)

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

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...