Author Topic: Devices that don't play nice with Tnet  (Read 9825 times)

Shifty Geezer

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 9
  • Posts: 226
    • View Profile
Devices that don't play nice with Tnet
« on: August 01, 2016, 04:31:50 PM »
Just tried my game on an LG G3 and it glitches a lot until eventually the networking gets dropped entirely, whether it's hosting or joining another device as a client. I've also had issues with a Shield Tablet, although I think its networking is busted anyhow. I only send a packet or two every tenth of a second, so it's not like there's a lot to deal with.

Has anyone else had much experience of particular devices being problematic? Is it a rare thing and are there any fixes?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Devices that don't play nice with Tnet
« Reply #1 on: August 01, 2016, 06:23:27 PM »
I have no issues with my Shield tablet. It plays Windward quite well.

Android devices often bundle up packets into batches that are sent infrequently. You can force it by setting TNManager.noDelay = true;

Shifty Geezer

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 9
  • Posts: 226
    • View Profile
Re: Devices that don't play nice with Tnet
« Reply #2 on: August 02, 2016, 04:07:16 AM »
I always set that, yet for some reason it wasn't in this project! Looks like problem solved, thanks.