Best approach for competitive racing multiplayer
Options
newlife
✭
in Photon Bolt
Hello, we are the team behind Real Drift Car Racing, a quite successful mobile drift racing game.
We are planning to implement real time multiplayer for our game.
Players will have a expertise lever (it will be zero for everyone at the beginning).
A player can select several rooms (drift race, time attack race, timed event etc) which should be hosted on the server and should be persistent. We are not sure about user created rooms (we read abut potential exploits regarding rooms creations https://forum.photonengine.com/discussion/14131/photon-bolt-cloud-matchmaking-exploits). The player will be matched with another player with around the same level of expertise (and with a car of the same ). Once found, the race will start (so only two players with two cars that dont collide each other). Ideally the player can also race also against a ghost saved on the server (so there will be a leaderboard with the best players with the relative ghost to race against). The winner will have its expertise level increased, the loser will have it decreased.
This is clearly a competitive multiplayer, so I need a service with an authoritative server and client prediction.
Is this possible in Bolt?
In the case, which is the best approach to go for?
We are planning to implement real time multiplayer for our game.
Players will have a expertise lever (it will be zero for everyone at the beginning).
A player can select several rooms (drift race, time attack race, timed event etc) which should be hosted on the server and should be persistent. We are not sure about user created rooms (we read abut potential exploits regarding rooms creations https://forum.photonengine.com/discussion/14131/photon-bolt-cloud-matchmaking-exploits). The player will be matched with another player with around the same level of expertise (and with a car of the same ). Once found, the race will start (so only two players with two cars that dont collide each other). Ideally the player can also race also against a ghost saved on the server (so there will be a leaderboard with the best players with the relative ghost to race against). The winner will have its expertise level increased, the loser will have it decreased.
This is clearly a competitive multiplayer, so I need a service with an authoritative server and client prediction.
Is this possible in Bolt?
In the case, which is the best approach to go for?
0
Comments
-
You can probably keep track of expertise level using PlayFab or some other service.
Are you going to host dedicated servers?0 -
Im going to use cloud API to keep track of the expertise level.
As far as I know, dedicated server is possible only with Bolt Pro, available only to "selected customers".
Which is the best option for my use case, keeping in mind that our game (Real Drift Car Racing) is quite successful and we are already experiencing a lot of hacking on our custom leaderboard?
In order to have a real authoritative server with Bolt it must be hosted somewhere (headless server mode).
So it seems that its better to use Photon server, which should not suffer of cloud matchmaking exploits (https://forum.photonengine.com/discussion/14131/photon-bolt-cloud-matchmaking-exploits).
What do you think?0 -
You can use dedicated servers with Bolt Free. https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/headless-server
0 -
I know (if you read carefully my post i wrote about headless server mode), but as I wrote it seems that Bolt suffers of cloud matchmaking exploits, so if I have to host Bolt somewhere, it seems better to me to host directly Photon server. What do you think?0
-
Photon Server doesn't have anything to do with Bolt.
0 -
Both photon bolt and photon server (https://doc.photonengine.com/en-us/server/current/reference/authoritative-server) can be configured as authoritative server (bolt only as headless unity server).
Both must be hosted somewhere.
So, for our use case, knowing that our app is quite successful, that we don't need collisions between cars and we need two rooms for each track (each one with separate leaderboard) which is the best approach?0 -
Both approaches have pros and cons. If you have questions about the Bolt approach we can answer them here, otherwise I would ask about Photon Server here https://forum.photonengine.com/categories/server0
-
What about these issues?
https://forum.photonengine.com/discussion/14131/photon-bolt-cloud-matchmaking-exploits
photon server should not have these issues.
0 -
We addressed these issues in the replies to the thread, if you have a specific concern I would follow up in email.0
-
We are already extending the Photon Bolt API to include all custom authentication methods available on Photon Realtime. This will be available on a future version, probably on version 1.2.11.
We will keep our community updated with any news about this.0 -
any ETA for this?0
-
Which are the pros and cons of photon bolt and photon server relative to my use case?stanchion said:Both approaches have pros and cons. If you have questions about the Bolt approach we can answer them here, otherwise I would ask about Photon Server here https://forum.photonengine.com/categories/server
0 -
What about advanced relay architecture?
https://youtu.be/Y1my5bKhKJY?t=1018
It seems 10 times cheaper than headless dedicated server, which is, as stated in the video, also not reliable.
0