Full moon nights

title says almost it all
what is the way u make full moon nights in tavi

from what i can see u have to edit the mission.sqm file where is say
briefingDescription="DayZ";
startWeather=0
.067362607
;
forecastWeather=0
.52341133
;
startWeather=0;
forecastWeather=0;
year=2008;
month=10;
is this right or do i have to do something else ?
 
dayz_server\system\server_cleanup.fsm:
...
258: "if(_outcome == ""PASS"") then {" \n " _date = [2012,1,15,(_result select 1) select 3, (_result select 1) select 4]; " \n " _dateDiff = (dateToNumber(_date) - dateToNumber(date)) * 365 * 24 * 60;" \n
...
dayz_server\system\server_monitor.sqf:
...
200: _outcome = _result select 0;
if (_outcome == "PASS") then {
_date = [2012,1,15,(_result select 1) select 3, (_result select 1) select 4];
if (isDedicated) then {
...
Due to the location of the continent in the southern hemisphere, will have to put the beginning of the year. Me it is enough, the moon is always (if no clouds)
 
i understand what i should do in the server_monitor.sqf but where do i place the
if(_outcome == ""PASS"") then {" \n " _date = [2012,1,15,(_result select 1) select 3, (_result select 1) select 4]; " \n " _dateDiff = (dateToNumber(_date) - dateToNumber(date)) * 365 * 24 * 60;" \n
in the server_cleanup.fsm

is it just after
class sync_the_time
{
name = "sync_the_time";
init = /*%FSM<STATEINIT""">*/"//Send request" \n
"_key = ""CHILD:307:"";" \n
"_result = [_key] call server_hiveReadWrite;" \n
"_outcome = _result select 0;" \n
"if(_outcome == ""PASS"") then {" \n
" _date = _result select 1; " \n
" _dateDiff = (dateToNumber(_date) - dateToNumber(date)) * 365 * 24 * 60;" \n
" if (abs(_dateDiff) > 5) then {" \n
" setDate _date;" \n
" dayzSetDate = _date;" \n
" publicVariable ""dayzSetDate"";" \n
" diag_log (""TIME SYNC: Local Time set to "" + str(_date));" \n
" };" \n
"};" \n
""/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
 
when is the moon rising ?

cause i implemented it on a server where the timezone was GMT-1 when it was night, and when i logged back in it was day ?
 
Back
Top