Jump to content
  • 0

Setting Time / Date to Local Correctly


Flodding

Question

HiveExt.ini

[Date]
;Possible values: Local, Static
Type = Local
;If using Static type, the year/month/date to set the date to
;Year = 2012
;Month = 1
;Date = 1

[Time]
;Possible values: Local, Custom, Static
;You cannot use Static on OFFICIAL Hive, it will just revert to Local
Type = Local
;If using Custom type, offset from UTC in hours (can be negative as well)
;Offset = -8
;If using Static type (Hour value always the same on every server start), the value (0-24) to set the Hour to
;Hour = 13

[Database]
;Hostname or IP of the server to connect to
;If you leave this line commented or blank, HiveExt will connect to the OFFICIAL Hive, which requires registration
;See support.dayzmod.com for more information on what OFFICIAL Hive means, what are the rules, etc.
;If using OFFICIAL hive, the rest of the settings in this section have no effect
Host = localhost

Server Log:

10:00:02 "RUNNING EVENT: crash_spawner on [2014,8,6,10,0]"
10:01:30 "TIME SYNC: Local Time set to [2013,8,3,10,1]"

How to solve?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

The Problem is that this Event will NEVER be activated because the TIMESYNC sets the time to one Year before the event will start.

 

10:00:02 "RUNNING EVENT: crash_spawner on [2014,8,6,10,0]"

10:01:30 "TIME SYNC: Local Time set to [2013,8,3,10,1]"

 

why is this year diff comming up `?

Link to comment
Share on other sites

  • 0

Got it by myself !!

 

let me show you this small snippet from server_functions.sqf:

		if(dayz_fullMoonNights) then {
			_hour = _date select 3;
			_minute = _date select 4;
			//Force full moon nights
			_date = [2013,8,3,_hour,_minute];
		};

so this means when i set in init.sqf

//Enable full moon nights by setting this to true. (Default: false)
dayz_fullMoonNights = true;

only the TIME will be Local from HiveExt.ini but not the date.

 

Just to be clear with that.

 

When i want the EPOCH-Events to be running fine i have to turn off Full Moon Nights in init.sqf?

//Enable full moon nights by setting this to true. (Default: false) If true the Epoch Events will be never executed
dayz_fullMoonNights = false;

Thanks

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...