Search found 67 matches

by nik0990
11 Jun 2020, 10:24
Forum: SFS2X Questions
Topic: Getting java.lang.UnsatisfiedLinkError: java.lang.Class.getClassLoader0()Ljava/lang/ClassLoader; in SFS2.11
Replies: 3
Views: 264

Re: Getting java.lang.UnsatisfiedLinkError: java.lang.Class.getClassLoader0()Ljava/lang/ClassLoader; in SFS2.11

no, if I am running this by ./sfs-service start it is working properly but not with sh sfs2x.sh One more thing MY main extension file loaded in the system and the init method executed properly init method having a scheduler that is not working, Can you help me and it is not showing any error. SmartF...
by nik0990
10 Jun 2020, 09:51
Forum: SFS2X Questions
Topic: Getting java.lang.UnsatisfiedLinkError: java.lang.Class.getClassLoader0()Ljava/lang/ClassLoader; in SFS2.11
Replies: 3
Views: 264

Getting java.lang.UnsatisfiedLinkError: java.lang.Class.getClassLoader0()Ljava/lang/ClassLoader; in SFS2.11

Yes, i am using old SFS just to run my old app When i am running via ./sfs-service start, SFS stopped after few seconds and when i run it via sh sfs2x.sh than showing below line [root@localhost SFS2X]# sh sfs2x.sh Error occurred during initialization of VM java.lang.UnsatisfiedLinkError: java.lang.C...
by nik0990
20 Nov 2019, 13:01
Forum: SFS2X Questions
Topic: Smartfox 2.13.5 taking long time to create rooms
Replies: 3
Views: 2851

Re: Smartfox 2.13.5 taking long time to create rooms

do these Rooms that you're creating have an Extension attached? Yes Every room have extension attached Every game creates 70-100 rooms? Or 70-100 is the total number of Rooms your game uses? yes, This is Multi Level game and different people on different level. So can you suggest, How i can decreas...
by nik0990
20 Nov 2019, 09:11
Forum: SFS2X Questions
Topic: Smartfox 2.13.5 taking long time to create rooms
Replies: 3
Views: 2851

Smartfox 2.13.5 taking long time to create rooms

Hi Team, I am facing a wried problem, Smartfox taking longer time to craete rooms due to that my game is not starting properly. - I have a Multi-Room game that use to create around 70-100 room. - When 3/4 Multi-Room game start, my room creation logic calls and from 3/4+1 thread creating the rooms. -...
by nik0990
26 Feb 2019, 10:24
Forum: SFS2X C# API
Topic: Not able to get Event/Custom Commands in Unity
Replies: 5
Views: 1379

Re: Not able to get Event/Custom Commands in Unity

Can you please help?
by nik0990
25 Feb 2019, 13:49
Forum: SFS2X HTML5 / JavaScript API
Topic: SFSDataType.UTF_STRING_ARRAY requires an array of string values
Replies: 7
Views: 1773

Re: SFSDataType.UTF_STRING_ARRAY requires an array of string values

Hi,

Thanks for help.

But still My "typeof array " is coming object. and facing same issue
by nik0990
25 Feb 2019, 11:43
Forum: SFS2X HTML5 / JavaScript API
Topic: SFSDataType.UTF_STRING_ARRAY requires an array of string values
Replies: 7
Views: 1773

Re: SFSDataType.UTF_STRING_ARRAY requires an array of string values

I also Tried function toUTF8Array(str) { var utf8 = []; for (var i=0; i < str.length; i++) { var charcode = str.charCodeAt(i); if (charcode < 0x80) utf8.push(charcode); else if (charcode < 0x800) { utf8.push(0xc0 | (charcode >> 6), 0x80 | (charcode & 0x3f)); } else if (charcode < 0xd800 || charc...
by nik0990
25 Feb 2019, 11:28
Forum: SFS2X HTML5 / JavaScript API
Topic: SFSDataType.UTF_STRING_ARRAY requires an array of string values
Replies: 7
Views: 1773

SFSDataType.UTF_STRING_ARRAY requires an array of string values

Hi, I am upgrading my SFS server from 2.9.2 to 2.13.4 and facing few issues. I am putting a string array to "putUtfStringArray" but getting error each time. var params = new SFS2X.SFSObject(); //var a = new SFS2X. params.putUtfStringArray("opponents",[opponentId.toString(),"...
by nik0990
18 Feb 2019, 06:08
Forum: SFS2X Questions
Topic: Serialization on Class
Replies: 6
Views: 1659

Re: Serialization on Class

I wrap My code but still having this exception while converting to JSON public class A implements SerializableSFSType{ public B b = new B(); //getter and setters } Exception: com.smartfoxserver.v2.exceptions.SFSRuntimeException Message: java.lang.IllegalStateException: Cannot serialize object: {0=mt...
by nik0990
18 Feb 2019, 04:41
Forum: SFS2X Questions
Topic: Serialization on Class
Replies: 6
Views: 1659

Re: Serialization on Class

Wrapping your the hash map in a SFSSerializableType object will do the trick

How?
by nik0990
08 Feb 2019, 07:44
Forum: SFS2X C# API
Topic: Not able to get Event/Custom Commands in Unity
Replies: 5
Views: 1379

Re: Not able to get Event/Custom Commands in Unity

Hi lapo, Thanks for your reply. We are using force-logout-option (configure on zone), which is making old user instance disconnected (disconnection reason comes unknown on client side)but this trigger re-connection process from client and eventually another instance of same user gets message that Yo...
by nik0990
07 Feb 2019, 11:30
Forum: SFS2X C# API
Topic: Not able to get Event/Custom Commands in Unity
Replies: 5
Views: 1379

Not able to get Event/Custom Commands in Unity

Hi, I am using SFS 2.13.0 Server for Unity WebGL Client(new API). I am facing issue in Multi-Platform logging. In this, While Same User moving from one platform to other, We have functionality to remove old instance(working from last 4 years) and create new instance(We make player disconnect from ol...
by nik0990
19 Dec 2018, 06:59
Forum: SFS2X HTML5 / JavaScript API
Topic: Getting Error while sending ExtensionRequest
Replies: 6
Views: 1607

Re: Getting Error while sending ExtensionRequest

Hi,

I believe that SmartFoxServer 2X is use for single page application(I hope, it is right)?

But for my game i need to open multiple windows with one SFS instance.

While shifting to Client JS(1.7.13), I am not able to achieve SFS instance sharing on multiple windows, But now i achieve that.

Go to advanced search