Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Nano on October 15, 2013, 04:37:08 PM

Title: Slight Lag on JoinChannel
Post by: Nano on October 15, 2013, 04:37:08 PM
So I have a client in a channel/scene and I seem to experience a weird pause when another player enters the scene on the client that is already in the room. Is there a way to make it so it doesn't affect the game for the player already within the room?

Here is a video that I took of what is happening. Notice the pause when I join the channel.

http://youtu.be/zRfYK1IbhfU (http://youtu.be/zRfYK1IbhfU)
Title: Re: Slight Lag on JoinChannel
Post by: ArenMook on October 18, 2013, 01:29:01 PM
I am guessing the pause comes from loading your level and performing the initial start-up. TNet does all its logic after you've loaded the level, not before. I suggest you debug it on your end because there is no such pause in the built-in examples.
Title: Re: Slight Lag on JoinChannel
Post by: Nano on October 18, 2013, 09:58:07 PM
Thanks for the reply. I'll try some debugging. How would loading the level for a player joining the room end up lagging another player currently in the room though? That is what is got me stumped. I'll let you know if I find anything more. Thanks!
Title: Re: Slight Lag on JoinChannel
Post by: Nano on October 18, 2013, 11:00:49 PM
I ended up figuring out what was causing the issue. Ended up having to do with my path finding for the players. All is working smoothly now!