Search found 22649 matches

by Lapo
26 Feb 2024, 08:59
Forum: SFS2X Questions
Topic: Managing Reconnections and Handling: User Already Logged In
Replies: 11
Views: 380

Re: Managing Reconnections and Handling: User Already Logged In

Hi, if your client uses TCP sockets you can use the auto-reconnect feature without any manual intervention. http://docs2x.smartfoxserver.com/GettingStarted/reconnection-hrc-plus However, the user is no longer connected. Any suggestions on how to avoid/manage this error?" It looks like the conne...
by Lapo
20 Feb 2024, 08:50
Forum: SFS2X Questions
Topic:
Replies: -1
Views:

Re: Overcast and Guava

Hi, yes in this particular case the original lib should be replaced with the new one which should work without issues, since the SFS2X dependence on Guava is minimal. You can get in touch with us directly (via the usual support@... email), with the details of your Overcast app and we'll replace it f...
by Lapo
16 Feb 2024, 15:09
Forum: SFS2X Questions
Topic: Creating a Hidden Room on the Server Side
Replies: 1
Views: 269

Re: Creating a Hidden Room on the Server Side

Hi, you can create the Room and associate it with a Room Group that is not auto-subscribed by Users. This way it will not appear on the client side. Players can still join the Room if they know its name or Room id, which, is unlikely from their. This works well in those cases where the join request ...
by Lapo
16 Feb 2024, 08:42
Forum: SFS2X Questions
Topic: Using suppressUserList break RoomVariable updates
Replies: 1
Views: 233

Re: Using suppressUserList break RoomVariable updates

Thanks for posting all the details.
We'll look into it.

Cheers
by Lapo
15 Feb 2024, 16:01
Forum: SFS2X Questions
Topic: Is it possible to login same user from two different desktops
Replies: 1
Views: 241

Re: Is it possible to login same user from two different desktops

Hi,
not with the same account, because Users names are unique in each Zone and there can't be duplicates.

Users could login multiple times in the same Zone, using different accounts, or they could login multiple times with the same account in different Zones.

Cheers
by Lapo
11 Feb 2024, 16:07
Forum: SFS2X Questions
Topic: LocalHost8080 wont load
Replies: 4
Views: 664

Re: LocalHost8080 wont load

What OS are you using? Windows, Linux? What version?
Also, are you sure the server is actually starting up correctly and without errors?

Keep in mind that if you already have another service using port TCP 8080, SmartFoxServer will not be able to bind and use such port.

Thanks
by Lapo
10 Feb 2024, 11:30
Forum: SFS2X Questions
Topic: Does USER_EXIT_ROOM Event Get Triggered When a User Disconnects While in a Room?
Replies: 2
Views: 305

Re: Does USER_EXIT_ROOM Event Get Triggered When a User Disconnects While in a Room?

Hi,
SmartfoxEnjoyer wrote:I dont think it will trigger that event on dc in my understanding. You will need to use the User Disconnect event instead.

Yes that's correct. And the USER_DISCONNECT event will also notify which Rooms the user was joined in, at disconnection time.

Cheers
by Lapo
07 Feb 2024, 18:11
Forum: SFS2X Questions
Topic: IP blacklist
Replies: 3
Views: 434

Re: IP blacklist

Thanks, we're going to deploy an SSL cert. for the doc website soon to fix the problem.
Cheers
by Lapo
07 Feb 2024, 08:19
Forum: SFS2X Questions
Topic: IP blacklist
Replies: 3
Views: 434

Re: IP blacklist

Hi,
there isn't a way to ban users at login time because, as you mentioned, a User object doesn't exist yet.
You could listen for the USER_JOIN_ZONE event and ban the player at that time, since you do get a User object with that event.

Cheers
by Lapo
28 Jan 2024, 16:12
Forum: SFS2X Questions
Topic: Hide "exceptions.SFSLoginException" from log?
Replies: 1
Views: 629

Re: Hide "exceptions.SFSLoginException" from log?

No, sorry there is no such mechanism.

Cheers
by Lapo
28 Jan 2024, 14:52
Forum: SFS2X Questions
Topic: LocalHost8080 wont load
Replies: 4
Views: 664

Re: LocalHost8080 wont load

Once SmartFoxServer is installed make sure that:

1) It is running, withour errors
2) Your firewall isn't blocking ports 8080 and 9933

That should solve your problem.

Cheers
by Lapo
27 Jan 2024, 17:52
Forum: SFS2X Questions
Topic: trace(object) is extremely slow?
Replies: 1
Views: 538

Re: trace(object) is extremely slow?

Maybe it depends on the object itself.
When you pass an object the .toString() method of that obj is invoked. I suspect that's where most of the time is spent. The trace() method uses log4j to log data, which is not that expensive in terms of cpu time.

Cheers
by Lapo
27 Jan 2024, 07:38
Forum: SFS2X Questions
Topic: Message not sent from server / received by client due to data size?
Replies: 1
Views: 555

Re: Message not sent from server / received by client due to data size?

Hi, it would help to see an example of a message that doesn't go through. If you can identify one it would also help to try and reproduce the issue. In any case here are a couple of thoughts: 1- unless you're sending data via UDP (which requires a specific flag in the send() method) all packets are ...
by Lapo
26 Jan 2024, 16:54
Forum: SFS2X Questions
Topic: SSL for
Replies: 6
Views: 950

Re: SSL for

Hi,
it depends on what level of security you want to achieve.
The basic level is to at least use SSL on the Lobby server to protect chat and user data. On Game cluster nodes it may be needed or not depending on what kind of data is transmitted.

Cheers
by Lapo
26 Jan 2024, 10:21
Forum: SFS2X Questions
Topic: SSL for
Replies: 6
Views: 950

Re: SSL for

1. " if you need SSL the certificates": means that SFS2x works without SSL and the data is still safe? To protect the communication you will need to deploy an SSL certificate, as usual with every server. What is different is how the encryption is implemented compared to a regular web stac...

Go to advanced search