Search found 20654 matches

by Lapo
01 Oct 2019, 15:48
Forum: SFS2X Questions
Topic: Can i add multiple event handlers for the same event?
Replies: 11
Views: 172

Re: Can i add multiple event handlers for the same event?

Hi, sorry I can't reproduce this. I've added two handlers in a simple extension for the USER_DISCONNECT event and I see them both triggering. This is valid for all events, by the way, as they all support multiple listeners. What SFS2X version are you using? Can we see the full code of the test that ...
by Lapo
30 Sep 2019, 16:04
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Running as a service
Replies: 3
Views: 81

Re: Running as a service

Sorry for the delay.
I think you should follow the same instructions we have for SmartFoxServer 2X, here:
http://docs2x.smartfoxserver.com/Gettin ... tall-linux

I have tested it using SFS PRO, under Ubuntu 18.04 LTS which uses systemd and it works fine.

Hope it helps
by Lapo
30 Sep 2019, 15:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Database won’t connect Linux
Replies: 3
Views: 479

Re: Database won’t connect Linux

Hi,
is it the same database? From Windows to Linux?

Also have you tried changing the Test SQL expression, maybe using a "SELECT 1" instead or a SELECT from an existing table?

Thanks
by Lapo
30 Sep 2019, 13:48
Forum: SFS2X Questions
Topic: ERR_CONNECTION_REFUSED by http = false
Replies: 2
Views: 61

Re: ERR_CONNECTION_REFUSED by http = false

Hi, if you disabled the internal web server the error is expected. You can still download the standalone version of the AdminTool, install it locally, connect to SFS2X and turn the server back on. https://smartfoxserver.com/download#p=extras Usually it's best to leave it turned on, as you loose acce...
by Lapo
30 Sep 2019, 07:38
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 249

Re: Report Bug

Ardito wrote:I don't understand it, sometimes it works, and sometimes it doesn't work

I replied to your private message.
by Lapo
28 Sep 2019, 09:00
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 249

Re: Report Bug

Again, the client does not receive the inactivity disconnection. You just said that it did. In your previous post you said: 1) I log in through any user 2) I wait for the 300 seconds to expire I tried again and now it works, but when I log in again, I get this error... So I assumed you were getting...
by Lapo
27 Sep 2019, 15:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Running as a service
Replies: 3
Views: 81

Re: Running as a service

Hi,
are you asking for SFS2X or SFS1.x ?
by Lapo
27 Sep 2019, 14:41
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 249

Re: Report Bug

How are you logging in again? From the same client?
If so are you recreating the main SmartFox object. Every time you start a new connection from the same application you need to remove the listener from the previous instance and create a new one.

Cheers
by Lapo
27 Sep 2019, 09:37
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 249

Re: Report Bug

I don't know how to reproduce this. If you take any of our examples and test it locally you will get disconnected when the idle timer is expired. Long timer or short time, doesn't change the fact that you get the disconnection event. Are you testing online perhaps? If so, it's more likely to be a ne...
by Lapo
26 Sep 2019, 14:08
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 249

Re: Report Bug

Ardito wrote:
Lapo wrote:What platform are you building for?
Unity Editor

Yes, but what is your build target?
Even from the Editor that's relevant. For example if you're building for WebGL the Editor is going to use websockets, rather than TCP socket to communicate.

Thanks
by Lapo
26 Sep 2019, 07:02
Forum: SFS2X Questions
Topic: Server no longer booting on machine start
Replies: 5
Views: 80

Re: Server no longer booting on machine start

It's quite difficult to say. It sounds like you were already running SFS2X before and at some point you started seeing this problem. If so maybe you've done some changes? System update? Can you recall anything specific? Why would there be a problem with mysql on sfs boot by system? This sounds like ...
by Lapo
26 Sep 2019, 06:56
Forum: SFS2X C# API
Topic: Unity 2019.2.0f1 freezing after sending client request to Server.
Replies: 1
Views: 141

Re: Unity 2019.2.0f1 freezing after sending client request to Server.

Hi,
sending every frame at what frame rate? And what protocol are you using TCP or UDP?

Thanks
by Lapo
26 Sep 2019, 06:52
Forum: SFS2X Questions
Topic: Login error: The maximum number of concurrent users has been reached
Replies: 5
Views: 1603

Re: Login error: The maximum number of concurrent users has been reached

We received your email. My colleagues will get back to you asap.
Thanks
by Lapo
26 Sep 2019, 06:51
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 249

Re: Report Bug

What platform are you building for?
Can you describe how you're doing the test?
Is the test always reproducible?

Thanks
by Lapo
26 Sep 2019, 06:50
Forum: SFS2X Questions
Topic: Questions on timing CONNECTION_LOST, CONNECTION_RETRY, CONNECTION_RESUME
Replies: 4
Views: 78

Re: Questions on timing CONNECTION_LOST, CONNECTION_RETRY, CONNECTION_RESUME

If you just want to test the mechanism and related events you can use the SmartFox.KillConnection() method.
This simulates a sudden disconnection and it was introduced exactly for the purpose of testing the reconnection system.

Cheers

Go to advanced search