Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jasperPT on January 25, 2016, 03:37:44 AM

Title: asynchronous Photon Actions?
Post by: jasperPT on January 25, 2016, 03:37:44 AM
Hi

Has anyone made Photon asynchronous networking actions?

There seems to be good coverage on Synchronous set up for Playmaker with Photon but not Asynchronous?

I would have  thought Asynchronous was the easier of the two to do?
Title: Re: asynchronous Photon Actions?
Post by: jasperPT on January 26, 2016, 01:39:11 AM
Or is it the Broadcast RPC events actions that I need to be using?
Title: Re: asynchronous Photon Actions?
Post by: jeanfabre on January 26, 2016, 03:53:54 AM
Hi,

 can you explain what you mean by "asnchronous"?

 usually, you want to synchronize PlayMaker variables synchronously, so that the value is the same on all machines.

sending RPC events will only provide a communication system for granular data, I don't recomand using RPC events to continously send information, for this, prefer synchronizing variables.

So, if you could explain your use case, I'll be able to point you in the right direction hopefully.

Bye,

 Jean
Title: Re: asynchronous Photon Actions?
Post by: jasperPT on January 26, 2016, 06:08:08 AM
Hi Jeanfabre

thanks for the reply, what I meant is turn based.

I am making a game where I don't want two users to have to be online at the same time, rather one person makes a play, then the other responds ect.
Title: Re: asynchronous Photon Actions?
Post by: jeanfabre on January 26, 2016, 07:17:20 AM
Hi,

 thanks for the clarification.

 Indeed, I have the turnBased system from ExitGames in the starting block, ready for when PlayMaker 1.8 goes out of beta. You can get an early package if you are confortable with this, it's early and so not everything is clean, it all works but need that final pass to put everything properly.

https://github.com/jeanfabre/PlayMaker--ExitGames--PhotonTurnBased_U4.3.4


Bye,

 Jean
Title: Re: asynchronous Photon Actions?
Post by: jasperPT on January 26, 2016, 08:14:10 AM
Great I will pick it up and have a go.

Thanks for that.
Title: Re: asynchronous Photon Actions?
Post by: jasperPT on January 28, 2016, 05:57:55 PM
Hi Jeanfabre

I have tried to set this up but there seems to be an issue.

What I am doing is the following:

Create a new project
Import playmaker 1.8
Import PlayMakerPhotonTurnBased.unitypackage

It seems to import ok but playmaker is not picking up the new actions.
When I click the action browser in playmaker none of the new actions are appearing there.

Edit:
Also I am getting this error even if ecosystems is installed:
Assets/PlayMaker Photon TurnBased/Scripts/PlayMakerPhotonLoadBalancingEventTable.cs(9,29): error CS0234: The type or namespace name `Ecosystem' does not exist in the namespace `HutongGames.PlayMaker'. Are you missing an assembly reference?


Then
Title: Re: asynchronous Photon Actions?
Post by: jeanfabre on January 29, 2016, 12:42:46 AM
Hi,

 ok, I'll give it a go.

Please bump me early next week if I haven't replied.

 Bye,

 Jean
Title: Re: asynchronous Photon Actions?
Post by: jasperPT on February 04, 2016, 04:45:13 AM
Hey Jeanfabre

Just bumping to see if you had a chance to look at this yet?
Title: Re: asynchronous Photon Actions?
Post by: jeanfabre on February 05, 2016, 12:43:04 AM
Hi,

 Running behind, sorry... will try this week.


Bye,

 Jean
Title: Re: asynchronous Photon Actions?
Post by: jasperPT on February 10, 2016, 06:34:00 AM
Any luck this week?

: )

Title: Re: asynchronous Photon Actions?
Post by: jeanfabre on February 15, 2016, 01:50:48 AM
Hi,

 sorry, I won't be able to look at this any time soon, It's on my todos tho, so please keep bumping! :) Thanks for your understanding.

Bye,

 Jean
Title: Re: asynchronous Photon Actions?
Post by: jasperPT on February 24, 2016, 09:49:22 AM
Hi Jeanfabre

Just a friendly bump to see if you had a chance to check this out yet?