Search found 21564 matches

by Lapo
13 Apr 2021, 07:46
Forum: SFS2X Questions
Topic: How to check when server updates client with UserManager list.
Replies: 2
Views: 13

Re: How to check when server updates client with UserManager list.

Hello, we need a clarification: So the issue is when it sends this update on a USER_JOIN_ROOM event, the client hasn't updated the UserManager user list for their new room, so the update I send fails because all the user Ids do not match up with existing users on the client. This sounds strange beca...
by Lapo
12 Apr 2021, 11:08
Forum: SFS2X Questions
Topic: Smartfox Server Crashed after this log
Replies: 5
Views: 65

Re: Smartfox Server Crashed after this log

A memory leak is a situation where unwanted objects remain hanging in memory, where they should instead be disposed of. This is a different situation: here the server is keeping these objects in memory (and they do accumulate) because they need to be processed . So this is not garbage data. The prob...
by Lapo
12 Apr 2021, 10:57
Forum: SFS2X Questions
Topic: Some newbie questions
Replies: 1
Views: 13

Re: Some newbie questions

Hello, Hello! 1. about the license: let say I have a license of 100 CCU, if the 101st user try to connect to the server, that user will not be able to connect, is that right? do I get any kinds of notification when that happen? The login attempt of the 101th user will return an error saying that the...
by Lapo
12 Apr 2021, 09:24
Forum: SFS2X Questions
Topic: Question about Overcast!
Replies: 2
Views: 35

Re: Question about Overcast!

Hello, 1 - Are overcast capable of running Unity headless instance? No, we run SmartFoxServer instances and database (MySQL) instances. 2 - If Overcast cannot run the Unity Headless then what are alternative? It's difficult to say without knowing the details. Running an headless unity server can mea...
by Lapo
10 Apr 2021, 14:57
Forum: SFS2X Questions
Topic: extending the admnitool ?.
Replies: 1
Views: 18

Re: extending the admnitool ?.

Hi,
yes it is possible indeed :)
Take a look here:
http://docs2x.smartfoxserver.com/Gettin ... om-modules

Cheers
by Lapo
09 Apr 2021, 14:55
Forum: SFS2X Questions
Topic: Autoscaling on EC2 Instances
Replies: 14
Views: 2243

Re: Autoscaling on EC2 Instances

Hi, short answer: no. It also depends what you mean by "health". You could build a Java/C# client (using the relative client API) that connects to the server at regular intervals and if it fails more than 2-3 times in a row triggers an email warning or something like that. Or you could do ...
by Lapo
09 Apr 2021, 09:24
Forum: SFS2X Questions
Topic: Smartfox Server Crashed after this log
Replies: 5
Views: 65

Re: Smartfox Server Crashed after this log

The heap dump is showing that the Extension Queue is full of requests that should be dealt with but the system is not keeping up. Either your server hardware is unable to keep up with the amount of requests, which can be easily verified by checking the CPU % usage, or there is a bottleneck in your E...
by Lapo
08 Apr 2021, 07:00
Forum: SFS2X Questions
Topic: SFS 2X AdminTool macOS Big Sur 11.2.3, can not open
Replies: 1
Views: 29

Re: SFS 2X AdminTool macOS Big Sur 11.2.3, can not open

Hi, it's not possible to use the old AdminTool under BigSur, because it's a 32-bit app built with Flash/Air 2.0. BigSur no longer supports 32-bit apps and we can't update it because Adobe dropped the Flash platform. We already provide a new HTML5 AdminTool since SFS2X version 2.14 which came out at ...
by Lapo
07 Apr 2021, 16:11
Forum: SFS2X Questions
Topic: Database connection with custom java class
Replies: 3
Views: 52

Re: Database connection with custom java class

Can you elaborate a little bit better? Did the error appear immediately? Or after some time? Also, you need to configure the database connection pool according to the load you expect. If your application runs hundreds of DB queries per second you might need a larger connection pool and also set the ...
by Lapo
07 Apr 2021, 16:07
Forum: SFS2X Questions
Topic: Smartfox Server Crashed after this log
Replies: 5
Views: 65

Re: Smartfox Server Crashed after this log

Hi, do you know the exact cause of the crash? Was it an OutOfMemoryException? You should find more details in the logs. These messages: 07 Apr 2021 | 11:46:19,265 | INFO | SFSWorker:Sys:3 | util.executor.SmartThreadPoolExecutor | | Added 16 new threads, current size is: 4 07 Apr 2021 | 11:46:19,265 ...
by Lapo
07 Apr 2021, 13:41
Forum: SFS2X Questions
Topic: Database connection with custom java class
Replies: 3
Views: 52

Re: Database connection with custom java class

Yes, each Zone has its own DBManager, if you have activated it from the config. So you can get a reference to your current Zone and from there access the DBManager. Example: Zone zone = SmartFoxServer.getInstance().getZoneManager().getZoneByName("myZone"); IDBManager dbMan = zone.getDBMana...
by Lapo
07 Apr 2021, 08:00
Forum: SFS2X Questions
Topic: Server Side - Connection Phase/Handshake Modification
Replies: 2
Views: 42

Re: Server Side - Connection Phase/Handshake Modification

Hi, you could add the footprint id as custom data to the client login request. This way the server side Extension can validate the credentials (if necessary) and the footprint id. The client side LoginRequest supports passing a custom SFSObject containing any data. On the server side you can extract...
by Lapo
06 Apr 2021, 16:00
Forum: SFS2X Questions
Topic: Autoscaling on EC2 Instances
Replies: 14
Views: 2243

Re: Autoscaling on EC2 Instances

Essentially you'd need one license per server instance. Deploying via Kubernetes is possible, but you'd need to manage the licenses manually, maybe via a script that provisions the license internally when the server is launched. I think we have seen a couple of customers doing this, where the licens...
by Lapo
06 Apr 2021, 08:05
Forum: SFS2X Questions
Topic: Issue with Logging
Replies: 2
Views: 49

Re: Issue with Logging

Hi,
are you manually truncating the log files? How does your log backup system works?

Thanks
by Lapo
05 Apr 2021, 09:54
Forum: SFS2X HTML5 / JavaScript API
Topic: Support for older JavaScript API in SmartFoxServer 2X version v2.17
Replies: 1
Views: 175

Re: Support for older JavaScript API in SmartFoxServer 2X version v2.17

Hi,
no the old legacy protocol was dropped since SFS2X v2.14.0.

Best regards

Go to advanced search