Search found 45 matches

by moonlife
12 May 2023, 17:16
Forum: SFS2X Questions
Topic: Extension Flood Filter for extension requests
Replies: 1
Views: 2048

Extension Flood Filter for extension requests

We're excited with the new Extension Flood Filter feature added in SFS2X version 2.19.0. When we try the new Flood Filter tab in Zone Configurator in SFS Admin Panel, it works. But we also want to add flood filters to our some Java extensions, but since it's not supported in SFS Admin Panel yet, we ...
by moonlife
02 Jan 2023, 07:24
Forum: SFS2X Questions
Topic: Scheduled Tasks
Replies: 7
Views: 3448

Re: Scheduled Tasks

Sorry, it was a typo. It should be "returns an empty array".
by moonlife
28 Dec 2022, 08:13
Forum: SFS2X Questions
Topic: Scheduled Tasks
Replies: 7
Views: 3448

Re: Scheduled Tasks

In the scheduleAtFixedRate, user list always returns an empty error even if there are users logged in at that time. When I execute the same code to fetch user list via sending a request from the client to an extension (BaseClientRequestHandler), it shows the correct user count.
by moonlife
27 Dec 2022, 08:12
Forum: SFS2X Questions
Topic: Scheduled Tasks
Replies: 7
Views: 3448

Re: Scheduled Tasks

Thanks for the recommendations, if I can't figure out a way to achieve in the SFS SERVER_READY event, I'll try to give a shot to Quartz. I'm almost there with SERVER_READY event, but I got a problem. I set up a ScheduledFuture that runs every time. Everything is fine, but user list is almost empty. ...
by moonlife
22 Dec 2022, 07:49
Forum: SFS2X Questions
Topic: Scheduled Tasks
Replies: 7
Views: 3448

Scheduled Tasks

I want to add scheduled tasks to my game. For example, I want to give bonus points to some players exactly at 24.12.2022 10:00, 26.12.2022 16:30 and 30.12.2022 23:10. I wonder what is the most convenient way to trigger that function automatically at those dates (I'm using SFS2X 2.17 with Java extens...
by moonlife
22 Jun 2022, 11:58
Forum: SFS2X Questions
Topic: Is it possible to ban a username?
Replies: 2
Views: 2193

Re: Is it possible to ban a username?

Oh, I guess there is a BannedUserManager out there, I will try it out.
by moonlife
22 Jun 2022, 11:07
Forum: SFS2X Questions
Topic: Is it possible to ban a username?
Replies: 2
Views: 2193

Is it possible to ban a username?

Hi, I'm using SFS 2.17.0. It's possible to add usernames to SFS ban list via Ban Manager panel in SFS Admin Tool. But I want to add usernames to this Ban List via server-side Java extension. There are 2 banUser() methods in SFS API, but both are requesting a User object as parameter, instead of user...
by moonlife
20 Jun 2022, 12:42
Forum: SFS2X Questions
Topic: Our server freezes - So many queued threads
Replies: 1
Views: 1740

Our server freezes - So many queued threads

Hi, We are experiencing a serious problem. Sometimes our game freezes for 10-20 seconds, sometimes for minutes, and sometimes SmartFox Server completely freezes and we need to restart our server. This issue started to happen like a week ago, so we don't think the reason is our server side extension,...
by moonlife
18 Mar 2022, 14:16
Forum: SFS2X Questions
Topic: When does Handshake occur?
Replies: 1
Views: 1950

When does Handshake occur?

Hi, My SFS version is 2.17.0. I'm using C# via Unity. While playing, suddenly bugs started to appear in my mobile game. When I've checked smartfox.log, I noticed there are these logs at the time when bugs started: 10 Mar 2022 | 21:51:08,237 | INFO | SocketReader | bitswarm.sessions.DefaultSessionMan...
by moonlife
19 Jan 2022, 12:32
Forum: SFS2X Questions
Topic: Access denied for user to database
Replies: 2
Views: 2807

Re: Access denied for user to database

I couldn't make it work with my current database user, so I created a new full privileged Mysql user via Mysql console, and it worked with this new user: mysql> CREATE USER 'mysql_user2'@'127.0.0.1' IDENTIFIED BY 'password'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'mysql_user2'@'127.0.0.1' WITH GRANT ...
by moonlife
18 Jan 2022, 19:04
Forum: SFS2X Questions
Topic: Access denied for user to database
Replies: 2
Views: 2807

Access denied for user to database

Hi, We are using SFS2X 2.17.0 and MySQL 8.0.28. We are migrating our game to another server. We installed SFS2X and Mysql database. Put out mysql connector named 'mysql-connector-java-8.0.23.jar' in jre/lib/ext folder (also placed under SFS2X/extensions/__lib__ and still no luck, but in our previous...
by moonlife
29 Oct 2021, 11:31
Forum: SFS2X Questions
Topic: Smartfox Encryption
Replies: 1
Views: 2377

Smartfox Encryption

Hi, We are using Facebook to publish ads for our game. Facebook asked us some questions about how do we secure our users' data. We will be grateful if you could help us how shall we answer these questions Facebook asked to us: Do you currently have an Information Security Framework in place? An Info...
by moonlife
05 Oct 2021, 13:32
Forum: SFS2X Questions
Topic: Stack Trace is empty
Replies: 6
Views: 5016

Re: Stack Trace is empty

Thank you very much, added -XX:-OmitStackTraceInFastThrow switch to JVM settings, and it worked like a charm! Now we can see detailed stack trace info in our error logs.
by moonlife
05 Oct 2021, 08:32
Forum: SFS2X Questions
Topic: Stack Trace is empty
Replies: 6
Views: 5016

Re: Stack Trace is empty

Hi,
Did you find any clues about the situation? Stack trace messages in our error logs are still empty, and it makes it very hard to detect reasons of errors for us.
Is there any information that we can provide to find out why can't we get stack trace messages?
by moonlife
29 Sep 2021, 11:36
Forum: SFS2X Questions
Topic: Stack Trace is empty
Replies: 6
Views: 5016

Stack Trace is empty

Sometimes I get ArrayIndexOutOfBoundsException in my smartflox.log file caused by my Java extension. I'm using SFS 2.17.0. Here is a sample error log: 29 Sep 2021 | 13:42:00,720 | ERROR | SFSWorker:Ext:4 | controllers.v290.ExtensionReqController | | java.lang.ArrayIndexOutOfBoundsException: ::::::::...

Go to advanced search