|
| 24 Jun 2016 07:11 PM |
If FE is active, and the client moves a model to replicatedstorage, what happens if the model's properties (besides parent) are changed or items are added on the server?
Will the client still think the model is in replicatedstorage, along with any items that are added to it? |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2016 07:12 PM |
| I'm pretty sure anything the server does will simply override anything a client does. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 24 Jun 2016 07:13 PM |
any changes made by the client wont replicate regardless o where he moves the model. Only the server will replicate thing by default. You will need to use a remote event for the model to be moved.
|
|
|
| Report Abuse |
|
|
Lem0nzzx
|
  |
| Joined: 08 Feb 2016 |
| Total Posts: 1604 |
|
| |
|
|
| 24 Jun 2016 07:15 PM |
| I'm not asking about replication to other clients, I just want to know if the server will replicate all of the properties/children or just the necessary ones when a change is made. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 24 Jun 2016 07:16 PM |
if the server makes the changes, everything should be replicated
|
|
|
| Report Abuse |
|
|
|
| 24 Jun 2016 07:17 PM |
There's a model on the server. There are a bunch of parts in it.
The player is far away and doesn't want to see them, so the client moves the model to storage.
What happens if an item is moved into the model?
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 24 Jun 2016 07:18 PM |
if the client moves the model to replicated storage, the server wont see this. If he adds anything to it, it will only show for him
|
|
|
| Report Abuse |
|
|
|
| 24 Jun 2016 07:21 PM |
| What if the server adds to it? |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 24 Jun 2016 07:23 PM |
Like I said, the server can't because it won't see the model. This model change from the client won't be replicated unless you use a remote event
|
|
|
| Report Abuse |
|
|
jmt99
|
  |
| Joined: 27 Jul 2008 |
| Total Posts: 4799 |
|
|
| 24 Jun 2016 07:35 PM |
@TimeTicks
I think he means what would happen if the server added to the original model, what would happen to the client's.
|
|
|
| Report Abuse |
|
|
| |
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 26 Jun 2016 04:34 PM |
The server can't touch what it can't see... :o
The systemic desync with FE: if the client affects anything in ReplicatedStorage the server won't be able to see the changes, but if the server affects something in ReplicatedStorage all clients will reference it as that server-manipulated version.
You could pass the new custom changes to the server through a RemoteEvent, and then the server could affect it in the ReplicatedStorage for all players.
|
|
|
| Report Abuse |
|
|
|
| 27 Jun 2016 02:11 PM |
I know that. I'm counting on the desync. I'm not using remoteevents for this because I don't want the server and client to communicate here.
The client is changing the parent to replicated storage, so the server doesn't know the client is seeing something different.
I want to know if the server adding a child to the model will also cause the client to sync the parent as well (ie change the model's parent back to workspace), or if the client will just recognize the child as being placed in the model, in replicatedstorage. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 27 Jun 2016 02:15 PM |
No. Nothing will be in sync. Its either
1. Server adds to model beforehand Client clones model moves to replicated storage Server will not see this model in replicatedstorage
2. Client adds to model Server adds to model Server clones model and moves to replicated storage Client clones model and moves to replicated storage Client will see what the server and he has added to model Server will not see the model the client cloned, but will see the model it cloned and added to.
Make sense? I'm still trying to understand what you mean
|
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 27 Jun 2016 02:19 PM |
Oh I understand your question. Basically, if the client sees the model in ReplicatedStorage, and the Server adds a part to that model (which it thinks is in the Workspace) the part will appear in the model in the ReplicatedStorage for that player. The model won't be brought to the workspace or anything.
|
|
|
| Report Abuse |
|
|