Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Creare my own Photon server

Discussion in 'Connected Games' started by slavikjocker, Oct 13, 2018.

  1. slavikjocker

    slavikjocker

    Joined:
    Jun 13, 2018
    Posts:
    2
    Hello everyone. I wanna ask you about photon server. Currently i have some online functions in my game, but 20 CCU is not so much, and i have no more money right now, but have PC (G4560, 8GB RAM, 100 mbps network, 1TB HD). How can i create my own server?
     
    megabrobro likes this.
  2. megabrobro

    megabrobro

    Joined:
    Jul 8, 2017
    Posts:
    83
    I am at the exact same situation. I made a way using Unity if I manually input my IP and host the game as Host Client at my end. It worked but I'm still struggling how to perfect it all. (Also sadly hear that all of UNET is being phased out soon but I am not clear as to what its being replaced with).

    Unfortunately much of the Unity documentation and 'help' seems to point you towards using their own Matchmaking service. But currently with UNET that is optional and you can use the direct connection to connect gamers together. I've been struggling getting to learn it all for well over a year and still haven't managed it properly. (I think the term 'Master Server' may be of help to you if you can read that stuff and understand it -forgive me if i'm wrong tho!)
     
    slavikjocker likes this.
  3. slavikjocker

    slavikjocker

    Joined:
    Jun 13, 2018
    Posts:
    2
    Thank you for response! I seen 1 week ago in official Photon web-site somethink like "Your own server", and there are some files
     
  4. megabrobro

    megabrobro

    Joined:
    Jul 8, 2017
    Posts:
    83
    wow, that is news to me! I will certainly take a look at this for my own games. That would be crazy nice of Photon to include a way for us to host our own servers at home for free. Thanks for the info mate
     
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    3,954
    Photon does have a way to host the server yourself. It is called "Photon Server" and the free license includes 100 CCU instead of 20 CCU. They will not offer an unlimited CCU free license.

    https://www.photonengine.com/en-US/Server/pricing

    A "free" alternative would be to create your own server solution using an available free networking API and self host.
     
    megabrobro likes this.
  6. megabrobro

    megabrobro

    Joined:
    Jul 8, 2017
    Posts:
    83

    This sounds exactly the kind of thing i need to learn more about. thank you!