Jump to content

Doubts about synced elements


Recommended Posts

Hello dear community, I'm back in development scene and I have some doubts about performing my current scritps that I made like 4 years ago.

Well, the first question is

  • Passing an element with multiple datas decrease is not a good way to a proper performance ? In fact, I have this doubt with a data which store players in a specific arena. Imagine that there are 32 players in that arena, well, im storing them in a table which is a data of the element. My question is, passing the whole element pass only the pointer address or pass the elements, therefore, the performance could be decreased ? I leave you a picture of the element. 

OqxqLCZ.png

  • The other question is, what about if I trigger from a client to the server side an element which containts some datas, but before the element arrives to the server, some of the data changes his values. Which values arrives ? The updated one or the old one ?

unknown.png

 

Best regards.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...