Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - lance

Pages: [1]
1
I am starting to deploy my program to linux server. I found it is much slow when run on multi-core servers with mono.
With single core server, I can forward 30k packets per second. While on a quad-core server, I can not do that. On windows server, it also can forward 30k packets per second with multi-core cpu.
So what should I do with linux multi-core server? Some magical switch I should turn on?

2
TNet 3 Support / Can a TNObject belong to multiple channels?
« on: February 12, 2018, 02:29:49 AM »
It seems that although a TcpPlayer can listen to multiple channels, a TNObject can only exist in one channel. Given image below, a TNObject is attached to each player. Client1 and Client2 is fighting at channel edge. All collision detection and damage calculation is done on Host. But Host can not see Client2 because Host does not listen to Channel2(She's too far away). How could I handle this situation? Can a TNObject join and leave channels just like TNManager?




3
TNet 3 Support / Streaming level with multiple channels
« on: December 01, 2017, 08:51:54 AM »
I have a problem with huge level size and multiple channel.  Each streaming level is assigned to a channel.
If I join the channel after loading the level, in TNObject's Awake, the wrong channel id will be assigned. (TNManager's lastChannelID is not changed to new channel.)
If I join the channel before loading the level, than I got warning "[TNet] Trying to execute a function on TNObject before it has been created."
So how should I handle this situation? Many thanks!

Pages: [1]