Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Looking for a better multiplayer solution with authoritative networking

Discussion in 'Multiplayer' started by nxtboyIII, Jul 15, 2016.

  1. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    Hi,
    I have recently been looking for a better solution for my multiplayer FPS project. I'm currently developing a mobile multiplayer FPS called Bullet Force, and the game has received quite a lot of traction, so much that people are already starting to modify the DLLs and hack it.

    Right now I'm using Photon, but as you know, it's not exactly authoritative so I don't have control over what players can do if they mod the DLLs. However, what I do love about Photon is the idea that anybody can create a room for others to join, and I can let the player who is creating the room change settings such as max players, game mode, map, etc.

    What I am asking, is if there is a networking solution to use my Ubuntu server to host the servers for the games and have authoritative control over each player, and also if it is possible to let players create their own rooms but when the room starts, it is hosted off of my Ubuntu server instead of their device?

    Thanks
     
  2. Kamil-Says

    Kamil-Says

    Joined:
    Jun 30, 2014
    Posts:
    154
    Have you ever take a look at photon on premise? Because it looks like you didn't.

    Why do you even allow them to mod the dlls? Add server sided checks, compare the dlls with the on server. There are a lot ways to prevent such stuff.
     
    Last edited: Jul 16, 2016
  3. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    I want to do things such as raycasting (server-sided hit detection) but I can't really do that with OnPremise.
     
  4. Kamil-Says

    Kamil-Says

    Joined:
    Jun 30, 2014
    Posts:
    154
    Wait, why would you make a raycast server sided?
     
  5. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    For server-sided hit detection. So players will send the RPC to fire a bullet, and the server will tell if they hit someone, that way players can't hack it and call the PlayerHit() function to insta-kill anyone without shooting them
     
  6. recon0303

    recon0303

    Joined:
    Apr 20, 2014
    Posts:
    1,634
    Remember there is Photon Pun, and Photon Bolt, which is newer to the company...Bolt has authoritative . Both are different but owned by the same company..Since they bought Bolt from another company a little while back.