Search found 241 matches

by mmilen
23 Jul 2020, 04:42
Forum: SFS2X HTML5 / JavaScript API
Topic: Safari trotting down WebSocket
Replies: 6
Views: 136

Re: Safari trotting down WebSocket

More on how it effects us. In our teaching sessions, there are times when the student just watches, but they can accidentally click away from Safari, and effectively they can't see what the teacher is doing :).
by mmilen
23 Jul 2020, 04:38
Forum: SFS2X HTML5 / JavaScript API
Topic: https-jsse-nio-8443 threads not closing
Replies: 1
Views: 585

https-jsse-nio-8443 threads not closing

I notice that a lot of threads like this one https-jsse-nio-8443-51 stay active long after the WebSocket connection is gone. I have some 40 lingering ones when there is no one on the server. We have not had more than 70 connections at any given time since the last server restart 4 days ago. Is this ...
by mmilen
23 Jul 2020, 04:32
Forum: SFS2X HTML5 / JavaScript API
Topic: Safari trotting down WebSocket
Replies: 6
Views: 136

Re: Safari trotting down WebSocket

On every Ping-Pong I do send a message to a custom keep-alive extension that in turn sets a user lag variable, so other players can be aware if the user is on more than 300ms lag. and it resets the idle timer. I have my lag monitor set to fire every 10 seconds. As for how the delay affects the App. ...
by mmilen
22 Jul 2020, 13:29
Forum: SFS2X HTML5 / JavaScript API
Topic: Safari trotting down WebSocket
Replies: 6
Views: 136

Re: Safari trotting down WebSocket

Load a React-based App in Safari and connect it to latest smart fox server. Enable Ping-Pong on the connection every 10 seconds. If your Safari window is in focus ad the tab with the App is opened you can see on the server admin Ping Pong every 10 seconds. If you go to a new tab in Safari to check o...
by mmilen
22 Jul 2020, 04:08
Forum: SFS2X HTML5 / JavaScript API
Topic: Safari trotting down WebSocket
Replies: 6
Views: 136

Safari trotting down WebSocket

Hi Guy, We have our latest project up and running in production. It is a React WebPack app and SFS JS API. All is good with Chrome and browser with Chromium. We are running in a problem with Safari on Mac OS, it looks like Safari is starving the JS engine or the WebSocket when Safari window loses fo...
by mmilen
18 May 2020, 18:19
Forum: SFS2X Questions
Topic: Is PlayerID for room available on SFSEventType.USER_LEAVE_ROOM
Replies: 1
Views: 268

Is PlayerID for room available on SFSEventType.USER_LEAVE_ROOM

Hi,

What should be the PlayerID value for the room that we just left when SFSEventType.USER_LEAVE_ROOM fires?
by mmilen
14 May 2020, 11:36
Forum: SFS2X iPhone / iPad / OSX API
Topic: -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0
Replies: 5
Views: 800

Re: -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0

Here is an other one that is hoping every once in a while iOS latest API, server ver 2.15 Fatal Exception: NSInvalidArgumentException *** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: room) -[ExtensionController handleMessage:] keyboard_arrow_down Fatal Exception: NSInvalidArgumen...
by mmilen
13 May 2020, 12:32
Forum: SFS2X Questions
Topic: SFS 2.15 Tomcat load error
Replies: 2
Views: 2019

Re: SFS 2.15 Tomcat load error

Fresh install fixed it.
by mmilen
13 May 2020, 12:11
Forum: SFS2X Questions
Topic: Organization of Zones and Groups
Replies: 2
Views: 264

Re: Organization of Zones and Groups

Thank you very much. Ram not an issue, running on 6GB boxes, with dedicated 4GB to JVM.
by mmilen
13 May 2020, 03:34
Forum: SFS2X Questions
Topic: Organization of Zones and Groups
Replies: 2
Views: 264

Organization of Zones and Groups

What are the performance implications of running Scenario 1: 200 Zones with the same set of extensions running off of the single jar and 2-50 rooms in each zone. Scenario 2: 1 Zone with 200 groups each group with 2-50 rooms. If performance is not too much of an issue I like the 200 zone scenario, wh...
by mmilen
12 May 2020, 15:51
Forum: SFS2X iPhone / iPad / OSX API
Topic: -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0
Replies: 5
Views: 800

Re: -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0

Nothing in the log with regards to an error. The usual message shortly after the crash of the client, that the user is disconnected.
by mmilen
08 May 2020, 10:12
Forum: SFS2X iPhone / iPad / OSX API
Topic: -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0
Replies: 5
Views: 800

-[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0

Hi Guys, Every once in a while I get this in my game's crash logs. Any idea what might be causing it? Fatal Exception: NSRangeException *** -[_NSZeroData subdataWithRange:]: range {0, 16} exceeds data length 0 CoreFoundation __exceptionPreprocess Foundation -[NSConcreteFileHandle readDataOfLength:] ...
by mmilen
30 Apr 2020, 00:35
Forum: SFS2X Questions
Topic: SFS 2.15 Tomcat load error
Replies: 2
Views: 2019

SFS 2.15 Tomcat load error

I get this on startup Mac Server Version
Exception in thread "TomcatRunner" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
by mmilen
28 Apr 2020, 13:10
Forum: SFS2X C# API
Topic: [SFS - INFO] Message: Handshake { Message id: 0 }
Replies: 5
Views: 896

Re: [SFS - INFO] Message: Handshake { Message id: 0 }

Thank you for the quick replay.
One suggestion add a quick note about it to this URL : http://docs2x.smartfoxserver.com/Gettin ... api-csharp

Best Regards
Milen

Go to advanced search