Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Rexima on October 18, 2016, 06:51:47 AM

Title: Set Player Limit doenst work?
Post by: Rexima on October 18, 2016, 06:51:47 AM
After i created the channel, i set the Player limit.
And in the update Method i have this
  1. TNManager.GetChannel(GameManager.Instance.m_worldChannel).playerLimit) //m_worldChannel is my current channelID

And its always 65535, does it not work??
Title: Re: Set Player Limit doenst work?
Post by: ArenMook on October 18, 2016, 09:08:36 AM
It's server-side only information. If you want to know this on client side, get a list of channels from the server via TNManager.GetChannelList. This tidbit is included.
Title: Re: Set Player Limit doenst work?
Post by: Rexima on October 18, 2016, 12:00:41 PM
Thank you, got it!