Search found 244 matches

by mmilen
22 Sep 2020, 14:40
Forum: SFS2X Questions
Topic: Article on adding servlets to the Jetty now Tomcat
Replies: 3
Views: 158

Re: Article on adding servlets to the Jetty now Tomcat

Interface to a 3rd party system, that will be using HTTPS GET/POST request to retrieve the stated of a Room that acts as a lobby for a number of game rooms.
by mmilen
21 Sep 2020, 17:07
Forum: SFS2X Questions
Topic: Article on adding servlets to the Jetty now Tomcat
Replies: 3
Views: 158

Article on adding servlets to the Jetty now Tomcat

Lupo,

We need an interface to a 3rd that can not ( more like does not want to use WebSocket ). Is this article https://smartfoxserver.com/blog/http-re ... tegration/ valid for crating servlets that can make calls to and pull data from room extensions?
by mmilen
20 Aug 2020, 03:37
Forum: Server Side Extension Development
Topic: Use of Static Class methods
Replies: 1
Views: 1028

Use of Static Class methods

Hi Guys / Gals, I use a number of static helper methods like the one below. Is there any performance or thread safety issues with that approach. public static boolean isMasterTeacher (User p) { return p.containsProperty(SFSVAR.SFSGAME_PROPERTY_MASTER_TEACHER); } Thank you for the great service.
by mmilen
23 Jul 2020, 04:42
Forum: SFS2X HTML5 / JavaScript API
Topic: Safari trotting down WebSocket
Replies: 6
Views: 448

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: 1836

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: 448

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: 448

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: 448

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: 432

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: 1181

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: 2203

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: 440

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: 440

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: 1181

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.

Go to advanced search