Author Topic: TNET 3 vs TNET 2  (Read 2669 times)

zeeawk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
TNET 3 vs TNET 2
« on: July 02, 2016, 10:51:01 PM »
What are the advantages of upgrading to TNET 3?
Does TNET 2 still function correctly?

I never actually got around to using TNET 2, I went today to use it and unity is telling me it's deprecated.
If everything still works correctly and there are no major reasons to upgrade to 3, perhaps I can just keep
using it and upgrade later if I need to?

devomage

  • Sr. Member
  • ****
  • Thank You
  • -Given: 7
  • -Receive: 67
  • Posts: 250
    • View Profile
Re: TNET 3 vs TNET 2
« Reply #1 on: July 03, 2016, 05:24:31 AM »
TNET 3 has multiple channel support.

...and other things shiny too!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNET 3 vs TNET 2
« Reply #2 on: July 03, 2016, 05:41:05 AM »
From big features like simultaneous multiple channel support to small but very useful features like the ability to determine which player sent each RFC packet, TNet 3 is all around better. While you could still use TNet 2, TNet 3 has more features, is more robust and stable. Check the sticky post here with the patch notes for a full list of what changed in TNet 3.0.0 onwards.

zeeawk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: TNET 3 vs TNET 2
« Reply #3 on: July 03, 2016, 10:05:51 AM »
Thanks to both of you.
I played around with TNET 2 last night and I think I will just upgrade to 3. I saw in the tutorial video that 3 comes with a bunch of documentation which 2 doesn't. That to me by itself is worth it.

yo_milo

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 2
  • Posts: 36
    • View Profile
Re: TNET 3 vs TNET 2
« Reply #4 on: August 30, 2016, 05:09:29 PM »
From big features like simultaneous multiple channel support to small but very useful features like the ability to determine which player sent each RFC packet, TNet 3 is all around better. While you could still use TNet 2, TNet 3 has more features, is more robust and stable. Check the sticky post here with the patch notes for a full list of what changed in TNet 3.0.0 onwards.

First of all, sorry for (Kind of) necroposting.

I am thinking on picking up and improving over an application that I did with TNet 2; Will my application be still (mostly) compatible after upgrading, or will I need a total rewrite?

Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNET 3 vs TNET 2
« Reply #5 on: August 30, 2016, 09:47:36 PM »
It will be mostly compatible. You will need to subscribe to OnConnect, OnDisconnect etc other type of events that used to be broadcast before. Also, server-wide broadcasts won't work anymore in TNet 3, if you've used them. You'll need to join a common secondary channel and communicate through it instead for when you need cross-channel communication (example: chat). RCCs no longer need to be registered -- TNet 3 will find them automatically. Pretty sure TNet will tell you about the rest, or you can just gleam it from the tutorials.