Search found 4464 matches

by Bax
12 Sep 2019, 06:49
Forum: SFS2X C# API
Topic: Sfs.MySelf might null after sucessfull login?
Replies: 10
Views: 221

Re: Sfs.MySelf might null after sucessfull login?

2. can be [SFS - ERROR] [TCPSocketLayer] General error reading data from socket detected & handled somehow in the client? If so, how? Right now, when this happens, the application freezes, which is not... behaviour we would like to have. I'll have to check with my colleague who knows more about...
by Bax
26 Aug 2019, 09:51
Forum: SFS2X Questions
Topic: Problem with empty SFSObject
Replies: 9
Views: 194

Re: Problem with empty SFSObject

We fixed the issue with empty JSON objects.
If you send us an email, we will provide the download link to get the updated API.
Thank you.
by Bax
17 Aug 2019, 11:34
Forum: SFS2X Questions
Topic: The type 'SmartFox' exists in both
Replies: 6
Views: 1047

Re: The type 'SmartFox' exists in both

Make sure that websocket is properly configured in your server. Go to the AdminTool's Server Configurator module, Web server tab and check if it is configured like this:

Image
by Bax
16 Aug 2019, 07:31
Forum: The Gallery
Topic: Released Browser IO game with SmartFoxServer
Replies: 2
Views: 1263

Re: Released Browser IO game with SmartFoxServer

Hi Zenith.
What is the status of the project? If it's not an alpha version anymore, we would like to add it to our showcase.
Can you send the info listed on this page? https://www.smartfoxserver.com/showcase/submit
Thank you.
by Bax
14 Aug 2019, 07:11
Forum: SFS2X C# API
Topic: Can't connect to server with WebGL build in Unity
Replies: 3
Views: 175

Re: Can't connect to server with WebGL build in Unity

Could you please make sure that websocket is properly configured in your server? Go to the AdminTool's Server Configurator module, Web server tab and check if it is configured like this: http://docs2x.smartfoxserver.com/_documents/GettingStarted/_images/crypto-https.png If yes, I would like to try t...
by Bax
13 Aug 2019, 08:02
Forum: SFS2X Questions
Topic: The type 'SmartFox' exists in both
Replies: 6
Views: 1047

Re: The type 'SmartFox' exists in both

Select all three DLLs we provide in our API package, one by one: - for SmartFox2X.dll, check everything except WebGL and WSAPlayer (Universal Windows Platform) --- SEE PICTURE BELOW; - for SmartFox2X_WebGL.dll, only check WebGL; - for SmartFox2X_UWP.dll (if you use it), only check WSAPlayer. That sh...
by Bax
12 Aug 2019, 07:22
Forum: SFS2X Questions
Topic: The type 'SmartFox' exists in both
Replies: 6
Views: 1047

Re: The type 'SmartFox' exists in both

It seems you selected the wrong platforms to associate the WebGL API to in the Inspector panel when clicking on the DLL.
Please make sure you follow the instructions on this page: http://docs2x.smartfoxserver.com/Gettin ... harp#unity
by Bax
08 Aug 2019, 09:17
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 784

Re: Missing code completion

Rob, we have found a way to generate a d.ts file more easily and including the jsdoc. Still not perfect, but quite good.
If you want to give it a try in your dev environment, just send us an email referencing this thread.
Thanks.
by Bax
07 Aug 2019, 07:30
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 784

Re: Missing code completion

In today's JavaScript programming there's so many layers (web pack or other bundlers, transpiration, npm, etc) and styles in writing the code which is almost impossible to understand what is going on and where. I still think the issue here is the missing type definitions file. Also check this thread...
by Bax
07 Aug 2019, 07:14
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeError: u.callback is undefined
Replies: 3
Views: 179

Re: TypeError: u.callback is undefined

I'm not familiar with Parcel, so it is not clear what a "warningfilter" is. Can you better explain what issue are you experiencing? Thank you. In the constructor you are checking this.sfsConn , which will always be null, because this.sfsConn is not sfsConn. I suggest to review your code an...
by Bax
30 Jul 2019, 10:04
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 784

Re: Missing code completion

We have a partial solution to this issue. Using the tool at the url below, you can make it generate a d.ts file for our API, which I think should stop your IDE from complaining. We will figure out if we can distribute a d.ts file together with the API. But currently I'm not 100% happy with the resul...
by Bax
30 Jul 2019, 08:22
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 784

Re: Missing code completion

IntelliSense in those environments requires a types definition file to be provided. We don't have such file available, because as of today we could not find a way to generate it automatically (at least the tree of classes, methods, etc). I guess you will need to configure Intellij so that it is not ...
by Bax
26 Jul 2019, 08:02
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 404

Re: Lose SFConnection on Scene Load

I just did a simple test and everything works as expected: - added a new "Test" scene to the Tris project - inside the new scene, created an empty GameObject, called "Controller" - assigned a new script to the Controller object, called "TestScript" - added the following...
by Bax
26 Jul 2019, 07:36
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 404

Re: Lose SFConnection on Scene Load

Does your scene contain a Controller object to which the GameController script is assigned?
by Bax
23 Jul 2019, 08:36
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 404

Re: Lose SFConnection on Scene Load

From your description it seems you are not following the Tris example entirely. In fact, after the login is performed, the Lobby scene is loaded. That's where players meet (in a dedicated Room), and create a game Room to play. Anyway... As my colleague Lapo pointed out, the Lobby and Game scenes acc...

Go to advanced search