networking - sendReliableMessage to self? Google Play Game Services - Android -


I am trying to create a real-time multiplayer game using Google Play game services. I am trying to set up a player as a host. Everyone will send their order host (message via sent medium), and receive a response to render them.

However, I'm trying to send myself a message to be in sync with everyone (before acting), but onRealTimeMessageReceived is not firing for the host when the host itself Sends message to

Is it possible to send messages to the host themselves? If not, how would I go about this? Google Tutorials also say that I should have a host player.

You can send sendable message () RealTimeMultiLeplayer function in the function, in a written form, an IllegalArgumentException The recipientParticipantId is not a valid partner or existing player .

The thing is that what you need to do is to forward all the messages to be forwarded (belongs to customers to keep updates and keep your game logic current and host / class for the method To make a call manually, a normal class / method etc. (depending on your design / wish) is sent.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -