Search found 21710 matches

by Lapo
28 Jun 2021, 07:34
Forum: SFS2X Questions
Topic: GC can cause lag and log off users when clearing memory?
Replies: 4
Views: 253

Re: GC can cause lag and log off users when clearing memory?

Hi, the error message you have reported is likely the cause of the disconnection issue you are seeing, which has nothing to do with garbage collection. Typically when you see this error something is not working right in your Login Extension. Can you briefly describe how logins are validated? Does yo...
by Lapo
27 Jun 2021, 08:48
Forum: SFS2X Questions
Topic: GC can cause lag and log off users when clearing memory?
Replies: 4
Views: 253

Re: GC can cause lag and log off users when clearing memory?

Hi, what's the average traffic on you server? Also have you manually changed the SFS2X's memory settings? If so how? In any case, no it's highly unlikely that GC activity will cause disconnections. We've never seen it happen, and unless the server is operating under extreme conditions you should not...
by Lapo
25 Jun 2021, 16:26
Forum: SFS2X Questions
Topic: 443 open but unable contact licence server
Replies: 3
Views: 250

Re: 443 open but unable contact licence server

Hi, would it be possible for you to give us temporary SSH access to one of these servers that cannot reach the License Server? We'd be interested to investigate the issue and see if it's an OS config issue or something else. If this is possible you can get in touch with us directly via our support@....
by Lapo
25 Jun 2021, 14:35
Forum: SFS2X C# API
Topic: 3mb GC alloc on every Send
Replies: 2
Views: 288

Re: 3mb GC alloc on every Send

Hi, the allocation is likely due to the fact that requests and parameters are abstractions that are easy to use, instead of having to write wire-level, binary-encoded data in your code. In other words you can send high level objects that are serialized and translated in "packet format" by ...
by Lapo
24 Jun 2021, 15:40
Forum: SFS2X Questions
Topic: Duplicate Room Creation
Replies: 1
Views: 158

Re: Duplicate Room Creation

Hi,
we need all the details of this issue, starting from the version of the server in use to a description of how to reproduce it.

Please take a look at these directions to report an issue:
viewtopic.php?f=18&t=16497

Thanks
by Lapo
23 Jun 2021, 17:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Disallow older clients from connecting to the server.
Replies: 7
Views: 1275

Re: Disallow older clients from connecting to the server.

Sorry for the delay, I see what you mean. I don't think there's a robust solution for this, at least not in SFS1.x, since it doesn't support additional data to be sent at login time. You could still verify if the client has already sent a version number, when an Extension request is received. If no ...
by Lapo
23 Jun 2021, 07:19
Forum: SFS2X Questions
Topic: Listening to multiple TCP and Websocket Ports at once
Replies: 3
Views: 269

Re: Listening to multiple TCP and Websocket Ports at once

Hello, using the default SFS2X TCP protocol you can bind multiple ports, so yes it is possible. (Though it's not possible for UDP) However for Websocket it's a bit of a different story. All HTTP-related services in SFS2X are handled by an embedded Tomcat instance. Tomcat can be configured to run on ...
by Lapo
23 Jun 2021, 06:58
Forum: SFS2X Questions
Topic: High number of threads with 1000 players
Replies: 4
Views: 405

Re: High number of threads with 1000 players

Hi, the graphs you have posted definitely show that most of the hard work is done on the Extension side. So it seems like the operation of getting the 50 entries and sorting them for each player is using significant resources, unless there's some other heavy work that your Extension does. To make su...
by Lapo
22 Jun 2021, 16:21
Forum: SFS2X iPhone / iPad / OSX API
Topic: Crypto crash with SFS server 2.3.13
Replies: 14
Views: 3702

Re: Crypto crash with SFS server 2.3.13

Hi, the logs are already detailed enough to understand what the problem is, generally speaking. It is a network read issue with the initial HTTPS exchange between client and server. In order to learn more one should inspect the packets exchanged, but because they are encrypted it's impossible to see...
by Lapo
22 Jun 2021, 14:22
Forum: SFS2X Questions
Topic: High number of threads with 1000 players
Replies: 4
Views: 405

Re: High number of threads with 1000 players

Hi, thread count can increase if the workload on the server requires it, i.e. if there's lots of long running operations and the thread pools are all busy. Another reason for a high thread usage can be if you use Websockets, as Tomcat uses fairly large thread pools although typically they don't go t...
by Lapo
19 Jun 2021, 09:50
Forum: SFS2X Questions
Topic: How to send a bot to another room?
Replies: 1
Views: 241

Re: How to send a bot to another room?

Hi, if the client side connection is dropped the User will be removed, so you won't be able to join that User anywhere as it doesn't exist in the server anymore. You could either keep the connection alive from client side by sending a small "ping" message at fixed intervals (e.g. 60 second...
by Lapo
17 Jun 2021, 12:55
Forum: Server Side Extension Development
Topic: Where is the good place of some data
Replies: 1
Views: 949

Re: Where is the good place of some data

Hi, generally speaking there's no problem loading the data in a Zone Extension once and then let the other Rooms access it. However you must be aware of how SmartFoxServer uses class loaders to separate each Extension in a different context. http://docs2x.smartfoxserver.com/ExtensionsJava/advanced-c...
by Lapo
17 Jun 2021, 12:41
Forum: SFS2X Questions
Topic: Websocket at the end of URL. wss connection problem with the server
Replies: 6
Views: 461

Re: Websocket at the end of URL. wss connection problem with the server

Update: we have tested connecting to your server via WebGL/SSL and it works fine. So it seems any issues with the server side was solved.

Cheers
by Lapo
17 Jun 2021, 11:36
Forum: SFS2X Questions
Topic: How To Create User Registration In SFS2X and Save Data To SqlServer Database
Replies: 4
Views: 342

Re: How To Create User Registration In SFS2X and Save Data To SqlServer Database

Hi, one problem I see in your client side logic is that you're sending both the LoginRequest and the next ExtensionRequest at the same time, without waiting for the client to actually triggering an SFSEvent.LOGIN. My suggestion is to only send the LoginRequest and then move the Extension request in ...
by Lapo
17 Jun 2021, 11:22
Forum: SFS2X Questions
Topic: Websocket at the end of URL. wss connection problem with the server
Replies: 6
Views: 461

Re: Websocket at the end of URL. wss connection problem with the server

Please show us the code you are using for the connection
Thanks

Go to advanced search