Where the photon server run at ?(Unity or Standalone)

AvivOren
AvivOren
edited April 2017 in Photon Server
I have a game that going to be released on steam. I made a network system with the Unity's network transport(low level).

And when I run my project on the windows server(desktop view) I see 100% CPU even if I put there empty project.(I know the CPU is low, but not that much.)

So my question is. If I will create dedicated servers for my game with photon, they will run in unity ?(as unity file ?)

Thanks ,
Aviv Oren.

Comments

  • Hi, Aviv
    if you use photon, then server is running complitly outside of unity. Game it self uses only client lib.
    you will need either create application in our cloud, or host server your self

    best,
    ilya
  • AvivOren
    AvivOren
    edited April 2017
    ..
  • AvivOren said:

    chvetsov said:

    Hi, Aviv
    if you use photon, then server is running complitly outside of unity. Game it self uses only client lib.
    you will need either create application in our cloud, or host server your self

    best,
    ilya

    Hey, I think that you didn't get me. If I host a photon server(In Linux/Windows Server). What file it will be(Unity, Console ?) and where should I develop it ? In unity or other program/s ?
  • well, photon server right now can be deployed only to windows machine.
    Photon Server has PhotonSocketServer.exe which is normal win32/64 application. it can be registerd as windows service.
    to develp server side code you need to use any .net language C#, VB.NET, F# C++/CLI and so on
    for server side development you use any tool you like For instace Micrsoft Vistual Studio is very good choose.

    best,
    ilya
  • chvetsov said:

    well, photon server right now can be deployed only to windows machine.
    Photon Server has PhotonSocketServer.exe which is normal win32/64 application. it can be registerd as windows service.
    to develp server side code you need to use any .net language C#, VB.NET, F# C++/CLI and so on
    for server side development you use any tool you like For instace Micrsoft Vistual Studio is very good choose.

    best,
    ilya

    https://www.photonengine.com/en-US/OnPremise/Download
    What should I pick ? I tried Unity but there arn't no exe file..
  • this link is server sdk
    https://www.photonengine.com/Download/Photon-OnPremise-Server-SDK_v4-0-29-11263.exe

    if you are going to modify server code we would recommend to start with plugins sdk: https://www.photonengine.com/Download/Photon-OnPremise-Server-Plugin-SDK_v4-0-29-11263.exe

    if you are not going to change server side code, then you may start with cloud hosting. it is free to certain point. and it is enough for development.

    to start client develpment you need this: https://www.photonengine.com/Download/Photon-Unity3D-Sdk_v4-1-1-7.zip


    i'm not really sure why you started to worry. all games regardless network or local take almost all cpu. so, if you as gamer host server and it takes 100% well it is ok. i would worry only in case if you want to have dedicated server. then in this case you need something like photon

    best,
    ilya