Search found 6 matches

by Moonshine|ashish
19 Jun 2019, 09:48
Forum: SFS2X HTML5 / JavaScript API
Topic: SwitchspectatortoPlayer
Replies: 2
Views: 317

Re: SwitchspectatortoPlayer

Thanks @lapo
I have achieved this using

Code: Select all

getApi().switchSpectatorToPlayer(user);


this will change the user as player and also update client at the same time.
by Moonshine|ashish
19 Jun 2019, 09:45
Forum: SFS2X Questions
Topic: Incoming request size too large
Replies: 4
Views: 2630

Re: Incoming request size too large

I am facing this issue when i was trying to connect Smart fox to eclipse for debugging have followed steps which i got from other posts but still not able to connect . added all these switches -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n and then in my eclipse debu...
by Moonshine|ashish
14 Jun 2019, 11:36
Forum: SFS2X HTML5 / JavaScript API
Topic: SwitchspectatortoPlayer
Replies: 2
Views: 317

SwitchspectatortoPlayer

I have joined users to a room as a Spectator initially and at server level used SwitchSpectatorToPlayer method to make users as a Player like this. room.switchSpectatorToPlayer(user); But at client (HTML5 and Javascript) user is assumed as a Spectator only in current opened clients and whenever a ne...
by Moonshine|ashish
31 May 2019, 09:21
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection to sfs client using java server API
Replies: 1
Views: 319

Connection to sfs client using java server API

I am new to SFS2x required your help! i am able establish successful connection with java server api through Javascript API Like this var config = {}; config.host = "localhost"; config.port = 8080; config.zone = "MyExtension"; config.useSSL = false; // Create SmartFox client inst...
by Moonshine|ashish
15 May 2019, 11:04
Forum: SFS2X Questions
Topic: newFromObject()
Replies: 3
Views: 274

Re: newFromObject()

Thanks lapo.. :)
by Moonshine|ashish
13 May 2019, 09:59
Forum: SFS2X Questions
Topic: newFromObject()
Replies: 3
Views: 274

newFromObject()

I am new to smartfox and using Java as Sever API and HTML5 client Having problem in getting POJO classes data on my javascript client . In my clientOutGoingData i have converted MY POJO int SFSObject like this loginData.clientOutGoingData.putSFSObject("userProperties", SFSObject.newFromObj...

Go to advanced search