playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Raika

Pages: [1]
1
PlayMaker Help / [SOLVED] Pun classic/pun 2 errors, ecosystem search issue.
« on: September 30, 2019, 05:59:56 AM »
After importing PUN 2 from asset store and Play Maker Pun2 from ecosystem i get those errors:
Quote
Assets\PlayMaker PUN 2\Editor\PlayMakerPhotonWizard.cs(39,13): error CS0103: The name 'RegisterOrigin' does not exist in the current context

Assets\PlayMaker PUN 2\Editor\PlayMakerPhotonWizard.cs(39,45): error CS0117: 'AccountService' does not contain a definition for 'Origin'

Assets\PlayMaker PUN 2\Editor\PlayMakerPhotonWizard.cs(84,13): error CS0103: The name 'RegisterOrigin' does not exist in the current context

Assets\PlayMaker PUN 2\Editor\PlayMakerPhotonWizard.cs(84,45): error CS0117: 'AccountService' does not contain a definition for 'Origin'
I found this https://hutonggames.com/playmakerforum/index.php?topic=21157.msg92847#msg92847 in short:
I delete PlayMakerPhotonWizard.cs and it's working now.
But Jean said:
Quote
Hi,

You likely haven't installed pun 2 package, but pun classic (v1).

 Bye,

 Jean
Now i'm confused cuz i was sure that i imported pun 2 from asset store and then pun 2 from eco, so i created new project PM>eco>From asset store:https://assetstore.unity.com/packages/tools/network/pun-2-free-119922>from eco:


and i still get same error so maybe PM pun2 have some files from pun1?

I'm concerned about deleting PlayMakerPhotonWizard.cs. Can this create some errors in future or maybe this file shouldn't be in package?

Also i tried start with pun classic but i cant find pun 1/classic on eco, only this:

And manual link from here https://hutonggames.fogbugz.com/default.asp?W928 (PlayMakerPUN.unitypackage) is getting me 404.






2
PlayMaker Help / Multiplayer AI Synchronization (pun)
« on: June 22, 2019, 03:10:09 AM »
Quick info about game: similar to diablo, 1-4 players, up to 25 enemy can be on screen on the same time, besides deal damage player can also inflict effects such as stun, slow or push enemy.

Queastion: to synchronize enemy movement for multiplayer, better is to sync target for NavMesh  (1 photon view used be manager) or put photon view on all enemy and sync current position?

3
So i have random generated cave(walls and empty space), how will it be better to add objects to the empty space? Raycast or take cave picture and Get Pixel Color?

4
Everything works fine, but I have 2 object, which after clicking one of them I am constantly receiving error below:

Quote
ArgumentException: Array was not a one-dimensional array.
System.Array.GetValue (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Array.cs:485)
HutongGames.PlayMakerEditor.FsmSearch.FindEventsSentBy (System.Object obj, Int32 currentDepth) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:257)
HutongGames.PlayMakerEditor.FsmSearch.FindEventsSentBy (System.Object obj, Int32 currentDepth) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:273)
HutongGames.PlayMakerEditor.FsmSearch.FindEventsSentBy (System.Object obj, Int32 currentDepth) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:273)
HutongGames.PlayMakerEditor.FsmSearch.FindEventsSentBy (System.Object obj, Int32 currentDepth) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:273)
HutongGames.PlayMakerEditor.FsmSearch.FindEventsSentBy (System.Object obj, Int32 currentDepth) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:273)
HutongGames.PlayMakerEditor.FsmSearch.DoSearch () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:178)
HutongGames.PlayMakerEditor.FsmSearch.Update () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:150)
HutongGames.PlayMakerEditor.FsmSearch.Update (HutongGames.PlayMaker.Fsm fsm) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:103)
HutongGames.PlayMakerEditor.FsmEditor.OnInspectorUpdate () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:801)
HutongGames.PlayMakerEditor.FsmEditorWindow.OnInspectorUpdate () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:284)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:291)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:284)
UnityEditor.HostView.OnInspectorUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:174)

Also when i double click on this error instead of visual studio open i get this in inspector:



5
PlayMaker Help / Send array with photon?[SOLVED]
« on: January 10, 2018, 08:21:31 AM »
What is the best way to send array with photon? I have hashtable(type:int), i wanna somehow send this data, from what i know hashtable is not supported by RPC, but what with array?

6
PlayMaker Help / How to generate random numbers with a seed? [SOLVED]
« on: November 28, 2017, 03:12:12 AM »
I'm creating multiplayer game with big world. To create objects in game i'm using basic action Random int like that: starting from 0,0 add RanX(2-10) and RanY(0-4 reset Y on object add), when X go 3000, reset X to 0 and add 5 to Y. I don't wanna send this all information thru web because bandwidth limit, I would like to send only seed.

Is it possible to generate numbers in this way using a seed?


7
PlayMaker Help / Array size issue [SOLVED]
« on: October 26, 2017, 11:03:58 AM »
When i try to create big int array like 400 000 unity froze. If I add a lot of ints to array on runtime and click on variable window i get this error: unity playmaker array was not one-dimensional array.
Does playmaker not support large array? Or did I do something wrong?

8
PlayMaker Help / Playmaker + Photon, connect issue.[SOLVED]
« on: September 07, 2017, 01:01:51 PM »
This is my setting:

If i create room on my pc and join with copy of program, everything work fine, but my friend can't create or join room on hic pc locally or join my room via network.
i don't understand why he can't create server with build i send to him.
Any idea?

Pages: [1]