Search found 19 matches

by longnt
12 Jan 2022, 13:33
Forum: SFS2X Questions
Topic: Extension not changing after update
Replies: 9
Views: 10311

Re: Extension not changing after update

Hi,
Thanks for the information
All of this is really my bad for not fully understand how the class loader works, will be more careful next time

Cheers
by longnt
12 Jan 2022, 12:14
Forum: SFS2X Questions
Topic: Extension not changing after update
Replies: 9
Views: 10311

Re: Extension not changing after update

Hi, I've decide to make a deeper investigation for the game B case and I notice this Only game B has 2 .jar files inside it folder: GameBExtension.jar and GameBExtension_old.jar So I remove the _old version then restart the server, now the game B work correctly. So I guess some how the system cachin...
by longnt
11 Jan 2022, 15:18
Forum: SFS2X Questions
Topic: Extension not changing after update
Replies: 9
Views: 10311

Re: Extension not changing after update

Hi, My application is a Game Storage that contains many mini games So each game is a Extension that extends from BaseExtension The BaseExtension are define in a jar in __lib__ So recently I have a request that need to change some base function in BaseExtension Let say there're game A, and game B tha...
by longnt
11 Jan 2022, 12:03
Forum: SFS2X Questions
Topic: Extension not changing after update
Replies: 9
Views: 10311

Re: Extension not changing after update

Hi! Thanks for the reply. After some more testing, not every extension have old behaviour some of them work correctly so i'm really sure that all files are deployed correctly. I even cloned the entire system to my local machine and all are working correctly. Only thing that difference right now that...
by longnt
11 Jan 2022, 06:55
Forum: SFS2X Questions
Topic: Extension not changing after update
Replies: 9
Views: 10311

Extension not changing after update

Hi, Currently I'm migrating my test server to production server The update mainly the __lib__ folder inside the extensions so I expecting every extensions will be update with new contents I've replaced extensions and zones folder of production server with the test server After restart the production...
by longnt
25 Oct 2021, 09:04
Forum: SFS2X Questions
Topic: Implement mutual buddy relationship
Replies: 5
Views: 5963

Re: Implement mutual buddy relationship

Hi, I've implemented my custom Buddy Storage class and load user's Buddy List from my backend like this @Override public BuddyList loadList(String ownerName) throws SFSBuddyListNotFoundException, IOException { System.out.println("Loading buddy list for:" + ownerName); User user = zone.getU...
by longnt
16 Oct 2021, 19:14
Forum: SFS2X Questions
Topic: Implement mutual buddy relationship
Replies: 5
Views: 5963

Re: Implement mutual buddy relationship

Hi, Thanks for your response, what I need is this operation can still be call even when user B is not online at the moment user A sending the "Remove B from my buddy list" Since the SFSBuddyAPI only have option to remove buddy only when the owner is online Can I do something like this? - U...
by longnt
13 Oct 2021, 13:57
Forum: SFS2X Questions
Topic: Implement mutual buddy relationship
Replies: 5
Views: 5963

Implement mutual buddy relationship

Hi. I'm trying to implement the mutual buddy relationship using the BuddyStorage custom class So my team have a database that contains all the relationship of my friend system implemented in backend In the BuddyStorage custom class I've implemented a way that I can load the relationship list from my...
by longnt
01 Oct 2021, 15:08
Forum: SFS2X Questions
Topic: Question about multiple sfs2x instance
Replies: 1
Views: 2961

Question about multiple sfs2x instance

Hi, I'm having multiple online games using smartfox as there online foundation, each game have a unique zone and use the same UDP, TCP, Host IP config (Current setup) Now I want to run another smartfox instance on my machine that have difference UDP, TCP port (same host IP) According to the this art...
by longnt
21 Sep 2021, 08:04
Forum: SFS2X Questions
Topic: Buddy List Question
Replies: 0
Views: 105014

Buddy List Question

Hi, I'm trying to utilize the BuddyListAPI feature of SmartFox Server to implement Friend System of my application and I have some question: 1. How can I make 2 user to have buddy relation ship if my backend confirm that they're accept each other. Currently I'm using getParentExtension.getBuddyApi()...
by longnt
31 May 2021, 07:24
Forum: SFS2X C# API
Topic: Cannot use SmartFox Send command
Replies: 5
Views: 10858

Re: Cannot use SmartFox Send command

The issue seem to be related with my system account. On one hand if the account is sign in with Google Sign In or Facebook Sign In there're no error. But if the account is signed in with email then the error occurred. I'm using Firebase Authentication for the sign in system. Will report more if I fi...
by longnt
31 May 2021, 01:56
Forum: SFS2X C# API
Topic: Cannot use SmartFox Send command
Replies: 5
Views: 10858

Re: Cannot use SmartFox Send command

Sorry for late reply, I've checked and I have SmartFox C# client 1.7.12 and my XCode is 12.4 (12D4e) Some android got same problem too. My other devices is reporting log as the same as the iOS, but my Samsung A80 (Android 11) seem to be working as normal. :/ Edit: After some more research I finally ...
by longnt
28 May 2021, 14:04
Forum: SFS2X C# API
Topic: Cannot use SmartFox Send command
Replies: 5
Views: 10858

Re: Cannot use SmartFox Send command

Thanks, I've only use this feature for this specific chat feature only And I don't know which client version I am currently using, only remember that it have been imported since Jan 2021(Currently I don't have some kind of Readme or something to show the current version). I also have updated the cli...
by longnt
28 May 2021, 10:25
Forum: SFS2X C# API
Topic: Cannot use SmartFox Send command
Replies: 5
Views: 10858

Cannot use SmartFox Send command

I'm using a fairly simple chat system that user sending other chat message using the SmartFox.Send(new PublicMessageRequest(message, data)); It's working fine on Unity Editor, Android, but it's not working on iOS. This is what I got from the my debug logger Parameter name: s at System.Text.Encoding....
by longnt
12 Apr 2021, 10:17
Forum: SFS2X Questions
Topic: Question about Overcast!
Replies: 2
Views: 3910

Re: Question about Overcast!

Thanks, I'll discuss more with the team to decide what we gonna do with the production :D !

Go to advanced search