Jump to content

Recommended Posts

Does anyone know for sure:

  can directplay id of joined player be same as of previously disconnected (without server restart),

  and is it possible to get exact set of numbers (not rounded) of directplay id with 

onPlayerConnected{DPID=str _id};

  (or by any other way)

?

Share this post


Link to post
Share on other sites

From arma3.ru

Quote

  _

  No, maybe somehow from script representation of placed marker (line with unique marker name)

 

Share this post


Link to post
Share on other sites

Biki says: 

_id: Number - is the unique DirectPlay ID. Quite useless as the number is too big for in-built string representation and gets rounded. It is also the same id used for user placed markers.

 

So I'd say you're better off using _uid which definitely is unique and can't be rounded. 

Share this post


Link to post
Share on other sites
15 minutes ago, mrcurry said:

 

Was curious if in arma is build in, unique for each connection to server id.

Share this post


Link to post
Share on other sites

Not sure, I don't have a machine to test if clientOwner is session-unique but there's a good candidate. If that fails I think a scripted framework is required. 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×