Search found 4469 matches

by Bax
22 Oct 2019, 08:19
Forum: SFS2X HTML5 / JavaScript API
Topic: undefined is not an object (evaluating 'this._sfs.debug')
Replies: 2
Views: 171

Re: undefined is not an object (evaluating 'this._sfs.debug')

We believe this was already fixed in the latest API version you can download here: https://www.smartfoxserver.com/download/sfs2x#p=client
Please update your project and let us know in case the error occurs again.
by Bax
03 Oct 2019, 13:37
Forum: SFS2X C# API
Topic: Error on Unity examples pack
Replies: 3
Views: 563

Re: Error on Unity examples pack

We updated the Unity examples package in the download page:
https://www.smartfoxserver.com/download ... p=examples
by Bax
03 Oct 2019, 13:14
Forum: SFS2X C# API
Topic: Error on Unity examples pack
Replies: 3
Views: 563

Re: Error on Unity examples pack

Debug: Rebuilding Library because the asset database could not be found! This is expected; due to the way we distribute our examples, the first time you import it, the assets database must be rebuilt. You shouldn't see it again if you save and reopen the project. Warning: Assets\ConnectorAssets\Scr...
by Bax
03 Oct 2019, 12:44
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 3
Views: 408

Re: TypeScript declarations bug

The d.ts file is generated automatically, so we don't have control over missing descriptions.
We'll try to figure out something...
by Bax
02 Oct 2019, 07:25
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 3
Views: 408

Re: TypeScript declarations bug

What IDE are you using? We'd like to be able to reproduce this to see what is going on.
We tested the type definitions in Visual Studio Code and didn't get errors.
by Bax
12 Sep 2019, 06:49
Forum: SFS2X C# API
Topic: Sfs.MySelf might null after sucessfull login?
Replies: 10
Views: 510

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

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

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

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

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

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

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

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

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

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...

Go to advanced search