Search found 40 matches

by Zed
01 Jun 2018, 14:38
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

What version of SFS2X are you running? The allowClientUdpPortChanges flag was added in SFS2X 2.13.1 Also, does the problem appear mobile? PC? Both? What client type? Thanks Sorry, there is misunderstanding with the flag allowClientUdpPortChanges. How it should be to fix the error? True or false?
by Zed
01 Jun 2018, 13:45
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

Lapo wrote:What version of SFS2X are you running?
The allowClientUdpPortChanges flag was added in SFS2X 2.13.1

2.13.2

Lapo wrote:Also, does the problem appear mobile? PC? Both?

Mobile (Android)

Lapo wrote:What client type?

Unity 2018.1.1

Thanks for quick response
by Zed
01 Jun 2018, 12:49
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

What is going on exactly? This is an old post that spawns 7 pages... If you're running a recent version of SFS2X (2.13.x) you can manually add this setting to your SFS2X/config/server.xml <allowClientUdpPortChanges>false</allowClientUdpPortChanges> at the bottom of the file, before the closing main...
by Zed
13 Jun 2017, 09:11
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

One extra note I get this error not only on PC. In original project the issue cause on one instance per client (IOS/Android) (MOBA for 4 players). i have created test project with 10 client to show you the way i get the error. This error does not depend on time. It appears on start of the clients a...
by Zed
12 Jun 2017, 13:59
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

Are you referring to the standard windows firewall or something else?

Standart windows firewall
by Zed
12 Jun 2017, 13:34
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

Do you run your test from a desktop machine? Which OS? Yes, from the desktop. OS Windows 7 x64 Any firewalls running? i have turned off firewall but this not solve the problem. I think, maybe problem apear when server try to send TCP zone and UDP room response at same time? Can you try run my test ...
by Zed
09 Jun 2017, 08:25
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

there my zone and server configurations
by Zed
08 Jun 2017, 16:05
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

There still something not clear. The error message you have reported: "Discard UDP packet from..." appears only for incoming packets. If the server is the only one sending data and the client is not firing any updates I can't see how this can cause such an error. Am I missing something el...
by Zed
08 Jun 2017, 10:41
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

So let me understand the communication better. The server sends "move data" to clients every 40 millisec. But how often each client is updating their position in your test? In test they are not updating positions. They only recive data and do nothing with it. In original project clients i...
by Zed
08 Jun 2017, 10:22
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

What is a "remove machine"? remote machine* (dedicated server on hetzner or amazon) So what you're basically saying is that you join 10 players in a Room, and the problem happens after a while? the problem happens exactly after sending "attack request". What is the average packe...
by Zed
08 Jun 2017, 10:04
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 1031189

Re: Server dropping UDP packets

HI! I have made tests projects (zone, room and client (Unity)) in which you can try to reproduce the issue. How to reproduce error: Discard UDP packet from [HIDE]:2774, reason: Sender UDP Port doesn't match current session port: 2774 != 63983 1) Run server on remove machine (trying on amazon and het...
by Zed
12 Nov 2015, 15:27
Forum: SFS2X C# API
Topic: Exception when build after updating on new version
Replies: 9
Views: 19396

Re: Exception when build after updating on new version

and one more question:
i got memory spikes in dashboard even if i disable extension in zone: (in attachment)
is it normal? or where problem can be?
by Zed
12 Nov 2015, 15:21
Forum: SFS2X C# API
Topic: Exception when build after updating on new version
Replies: 9
Views: 19396

Re: Exception when build after updating on new version

Try setting the API compatibility to .NET 2.0 instead of .NET 2.0 Subset . It that still doesn't work, I suggest to give a try to the SFS2X C# API v1.5.7 available on this page: http://www.smartfoxserver.com/download/sfs2x#p=client I tryed switch NET 2.0 Subset to NET 2.0, but result is same. Is cl...
by Zed
12 Nov 2015, 11:21
Forum: SFS2X C# API
Topic: Exception when build after updating on new version
Replies: 9
Views: 19396

Re: Exception when build after updating on new version

Lapo wrote:Also can you please post a screenshot of the advanced build settings? (stripping level etc...)
thanks

Added screenshot to attachment

Edited:
Using Unity version:
4.6.0f3
by Zed
12 Nov 2015, 10:49
Forum: SFS2X C# API
Topic: Exception when build after updating on new version
Replies: 9
Views: 19396

Re: Exception when build after updating on new version

Lapo wrote:Hi,
you're getting the problem when building the project or later when you're trying to run on the device?

Thanks

got error message when run on device

Go to advanced search