It is hit and miss bug, but repro is ok I think. Basically setDate executed on servewr after mission start, may or may not change the date on the client. When it fails, it breaks weather (rain in particular) for the first JIP attempt, consequent attempt show synced weather.
Description
Details
- Legacy ID
- 3859575688
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Multiplayer
join dedicated server with defauklt mission
time is 12 noon
EXECUTE ON SERVER:
0 setOvercast 1;
0 setRain 1;
forceWeatherChange;
rain on client
EXECUTE ON SERVER:
_d = date;
_d set [3, 23];
setdate _d;
(Now this part is tricky because sometimes it works sometimes it doesnt)
IF date/time changes on the client as result THEN change it back:
EXECUTE ON SERVER: _d = date; _d set [3, 12]; setdate _d; at this point there should be no effect, proceed further
ELSE proceed
drop to the lobby
come back
no rain on client (still raining on the server though)
drop to the lobby
come back
rain on client
from here on it doesnt fail if repeated
possibly related: http://feedback.arma3.com/view.php?id=15388
Event Timeline
I think I can concur with this. Been having a problem with setDate as well in that it works on my friends dedicated server, but not my own. Instead ignores that and goes straight to the default editor set time. But on the map, the info says the time should be completely different. Seems to also break the random weather script I have installed.