Search found 8 matches

by miv
02 May 2017, 13:15
Forum: SFS2X Questions
Topic: Certificate pinning
Replies: 1
Views: 3702

Certificate pinning

Hello! Is there a way to pin certificate/pk used for encryption negotiation[1]? So no malware can just set self-singed cert as "allowed" on user's system and snoop all https traffic.


[1]: https://en.wikipedia.org/wiki/HTTP_Public_Key_Pinning
by miv
12 Feb 2015, 10:37
Forum: SFS2X Questions
Topic: Room variables data race
Replies: 4
Views: 6931

Re: Room variables data race

Thanks! I do have Zone + Room extensions, but they using different room variables, so i just created separate locks for zone and room.
by miv
12 Feb 2015, 10:03
Forum: SFS2X Questions
Topic: Room variables data race
Replies: 4
Views: 6931

Re: Room variables data race

Thanks! I'll try that. How would this affect overall performance? Should i increase number of threads for Extensions?

EDIT: Also, can i create static variable in main extension for lock?
by miv
11 Feb 2015, 15:35
Forum: SFS2X Questions
Topic: Room variables data race
Replies: 4
Views: 6931

Room variables data race

The state of the game is saved in room variables. Every time user makes some action it's sent to server extension. Extension grabs room variable, read state, increment and set some variables and store them. But, several users can increment this counter, or even one user can make multiple almost inst...
by miv
04 Sep 2014, 12:41
Forum: SFS2X C# API
Topic: Smartfox C# client in Unity crashes on Disconnect in iOS
Replies: 2
Views: 5769

Re: Smartfox C# client in Unity crashes on Disconnect in iOS

We mostly mitigated iOS AOT issues by incresing amount of trampolines (like this: nrgctx-trampolines=8096,nimt-trampolines=8096,ntrampolines=4048 ). From our experience this type of crashes are mostly the result of null dereference somewhere in c# code, checking for null EVERYTHING (even something t...
by miv
04 Sep 2014, 06:57
Forum: SFS2X C# API
Topic: Smartfox C# client in Unity crashes on Disconnect in iOS
Replies: 2
Views: 5769

Smartfox C# client in Unity crashes on Disconnect in iOS

When we disconnect from Smartfox in our OnApplicationPause method 1 in 10 times app crashes like this: Unity iPhone SF Crash.png . There is no identifiable pattern for this behavior. Thou transparent for user, because iOS don't show this type of crashes (as opposed to Android), this makes restoring ...
by miv
22 Jul 2014, 07:19
Forum: SFS2X Questions
Topic: Can't catch user disconnection
Replies: 3
Views: 11373

Re: Can't catch user disconnection

I'm sorry, problem has been resolved. It works as expected.
by miv
21 Jul 2014, 18:09
Forum: SFS2X Questions
Topic: Can't catch user disconnection
Replies: 3
Views: 11373

Can't catch user disconnection

I'm trying to catch USER_DISCONECTED event on server but nothing happens. I see in logs: 21 Jul 2014 | 17:15:00,426 | INFO | SFSWorker:Sys:3 | v2.api.SFSApi | | User disconnected: { Zone: TestZone }, ( User Name: test, Id: 11, Priv: 0, Sess: 6.6.6.6:58539 ) , SessionLen: 10144, Type: Unity And accom...

Go to advanced search