How to replicate "random stream"?

I ran into a problem while replicating my game, I have no idea how to replicate this code, namely the random spawn of items on the map. I am new to UE4, so I will be glad if you can help me!

Blueprint: https://prnt.sc/xb7o71

Yeah the Server needs to Spawn items. When the server spawns things, it will replicate the spawning to each client.

The same approach applies to picking up and dropping items.

What the others said about spawning.
About the thread title: dont replicate the stream, but the seed and initialize the stream on everyones machine with it once at the beginning. everyone will then generate the same random numbers in the same order whenever they request a random number from the stream. so in your BP dont create a random seed (SeedRandomStream), but set the seed to a specific integer (SetRandomStreamSeed) - the one you replicated. the number used as a seed should be picked by the host initially, either randomly (e.g. millsecs) or as a UI setting available to the player hosting (“lets play seed 12347 again, it was fun last time!”).

Thank you, I thought for a long time how best to do this.

https://forums.unrealengine.com/core/image/png;base64

I tried to do what you said, but as far as I understand, nothing worked for me. I hope you can help me

Blueprint: Screenshot by Lightshot (It’s actor)

Are you initializing the seed in the game instance?
Screenshot 2021-01-22 131454.jpg

Here yah go.

I tried to convey all the random logic to the character. Now I have synchronized the client with the server, but the server has two loops, but there are many more loot generation objects on the server.

if you watch the first seconds of the video, you will see how, after the client is loaded, another row of elements appears on the server.

I tried to do as you said, but the code only worked on the server side. Because of what I decided to transfer all the logic from actor to player. On the actor side, I left only the call to the player with the transfer of all the necessary data. On the character side, I did all the logic, and then created an actor with an object.

The screenshots show all the code:

https://forums.unrealengine.com/core/image/png;base64

I am trying to execute all the logic on the server side and then create an item for all clients with this data. I understand that most likely I’m doing something wrong, and using incorrect functions, that’s why I wrote here.

https://forums.unrealengine.com/core/image/png;base64

Yes, I use a translator to communicate with you, as I am not perfect in English.
Да, я использую переводчик для общения с вами, так как я не идеально владею английским языком.

Thanks for helping me, I now have synchronized spawn zones, but I ran into other problems, but I hope I solve them myself.
Спасибо, что помогли мне, теперь у меня есть синхронизированные зоны появления, но я столкнулся с другими проблемами, но я надеюсь, что я их решу сам.