Search found 22668 matches

by Lapo
21 Dec 2023, 08:24
Forum: SFS2X Questions
Topic: Variable Updates not received after Room Name Change
Replies: 5
Views: 61262

Re: Variable Updates not received after Room Name Change

Thanks. We have tested the scenario using both a Java and Javascript clients. For JS we have used the latest 1.8.1 and an old version, 1.7.11 In all cases we didn't find any issues with receiving UserVariables after a Room has been renamed. We tested using the following sequence: User logs in the se...
by Lapo
20 Dec 2023, 15:57
Forum: SFS2X Questions
Topic: Variable Updates not received after Room Name Change
Replies: 5
Views: 61262

Re: Variable Updates not received after Room Name Change

When you said "User Variable" did you maybe mean "Room Variables" instead?
I ask because it seems strange that there's an issues with UserVars after renaming a Room and because the client error you reported mentions Room Variables.

Thanks
by Lapo
20 Dec 2023, 14:17
Forum: SFS2X Questions
Topic: Issue with SFS2X and WebRTC in React Native - Connection Error!
Replies: 4
Views: 55805

Re: Issue with SFS2X and WebRTC in React Native - Connection Error!

Hi,
unfortunately we have no idea, but we do not make use of any WebRTC module/feature, so I doubt there can be conflicts.

Cheers
by Lapo
20 Dec 2023, 12:04
Forum: SFS2X Questions
Topic: log4j-1.2.15.jar vulnerability
Replies: 1
Views: 17479

Re: log4j-1.2.15.jar vulnerability

Hi,
no there is no known vulnerability. The infamous Log4Shell vulnerability that has caused much trouble some time ago was in Log4J 2.x and we don't use it.
https://en.wikipedia.org/wiki/Log4Shell

Cheers
by Lapo
20 Dec 2023, 08:47
Forum: 2X Features Wish List
Topic: More tutorials and docs about Eclipse, Debugging, Unit Testing, etc
Replies: 3
Views: 120111

Re: More tutorials and docs about Eclipse, Debugging, Unit Testing, etc

Hi, thanks for the feedback. I am not sure about Unit Testing (I don't think we have any tutorials on that) but the other tutorials on Debugging and stress testing should be still valid today, regardless of their age. Is there any specific tutorial that you have found not working? If so please post ...
by Lapo
20 Dec 2023, 08:41
Forum: SFS2X Questions
Topic: Connection Lost Reason shows "unknown" when getting kicked by same user login
Replies: 1
Views: 19233

Re: Connection Lost Reason shows "unknown" when getting kicked by same user login

Hi,
yes it is expected.
We have discussed this in several other posts on this forum. For example here:
viewtopic.php?p=99565#p99565

Cheers
by Lapo
19 Dec 2023, 14:29
Forum: SFS2X Questions
Topic: Variable Updates not received after Room Name Change
Replies: 5
Views: 61262

Re: Variable Updates not received after Room Name Change

Hi,
thanks for posting. We'll check if we can reproduce the use case and let you know.

Cheers
by Lapo
18 Dec 2023, 15:28
Forum: SFS2X Questions
Topic: Setting up Unity Example in Eclipse first time, throws errors about missing SFS2X project/resource.
Replies: 3
Views: 15993

Re: Setting up Unity Example in Eclipse first time, throws errors about missing SFS2X project/resource.

Hi,
I am not sure what "Resource: SmartFoxServer_2X" is...
To post a screenshot, see below the the text-are where you compose your message, there is a tab called "Attachments" and use that to upload the image.

Thanks
by Lapo
18 Dec 2023, 07:30
Forum: SFS2X Questions
Topic: SmartFox Server does not detect disconnection with network connection lost
Replies: 3
Views: 29968

Re: SmartFox Server does not detect disconnection with network connection lost

The TCP timeout I am talking about is not the one configured in SmartFoxServer, but rather the actual operating system's TCP timeout.
Cheers
by Lapo
15 Dec 2023, 20:52
Forum: SFS2X Questions
Topic: SmartFox Server does not detect disconnection with network connection lost
Replies: 3
Views: 29968

Re: SmartFox Server does not detect disconnection with network connection lost

Hi, if the network is disabled by pulling the ethernet cable or shutting down wifi then yes, that's expected. It's not something special in SFS2X, it's how TCP/IP works. The disconnection will happen but at a later time when the TCP timeout is triggered. To understand better please read this: https:...
by Lapo
14 Dec 2023, 15:54
Forum: SFS2X Questions
Topic: Buddy Var offline
Replies: 3
Views: 9836

Re: Buddy Var offline

Hi, there's probably some issues with your custom BuddyStorage class, otherwise you should be able to see offline variables at all times. At the bottom of this article: http://docs2x.smartfoxserver.com/AdvancedTopics/buddy-list-api we provide the source code for the default, file-based BuddyStorage ...
by Lapo
14 Dec 2023, 08:53
Forum: SFS2X Questions
Topic: Unity examples (SpaceWar2, Shooter)
Replies: 1
Views: 7476

Re: Unity examples (SpaceWar2, Shooter)

Hello, I was wondering if the Unity examples use a server side Unity headless game simulation? No the game logic is coded in Java without any headless Unity component. Would be interested to know if it is a good idea to run SFS2X with pure API only and no server simulation using Unity. Generally spe...
by Lapo
06 Dec 2023, 15:23
Forum: SFS2X Questions
Topic: Duration of Temporary Buddies
Replies: 1
Views: 8455

Re: Duration of Temporary Buddies

Hi,
a temp buddy lasts until the end of the current session, i.e. when the user disconnects.

Cheers
by Lapo
06 Dec 2023, 08:03
Forum: SFS2X Questions
Topic: Unable to Capture Exception in Offline User Send Operation
Replies: 1
Views: 7146

Re: Unable to Capture Exception in Offline User Send Operation

Hi,
if the user is offline (i.e. not connected to the server) how can you send a message to him/her?

I am not sure I completely understand what is the use case here.
Can you clarify?
Thanks
by Lapo
01 Dec 2023, 16:03
Forum: SFS2X Questions
Topic: SFSBuddy - property - last access date
Replies: 1
Views: 7875

Re: SFSBuddy - property - last access date

Hi, no there is no such property by default. You can add it the user's persistent buddy variables so that other players will be able to see the information even when the buddy is offline. Persistent buddy variables are described here: http://docs2x.smartfoxserver.com/AdvancedTopics/buddy-list-api an...

Go to advanced search