Search found 4505 matches

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: 1012

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: 1915

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: 1915

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: 1904

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: 1904

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: 872

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: 1904

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: 1904

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: 1348

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: 1348

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: 1348

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...
by Bax
15 Jul 2019, 17:30
Forum: SFS2X Questions
Topic: SmartFoxServer 2X C# API Documentation
Replies: 2
Views: 795

Re: SmartFoxServer 2X C# API Documentation

Turned out that the doc generation tool had an issue when loading source files from a network drive.
Now the search feature works as expected. Thank you for reporting.
by Bax
03 Jul 2019, 09:35
Forum: SFS2X HTML5 / JavaScript API
Topic: Return value documentation errors
Replies: 5
Views: 1392

Re: Return value documentation errors

We fixed the documentation issues. Again, thank you for reporting.
by Bax
02 Jul 2019, 14:04
Forum: SFS2X C# API
Topic: WebSocketSharp Conflict. Could it be internal instead of public?
Replies: 9
Views: 1626

Re: WebSocketSharp Conflict. Could it be internal instead of public?

Please contact us by email.
We can provide a test release with a modified namespace of the WebSocketSharp library we use internally.
by Bax
01 Jul 2019, 15:44
Forum: SFS2X C# API
Topic: WebSocketSharp Conflict. Could it be internal instead of public?
Replies: 9
Views: 1626

Re: WebSocketSharp Conflict. Could it be internal instead of public?

Thanks. Let us know how it goes. As I said, if needed we will help to fix this issue.

Go to advanced search