Search found 22158 matches

by Lapo
05 Oct 2022, 07:43
Forum: SFS2X Questions
Topic: Cracked version of smartfox server
Replies: 1
Views: 21

Re: Cracked version of smartfox server

Hi,
you can send us an email at support@...

Thanks
by Lapo
04 Oct 2022, 07:36
Forum: SFS2X C# API
Topic: Some USER_VARIABLES_UPDATE event are not received
Replies: 1
Views: 114

Re: Some USER_VARIABLES_UPDATE event are not received

Hi, updating variables every frame is likely an issue. User and Room vars are sent over TCP and there's a limit of 20-25 pps (packets per second) after which you will likely incur in packet drops (although in a local network it can go much higher than that). Depending on the game you're developing y...
by Lapo
03 Oct 2022, 07:58
Forum: SFS2X C# API
Topic: "Unity" Error Cannot connect to server and cant access localhost:8080...
Replies: 12
Views: 130

Re: "Unity" Error Cannot connect to server and cant access localhost:8080...

i changed the ip address the client uses to my ipv4 address under ipconfig in cmd prompt how would one go about setting up the SpaceWar2 demo with a digital ocean droplet server Were you able to run the demo on your local machine? I would do that before attempting the next step, at least to familia...
by Lapo
03 Oct 2022, 07:57
Forum: SFS2X C# API
Topic: "Unity" Error Cannot connect to server and cant access localhost:8080...
Replies: 12
Views: 130

Re: "Unity" Error Cannot connect to server and cant access localhost:8080...

Artificialized wrote:Oh so i need a server to test the unity spacewar2 example?

It is a multiplayer demo :)
You need SmartFoxServer 2X installed and running on your local machine. That's how all of the Examples work, by connecting to the local server.
by Lapo
03 Oct 2022, 07:43
Forum: SFS2X Questions
Topic: default idle db connections
Replies: 9
Views: 97

Re: default idle db connections

Hi, it's not actually bad, it's just not ideal, especially if you could bring the database closer. In your case it's not that trivial to do so, and it's also not the end of the world :) You can mitigate the latency issue with a larger System/Extension thread pool so that you always have enough threa...
by Lapo
02 Oct 2022, 14:37
Forum: SFS2X Questions
Topic: default idle db connections
Replies: 9
Views: 97

Re: default idle db connections

No, it's not bad to change the thread settings, especially in a situation like this, where you have a laggy database. I would actually set the the core thread count to 40-50. The Extension thread pool can auto-resize itself if it detects a lack of available threads but it's not real time as it needs...
by Lapo
02 Oct 2022, 14:29
Forum: SFS2X C# API
Topic: "Unity" Error Cannot connect to server and cant access localhost:8080...
Replies: 12
Views: 130

Re: "Unity" Error Cannot connect to server and cant access localhost:8080...

Hi, all our examples are configured to connect to the "localhost", i.e. the local machine. If client and server are not on the same physical machine then you'll need to change the address the client uses to the server's public IP address. Cheers p.s. = I am trying to figure out why none of...
by Lapo
02 Oct 2022, 13:52
Forum: SFS2X Questions
Topic: default idle db connections
Replies: 9
Views: 97

Re: default idle db connections

This is from runtime zone settings. 80 Active, 20 Idle, GROW, 3000 block. Thanks. I was also asking where are you getting the number of connections from? Is the SFS2X AdminTool or the DB itself? Also what I am not sure what an ECS database is... I suppose it's running in AWS elastic container? But ...
by Lapo
01 Oct 2022, 14:52
Forum: SFS2X Questions
Topic: default idle db connections
Replies: 9
Views: 97

Re: default idle db connections

For starters it would to know the conditions under which the test is performed. If you are using a remote DB with 300ms of lag from SFS2X that is already a significant problem, as every client request will incur in that much latency plus everything else. As regards the number of connections being on...
by Lapo
01 Oct 2022, 09:48
Forum: SFS2X Questions
Topic: default idle db connections
Replies: 9
Views: 97

Re: default idle db connections

Hi,
the answer is no.
I am not sure what would be the advantage of creating many unused connections when they're not needed. It seems to defeat the purpose of the Connection pooling itself, where connections are created only when needed and prioritizing reuse.

Cheers
by Lapo
01 Oct 2022, 09:39
Forum: SFS2X Questions
Topic: Ping to keep alive
Replies: 1
Views: 20

Re: Ping to keep alive

Hi, the default Zone setting is usually 300 seconds (5 minutes). However clients can loose their connection if they haven't sent a request in a while, due to all sorts of timeouts triggering on any of the devices between client and server (routers, gateways etc...) What you have done is correct, but...
by Lapo
28 Sep 2022, 09:16
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 4
Views: 126

Re: Unexplained disconnect

Yes, I agree in the localhost it is very strange. :? Also the number of connections (20-50) is very low and should be of no concern. Unfortunately I can't provide further help without more data. If you are familiar with Wireshark you could capture the traffic between NPCs and the server. It may prov...
by Lapo
27 Sep 2022, 07:26
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 4
Views: 126

Re: Unexplained disconnect

Hello
it sounds like a local connection issue of some sort because SFS2X is not reporting and "idle client" error, or manual disconnection.
Have you checked the client side for errors?

How many NPCs does this local app generate?

Thanks
by Lapo
27 Sep 2022, 07:22
Forum: SFS2X Questions
Topic: Login failed - session is already expired
Replies: 2
Views: 89

Re: Login failed - session is already expired

Hi, the " session is already expired " error happens when Users take too much time logging in and the Session expires. There is a global setting under AdminTool > Server Settings that controls the maximum idle time of a Session. By default it is 20 seconds. I'd recommend to use a value < 6...
by Lapo
23 Sep 2022, 11:57
Forum: SFS2X Questions
Topic: How to get the number of times a user has joined a given room?
Replies: 1
Views: 80

Re: How to get the number of times a user has joined a given room?

Hi, there is no pre-built functionality like the one you have described. There are couple of ways like maintaining a userId->count map in room variable/session and update it on user join room event. It's a good idea, but there can be side effects. If Rooms are persistent (i.e. they are never removed...

Go to advanced search