I checked all of this several times before creating this thread.
I found a temporary solution for this problem in my project. I send a custom ExtensionResponse to the client when the server changes the room for it.
Today I found that the client started receiving the correct room change events ...
Search found 14 matches
- 02 Jul 2025, 14:53
- Forum: SFS2X Questions
- Topic: Client does not receive ROOM_JOIN event after joinRoom() on server
- Replies: 4
- Views: 9407
- 26 Jun 2025, 21:23
- Forum: SFS2X Questions
- Topic: Client does not receive ROOM_JOIN event after joinRoom() on server
- Replies: 4
- Views: 9407
Re: Client does not receive ROOM_JOIN event after joinRoom() on server
This code:
ISFSApi.joinRoom(universingComponent.User, room, null, false, lobby, true, true);
Yes, I totally checked - the user is connected to the room. It's seen in AdminTool, it's seen in the logs.
The client can also send an ExtensionRequest to the server targeting that room (if the client ...
ISFSApi.joinRoom(universingComponent.User, room, null, false, lobby, true, true);
Yes, I totally checked - the user is connected to the room. It's seen in AdminTool, it's seen in the logs.
The client can also send an ExtensionRequest to the server targeting that room (if the client ...
- 25 Jun 2025, 07:36
- Forum: SFS2X Questions
- Topic: Client does not receive ROOM_JOIN event after joinRoom() on server
- Replies: 4
- Views: 9407
Client does not receive ROOM_JOIN event after joinRoom() on server
Hi, I’m facing a strange issue while working with SmartFoxServer 2X.
Problem summary:
⋅ The server calls joinRoom() for a connected user;
⋅ On the server side, the user successfully joins the target room;
⋅ However, on the client side, the SFSEvent.ROOM_JOIN ...
Problem summary:
⋅ The server calls joinRoom() for a connected user;
⋅ On the server side, the user successfully joins the target room;
⋅ However, on the client side, the SFSEvent.ROOM_JOIN ...
- 19 Feb 2025, 15:50
- Forum: SFS2X Questions
- Topic: ProximityList Question
- Replies: 3
- Views: 1017
Re: ProximityList Question
I am not sure what you mean by "proximity zone"? Maybe you mean the area of interest? (AoI) That's the area around each User that limits the event that can be received (triggered by entities inside of the AoI) and those that can't (happening outside of it).
Yeah, that's what I mean.
No, this is ...
Yeah, that's what I mean.
No, this is ...
- 19 Feb 2025, 14:23
- Forum: SFS2X Questions
- Topic: ProximityList Question
- Replies: 3
- Views: 1017
ProximityList Question
Hello!
I have a question about updating ProximityList.
I have custom extension code that updates positions for multiple users and one MMOItem.
It happens in one place in the code, just in a loop.
I do this to ensure that the player and MMOItem always stay in proximity list, even if I move them a ...
I have a question about updating ProximityList.
I have custom extension code that updates positions for multiple users and one MMOItem.
It happens in one place in the code, just in a loop.
I do this to ensure that the player and MMOItem always stay in proximity list, even if I move them a ...
- 11 Sep 2024, 19:38
- Forum: SFS2X Questions
- Topic: Can't remove MMOItem variable
- Replies: 2
- Views: 1634
Re: Can't remove MMOItem variable
Lapo wrote:Isn't setting the ItemVar to an empty/null value not enough for your use case?
That's what I'm doing now to solve this issue.
It's a bit odd that I can add a new variable at any time, but can't delete it.
Thank you. Now I understand how it works.
- 11 Sep 2024, 16:16
- Forum: SFS2X Questions
- Topic: Can't remove MMOItem variable
- Replies: 2
- Views: 1634
Can't remove MMOItem variable
Hello!
I'm trying to completely remove a variable from an MMOItem on the server side.
In the documentation, I see this:
Removing Variables: in order to remove one or more existing variables you will need to set those variables to NULL, using the SFSUserVariable.setNull() method;
When I try to ...
I'm trying to completely remove a variable from an MMOItem on the server side.
In the documentation, I see this:
Removing Variables: in order to remove one or more existing variables you will need to set those variables to NULL, using the SFSUserVariable.setNull() method;
When I try to ...
- 03 May 2024, 10:58
- Forum: SFS2X Questions
- Topic: SmartFox.UdpAvailable
- Replies: 4
- Views: 1767
Re: SmartFox.UdpAvailable
I've always changed it when I set up the smartfox server. Just doing it the way I've always done it.
I was surprised it didn't work.
I was surprised it didn't work.
- 01 May 2024, 19:32
- Forum: SFS2X Questions
- Topic: SmartFox.UdpAvailable
- Replies: 4
- Views: 1767
Re: SmartFox.UdpAvailable
I found a solution to my problem.
In fact, my smartfox could not bind sockets on the specified ports. In the log I saw a message: "Was not able to bind socket".
The problem was solved when I changed the IP address in the server config to 0.0.0.0
I still don't know why this is the case on this ...
In fact, my smartfox could not bind sockets on the specified ports. In the log I saw a message: "Was not able to bind socket".
The problem was solved when I changed the IP address in the server config to 0.0.0.0
I still don't know why this is the case on this ...
- 01 May 2024, 14:46
- Forum: SFS2X Questions
- Topic: SmartFox.UdpAvailable
- Replies: 4
- Views: 1767
SmartFox.UdpAvailable
Hey, everybody!
I'm pretty familiar with smartfox and have deployed various game servers. But now I needed to create a new instance and ran into a problem that I haven't gotten before.
For some reason UdpAvailable is always false for me. I am installing smartfox 2x 2.20.0 on a Ubuntu server. I ...
I'm pretty familiar with smartfox and have deployed various game servers. But now I needed to create a new instance and ran into a problem that I haven't gotten before.
For some reason UdpAvailable is always false for me. I am installing smartfox 2x 2.20.0 on a Ubuntu server. I ...
- 07 Mar 2016, 14:16
- Forum: SFS2X Questions
- Topic: PROXIMITY_LIST_UPDATE
- Replies: 3
- Views: 4657
Re: PROXIMITY_LIST_UPDATE
This only happens if within the AOI of a user are other users.Lapo wrote:Hi,
no idea. Does this happen even if the joined Room is empty?
thanks
- 05 Mar 2016, 10:42
- Forum: SFS2X Questions
- Topic: PROXIMITY_LIST_UPDATE
- Replies: 3
- Views: 4657
PROXIMITY_LIST_UPDATE
Hi All!
Faced with a strange problem, can't find the cause...
Every time I change the MMO room for user on the server side using getApi().joinRoom, this user begins to constantly receive PROXIMITY_LIST_UPDATE. It doesn't stop, even when all users are processed. Moreover, this list contains ...
Faced with a strange problem, can't find the cause...
Every time I change the MMO room for user on the server side using getApi().joinRoom, this user begins to constantly receive PROXIMITY_LIST_UPDATE. It doesn't stop, even when all users are processed. Moreover, this list contains ...
- 01 Apr 2015, 08:54
- Forum: SFS2X Questions
- Topic: UserVariables transfer
- Replies: 3
- Views: 4429
Re: UserVariables transfer
I want other users get UserVars from this client. But this client should not get UserVars from OTHER users.
- 01 Apr 2015, 08:31
- Forum: SFS2X Questions
- Topic: UserVariables transfer
- Replies: 3
- Views: 4429
UserVariables transfer
Hi all!
Are there ways to manage the transfer of UserVars on the server side?
I need to have the client send UserVars, but didn't get UserVars from other clients. Is this possible? And if so, in what ways?
Are there ways to manage the transfer of UserVars on the server side?
I need to have the client send UserVars, but didn't get UserVars from other clients. Is this possible? And if so, in what ways?