Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: human890209 on September 17, 2016, 11:58:18 PM

Title: Set Event Properties couldn't send Array
Post by: human890209 on September 17, 2016, 11:58:18 PM
it says: Error Editing Action. Unknown FsmArray Type.

i got the screen shot attached
Title: Re: Set Event Properties couldn't send Array
Post by: djaydino 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
Title: Re: Set Event Properties couldn't send Array
Post by: jeanfabre on September 19, 2016, 03:25:49 AM
Hi,

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

 Bye,

 Jean
Title: Re: Set Event Properties couldn't send Array
Post by: human890209 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?
Title: Re: Set Event Properties couldn't send Array
Post by: geoquav 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.
Title: Re: Set Event Properties couldn't send Array
Post by: jeanfabre 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
Title: Re: Set Event Properties couldn't send Array
Post by: jeanfabre 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

Title: Re: Set Event Properties couldn't send Array
Post by: human890209 on November 18, 2016, 06:41:42 AM
When dealing with PUN. I used String Convention a lot :P Array2String, String2Array, Int2String, Vector2String......