Networking behaviours broken?

HypnorabbitHypnorabbit SingaporeMember Posts: 272

Hey guys,

Are networking behaviors broken again in 0.12.10? My callback attributes for the game.sendTable or game.receiveTable fail to trigger on an Ad Hoc build on either an Android or iOS device.

All I want to do is get a number from the outside world into my app to trigger an event within the app.

Cheers,

Hypnorabbit

Comments

  • HopscotchHopscotch Member, PRO Posts: 2,782

    There definitely seems to be intermittent problems where "background" functions like calling leaderboards, iAP, and ads requests seem to interfere with both networking and table saving behaviours.

    It is almost as if callbacks from one trigger or block the callback of another behaviour.

    e.g. a login request to leaderboards gets initiated. Before a response is received, the app sends a networking request. If the leaderboard response now arrives before the networking response, then the subsequent networking response gets ignored.

    I am still trying to build a reliable fail case - not so easy since it is related to response timing issues outside of our control (leaderboard/iap/ad servers)

    Given the fact that each of the above behaviours work reliably if they are used individually, but intermittently fail when used in combination, it would be great if the appropriate GS engineer could also urgently give this some thought.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Insert the callback in a loop behavior and it will fire until satisfied.

  • HopscotchHopscotch Member, PRO Posts: 2,782
    edited November 2014

    @The_Gamesalad_Guru‌, the actual callback attribute does not get set under the above mentioned situations.

    I can verify that the correct response reaches the app (through external means), yet if a different network related signal (from IAPs/ads/leaderboard) interjects, then the app no longer processes the received data.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Ah.....

  • HypnorabbitHypnorabbit SingaporeMember Posts: 272

    Great thanks all - especially @Hopscotch‌ who helped me here and elsewhere navigate how to get this app to receive a response. It works!

Sign In or Register to comment.