Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: KirbyRawr on February 17, 2014, 08:28:53 PM

Title: Send Remote Event
Post by: KirbyRawr on February 17, 2014, 08:28:53 PM
Hi, i can't get send remote event to work, i put a string for send with it, and it's marked as global, but it's keeping telling me this error:

Quote
Sending RPC 'SendRemoteFsmEvent' failed because the number of supplied parameters doesn't match the rpc declaration. Expected 1 but got 2 parameters.
UnityEngine.NetworkView:RPC(String, RPCMode, Object[])
HutongGames.PlayMaker.Actions.SendRemoteEvent:DoRemoteEvent() (at Assets/PlayMaker/Actions/Network/SendRemoteEvent.cs:58)
HutongGames.PlayMaker.Actions.SendRemoteEvent:OnEnter() (at Assets/PlayMaker/Actions/Network/SendRemoteEvent.cs:42)

Hope someone can help me, thanks!
Title: Re: Send Remote Event
Post by: jeanfabre on February 20, 2014, 11:39:46 PM
Hi,

 What version of Unity and PlayMaker are you using?

bye,

 Jean
Title: Re: Send Remote Event
Post by: KirbyRawr on February 22, 2014, 11:10:50 AM
Hi,

 What version of Unity and PlayMaker are you using?

bye,

 Jean
Hi, i use the last Unity and the last Playmaker
Title: Re: Send Remote Event
Post by: jeanfabre on February 24, 2014, 05:52:55 AM
Hi,

 Yep, Indeed, something broke. I have reported this, It will be likely sorted for the next update.


bye,

 Jean
Title: Re: Send Remote Event
Post by: jeanfabre on February 24, 2014, 06:01:13 AM
Hi,

 Actually, it turns out it needs implementing to begin with. I guess it went off our radar, sorry about that.

bye,

 Jean
Title: Re: Send Remote Event
Post by: nezzard on August 14, 2014, 03:20:26 PM
Will fix this bug?
Title: Re: Send Remote Event
Post by: jeanfabre on August 18, 2014, 04:09:50 AM
Hi,

 Hopefully, but maybe the network system within PlayMaker will get a facelift when Unity will release its new network system.

 Currently, I strongly encourage you to use Photon, since you don't need to take care of the server side, since it runs in the cloud.

 Bye,

 Jean
Title: Re: Send Remote Event
Post by: junglist on October 07, 2014, 08:22:41 AM
I have been trying to figure this out for the past few days with no luck.

It seems "SendRemoteFsmEvent" is a string variable, but stringData is also a string variable and I don't think you can send 2 of the same variable type in 1 RPC.

"SendRemoteFsmEvent" is what is sent to the networkView for playmaker fsm's?
Title: Re: Send Remote Event
Post by: jeanfabre on October 20, 2014, 01:30:29 AM
Hi,

 no, and also the networking implementation has a bug/missing feature currently, so it's best to avoid it all together and use Photon for example which is extensivly covered.

 Bye,

 Jean