Network Sync
in Photon Bolt
Hello @all,
If i start the Server , the server load the main Sceen.
Then i let there spawn enemy Ships (all have a network id, i read that is the wrong way but i didnt change it at time).
In the Client Side i let Spawn a player when he connects.
The Problem is that the Players are halfway Snyc and the Enenmys in the Clients not.
Has anyone a idee what there is wrong ?
If i start the Server , the server load the main Sceen.
Then i let there spawn enemy Ships (all have a network id, i read that is the wrong way but i didnt change it at time).
In the Client Side i let Spawn a player when he connects.
The Problem is that the Players are halfway Snyc and the Enenmys in the Clients not.
Has anyone a idee what there is wrong ?
0
Comments
-
Hello,
Have you followed our Getting Started and Advanced Tutorials?
1. https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/bolt-basics/bolt-101-wizard-setup
2. https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/advanced-tutorial/overview
It's not clear what is your issue, can you elaborate?
--
Ramon Melo
Photon Bolt Team0 -
Hello,
I have found my Problem. It was an Problem with the State transform.
Now every Ship is on every Client on the same position.
What i have now is that the position transform is lagging.
I search for the best Option with the Simulate Rate and Network rate. I think there is the Problem.
My Projekt is to different and i have minimal experience in Networking to describe where my Problem accurate is.
The Dokumentation is a little bit hard to understand. I want to know which function i must use to start a server and load a scene (not with client , only server) and what functions i need for the Client start.
On Server Side what i need to spawn global Gameobjects that every client can see it. And if they move how i set the states correct that the Server and the Client are sync. The States i understand but the functions are unclear
0 -
Hello @FlorianWpw ,
Again, you need to follow the Tutorials to get a better idea on how to use Photon Bolt:
1. https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/bolt-basics/bolt-101-wizard-setup
2. https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/advanced-tutorial/overview
Both explain all you need to get started and use Bolt.
--
Ramon Melo
Photon Bolt Team0 -
Thema for me closed .the states do not work as they should and are not available globally if you have set them in the server. The topic is done for me. I will do nothing more and look for another solution. the approach was not bad but brings me no further. And as already mentioned the documentation does not help at all in this particular case.
0 -
Hello @FlorianWpw ,
Again, you need to follow the Tutorials to get a better idea on how to use Photon Bolt:
1. https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/bolt-basics/bolt-101-wizard-setup
2. https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/advanced-tutorial/overview
Both explain all you need to get started and use Bolt.
--
Ramon Melo
Photon Bolt Team
This worked perfectly, thanks!0
This discussion has been closed.