Asking about an error of PhotonDemoParticle for UE4
Options
Hi everyone
I'm researching PhotonDemoParticle for UE4. After the example runs, I encounter OperationCode: 229 ReturnCode: -1 and OperationCode 225 ReturnCode: -1. The OperationCode 220 is returned by the LoadBalancing server application when a client sends an operation request to the wrong server (Master Server or Game Server). But I have no idea how to fix it. Only I put my AppId which I got after Photon Chat server was generated.
Any help is appreciated.
I'm researching PhotonDemoParticle for UE4. After the example runs, I encounter OperationCode: 229 ReturnCode: -1 and OperationCode 225 ReturnCode: -1. The OperationCode 220 is returned by the LoadBalancing server application when a client sends an operation request to the wrong server (Master Server or Game Server). But I have no idea how to fix it. Only I put my AppId which I got after Photon Chat server was generated.
Any help is appreciated.
0
Best Answer
-
Hi @mskiller.
Do you mean that you use a Photon Chat appID with PhotonDemoParticle?
That does not work. The nameserver uses the appID to identify the type of the client and will return the addresses of different types of servers to the client depending on the determined client type.
Hence with Chat-cpp you need to use a Photon Chat appID and with LoadBalancing-cpp you need to use a Photon realtime appID.
PhotonDemoParticle is a realtime demo and uses LoadBalancing-cpp.
demo_chat is a chat demo and uses Chat-cpp.
If your own app would use both, LoadBalancing-cpp and Chat-cpp, then it would need to use a Realtime and a Chat appID and use them with the respective Client APIs.
As you know, 20 CCU apps are free. So you can just set up a realtime app in addition to your existing Chat app solely for the purpose of running PhotonDemoParticle.5
Answers
-
Hi @mskiller.
Do you mean that you use a Photon Chat appID with PhotonDemoParticle?
That does not work. The nameserver uses the appID to identify the type of the client and will return the addresses of different types of servers to the client depending on the determined client type.
Hence with Chat-cpp you need to use a Photon Chat appID and with LoadBalancing-cpp you need to use a Photon realtime appID.
PhotonDemoParticle is a realtime demo and uses LoadBalancing-cpp.
demo_chat is a chat demo and uses Chat-cpp.
If your own app would use both, LoadBalancing-cpp and Chat-cpp, then it would need to use a Realtime and a Chat appID and use them with the respective Client APIs.
As you know, 20 CCU apps are free. So you can just set up a realtime app in addition to your existing Chat app solely for the purpose of running PhotonDemoParticle.5