Search found 31 matches
- 22 Jan 2024, 09:49
- Forum: SFS2X Questions
- Topic: Dropped outgoing messages and a client's consistency
- Replies: 11
- Views: 12677
Re: Dropped outgoing messages and a client's consistency
Thanks a bunch for your swift response. I do definitely understand your reasoning behind this, but I feel that in our specific use case it still might be helpful. As I say it has definitely improved our oldest game. I do understand it's a bit of a band-aid solution to a problem that should really be...
- 21 Jan 2024, 12:37
- Forum: SFS2X Questions
- Topic: Dropped outgoing messages and a client's consistency
- Replies: 11
- Views: 12677
Re: Dropped outgoing messages and a client's consistency
Hi Lapo Sorry for necroing such an old thread. We run two games, one very old one using SFS 1.6 and another newer one using 2x. We recently set <MaxAllowedDroppedPackets>1</MaxAllowedDroppedPackets> in the older title and it seems to have had a big positive impact on the game's multiplayer experienc...
- 25 Jun 2021, 21:38
- Forum: SFS2X C# API
- Topic: 3mb GC alloc on every Send
- Replies: 2
- Views: 6607
Re: 3mb GC alloc on every Send
Thanks a bunch, that would be very handy indeed. Email sent
- 24 Jun 2021, 23:20
- Forum: SFS2X C# API
- Topic: 3mb GC alloc on every Send
- Replies: 2
- Views: 6607
3mb GC alloc on every Send
We've recently been trying to optimize client side performance of our game as much as possible, and one major hurdle we're facing is the sheer amount of memory allocated by the C# api every time we try and send something. Using Unity's profiler we have determined that this exact line of code is caus...
- 08 Sep 2018, 15:54
- Forum: SFS2X Questions
- Topic: SFS2x Memory Leak/Crash
- Replies: 13
- Views: 14069
Re: SFS2x Memory Leak/Crash
Thanks for the explanation and for your email. I will attempt the fixes you suggested and see if that solves the issue (I suspect it will).
- 08 Sep 2018, 12:30
- Forum: SFS2X Questions
- Topic: SFS2x Memory Leak/Crash
- Replies: 13
- Views: 14069
Re: SFS2x Memory Leak/Crash
I've sent in the requested files. Any help you could give me would be hugely appreciated. Time really is of the essence here as we'll probably start losing a lot of players if we can't get on top of this issue soon. Thanks!
- 08 Sep 2018, 12:19
- Forum: SFS2X Questions
- Topic: SFS2x Memory Leak/Crash
- Replies: 13
- Views: 14069
Re: SFS2x Memory Leak/Crash
This shows java usage at 22GB in both netdata and top while SFS AdminTool only reports 10GB. Not quite at crashing levels yet but I think illustrates the problem and proves net data is not making it all up
- 08 Sep 2018, 12:05
- Forum: SFS2X Questions
- Topic: SFS2x Memory Leak/Crash
- Replies: 13
- Views: 14069
Re: SFS2x Memory Leak/Crash
We've been using NetData on our previous online games for years and it been rock solid. It's never misreported anything. I have also previously seen these java usage numbers just by going into the CLI and running top (though I don't have a screenshot, I'll try and get it next time it happens). JRM i...
- 08 Sep 2018, 10:56
- Forum: SFS2X Questions
- Topic: SFS2x Memory Leak/Crash
- Replies: 13
- Views: 14069
Re: SFS2x Memory Leak/Crash
Got some screenshots just to prove more what's going on. These were both taken from the same server just now. SFS Admintool reports only 9GB of memory allocation, but NetData reports java using 27GB (SFS is the only java application). This instance crashed shortly after and had to be restarted. http...
- 08 Sep 2018, 10:22
- Forum: SFS2X Questions
- Topic: SFS2x Memory Leak/Crash
- Replies: 13
- Views: 14069
SFS2x Memory Leak/Crash
Hello, We launched our game 3 days ago, and have 5 servers each with 1-3k conceurrent user online at all times (average is 1500 ish). Every machine is installed with vanilla Centos 7, SFS 2x 2.13.3 and NetData only (with 300k open files limit). They are all Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz ...
- 18 Jul 2018, 16:08
- Forum: SFS2X C# API
- Topic: GetVariable exception
- Replies: 5
- Views: 7410
Re: GetVariable exception
There really is nothing more that could be going on, I've copied and pasted you the exact code from that section and as the trace shows, the error is happening inside your function. In your example, could GetVariable could be failing in if "variables" is null maybe? Or perhaps variables is...
- 14 Jul 2018, 12:10
- Forum: SFS2X C# API
- Topic: GetVariable exception
- Replies: 5
- Views: 7410
Re: GetVariable exception
1.7.6, and using the debug version of the DLL although I'm pretty sure this happened in the release version too.
- 14 Jul 2018, 10:18
- Forum: SFS2X C# API
- Topic: GetVariable exception
- Replies: 5
- Views: 7410
GetVariable exception
Sometimes our Unity 5.6 game reports the following error: KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,Sfs2X.Entities.Variables.UserVariable].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/cl...
- 25 Aug 2017, 11:17
- Forum: SFS2X Questions
- Topic: UserVariables callback batched?
- Replies: 2
- Views: 4420
Re: UserVariables callback batched?
Brilliant, thanks for clarifying!
- 25 Aug 2017, 08:33
- Forum: SFS2X Questions
- Topic: UserVariables callback batched?
- Replies: 2
- Views: 4420
UserVariables callback batched?
I've tried to find an answer to this question in the docs, but haven't had any luck. Apologies if it's been covered before. Essentially, can the "changedVars" paramter from the OnUserVariableUpdate call back ever receive batched results from multiple update requests? For example, I send tw...