playMaker

Author Topic: Set Event Properties couldn't send Array  (Read 3919 times)

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Set Event Properties couldn't send Array
« on: September 17, 2016, 11:58:18 PM »
it says: Error Editing Action. Unknown FsmArray Type.

i got the screen shot attached

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Set Event Properties couldn't send Array
« Reply #1 on: September 18, 2016, 09:29:58 AM »
Hi,
i think that array is not a supported variable for Event Data,
if you look to "get Event Info

Maybe Get/Set Fsm Array can help you out

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Event Properties couldn't send Array
« Reply #2 on: September 19, 2016, 03:25:49 AM »
Hi,

 Good point, I'll update the Set/Get event properties to send arrays.

 Bye,

 Jean

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: Set Event Properties couldn't send Array
« Reply #3 on: October 02, 2016, 08:30:54 AM »
And Photon Network's Custom Properties couldn't use Array either.
I know Custom Properties is kind of hash-table, could array format be the item of it?

How to Sync some kind of Database in PUN? I'm thinking using some arrays, but the Custom Properties don't support Array. Is there a better way?
« Last Edit: October 02, 2016, 09:00:09 AM by human890209 »

geoquav

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Set Event Properties couldn't send Array
« Reply #4 on: October 19, 2016, 09:59:24 AM »
I'm running into the same problem. Trying to place an array into the Room Properties but getting the same problem.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Event Properties couldn't send Array
« Reply #5 on: November 01, 2016, 03:24:38 AM »
And Photon Network's Custom Properties couldn't use Array either.
I know Custom Properties is kind of hash-table, could array format be the item of it?

How to Sync some kind of Database in PUN? I'm thinking using some arrays, but the Custom Properties don't support Array. Is there a better way?

Hi, synching database viy PUN is a bad idea. instead host your database online and each player will query that database based on unique IDS, passing IDS is a lot more efficient and will not affect your bandwitdh and penalize your gameplay.

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Event Properties couldn't send Array
« Reply #6 on: November 01, 2016, 03:26:16 AM »
I'm running into the same problem. Trying to place an array into the Room Properties but getting the same problem.

Hi,

Placing an Array into a Room Properties requires at the moment custom coding. I have planed to tackle this, but when is another question :) please keep bumping.

Bye,

 Jean


human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: Set Event Properties couldn't send Array
« Reply #7 on: November 18, 2016, 06:41:42 AM »
When dealing with PUN. I used String Convention a lot :P Array2String, String2Array, Int2String, Vector2String......