Mmorpg on photon?
Hello everybody ! Sorry for my bad English , i'm French !I have made a mmorpg in pixel game and now i want to do the "network part"I read a lot about photon networking, cloud ect... and i have 2 BIG...
View ArticleHow to restrict the same player play against himself?
Let's say there is a game for the Facebook, and in the game ppl can login without facebook id, and this game has leaderboard, so each player has some score in the leaderboard. So, if the same human...
View ArticleNewbie question. Why i cannt get callback "OnConnectedToMaster" from PUN
i am trying to make simple steps with PUN, just connect to master server, and join random room. I have setted log all info to console, and as I understand I am connectin to server, but...
View ArticleServer Custom Properties
I've (many times) gone over many documents regarding this topic, but they all appear to be outdated. The "Matchmaking guide" which I so often stumble across doesn't even work on its own right with the...
View Articlenewbie server / client best practice question
Hello All,I am relatively new to both Unity and photon. I have completed a few of the unity tutorials and wanted to try making a simple multiplayer game. I figured I would do a multiplayer version of...
View Articlenamespace could not be found
Hello everybody !I would like to use CrossPlatformInput in the standart assets to use a virtual joystick to make a Android game, but when i put in the script the "if (view.isMine) { ...... } "I have a...
View ArticleOperation failed: OperationResponse 219: ReturnCode: -2 (Rpc is not enabled).
Hello, I have an error message that I would like to understand better, what does Rpc is not enabled mean? I presume this is an error message that is from within the Server - but since we don't use a...
View ArticleSetting custom properties causes slow down
Hey,I found that custom properties are causing slow downs in my game. I use them quiete a bit:- Player died and a custom properties is increased and an RPC Die() is send to PhotonTargets.All- Detecting...
View ArticleCheck player name existance
A really short and straight question. Is it possible to check a player name existance. If it exists, i want to send the player a message to choose another name. Example. There is an inputfield. If the...
View ArticlePhotonNetwork.LoadLevel
I use Photonnetwork.LoadLevel to load the new scene. However, since the Application.LoadLevel is obsolete, is there any new implementation for Photonnetwork.Loadlevel such as Photonnetwork.LoadScene?...
View ArticleOnApplicationFocus to switch MasterClient
Hello! We are trying to make a multiplayer game. We have bots in game and all the bots are controlled by master client. The problem is that the method is not called immediately when the master client...
View ArticleInstantiating an object for only specific player(s)?
How can I instantiate an object but only for specific players? Something like:PhotonNetwork.Instantiate("myObject", targetActors: new []{photonPlayer.ID, otherPhotonPlayer.ID});
View ArticleSet/read network variable? (SetCustomProperties)
Hi, I am trying to set a custom variable (player gender). Then when a new player is detected I will read from this network variable and activate the correct player group in the prefab clone.Can I...
View ArticleWhere is the best place for AI ?
My goal is having a small game with a few players and a few AI bots.My question is who is usually done ?I thought of having the host handle all the bots for example, but is that a good way to do...
View Article[help]Instantiate only working locally
I am really desperate, I wasted so much time trying to solve this.Basically at start everything worked, I had 2 players with another client and it connected and spawned, then I added a lot of other...
View Articlesync variables
I want all the variables for the player to be synced on all clients so the client can click on any player and see their stats. I thought this would be as simple as syncing them all when the player is...
View ArticleProblem with FriendList isOnline
Hi, I have a problem with PhotonNetwork.Friends list. It always says that player is online, even if I'm logged on second client with the same name. Everything is commented in code. Please help me ASAP...
View ArticleHow to damage others but ignore self
Hello there! I really like Photon so far, but I'm pretty new to it so I have some issues at the moment in regards to specific players taking damage etc.So the way it currently works is that every...
View ArticleIPunCallbacks without a MonoBehaviour
Is there a built in way to receive IPunCallbacks on objects which are not MonoBehaviours?I suppose looking through the code I could add a method to PhotonNetwork to register the IPunCallback objects,...
View Article