Author Topic: Set Player Limit doenst work?  (Read 1804 times)

Rexima

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 2
  • Posts: 78
    • View Profile
Set Player Limit doenst work?
« 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??

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Set Player Limit doenst work?
« Reply #1 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.

Rexima

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 2
  • Posts: 78
    • View Profile
Re: Set Player Limit doenst work?
« Reply #2 on: October 18, 2016, 12:00:41 PM »
Thank you, got it!