playMaker

Author Topic: Send Remote Event  (Read 4779 times)

KirbyRawr

  • Playmaker Newbie
  • *
  • Posts: 16
    • Overflowing Team
Send Remote Event
« 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!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Send Remote Event
« Reply #1 on: February 20, 2014, 11:39:46 PM »
Hi,

 What version of Unity and PlayMaker are you using?

bye,

 Jean

KirbyRawr

  • Playmaker Newbie
  • *
  • Posts: 16
    • Overflowing Team
Re: Send Remote Event
« Reply #2 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Send Remote Event
« Reply #3 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Send Remote Event
« Reply #4 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

nezzard

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Send Remote Event
« Reply #5 on: August 14, 2014, 03:20:26 PM »
Will fix this bug?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Send Remote Event
« Reply #6 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

junglist

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Send Remote Event
« Reply #7 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Send Remote Event
« Reply #8 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