PDA

View Full Version : Net Channel issue



Nanorock
10-05-2011, 03:56 PM
Pawn won't replicate in multiplayer game
Edited : Found the issue.

But still, I'm stuck.
The issue come from Net Channels !

There is an hardcoded limitation by the engine, only 1024 channels can be opened at the same time.
Didn't found a way to increase that. (Not in unrealScript and not in ConfigFiles : /)

I have also not found a way to close a Net Channel : o(
bTearoff=true, don't cause the channel to be closed on a static actor (bStatic=true)
And putting RemoteRole=Role_None neither

As there is complete lack of documentation / Wiki or anything related to actor net channel,
Can it be possible to get some hint at least please ?
How to augment the 1024 net channel limitation ?
How can I close a channel of a static actor ?

Thanks.

Nanorock
10-18-2011, 04:15 PM
Bump, please need some information : /

AaronJones
12-05-2011, 04:54 PM
Sorry you're having troubles!

Having too many open channels will have a substantial impact on server performance, which is why we limit it by default. We'll see if we can increase the default to 2048 after looking into the memory implications. No promises, but we're looking into a few ways. :)

Nanorock
12-06-2011, 03:33 AM
Hello thanks for the reply I really appreciate.
Meanwhile I changed my design to make client maintain his local world.
But still 1024 channels can be an issue when we're having too much replicated Actor.
As we are doing a sort of RTS, 1024 pawns isn't much.

Again, thanks :)