MRX

Status Bar by [FPS]kuplion Problem

46 posts in this topic

I think so i have Fixed it.... i changed my restart to all 6h [0,6,12,18] and now it Works with out Problems :/ ..... the Skript don´t like restart over 6h...

Edited by MRX

Share this post


Link to post
Share on other sites
Advertisement
On 1/8/2019 at 1:13 AM, MRX said:

I think so i have Fixed it.... i changed my restart to all 6h [0,6,12,18] and now it Works with out Problems :/ ..... the Skript don´t like restart over 6h...

Try putting 24 into the Array.. Under the array it says that it starts from 24, but there is no 24 in the array.
yes i know 24 and 0 are the same..

I just fixed my server that was having a similar problem.. I have 6hr Restart, and wanted them to be 12mid night, 6,12,18...
My Server is hosted in a Different TimeZone (Daylight Saving +1hr), so my last restart went passed midnight..
I had to get creative, as seen below;

Spoiler

Originally Worked for 6hr restarts....

/* // Accurate Restarts
_restartTimes    = [0,6,12,18,24]; // Military Time
_startHour        = ExileServerStartTime select 3;
_startMinute    = ExileServerStartTime select 4;
_startSecond    = ExileServerStartTime select 5;
_correcTime        = [];
{
    if (_startHour < _x and _startHour != 24) then
    {
        _correcTime pushBack _x;
    }; */

Changed for Daylight Savings.. Works good...

// Accurate Restarts
_restartTimes    = [1,7,13,19,25]; // Military Time
_startHour        = ExileServerStartTime select 3;
_startMinute    = ExileServerStartTime select 4;
_startSecond    = ExileServerStartTime select 5;
_correcTime        = [];
{
    if (_startHour < _x and _startHour != 1) then
    {
        _correcTime pushBack _x;

 

  • Like 1

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.