hogansheroes

update Scheduler

4 posts in this topic

hey guys just a quick question, with my Scheduler can anyone see why the server restats with the messages from 5 am to restart at 6 am, and from 11am to 12 pm but not from 5pm to 6pm restart or 11pm to 12 am restart.

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Scheduler>

<!-- this job will start after 10 minutes and run forever with a 1 hour and 30 minutes interval between the jobs -->
<job id='0'>
<day>1,2,3,4,5,6,7</day>
<start>003000</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 This Server Restarts Every 6 Hours at 12 And 6 Repeatedly</cmd>
</job>

<!-- this job will start after 30 seconds and will only run once. note that the runtime tag is ignored when loop is 0 -->
<job id='1'>
<day>1,2,3,4,5,6,7</day>
<start>003200</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 This Server Is PvE Only, PvP Will Get You Kicked Or Banned, So Be Carefull</cmd>
</job>

<!-- this job will start after 15 seconds and will run every 25 sec. total times the message will be show is 6 times -->
<job id='2'>
<day>1,2,3,4,5,6,7</day>
<start>003500</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 No Stealing In Safe Zones, Also No Base Building In High Spawn Areas Including Military Barracks</cmd>
</job>


<!-- this job will start at 06:00:00 (6 am) and will only run once a day at set time -->
<job id='3'>
<day>1,2,3,4,5,6,7</day>
<start>003300</start>
<runtime>003000</runtime>
<loop>0</loop>
<cmd>say -1 To Stay Up To Date JOIN Our Teamspeak i.p 221.121.155.46:9991 Password zombies . Also Check Out http://powgamers.com/site/index.php?page=Arma3 For News And Information</cmd>
</job>

<!-- this job will start at 07:00:00 (7 am) and will repeat itself every 20 min for 3 more time. in total 4 times. will run at set time for defined days -->
<job id='4'>
<day>1,2,3,4,5,6,7</day>
<start>000400</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 Welcome To Ultimate Exile PvE (Brought To You By www.powgamers.com)</cmd>
</job>

<!-- this job will start at 05:00:00 (5 am) and will repeat itself every 15 min forever for defined days -->
<job id='5'>
<day>1,2,3,4,5,6,7</day>
<start>050000</start>
<runtime>050000</runtime>
<loop>0</loop>
<cmd>say -1 Server Restarting In 1 Hour</cmd>
</job>

<job id='6'>
<day>1,2,3,4,5,6,7</day>
<start>053000</start>
<runtime>053000</runtime>
<loop>0</loop>
<cmd>say -1 Server Restarting In 30 Minutes - Start Heading To Your Base</cmd>
</job>

<job id='7'>
<day>1,2,3,4,5,6,7</day>
<start>055000</start>
<runtime>055000</runtime>
<loop>0</loop>
<cmd>say -1 Server Restarting In 10 Minutes - Get Your Shit Together</cmd>
</job>

<job id='8'>
<day>1,2,3,4,5,6,7</day>
<start>055500</start>
<runtime>055500</runtime>
<loop>0</loop>
<cmd>say -1 Server Restarting In 5 Minutes - Start Preparing To Log Off</cmd>
</job>

<job id='9'>
<day>1,2,3,4,5,6,7</day>
<start>055800</start>
<runtime>055800</runtime>
<loop>0</loop>
<cmd>say -1 Server Restarting In 2 Minutes - Logout Now</cmd>
</job>

<job id='10'>
<day>1,2,3,4,5,6,7</day>
<start>055900</start>
<runtime>060000</runtime>
<loop>0</loop>
<cmd>say -1 Server Is Restarting In 1 Minute - Server Is Restarting</cmd>
</job>

</Scheduler>

 

Share this post


Link to post
Share on other sites

Why u dont use @ExileServer\addons\exile_server_config\config.cpp where u can configure restart messages and more.

       // Autolocks server until its ready to accept players
        useAutoLock = 1;

        // Server will autoLock at that time before restart (minutes)
        restartAutoLock = 5;

        /*
            Number of hours and minutes of your restart period.

            Examples:

            {4, 0} = Every 4 hours
            {1, 30} = Every one and a half hour (who the hell would do this?)
        */
        restartTimer[] = {6, 0};

        /*
            Kicks players before restart to prevent gear loss.
            We strongely recommend to use this!

            0 = off
            1 = on
        */
        useAutoKick = 1;

        /*
            Number of minutes before the server kicks players that did
            not disconnect before the restart. Should at least be two
            minutes!
        */
        kickTime = 5;

        /*
            Self-explanatory

            0 = off
            1 = on
        */
        useRestartMessages = 0;

        /*
            Number of minutes before the restart to inform your players.

            Only use full minutes here. Value like 5.5 have not been tested.
        */
        restartWarningTime[] = {180, 150, 120, 90, 60, 30, 15, 10, 5, 3}; 
    };

 

Edited by SadBoy1981

Share this post


Link to post
Share on other sites
Advertisement

i like to have the messages come up so peeps can read them IF THEY DO or not well thats there problem

and also i had used that in the past but for me no message were coming up

Share this post


Link to post
Share on other sites

You need to set your servercommandpassword (or add a line for it) in config.cfg for this to work and it works great. Much easier to setup.

// This needs to match config.cfg serverCommandPassword

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.