Sync data with new players
Hello, I've recently started using PUN, and I'm having trouble syncing data with players that join the server late.For example, if player 1 has 10 kills, and a new player joins the server, he will see...
View ArticleObtaining App ID with Photon Server
While using many of the demos from PUN I am asked for my App Id. The thing is, I want to test these demos using Photon Server. How can I change the code so that it connects to Photon Server?
View ArticleWhere is AuthSettings location
hi everybodyi read the instructions in https://doc.photonengine.com/en/realtime/current/reference/custom-authentication.in the section "Setup for Photon Server", he mentioned AuthSettings must be...
View Article[Unity3D] How to set a Photon Server
Hy everyone, For my game, I use the Photon Cloud. However I want to transform my game to use the "Self Hosted" photon. I have the SDK but I don't know what to do with it . I need a "standard" quick...
View ArticleHow to create master server for Unity3D client, and deploy it to Photon Server?
After installing Photon Server SDK i have "deploy" folder and various deployable examples "LiteLobby", "MmoDemo"...1) How to deploy demo examples?2) How to create my own deployable master server? (like...
View Articlemaximum length of custom serialization byte buffer
What's the maximum permitted length of the byte buffer produced by custom serialization?
View ArticleCustom authentication UserID and NickName not Set
hi, i setuped photon server v4 in my own server. i red this article to configure Custom Authentication hosted in my own web server. but in PUN (v1.66) after connect, in the OnConnectedToMaster...
View Article[Unity3D][Self Hosted Server] Detect local ip of self hosted server.
Hello, I'm new to working with photon but I've been able to figure most of it own on my own or through demos online. I'm currently working on a project which would involve networking 1 laptop to a...
View ArticlePhoton server or PUN?
Dear Photon staff and members,I am developing a small card game to get experience on networking and game development.After some research I have chosen to use PUN for the simplicity of using it for...
View Articlephoton tcp socket TCP_NODELAY
hi,how to set photon tcp socket with TCP_NODELAY?In the windows socket api , i can use setsockopt with TCP_NODELAY arg, but i don't know how to set this option in photon server.please tell me how to...
View ArticleCreateWorld method zeros TileDimentions Vector in MMO demo
As you can see from the screenshot, on entry to OperationCreatedWorld, request.Parameters[2] holds a vector3 containing the values 1000,1000 and 0Once that request has been passed into CreateWorld and...
View ArticleMMO Demo entity movement is useless.
After 3 days of delving into Photon Server code and reverse engineering the MMO demo due to the documentation being less than ideal, I've found out it's missing some major ingredients with the WinGrid...
View ArticleV3 -> 4 Class Inheriting from PeerBase, can no longer override constructor
All of the example I've seen on the net are still using V3 of the SDK and are overriding the constructor of PeerBase. V4 does not allow you to do this.. Has PeerBase been depreciated? How can I...
View ArticleHow to intergrated with cocos2d js on native Android and IOS?
I used cocos2djs to make application and i want it integrate with photon. I downloaded photonjs and try to compile on web and device. It's work ok on web but do not when compile to device (android...
View ArticleFaults in Photon 4
virtual method in S2SPeerBase OnInitializeEcryptionCompleted has a typo.InboundS2SPeer's base constructor with InitResponse signature is deprecated (I could be wrong on this one but I cannot for the...
View ArticleHow do you stop the client from connecting to a server?
Hello everyone, we ran into a small snag and are not sure how to proceed;When starting photon, we run 3 instances, a Gameserver(GS) a Masterserver(MS) and an Editorserver(ES). We are using a DB4O(DB)...
View ArticleHow do I write plugins for the server?
I want my server to be able to store a list of booleans, recieve RPC's to modify those booleans, and send RPC's based off the received RPC's. Is there a specific script I need to modify to to do this?
View Articledeserializing parameters sent as json
Is it possible for the server to deserialize parameters as typed arrays (specifically, string[]) when sent from the JS client library (as JSON), or will array parameters always be object arrays?(This...
View Article[Fixed] Unable to Setup Local Photon Server
Hi,I am trying to set up a local server that connects 4 pcs together with a switch. The PCs are not connected to the internet. I started the LoadBalancing instance on one of the PC and tested the...
View Article