Search found 23436 matches

by Lapo
10 Feb 2026, 11:21
Forum: SFS2X Questions
Topic: Using suppressUserList break RoomVariable updates
Replies: 3
Views: 1277

Re: Using suppressUserList break RoomVariable updates

Have you tested the scenario above with the latest versions of SFS2X and relative API? If not I'd suggest to do so and let us know.
I am not sure why the described use case would not work. RoomVariables do not depend on Room Groups and even less so from the suppressUserList setting.

In particular ...
by Lapo
09 Feb 2026, 07:40
Forum: SFS2X Questions
Topic: Question Regarding HCR Reconnection Behavior After Upgrading to SFS 2.16
Replies: 1
Views: 70

Re: Question Regarding HCR Reconnection Behavior After Upgrading to SFS 2.16

Hi,
We have seen the official documentation mentioning that turning off Wi-Fi should not be used to test reconnection. However, it is unclear why this method worked correctly in 2.9 but does not work in 2.16.
Most of this depends on "luck", but generally speaking it will not work.
As outlined in ...
by Lapo
06 Feb 2026, 11:59
Forum: SFS2X Questions
Topic: Possible NPE in internal MMOItemManager.removeItem()
Replies: 7
Views: 356

Re: Possible NPE in internal MMOItemManager.removeItem()

I will probably email tomorrow for the pre release patch just to test out if it solves some other problems,
Yes, I think this would be best so if other related issues persist we can fix them out before releasing an update.

Thanks
by Lapo
05 Feb 2026, 11:39
Forum: SFS2X Questions
Topic: Possible NPE in internal MMOItemManager.removeItem()
Replies: 7
Views: 356

Re: Possible NPE in internal MMOItemManager.removeItem()

Hi,
thanks for reporting. We'll add it to the next patch update.
If you need it sooner we can send a pre-release. Send us an email to support@... with a reference to this topic.

I sent an email on 27/01/2025.
That stack trace from 2025 was happening in a different system where i was also calling ...
by Lapo
29 Jan 2026, 15:02
Forum: SFS2X Questions
Topic: Heap and Metaspace problem
Replies: 1
Views: 434

Re: Heap and Metaspace problem

Hi,
Metaspace is affected when Running lots of Rooms each with its Extension, especially when the Extension is pretty big maybe because of dependencies. Since every Room Extension is by default loaded in a new classloaders you end up with many copies of your Extension class and dependencies, one for ...
by Lapo
26 Jan 2026, 14:54
Forum: SFS2X Questions
Topic: User maximum idle time
Replies: 9
Views: 1960

Re: User maximum idle time

I am referring to a warning message in the client side logs.
For example in Java or C# (client) you'll get a "Lag Monitoring requires that you are logged in a Zone" message.

Cheers
by Lapo
23 Jan 2026, 14:56
Forum: SFS2X Questions
Topic: User maximum idle time
Replies: 9
Views: 1960

Re: User maximum idle time

If you enable the LagMonitor before having successfully logged in, you will get a warning message in your client side logs.
As regards unexpected disconnections in a local network I agree they should never happen. Not even rarely, unless the there's some weird technical issue in the network or some ...
by Lapo
22 Jan 2026, 16:38
Forum: SFS2X Questions
Topic: User maximum idle time
Replies: 9
Views: 1960

Re: User maximum idle time

Check the logs and see if there's a message relative to that User that was kicked for being idle.
If the config was done correctly you should not find it. In which case it means that the client got disconnected due to bad network conditions.

To remedy some of those cases you should turn on the ...
by Lapo
12 Jan 2026, 17:18
Forum: SFS2X Questions
Topic: User maximum idle time
Replies: 9
Views: 1960

Re: User maximum idle time

Hi,
yes and no :)
No in the sense that the "max idle time" is the same for everyone in the Zone, but also Yes : you can simply make sure that the client sends a small request every now and then to keep the connection alive and never get disconnected for being idle.

There's two ways to do this:
1 ...
by Lapo
10 Jan 2026, 15:20
Forum: SFS2X Questions
Topic: Regarding the client IP address and user.getIpAddress()
Replies: 4
Views: 1451

Re: Regarding the client IP address and user.getIpAddress()

Since 2.20.5 we have added the ability to access custom http headers.
See here for more details:
https://docs2x.smartfoxserver.com/Advan ... tp-headers

Let us know if this helps solving your use case.
Cheers
by Lapo
09 Jan 2026, 10:03
Forum: SFS2X Questions
Topic: Regarding remote administration tools and ADMIN_MESSAGE
Replies: 1
Views: 993

Re: Regarding remote administration tools and ADMIN_MESSAGE

Hi,
I want to forcibly reclaim all rooms within a certain Zone and refund the balances of all users in those rooms, or implement other functionalities.

The best way to do this is either with a custom admin Extension for your app, or a custom AdminTool module. The latter would allow you to ...
by Lapo
09 Jan 2026, 09:32
Forum: SFS2X Questions
Topic: Regarding the client IP address and user.getIpAddress()
Replies: 4
Views: 1451

Re: Regarding the client IP address and user.getIpAddress()

Hello.
Premise: the detection of the original IP works only with Websocket connections, not with the TCP SFS2X protocol.

Client -> CloudFront -> Nginx -> SFS
It depends on what Nginx is sending to SFS. If Nginx is sending the "x-forwarded-for" header correctly, SFS2X will detect the original ...
by Lapo
22 Dec 2025, 16:03
Forum: SFS2X Questions
Topic: OnRoomJoin\OnRoomAdded order
Replies: 16
Views: 4694

Re: OnRoomJoin\OnRoomAdded order

One more thing. In the mini log dump you posted it is shown a number of Rooms apparently with the same name.
I suspect this is due to the way the provided RoomSettings object is passed to the QuickJoin request. The name of the the new Room that gets created if the match expression returns nothing ...
by Lapo
22 Dec 2025, 16:02
Forum: SFS2X Questions
Topic: OnRoomJoin\OnRoomAdded order
Replies: 16
Views: 4694

Re: OnRoomJoin\OnRoomAdded order

SFS2x version is 2.19.0
Client api version 1.8.5
The issue is incorrect order of onRoomJoin and onRoomAdded events. This does not happen consistently, in some cases onRoomAdded is received after onRoomJoin.

We've tested with C# API 1.8.5 and both SFS2X 2.19.0 and SFS2X 2.20.5 and haven't found ...
by Lapo
19 Dec 2025, 16:56
Forum: SFS2X Questions
Topic: OnRoomJoin\OnRoomAdded order
Replies: 16
Views: 4694

Re: OnRoomJoin\OnRoomAdded order

Thanks.
We'll post an update after testing the use case.

Cheers