Search found 298 matches

by mmilen
26 Jan 2022, 04:17
Forum: SFS2X Questions
Topic: Roomvars or Atomic vars (performance)
Replies: 13
Views: 7958

Re: Roomvars or Atomic vars (performance)

Question 2: If request 2 executes the same code, does it see room properties and variables' updates just made by Request 1. Are Room properties and variables Atomic? As mentioned above setting a RoomVariable is always thread safe. You can call that "atomic" if you will, in this context. I...
by mmilen
25 Jan 2022, 17:00
Forum: SFS2X Questions
Topic: Roomvars or Atomic vars (performance)
Replies: 13
Views: 7958

Re: Roomvars or Atomic vars (performance)

Scenario: I have a Room Extension, two client requests hit it at the same time from two different threads. Request 1 starts executing some code that updates a few room properties and some room variables, using the SFSApi(). Question 1: What happens with request 2? Does it wait for request 1 to compl...
by mmilen
25 Jan 2022, 14:28
Forum: SFS2X Questions
Topic: Multiple log disconnect entries for the same connection
Replies: 13
Views: 7738

Re: Multiple log disconnect entries for the same connection

Here is I connected a user and kicked it from the Server Admin interface. Duplicate entries in the log. 09:28:49,895 INFO [SFSWorker:Ext:1] sessions.DefaultSessionManager - Session removed: { Id: 7, Type: WEBSOCKET, Logged: Yes, IP: 192.168.80.118:60603 } 09:28:49,895 INFO [SFSWorker:Ext:1] sessions...
by mmilen
25 Jan 2022, 13:55
Forum: SFS2X Questions
Topic: Multiple log disconnect entries for the same connection
Replies: 13
Views: 7738

Multiple log disconnect entries for the same connection

What can cause the following entries in the log file? The disconnection is legit, all users were forced out of a room, but the room owner. ' {BridgeServer}: Disconnected user:ABOS ' this log entry is from a trace in the finally of try/catch in my event handler addEventHandler(SFSEventType.USER_DISCO...
by mmilen
23 Jan 2022, 17:00
Forum: SFS2X Questions
Topic: Roomvars or Atomic vars (performance)
Replies: 13
Views: 7958

Re: Roomvars or Atomic vars (performance)

I hope my question is not highjacking this conversation. We are about to start a major rewrite of our bridge game and part of it is better organizing our SFS RoomExtentions code. In the past, we had some issues with Room Variable synchronization between SFS servers and SFS clients. We avoided using ...
by mmilen
23 Sep 2021, 10:23
Forum: SFS2X Questions
Topic: List of user's that are dropping packets
Replies: 10
Views: 7913

Re: List of user's that are dropping packets

Thank you. That is perfect.
by mmilen
23 Sep 2021, 04:23
Forum: SFS2X Questions
Topic: List of user's that are dropping packets
Replies: 10
Views: 7913

Re: List of user's that are dropping packets

I'm in real trouble here. we use SFS for an educational product ( student and teachers ). Teachers monitor sometimes a couple of hundred students playing bridge and provide robot moves when needed. So a lot of data goes out to the teachers. However, somewhere in our code, there is a bug that comes u...
by mmilen
23 Sep 2021, 04:14
Forum: SFS2X Java / Android API
Topic: Anyone has example of static or global sfsClient.
Replies: 4
Views: 12014

Re: Anyone has example of static or global sfsClient.

The code I posted from 10 years ago here: viewtopic.php?f=22&t=12457 is good to this day. App Bridge Baron is still around.
by mmilen
23 Sep 2021, 04:10
Forum: SFS2X Java / Android API
Topic: Anyone has example of static or global sfsClient.
Replies: 4
Views: 12014

Re: Anyone has example of static or global sfsClient.

Hi, In the app manifest, you need to declare a service. Code its class to handle all SmartFox related operations. Services can be accessed from any app screen, and stay up for as long as the app running to you close it in code. App screen can also subscribe to event listeners so they react to servic...
by mmilen
07 Jun 2021, 03:52
Forum: SFS2X Questions
Topic: License for a server on offline Local Network
Replies: 1
Views: 2289

License for a server on offline Local Network

Hi,

We are working on a game server appliance that will go on Cruise Ships and will be disconnected from the Internet more often than not. How can we handle the licensing? Devices will be shipped on request with time limits and user limits.
by mmilen
02 Jun 2021, 18:15
Forum: SFS2X iPhone / iPad / OSX API
Topic: Crypto crash with SFS server 2.3.13
Replies: 14
Views: 17360

Re: Crypto crash with SFS server 2.3.13

In our case it was a iOS issue, an update corrected it and we never had to look back.
by mmilen
02 Jun 2021, 12:33
Forum: SFS2X iPhone / iPad / OSX API
Topic: Crypto crash with SFS server 2.3.13
Replies: 14
Views: 17360

Re: Crypto crash with SFS server 2.3.13

Currently we are running 2.16.1 on CentOS and have no issues
by mmilen
23 Mar 2021, 19:32
Forum: SFS2X Questions
Topic: List of user's that are dropping packets
Replies: 10
Views: 7913

Re: List of user's that are dropping packets

Thanks. Will give it a tray int he extension and see how it impacts.
by mmilen
23 Mar 2021, 14:13
Forum: SFS2X Questions
Topic: List of user's that are dropping packets
Replies: 10
Views: 7913

Re: List of user's that are dropping packets

How can I add this to Admin?

Go to advanced search