playMaker

Author Topic: Anyone have an idea how Playfab+Photon works with Playmaker?  (Read 1978 times)

paradiseprime

  • Full Member
  • ***
  • Posts: 106
Anyone have an idea how Playfab+Photon works with Playmaker?
« on: November 17, 2021, 04:26:15 PM »
I am trying to make a MMO and Photon has been great. I heard Playfab can offer servers but would I need to switch how everything is being done with Photon or is it as simple as installing Playfab, tweaking a few actions and viola?

I saw there is a Playfab actions asset and I would be more than happy to get it but I want to make sure the 2 of them will play well for a MMO-like setting.

When I say MMO I mean persistent servers, saving player data when they leave and come back in, having players log in.

Would Pun2 be fine for a smaller MMO like scenario? Does Playmaker function with any other version of Photon?

andyandyandy

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Re: Anyone have an idea how Playfab+Photon works with Playmaker?
« Reply #1 on: November 17, 2021, 09:31:56 PM »
I'm currently using the PPA actions asset for playfab and it works great, the tutorial can help you with getting started on packing/extracting data from playfab server. Photon I'm not quite sure about. I'm making a mobile war game so I'm also playing around with playfab and photon. (Haven't had much experience with photon yet)

andyandyandy

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Re: Anyone have an idea how Playfab+Photon works with Playmaker?
« Reply #2 on: November 17, 2021, 09:41:12 PM »
Also I did email to the photon team about doing mmo, and they told me their server is built for casual games that are like 5-10 minutes long that needs a lobby. Not something that needs to be active 24/7.

But playfab will help you save your datas. When you start your game, it will get json data from playfab, you then extract it with a array. You also need to get the server time so then you'll know how long you logged off/on to give you the right amount of resources if you have that in your game. You also need to have a function that send data back to playfab everytime you equip a gear, use a potion, daily time cycle. If you update system with a timer, then you'll also need to get the server time and compare it with the current time to see if is done when they're offline.

paradiseprime

  • Full Member
  • ***
  • Posts: 106
Re: Anyone have an idea how Playfab+Photon works with Playmaker?
« Reply #3 on: November 17, 2021, 09:51:05 PM »
Documentation seems very sparse. I am struggling to do something as simple as log in. The demo is getting stuck on "Please Wait" sadly.

As for Photon not working for MMOs. I heard something similar which is why I am wondering if there is some other package that we can use with photon that also has Playmaker support.

andyandyandy

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Re: Anyone have an idea how Playfab+Photon works with Playmaker?
« Reply #4 on: November 17, 2021, 09:58:16 PM »
Did you make a playfab account on the website and put secret key and title key on unity?

paradiseprime

  • Full Member
  • ***
  • Posts: 106
Re: Anyone have an idea how Playfab+Photon works with Playmaker?
« Reply #5 on: November 17, 2021, 11:37:32 PM »
Yea. Imma keep playing around with it till I get something to work.