Author Topic: TNet Channel questions  (Read 2917 times)

tonyM

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 24
    • View Profile
TNet Channel questions
« on: May 15, 2013, 05:06:50 AM »
Hi,

Is there any way to get a list of channels and players in each channel
on server side?

Would you think using channels as 'micro game servers' is a good idea?
(My goal is to have a max of 4 people connected together and sending a
few RFC's to each other)

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNet Channel questions
« Reply #1 on: May 15, 2013, 09:49:50 AM »
Server side? Server knows about all of them already. Do you mean client side?

tonyM

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 24
    • View Profile
Re: TNet Channel questions
« Reply #2 on: May 20, 2013, 03:40:13 PM »
OK. I managed to get the channel list server side by doing TNServerInstance.game.mChannels. Correct?

How can I get this client side?
« Last Edit: May 20, 2013, 04:33:43 PM by tonytonyMalta »

tonyM

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 24
    • View Profile
Re: TNet Channel questions
« Reply #3 on: May 20, 2013, 05:34:25 PM »