Hi,
Do I have to implement storage for this to work? or will the default storage work also?
I ask because I send AddBuddyRequest, but BUDDY_ADD and BUDDY_ERROR call backs are never called.
BuddyList is active, & Custom Buddy List storage class is empty.
Thanks
Search found 27 matches
- 19 Aug 2023, 22:24
- Forum: SFS2X Questions
- Topic: message between users in in different rooms
- Replies: 3
- Views: 3073
- 17 Aug 2023, 03:40
- Forum: SFS2X Questions
- Topic: message between users in in different rooms
- Replies: 3
- Views: 3073
message between users in in different rooms
I have an issue that I cannot find a good solution to. I have two users (friends) UserA is in the Lobby UserB is int he GameRoom UserA cannot see if UserB is online (as they are in different rooms) UserA cannot send a message to UserB How can an extension solve this? should the extension be assigned...
- 04 May 2023, 03:02
- Forum: SFS2X Questions
- Topic: [NEW] SFS2X 2.19.0 is available!
- Replies: 3
- Views: 3129
Re: [NEW] SFS2X 2.19.0 is available!
Hi, I have not followed all the changes, but would an extension that works in 2.16 be expected to work in 2.19 without modifications? (of course we have to test and all)
- 10 Dec 2020, 21:32
- Forum: SFS2X Questions
- Topic: Running out of background task threads?
- Replies: 6
- Views: 18388
Re: Running out of background task threads?
Update:
Issue resolved, added a few second delay scheduleAtFixedRate seems to have fixed it. Thanks, your input helped me focus on what could be causing the issue.
Issue resolved, added a few second delay scheduleAtFixedRate seems to have fixed it. Thanks, your input helped me focus on what could be causing the issue.
- 10 Dec 2020, 16:09
- Forum: SFS2X Questions
- Topic: Unexplained production restarted
- Replies: 3
- Views: 9337
Re: Unexplained production restarted
Hi, Once again, I deployed a new extension and boom server restarted, this is super annoying, sometimes it works perfectly, other times it restarts the server. 10 Dec 2020 | 16:07:58,895 | INFO | SFSWorker:Ext:1 | Extensions | | {Man}: [Ahmadie' Game] Saving..Status: pcA Turn:2 R:false false false f...
- 10 Dec 2020, 15:37
- Forum: SFS2X Questions
- Topic: Running out of background task threads?
- Replies: 6
- Views: 18388
Re: Running out of background task threads?
Yes,
I have trace lines under the logic section. Again some portion of the rooms run fine. Could be timing/race condition in the initial call, perhaps I can add a delay when scheduling the task
I have trace lines under the logic section. Again some portion of the rooms run fine. Could be timing/race condition in the initial call, perhaps I can add a delay when scheduling the task
- 10 Dec 2020, 14:02
- Forum: SFS2X Questions
- Topic: Running out of background task threads?
- Replies: 6
- Views: 18388
Re: Running out of background task threads?
this is what my run method looks like, I never catch any exceptions logs public void run() { try { Room theRoom = getParentExtension().getParentRoom(); ManfeeExtension myEx = (ManfeeExtension) getParentExtension(); //self cleanup if (myEx.extentionValid == false || (theRoom != null && theRoo...
- 10 Dec 2020, 05:35
- Forum: SFS2X Questions
- Topic: Running out of background task threads?
- Replies: 6
- Views: 18388
Re: Running out of background task threads?
Additional details,
checked at a later time, there are now 9 active tasks, even though there are ~30 active extenstions/rooms.
So it does not look like there is some limit of 20, it seems instead that a large portion of the tasks simply fail or do not run. For whatever reason.
checked at a later time, there are now 9 active tasks, even though there are ~30 active extenstions/rooms.
So it does not look like there is some limit of 20, it seems instead that a large portion of the tasks simply fail or do not run. For whatever reason.
- 09 Dec 2020, 22:54
- Forum: SFS2X Questions
- Topic: Running out of background task threads?
- Replies: 6
- Views: 18388
Running out of background task threads?
Hi, I have the following structure, each room (game) runs an extension (as SINGLE_INSTANCE) and each instance of the extension starts a task in the constructor to monitor game/status and perform certain actions as needed (i.e. kick player) public MyServerExtention() { SmartFoxServer sfs = SmartFoxSe...
- 08 Dec 2020, 01:17
- Forum: SFS2X Questions
- Topic: Is there a way to hot deploy room extention??
- Replies: 12
- Views: 16475
Hot deployment of extension not working
Hi, I have been deploying extensions and face the following outcomes 1. sometimes, all goes well, the new extension goes in and existing rooms continue to operate on the old extension 2. other time, I get a server restart, uptimes goes to 00:00:00 (users still connected) and all running rooms start ...
- 03 Dec 2020, 17:52
- Forum: SFS2X Questions
- Topic: Unexplained production restarted
- Replies: 3
- Views: 9337
Unexplained production restarted
Hello, The server restarted on its own ( went down @ 16:57:30 and came back @ 17:00 ). The log is included below. Seems like the last thing it did was to add new threads? 03 Dec 2020 | 16:57:26,502 | INFO | SocketReader | util.executor.SmartThreadPoolExecutor | | Added 16 new threads, current size i...
- 30 Oct 2020, 16:51
- Forum: SFS2X Questions
- Topic: controllers.system.Handshake - Reconnected USER:
- Replies: 1
- Views: 2698
controllers.system.Handshake - Reconnected USER:
Hi, I am seeing a large number of such errors: 30 Oct 2020 | 16:42:57,660 | INFO | SFSWorker:Sys:4 | controllers.system.Handshake | | Reconnected USER: What is going on in the background? Is this scenario caught by HRC+ ? If not, is there an associated event in the extension for this error so that I...
- 28 Oct 2020, 15:24
- Forum: SFS2X Questions
- Topic: Connection dropping in PRD
- Replies: 9
- Views: 7982
Re: Connection dropping in PRD
OK great,
Understand the difference between IP switching and hickups
The question, is there a reason why "User reconnection timeframe" is off by default? seems like a very useful setting. Any downsides?
Thanks
Understand the difference between IP switching and hickups
The question, is there a reason why "User reconnection timeframe" is off by default? seems like a very useful setting. Any downsides?
Thanks
- 28 Oct 2020, 13:17
- Forum: SFS2X Questions
- Topic: Connection dropping in PRD
- Replies: 9
- Views: 7982
Re: Connection dropping in PRD
Great, Still a question about "User reconnection timeframe", I thought this was to enable the HRC system (where the connection is transparently re-established during hiccups ) and not simply to provide additional time during initial login (as the name and your explanation suggest). HRC+ do...
- 28 Oct 2020, 03:38
- Forum: SFS2X Questions
- Topic: Connection dropping in PRD
- Replies: 9
- Views: 7982
Re: Connection dropping in PRD
Hi, I set the value of "User reconnection timeframe" from 0 to 20 , this seems to help a little. Is this something that should be on in a production environment? Since it was off by default I wonder what the downside of this is? Now a have the following issue: I am seeing a situation where...