Photon Cloud To Server?

Options
advsnoob
edited January 2014 in Photon Server
Hey guys,

I am quite new to Photon right now and have been reading some stuff for a few days now. Basically I have some questions I would like to ask and hopefully you guys can help me. I was creating a game using Photon Cloud and it came to my realization that I cannot do what I truly needed to do safely with Photon Cloud and that was to store the following safely and request it from a SQL database.

-Player Information (stats/health/inventory)
-Items on the map
-Dropped props
-etc..

So I was pointed towards Photon Server and to be honest even though I know C# and C++ networking isnt my strong suit but I WANT TO LEARN. So I was wondering where I can go to get some pointers and get heading in the right direction. I do have a dedicated server and my game will only be holding about 60 people per game (Hosted by the server not other clients) so its not a MMO I would say but a multiplayer game. I understand Unity and I actually got the hand of Photon in unity with Photon Cloud but again if I can get pointed in the right direction that would be AMAZING.

Thank you,
Michael C.

Comments

  • chvetsov
    Options
    Hi, Michael

    it is true, right now you are not able to execute your code on Photon Cloud. But we are preparing new version, where you will be able execute your code through plugins or send some events to some http service, where you will be able to save/load data to data base.

    about second question:
    It is difficult for me to help you here. i have never used any totorial, just msdn help, where i belive youo may find tutorial also.
    Here is the ling from stackoverflow
    http://stackoverflow.com/questions/2357 ... rogramming

    here is a link where you can find tutorials for Photon
    https://www.google.ru/search?q=photon+t ... 3&ie=UTF-8
  • chvetsov wrote:
    Hi, Michael

    it is true, right now you are not able to execute your code on Photon Cloud. But we are preparing new version, where you will be able execute your code through plugins or send some events to some http service, where you will be able to save/load data to data base.

    about second question:
    It is difficult for me to help you here. i have never used any totorial, just msdn help, where i belive youo may find tutorial also.
    Here is the ling from stackoverflow
    http://stackoverflow.com/questions/2357 ... rogramming

    here is a link where you can find tutorials for Photon
    https://www.google.ru/search?q=photon+t ... 3&ie=UTF-8

    Hello,

    That sounds great, I want to be able to use a dedicated host so I will need to learn this. Shouldn't be to hard I hope since I already know C#. Its just a bit confusing to me how to communicate with unity and the dedicated server. What do they use? RPC (I believe that's what it was called).
  • chvetsov
    Options
    >>What do they use?
    you should use connect with address and app name

    and then after connect you may use OpCustom to send your requests to server