Announcement

Collapse
No announcement yet.

Replication Questions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Replication Questions

    Hello. I have questions about replication, I know how to get it working but I had some questions for behind the scenes how it works; when a variable is set to replicate how much bandwith/traffic does it use, is it relative to the size of the variable, does it keep sending the variable if it hasn't changed or does it only send it when it changes?

    #2
    Is this common knowledge and I"m just stupid or does no one know for sure besides the devs?

    Comment


      #3
      You can profile network trafic.

      Afaik a replicated variable is always costing some trafic even when it does not change.

      When changing a variable inside a replicated structure, only that variable gets sent though (saving you the cost of all other variables in this structure).

      You usually want to have replicated/repnotified variables for persistent object state change and multicast a change in a non replicated variable in case it's just a temporary / one shot thing.
      Last edited by Yun-Kun; 07-13-2017, 06:13 PM.
      [Released] Multiplayer Combat Editor
      A-RPG Sacred Swords
      Auto-Chess Live Development
      Youtube Tutorials

      Comment


        #4
        Oh I thought so then, thank you so much.

        Comment

        Working...
        X