Search found 38 matches
- 18 Oct 2021, 16:31
- Forum: SFS2X Questions
- Topic: Maybe bug with force logout in 2.17.3 not present in 2.16.0
- Replies: 5
- Views: 6465
Re: Maybe bug with force logout in 2.17.3 not present in 2.16.0
VARIABLES COUNT is the amount of user variables at that point, since we add all variables during ZoneJoinEventHandler. "User timezone" is a debug line inside ZoneJoinEventHandler and everything seems to indicate that the second time around, ZoneJoinEventHandler is not executed before the c...
- 15 Oct 2021, 18:49
- Forum: SFS2X Questions
- Topic: Maybe bug with force logout in 2.17.3 not present in 2.16.0
- Replies: 5
- Views: 6465
Re: Maybe bug with force logout in 2.17.3 not present in 2.16.0
First login. 15:43:06,092 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 2, Type: DEFAULT, Logged: No, IP: 0:0:0:0:0:0:0:1:57058 } on Server port: 9933 <---> 57058 15:43:06,408 INFO [SFSWorker:Ext:4] zone.ZoneExtension - Login Type: 3 15:43:06,955 INFO [SFSWorker:Ext:4] ...
- 07 Oct 2021, 14:45
- Forum: SFS2X Questions
- Topic: Maybe bug with force logout in 2.17.3 not present in 2.16.0
- Replies: 5
- Views: 6465
Maybe bug with force logout in 2.17.3 not present in 2.16.0
Hi, I just downloaded sfs v2.17.3 along with the c# client api v1.7.16 and testing in Windows I have a weird bug that cannot reproduce in my linux environment running 2.16.0. First login goes well no problem at all, then if I stop the client and log in again, the server is configured to force logout...
- 27 Feb 2019, 20:18
- Forum: SFS2X Questions
- Topic: Run Stress Test with 1000 CCU
- Replies: 3
- Views: 5544
Re: Run Stress Test with 1000 CCU
Thanks for the answer, For a stress test it would be best to not use Unity at all and simply write your client as a .Net/Mono client, using ThreadSafeMode = false. Yes, the client is pure .Net. As regards the 1000 CCU test I need more info on what you're doing. The test is actually quite heavy, ever...
- 26 Feb 2019, 18:52
- Forum: SFS2X Questions
- Topic: Run Stress Test with 1000 CCU
- Replies: 3
- Views: 5544
Run Stress Test with 1000 CCU
Hi, I'm currently trying to run a stress test with 1000 CCU with the C# API 1.7.11a with ThreadSafeMode = false and I'm having some trouble trying to make it work, it runs okay with less than 100 CCU, but once it pass it there seems to be so much events to process in the client that it becomes reall...
- 17 May 2018, 17:53
- Forum: SFS2X Questions
- Topic: CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."
- Replies: 5
- Views: 7360
Re: CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."
What do you mean by "random peaks". Like spikes of CPU usage? Do you have a screenshot of these spikes? Have you checked if the spikes correlate with maybe spikes in the traffic or server queue activity? Sometimes they line up very clearly. Sometimes CPU with network, but others just netw...
- 17 May 2018, 15:04
- Forum: SFS2X Questions
- Topic: CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."
- Replies: 5
- Views: 7360
CPU/network peaks after lots of "User cannot invoke Room extension if he's not joined in that Room."
Hi, we have this problem where random peaks would appear and at this point our only suspect is this log: 17 May 2018 | 14:58:03,086 | WARN | SFSWorker:Ext:18 | controllers.v290.ExtensionReqController | | com.smartfoxserver.v2.exceptions.SFSExtensionException: User cannot invoke Room extension if he'...
- 25 Jan 2018, 17:51
- Forum: SFS2X Questions
- Topic: Too much test sql by sfs
- Replies: 1
- Views: 3826
Too much test sql by sfs
Hi, for some reason the sfs is making an excesive amount of calls to the db for the test sql. I also saw this post http://www.smartfoxserver.com/forums/viewtopic.php?t=16226 . The pool has a limit of 25 connections but it is permitted to grow if there is a need. What I see in the db is a lot of the ...
- 24 Jan 2018, 18:43
- Forum: SFS2X Questions
- Topic: Block all requests for a period of time from the client
- Replies: 1
- Views: 3484
Block all requests for a period of time from the client
Hi, is there a way to do this? I need it because currently if I want to update the principal room, lets call it Menu, I have to restart the server. What I want to do is to block all the requests for like 2 seconds, create a new Menu room with the updated .jar, pass all the users from the old Menu to...
- 24 Jan 2018, 18:27
- Forum: SFS2X Questions
- Topic: Installing and running on AWS EC2
- Replies: 6
- Views: 8740
Re: Installing and running on AWS EC2
Hi, we use htop to see if the server is running and a script .sh in the crontab to check if the server is running every minute and try to start if it is not. * * * * * /home/ubuntu/SmartFoxServer_2X/SFS2X/service-check.sh >> /home/ubuntu/SmartFoxServer_2X/SFS2X/service-status 2>&1 #!/bin/bash se...
- 12 Jul 2017, 16:22
- Forum: SFS2X Questions
- Topic: User joined room time.
- Replies: 2
- Views: 4725
Re: User joined room time.
Yeah, I was thinking that, just wanted to be sure, thanks.
- 12 Jul 2017, 15:44
- Forum: SFS2X Questions
- Topic: User joined room time.
- Replies: 2
- Views: 4725
User joined room time.
Quick question: Is there a built-in way to get from inside a room at any point the timestamp when the user joined? Or does getUserList() is sorted by time? Thanks!
- 03 Jul 2017, 01:00
- Forum: SFS2X Questions
- Topic: Way to synchronize USER_LEAVE_ROOM and USER_JOIN_ROOM
- Replies: 1
- Views: 3674
Way to synchronize USER_LEAVE_ROOM and USER_JOIN_ROOM
Hi, I'm facing a problem due to the asynchronous call of those events. 1- User A leaves the room. 2- USER_LEAVE_ROOM is fired and this check is made at some point. if(extension.getParentRoom().getUserList().isEmpty()) { getApi().removeRoom(extension.getParentRoom()); } 3- User B is logged in (the pr...
- 02 Jul 2017, 21:18
- Forum: SFS2X Questions
- Topic: SFSEventType.USER_JOIN_ROOM
- Replies: 6
- Views: 8773
Re: SFSEventType.USER_JOIN_ROOM
Can you explain what are you trying to do server side? If what you want to do is to send an error to the client when the user is trying to join a room that doesn't exist then server side you have to do nothing because sfs already does that.
- 02 Jul 2017, 19:55
- Forum: SFS2X Questions
- Topic: SFSEventType.USER_JOIN_ROOM
- Replies: 6
- Views: 8773
Re: SFSEventType.USER_JOIN_ROOM
Hi, SFSErrorCode.JOIN_BAD_ROOM is sent by the server when there is no room that matches the name provided ("123678" in this case) and you can catch that error in the client by listening to OnRoomJoinError. SmartFoxServer already does for you what I think you are trying to do. You can check...