Non-serious replication questions

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

EvilDrWong

Every line of code elevates you
Jun 16, 2001
932
0
0
40
Inside the machine
Visit site
This is something thats boggled me for a while (though it has no real impact on anything) but what would happen with MyVar replication wise if it were replicated like this:
Code:
reliable if(True==True)
    MyVar;


Or this:
Code:
reliable if(FRand()<0.5)
    MyVar;
 

EvilDrWong

Every line of code elevates you
Jun 16, 2001
932
0
0
40
Inside the machine
Visit site
but which 'direction' will it be going? :p Will the data get all mashed up as the client tries to tell the server what to do with it, while the server tries to tell the client what to do with it?
 

Tynan

Person
Jan 13, 2003
130
0
0
The Gutter
www.planetunreal.com
Actually, both of them should keep the server an client in pretty good sync with each other. The question becomes what happens if the variable changes on one end. Theres a chance it could be changed back by replication before changing the var on the other end.
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
I don't think variable replication works in the client-to-server direction, no matter what you specify in the replication condition.

What about simply coding a class with this type of replication to see what happens?