Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: ekilog on February 26, 2014, 01:27:40 PM

Title: TNetServer : Channel discussion
Post by: ekilog on February 26, 2014, 01:27:40 PM
Hello,

I'm confused. I've been able to run the game with the 2 players connected, turn by turn. If one application goes background (player 2), the player 2 leaves the channel.

Player 1 is told that the player 2 has gone.

when player 2 is back (app is back in the foreground), how should I make sure that He will join the same channel and get back the game where He left it ?

Thank you for your help.

Hervé
Title: Re: TNetServer : Channel discussion
Post by: ArenMook on February 26, 2014, 04:12:47 PM
You join a channel using a specific ID. Use the same ID the second time, and you will end up in the same exact game.
Title: Re: TNetServer : Channel discussion
Post by: ekilog on February 27, 2014, 01:25:00 AM
You join a channel using a specific ID. Use the same ID the second time, and you will end up in the same exact game.

ok. But in another post, I explain that the JoinRandomChannel is not triggering any feedback and this is why I tried to use the JoinChannel. Any idea ?

http://www.tasharen.com/forum/index.php?topic=8263.0 (http://www.tasharen.com/forum/index.php?topic=8263.0)