Search found 114 matches
- 29 Oct 2024, 23:50
- Forum: SFS2X Questions
- Topic: Cannot connect with IPv6 on JRE 21.
- Replies: 2
- Views: 1692
Re: Cannot connect with IPv6 on JRE 21.
Thank you for the info. Do you know specifically which Guava / websocket limitation is causing this issue or have a link? I look forward to a fix and will help if I can.
- 29 Oct 2024, 19:35
- Forum: SFS2X Questions
- Topic: Cannot connect with IPv6 on JRE 21.
- Replies: 2
- Views: 1692
Cannot connect with IPv6 on JRE 21.
I've upgraded my JRE to 21.0.5, using Adoptium build, needed for testing some new libraries.
I am able to connect with IPv4 addresses. When logging in with an IPv6 address, testing HTML5 / JS client, I get this error at the login phase:
29 Oct 2024 | 19:41:56,944 | INFO | SFSWorker: ...
I am able to connect with IPv4 addresses. When logging in with an IPv6 address, testing HTML5 / JS client, I get this error at the login phase:
29 Oct 2024 | 19:41:56,944 | INFO | SFSWorker: ...
- 07 Feb 2024, 17:57
- Forum: SFS2X Questions
- Topic: IP blacklist
- Replies: 3
- Views: 1880
Re: IP blacklist
ok thank you. I made it work by setting session var isMarkedForEvicton in the pre-login function and on the login event like you suggested check for the flag and then ban user.
I want to let you team know that most website documentation leads to an error page, in bing and google searches. Ex - m
I ...
I want to let you team know that most website documentation leads to an error page, in bing and google searches. Ex - m
I ...
- 06 Feb 2024, 19:21
- Forum: SFS2X Questions
- Topic: IP blacklist
- Replies: 3
- Views: 1880
IP blacklist
Hello,
I have methods to detect login abuse with LoginAssistantComponent. I would like to add the attacker's IP address automatically to the server IP blacklist or to the "Banned Ip Address" section.
I can't use banUser because when the user is logging in I can only access the LoginData which ...
I have methods to detect login abuse with LoginAssistantComponent. I would like to add the attacker's IP address automatically to the server IP blacklist or to the "Banned Ip Address" section.
I can't use banUser because when the user is logging in I can only access the LoginData which ...
- 26 Jan 2024, 21:01
- Forum: SFS2X Questions
- Topic: Hide "exceptions.SFSLoginException" from log?
- Replies: 1
- Views: 1669
Hide "exceptions.SFSLoginException" from log?
Is there a way to not show SFSLoginException's in the log? I get them anytime a user enters a bad password for example and it takes up a lot of log space. I'd like to not show them specifically. Suggestion?
- 08 Aug 2023, 20:42
- Forum: SFS2X Questions
- Topic: Invalid email address issue
- Replies: 1
- Views: 4076
Invalid email address issue
I'm using the SignUpAssistant for users to create accounts. Due to changes over the years, emails that were once invalid are now valid. Web standards are now supporting ASCII.
See this post for information: https://stackoverflow.com/a/2071250
I tried making a test account with the user email of ...
See this post for information: https://stackoverflow.com/a/2071250
I tried making a test account with the user email of ...
- 27 Jul 2023, 16:43
- Forum: SFS2X Questions
- Topic: Extension flood filter
- Replies: 5
- Views: 4965
Re: Extension flood filter
Thanks Lapo. Can you tell what setting causes this bug?
- 25 Jul 2023, 13:13
- Forum: SFS2X Questions
- Topic: Extension flood filter
- Replies: 5
- Views: 4965
Re: Extension flood filter
I am testing on a local setup. The code looks like this:
public function sendLoc()
{
// Send XY position to server
var params:ISFSObject = new SFSObject();
params.putInt("x", x);
params.putInt("y", y);
smartfox.send(new ExtensionRequest("move", params));
}
I know the requests are ...
public function sendLoc()
{
// Send XY position to server
var params:ISFSObject = new SFSObject();
params.putInt("x", x);
params.putInt("y", y);
smartfox.send(new ExtensionRequest("move", params));
}
I know the requests are ...
- 24 Jul 2023, 17:51
- Forum: SFS2X Questions
- Topic: Extension flood filter
- Replies: 5
- Views: 4965
Extension flood filter
Hello, I am trying to implement the extension flood filter added in 2.19. Here is my code:
static final String MOVEMENT_HANDLER = "move";
static final String TEST_HANDLER = "test";
public void init()
{
// Login and Sign-up process
initSignUpAssistant();
initLoginAssistant();
// Assign game ...
static final String MOVEMENT_HANDLER = "move";
static final String TEST_HANDLER = "test";
public void init()
{
// Login and Sign-up process
initSignUpAssistant();
initLoginAssistant();
// Assign game ...
- 07 Jan 2022, 17:49
- Forum: SFS2X Questions
- Topic: Room memory management
- Replies: 3
- Views: 4136
Re: Room memory management
Hmm, I tested as you suggested and even when I create many MMORooms at startup, the memory usage doesn't seem to increase very much. I'd prefer to create them at startup so I can reference the roomIds for quick lookups, so this may still be viable.
Do you happen to know how much memory, very ...
Do you happen to know how much memory, very ...
- 05 Jan 2022, 20:41
- Forum: SFS2X Questions
- Topic: Room memory management
- Replies: 3
- Views: 4136
Room memory management
Hello,
I may reach 1000 fixed mmo rooms, all created with server boot. Each room has 1-3 Room variables in it.
I don't know if I should create them on startup. Does SmartFox do anything with rooms that don't have active users in them? There are many times where a good number of the rooms don't ...
I may reach 1000 fixed mmo rooms, all created with server boot. Each room has 1-3 Room variables in it.
I don't know if I should create them on startup. Does SmartFox do anything with rooms that don't have active users in them? There are many times where a good number of the rooms don't ...
- 06 Dec 2021, 18:27
- Forum: SFS2X Questions
- Topic: Pass extra params in server EventHandler
- Replies: 2
- Views: 3416
Re: Pass extra params in server EventHandler
OK, I will look to sending another update within USER_JOIN_ROOM then.
Thanks for the info Lapo.
Thanks for the info Lapo.
- 06 Dec 2021, 16:18
- Forum: SFS2X Questions
- Topic: Pass extra params in server EventHandler
- Replies: 2
- Views: 3416
Pass extra params in server EventHandler
Hi,
Is it possible to pass additional parameters from the server to the client when firing certain events? For example, is it possible to pass extra variables when a USER_JOIN_ROOM request is handled serverside?
Server:
this.addEventHandler(SFSEventType.USER_JOIN_ROOM, JoinRoomHandler.class ...
Is it possible to pass additional parameters from the server to the client when firing certain events? For example, is it possible to pass extra variables when a USER_JOIN_ROOM request is handled serverside?
Server:
this.addEventHandler(SFSEventType.USER_JOIN_ROOM, JoinRoomHandler.class ...
- 29 Nov 2021, 13:52
- Forum: SFS2X Questions
- Topic: ROOM_REMOVE fired before player joins?
- Replies: 10
- Views: 9063
Re: ROOM_REMOVE fired before player joins?
Ah, great to hear. In my tests this fixes the problem.
Do you know what the new default will be for the next release? Thanks once again for your help.
Do you know what the new default will be for the next release? Thanks once again for your help.
- 22 Nov 2021, 17:41
- Forum: SFS2X Questions
- Topic: ROOM_REMOVE fired before player joins?
- Replies: 10
- Views: 9063
Re: ROOM_REMOVE fired before player joins?
Update- I sent a working example of the bug to the email. I tried to attach it but it said the 1.2MB size was too large.
The client is HTML5 and the server source is included. After adding the SFS2X files, simply open "index.html" in the HTML5 folders and then click Login. The client will ...
The client is HTML5 and the server source is included. After adding the SFS2X files, simply open "index.html" in the HTML5 folders and then click Login. The client will ...