Author Topic: Public Access for Connection and Packet Timeout?  (Read 2846 times)

SketchWork

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 44
    • View Profile
Public Access for Connection and Packet Timeout?
« on: May 24, 2013, 07:09:40 AM »
Hi Michael,

Is there anyway to access the connection and packet timeout values?  I have a scene which is pretty huge and takes a while to load up and the client sometimes times out due the the long load time.  Is there a way to change these values without hacking your game server code?  Don't really want to change your code due to updates reverting it all back.

Many thanks,

Justin

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Public Access for Connection and Packet Timeout?
« Reply #1 on: May 24, 2013, 04:39:12 PM »
For the time being -- just hacking the code. Line 320 and/or line 329 of TNGameServer.

SketchWork

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 44
    • View Profile
Re: Public Access for Connection and Packet Timeout?
« Reply #2 on: May 24, 2013, 06:01:37 PM »
Yes, that's what I have been doing but wasn't sure if there was a more elegant approach :D

SketchWork

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 44
    • View Profile
Re: Public Access for Connection and Packet Timeout?
« Reply #3 on: August 12, 2013, 06:26:59 AM »
Thanks for adding this in the latest version.  I can now stop hacking your code on each release.

Keep up the good work,

Justin