Search found 25 matches

by Ber4ber43
09 Nov 2019, 14:10
Forum: SFS2X Questions
Topic: How to pause a task?
Replies: 8
Views: 998

Re: How to pause a task?

Thank you, you helped me a lot
by Ber4ber43
08 Nov 2019, 14:08
Forum: SFS2X Questions
Topic: How to pause a task?
Replies: 8
Views: 998

Re: How to pause a task?

I set 10 inside Server Configurator -> General -> Server task scheduler thread pool size I have to set 10 inside Server Configurator -> Tread pools -> Core threads ? To use the same Schedular throughout the game, do you create the Scheduler in a class and reference it? If I call many times "Sma...
by Ber4ber43
07 Nov 2019, 19:42
Forum: SFS2X Questions
Topic: How to pause a task?
Replies: 8
Views: 998

Re: How to pause a task?

Hi,
The best practice is a boolean variable, or restart the Scheduler?
In a turn-based game, is it worth having a Scheduler for each game, or creating a global Scheduler?

Thank's
by Ber4ber43
06 Oct 2019, 13:49
Forum: SFS2X Questions
Topic: Disconnect all users for server maintenance
Replies: 2
Views: 856

Re: Disconnect all users for server maintenance

I need to disconnect users because the server saves all the data in the database.

I've tried kickUser () it works fine!
Thanks Lapo
by Ber4ber43
05 Oct 2019, 13:19
Forum: SFS2X Questions
Topic: Disconnect all users for server maintenance
Replies: 2
Views: 856

Disconnect all users for server maintenance

Hi, I want to disconnect all users before doing server maintenance. I use this code: public void Execute() { List<User> users = (List<User>) loginZone.getUserList(); for(int i = 0; i < users.size(); i++) { getApi().disconnectUser(users.get(i)); } } The "getApi (). DisconnectUser (USER)" me...
by Ber4ber43
25 Sep 2019, 16:56
Forum: SFS2X Questions
Topic: Questions on timing CONNECTION_LOST, CONNECTION_RETRY, CONNECTION_RESUME
Replies: 4
Views: 172

Re: Questions on timing CONNECTION_LOST, CONNECTION_RETRY, CONNECTION_RESUME

I didn't know how to test this specific case, so I'll do the tests in other ways ..
by Ber4ber43
25 Sep 2019, 16:06
Forum: SFS2X Questions
Topic: Questions on timing CONNECTION_LOST, CONNECTION_RETRY, CONNECTION_RESUME
Replies: 4
Views: 172

Questions on timing CONNECTION_LOST, CONNECTION_RETRY, CONNECTION_RESUME

Hello World, I am studying the "CONNECTION_LOST, CONNECTION_RETRY, CONNECTION_RESUME" events, by activating or disabling the Firewall rules. When the connection is lost, I want to show an icon that means the connection is lost, and when CONNECTION_RESUME work to hide it, I have so many pro...
by Ber4ber43
23 Jul 2019, 14:24
Forum: SFS2X Questions
Topic: Android disconnect doesn't work
Replies: 20
Views: 1468

Re: Android disconnect doesn't work

I didn't have Nat 9933, I thank you very much for helping me these days.
by Ber4ber43
23 Jul 2019, 09:50
Forum: SFS2X Questions
Topic: Android disconnect doesn't work
Replies: 20
Views: 1468

Re: Android disconnect doesn't work

Local client 11:27:37,243 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:49835 } on Server port: 9933 <---> 49835 11:27:37,250 INFO [SocketReader] sessions.DefaultSessionManager - Session removed: { Id: 1, Type: DEFAULT, Logged...
by Ber4ber43
22 Jul 2019, 16:53
Forum: SFS2X Questions
Topic: Android disconnect doesn't work
Replies: 20
Views: 1468

Re: Android disconnect doesn't work

Any good soul that can help me?
by Ber4ber43
20 Jul 2019, 07:35
Forum: SFS2X Questions
Topic: Android disconnect doesn't work
Replies: 20
Views: 1468

Re: Android disconnect doesn't work

The Firewall that has Windows 10, but I disabled it and does not change anything.
by Ber4ber43
19 Jul 2019, 23:17
Forum: SFS2X Questions
Topic: Android disconnect doesn't work
Replies: 20
Views: 1468

Re: Android disconnect doesn't work

The server is hosted on my PC, I use the https://www.noip.com service for DNS. All local tests are done by my PC. All internet tests are done by another network. When you say that the server does not receive the disconnection do you mean: 1) It doesn't log the standard "User disconnected" ...
by Ber4ber43
19 Jul 2019, 09:32
Forum: SFS2X Questions
Topic: Android disconnect doesn't work
Replies: 20
Views: 1468

Re: Android disconnect doesn't work

I'm using SmartFox.Disconnect () Tests made with Windows application: - Local to server: The server receives from Disconnection - Through the Internet: The server does NOT receive the Disconnection Tests made with Android application: - Local to server: The server does NOT receive the Logout - Throu...
by Ber4ber43
18 Jul 2019, 16:42
Forum: SFS2X Questions
Topic: Android disconnect doesn't work
Replies: 20
Views: 1468

Re: Android disconnect doesn't work

Version Api Unity: 1.7.9 Sorry, i have this Version Api Unity: API v1.7.8.1 When I log in I get these lines in the SmartFoxServer2x console: 17:43:32,131 INFO [main] v3.SessionFilter - BlueBox-2X Service (3.3.0) READY. 17:43:48,806 INFO [SocketReader] sessions.DefaultSessionManager - Session create...

Go to advanced search