Advanced Sessions Plugin

[quote=“PhoenixSmurf, post:2342, topic:30020”]

Is there an elegant way to pass the ExtraSessionSettings over to clients? Or to request newer information from the client to its session (without refinding sessions)? The situation is, I have one client tell the server to change its game session extra settings, then I want all clients to get that information. I’ve tried passing an array of SessionPropertyKeyPair structs to an OnUpdate client RPC call but the information doesn’t appear to replicate; an array of 3 elements arrives on the client RPC but it’s all None/0/null data.

Just keep an actual array of settings on the server, fill out the extra settings from that array, not the other way around, you are approaching it backwards. Even if I made the extra settings array replicate it would be a generally bad idea as all of the extra key names and a lot of the data are string formatted and it would be a bandwidth waste.

Generally I will also note that clients shouldn’t be “telling” the server to update session settings. Not entirely sure what you are doing there.