Page MenuHomeFeedback Tracker

Markers created on DS are not synced to JIP players
Closed, ResolvedPublic

Description

Currently its not possible to create a marker on a dedicated server which is automaticly synched when a new player joins a server without having a workaround! (Scripted)

The problem with this is that the workaround requires that the client knows the name of every marker on the server (which requires a more large workaround ...)

Its also possible to use CBA which should not be the solution for ArmA 3!

Details

Legacy ID
3949056367
Severity
Tweak
Resolution
Fixed
Reproducibility
Always
Category
Server
Steps To Reproduce
  1. Dedicated server creates a marker:

if(isDedicated) then
{

_marker = createMarker [str(random 99999), getPos objectName];
_marker setMarkerShape "ICON";
_marker setMarkerSize [1,1];
_marker setMarkerType "o_inf";
_marker setMarkerText "Test";

}

  1. Verify the marker is created on connected clients (no problem here)
  2. JIP with a new client now
  3. Marker is not synced to that JIP client
Additional Information

Tested on:

Type: Public Beta
Branch: Development
Version: 0.75.108570

  1. Marker created on a client, is synced normally to players that connect after the marker was created.
  1. Marker created on server, is not synced to players that connect after marker was created.

Event Timeline

X39 edited Steps To Reproduce. (Show Details)Jul 6 2013, 3:37 AM
X39 edited Additional Information. (Show Details)
X39 set Category to Server.
X39 set Reproducibility to Always.
X39 set Severity to Tweak.
X39 set Resolution to Fixed.
X39 set Legacy ID to 3949056367.May 7 2016, 3:20 PM

Markers should be already synced, programmers recently fixed the problem. I quickly tested it in the Dev build and creating a marker on hosted server will indeed sync it to all JIPped clients.

Does the problem occur when you host a mission? On dedicated server? Are you creating the marker on server or on client? If you were trying it the default build, could you please check it in the Dev one?

X39 added a subscriber: X39.May 7 2016, 3:20 PM
X39 added a comment.Jul 6 2013, 1:46 PM

currently im using the DEV branch (and im using the dedicated server (arma3server.exe in arma3 main directory).
The markers are created serverside and no player who joins gets the markers synched correctly.

extraNote:
used this mission here
https://dl.dropboxusercontent.com/u/62623528/arma3/MPMissions/Insurgency-X39/Insurgency-X39.Stratis_UC.zip

the script which is creating the markers is using gameLogic objects INIT (the gamelogic object is calling "Scripts\InsInit\Init.sqf" which will detect all houses from interest within a specific range. After that it creates a marker for each 100x100m grid where such a house is located at. The markers are finally created in the "Scripts\InsInit\CreateMarkers.sqf" script.)

i added the client part today so that they get at least grey markers
hopefully this helps more

X39 added a comment.Jul 14 2013, 11:27 AM

works in build 0.73.107682

Kushluk added a subscriber: Kushluk.May 7 2016, 3:20 PM

This thread provides some info: forums.bistudio.com/showthread.php?158426-Created-Markers-for-JIP-players/

I will test using 0.73.107682 and report back.

Unfortunately the particular scenario I require is still not J.I.P. compatible.

Dedicated server creates a marker:

if(isDedicated) then
{

_marker = createMarker [str(random 99999), getPos objectName];
_marker setMarkerShape "ICON";
_marker setMarkerSize [1,1];
_marker setMarkerType "o_inf";
_marker setMarkerText "Test";

}

If a client is connected whilst this marker is created, they see the red marker above the building named objectName. However if a client joins the server AFTER the marker script is run; they do not see the marker.

Tested on:

Type: Public Beta
Branch: Development
Version: 0.75.108570

  1. Marker created on a client, is synced normally to players that connect after the marker was created.
  1. Marker created on server, is not synced to players that connect after marker was created.

Updated Additional Info, reassigned.

+1 i tested this yesterday and Markers created on server, is not synced to players that connect after marker was created.

This is unfortunately still an issue, even after a couple of post-release updates to the stable build.

Looks like it might primarly be the issue with the marker STATE:

https://dev-heaven.net/issues/3212#note-3

Can you verify, if it's actually the same issue?

Yes it is the same issue. You need to "refresh" any of the properties of the marker on the server for it to magically appear on the client. By default marker does not even exist in allmapmarkers array on the JIP client.

This has been fixed in latest dev. Thank you Moricky :)

Hopefully this makes it to stable in the next build. Thank you good sir.

Mass-closing resolved issues not updated in 10 days.