Search found 28 matches

by Ber4ber43
26 May 2020, 18:27
Forum: SFS2X Questions
Topic: Updating the friends list
Replies: 4
Views: 303

Re: Updating the friends list

Thank you
by Ber4ber43
26 May 2020, 11:43
Forum: SFS2X Questions
Topic: Updating the friends list
Replies: 4
Views: 303

Re: Updating the friends list

Hi,
I like to have control of everything on my server, can you please help me with the logic?
by Ber4ber43
25 May 2020, 19:42
Forum: SFS2X Questions
Topic: Updating the friends list
Replies: 4
Views: 303

Updating the friends list

Hi, I need help on the logic of a custom friends list, I don't understand when it is better to update the various states of the user, it is better: 1) Send your change of status to your entire friends list (Online, Offline, InGame, ExitClan, EnterClan, ChangeUsername) 2) Send the user an update of a...
by Ber4ber43
09 Nov 2019, 14:10
Forum: SFS2X Questions
Topic: How to pause a task?
Replies: 8
Views: 1726

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: 1726

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: 1726

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: 1166

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: 1166

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: 600

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: 600

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: 2991

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: 2991

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: 2991

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: 2991

Re: Android disconnect doesn't work

The Firewall that has Windows 10, but I disabled it and does not change anything.

Go to advanced search