Page MenuHomeFeedback Tracker

publicVariable does not fire immediatly after server command #restart and #reassign
New, WishlistPublic

Description

I write a new multiplayer mission for Arma 3 and all works fine if you restart the server software. But if you use the server command #restart or #reassign to restart the mission all publicVariables in the server init script doesn't fire.

Details

Legacy ID
781653395
Severity
None
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce
  1. Create a short initServer.sqf with a variable and the publicVariable command.
  2. Run the server and issue the #restart server command.
  3. Now the variable isn't set at the client.
Additional Information

I tested to delay the publicVariable commands but no success. The variables I want to transfer are set and I could do the publicVariable command with the debug console.

Event Timeline

bletzgames edited Additional Information. (Show Details)
bletzgames set Category to Engine.
bletzgames set Reproducibility to Always.
bletzgames set Severity to None.
bletzgames set Resolution to Open.
bletzgames set Legacy ID to 781653395.May 8 2016, 12:20 PM

does the initServer.sqf run at all?

Yes it does I used diag_log to make sure that the script is running

If I going back to the lobby an join again all works fine. It must be an issue for the players if they join automatically.