Jump to content
  • 0

fullmoonnights not working :/ Help


SunnyPi

Question

Hey guys... maybe someone could help me... Since the patch came out every night is pitch black on the server... no more fullmoon nights. I have it on true in the init.sqf but the server doesnt seem to be giving a damn... anyone ever had the same issue? or any tipps?

 

dayz_fullMoonNights = true;

 

Thanks so much in advance...

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

I'll give it a try, thanks guys! Also thanks for the Link - had a good read.

 

*EDIT*

 

Nope. My HiveExt:

 

;This is a comment
;Comments above a certain setting will provide it's description

;The format for a setting is
;Variable = Value

;If you see a commented line of that form, it means that the setting is optional, and the Value shows the default
;To change from the default, simply uncomment the line and change the Value

;This configuration file should be placed inside your server instance's configuration directory (like cfgdayz)

[Date]
;Possible values: Local, Static
type = Static
;If using Static type, the year/month/date to set the date to
Year = 2014
Month = 5
Date = 27

[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

....

 

Pitchblack night. :(

Link to comment
Share on other sites

  • 0

Why disable the lights ? Nothing I have done with them changes the full moon settings unless this has been done elsewhere ? Not had time to test :)

 

On my server the script came commented out in the init file. According to the post linked above, the lighting system messes with full moon nights.

Link to comment
Share on other sites

  • 0

Was commented as it is a new addition, we wanted to bring it in slowly.

I think the point made on the light support thread was full moon lights have been changed in one of the recent updates, will ask about this.

It is very dark which is why I have put the street lights back to normal, shootable epoch Streetlights, with integration to the lights script.

Can assure you that we don't have a long enough power lead to reach the moon ;)

See the wiki for the upcoming light updates.

Link to comment
Share on other sites

  • 0

I found this post in my search to fix full moon nights on my server.  None of the suggestions worked while I had dayz_fullMoonNights enabled.

 

This is because the server_functions.sqf (in the init folder of the server files) had the wrong date.  Once I changed it to 6 April 2012 it did as advertised.

 

Hope it helps someone..

 

I've noticed that the first player to enter the server misses the time sync and plays in daylight until they log (or die), once they rejoin they are in the dark with the rest of us/

server_timeSync = {
	//Send request
	private ["_hour","_minute","_date","_key","_result","_outcome"];
    _key = "CHILD:307:";
	_result = _key call server_hiveReadWrite;
	_outcome = _result select 0;
	if(_outcome == "PASS") then {
		_date = _result select 1; 
		
		if(dayz_fullMoonNights) then {
			_hour = _date select 3;
			_minute = _date select 4;
			//Force full moon nights
			_date = [2012,4,6,_hour,_minute];
		};

		setDate _date;
		PVDZE_plr_SetDate = _date;
		publicVariable "PVDZE_plr_SetDate";
		diag_log ("TIME SYNC: Local Time set to " + str(_date));	
	};
};
Link to comment
Share on other sites

  • 0

I've noticed that the first player to enter the server misses the time sync and plays in daylight until they log (or die), once they rejoin they are in the dark with the rest of us/

 

May you post your server_playerSetup.sqf, found in dayz_server.pbo\compiles\ ?

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