If you setDate on server restart on the server the year will not sync not immediately not for JIP clients.
Description
Details
- Legacy ID
- 1883712293
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Engine
put this in init.sqf
if (isDedicated) then {
setDate [2000, 1, 1, 0, 0]
} else {
waitUntil {time > 0};
hint str date
}
start dedicated, join
hint shows: [2035, 1, 1, 0, 0]
Event Timeline
This should be pretty simple fix. I would even settle for "acknowledged" at this point :)
note: this may cause issue like moon position/phase differs and star position differs (not sure about sun, prolly too)
JIP will also get 2035 even though the server is running 2014 for example. I think the 2035 value is default value set in mission.sqm
I predict if this ticket left open for 21 years, the problem will go away by itself.
Only 19 years left!!!
JIP year should be fixed in the next dev, changing date in the middle of the mission will require remote exec due the command having local effect https://community.bistudio.com/wiki/setDate