Search found 4380 matches

by Bax
20 Jul 2018, 08:37
Forum: SFS2X C# API
Topic: [NEW] API v1.7.7 released
Replies: 0
Views: 17

[NEW] API v1.7.7 released

We just released version 1.7.7 of the SFS2X C# API.

The new version introduces an optimization which avoids generating some garbage when the ProcessEvents method is called and there's no event to be dispatched.

You can get the new API here: http://www.smartfoxserver.com/download/sfs2x#p=client
by Bax
20 Jul 2018, 08:33
Forum: SFS2X C# API
Topic: ProcessEvents produces gc alloc
Replies: 1
Views: 15

Re: ProcessEvents produces gc alloc

Thank you for reporting the issue.
We just published an updated version of the API 1.7.7 which should fix it.
by Bax
19 Jul 2018, 08:05
Forum: SFS2X C# API
Topic: GetVariable exception
Replies: 5
Views: 82

Re: GetVariable exception

"variables" is a standard Dictionary: Dictionary<string, UserVariable> variables It can't be null, or we would be calling a method on a null object, causing a different exception. What platform are you building your project for? Maybe this is a platform-specific issue? Or could it have to ...
by Bax
16 Jul 2018, 10:24
Forum: SFS2X C# API
Topic: GetVariable exception
Replies: 5
Views: 82

Re: GetVariable exception

We double checked the behavior, requesting a non-existent variable, and everything is fine. Also, the code is straightforward in the API, and I don't know how anything could go wrong: public UserVariable GetVariable(string name) { if (!variables.ContainsKey(name)) return null; return variables[name]...
by Bax
08 Jul 2018, 09:29
Forum: SFS2X Questions
Topic: C++ GAME DEVELOPERS WANTED
Replies: 24
Views: 95364

Re: C++ GAME DEVELOPERS WANTED

brandonlamb wrote:What is the licensing on the client api? Are there licensing considerations/issues/clashes that will come out of this?

No issues with the client APIs; those can be redistributed freely.
by Bax
13 Jun 2018, 07:42
Forum: SFS2X HTML5 / JavaScript API
Topic: [NEW] API v1.7.11 released
Replies: 3
Views: 309

Re: [NEW] API v1.7.11 released

We don't provide official TS definitions. We are aware of an independent project on NPM, but we never tested it and we don't know the level of compatibility with our current API version. This is the link to the mentioned project: https://www.npmjs.com/package/@types/smart-fox-server
by Bax
13 Jun 2018, 07:38
Forum: SFS2X HTML5 / JavaScript API
Topic: Older HTML5 client API that matches TS definitions
Replies: 2
Views: 314

Re: Older HTML5 client API that matches TS definitions

Hello.
We don't know anything about the project you linked. Without the authors mentioning it, it is impossible to say which version of our API it refers to. Maybe you can try contacting the author?
by Bax
28 May 2018, 15:12
Forum: SFS2X HTML5 / JavaScript API
Topic: New to Webpack, help...
Replies: 3
Views: 119

Re: New to Webpack, help...

Could you please send a test project (using classic API, not webpack) showing the error? We would like to further investigate it.
by Bax
28 May 2018, 07:42
Forum: SFS2X HTML5 / JavaScript API
Topic: New to Webpack, help...
Replies: 3
Views: 119

Re: New to Webpack, help...

I thinks this might be an issue with the generation of the source map of your project, which in turn should embed the API source map. I suggest to follow the setup of the project in this example: http://docs2x.smartfoxserver.com/ExamplesJS/connector-npm-webpack In any case you are not forced to use ...
by Bax
21 May 2018, 07:35
Forum: SFS2X HTML5 / JavaScript API
Topic: SFS2X.LoginRequest is not a constructor.
Replies: 2
Views: 135

Re: SFS2X.LoginRequest is not a constructor.

Can you please send a test case?
Because we tested the new API in all our examples, and they work as expected. No "not a constructor" error ever.
Maybe something else is going on?
by Bax
17 May 2018, 16:00
Forum: SFS2X HTML5 / JavaScript API
Topic: [NEW] API v1.7.11 released
Replies: 3
Views: 309

[NEW] API v1.7.11 released

We just released v1.7.11 of the SFS2X JavaScript client API, which fixes a blocking issue with Internet Explorer 11.
You can find the new version on the download page as usual: https://www.smartfoxserver.com/download/sfs2x#p=client
by Bax
17 May 2018, 15:56
Forum: SFS2X HTML5 / JavaScript API
Topic: Internet Explorer 11 not supported?
Replies: 7
Views: 167

Re: Internet Explorer 11 not supported?

The new version is available in the download section of our website.
Again, thank you for pointing out the issue.
by Bax
17 May 2018, 09:38
Forum: SFS2X HTML5 / JavaScript API
Topic: Internet Explorer 11 not supported?
Replies: 7
Views: 167

Re: Internet Explorer 11 not supported?

Actually we are investigating if we can avoid forcing developers to import a separate library.
If everything works well we will release an API version including the polyfill needed to fix the IE11 compatibility.
I'll let you know soon.
by Bax
16 May 2018, 16:39
Forum: SFS2X HTML5 / JavaScript API
Topic: Internet Explorer 11 not supported?
Replies: 7
Views: 167

Re: Internet Explorer 11 not supported?

In case you are using npm (as described in this tutorial: http://docs2x.smartfoxserver.com/ExamplesJS/connector-npm-webpack), you should install the babel-polyfill library available in the npm repository and then import it using this statement at the very beginning of your entry file: import "b...
by Bax
16 May 2018, 15:55
Forum: SFS2X HTML5 / JavaScript API
Topic: Internet Explorer 11 not supported?
Replies: 7
Views: 167

Re: Internet Explorer 11 not supported?

Ok, issue solved. You should load the babel-polyfill library before the SFS2X API file, like this: <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.min.js"></script> <script type="text/javascript" src="libs/s...

Go to advanced search