Search found 4482 matches

by Bax
23 Mar 2020, 11:29
Forum: SFS2X HTML5 / JavaScript API
Topic: [NEW] API v1.7.17 released
Replies: 0
Views: 43

[NEW] API v1.7.17 released

We just released v1.7.17 of the SFS2X JavaScript client API. In this release we fixed an issue with JavaScript's Strict Mode and a bunch of issue in our experimental TypeScript declarations file. You can find the new version on the download page as usual: https://www.smartfoxserver.com/download/sfs2...
by Bax
23 Mar 2020, 11:25
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 14
Views: 1693

Re: TypeScript declarations bug

All reported errors should be fixed by the latest 1.7.17 version of the API.
by Bax
24 Feb 2020, 15:55
Forum: SFS2X HTML5 / JavaScript API
Topic: ReferenceError: DataStream is not defined in wechat
Replies: 7
Views: 2185

Re: ReferenceError: DataStream is not defined in wechat

Currently our JavaScript API are targeted at main desktop and mobile browsers. It is hard for us to test other environments. If you like we can provide the API source code. Maybe manually importing the DataStram library in your project is enough? If you want to give it a try, please contact us by em...
by Bax
10 Feb 2020, 11:22
Forum: SFS2X C# API
Topic: Unity, FirstPersonShooter example issues
Replies: 2
Views: 562

Re: Unity, FirstPersonShooter example issues

It seems your Unity doesn't "see" the classes in the API dll. I suggest to remove all content of the /Assets/Plugins folder, then download the latest version of our C# API and follow the instructions provided here based on the platforms you want to support: http://docs2x.smartfoxserver.com...
by Bax
10 Feb 2020, 08:25
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 14
Views: 1693

Re: TypeScript declarations bug

As you may understand, it is almost impossible for us to test all combinations of frameworks, package managers, development tools and what more, in particular speaking of TypeScript. Our API package is the most simple NPM package you can think of: 1 JavaScript file with no dependancies. It is hard t...
by Bax
29 Jan 2020, 09:14
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 14
Views: 1693

Re: TypeScript declarations bug

We are in the process of releasing a new minor update to the JavaScript API. If would be great if you could provide a feedback on my last message, so that if changes are needed, we can make them available in the coming release. Thank you.
by Bax
22 Jan 2020, 11:42
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 14
Views: 1693

Re: TypeScript declarations bug

One more thing. Could you please try the following? In the project configuration in which you get those TypeScript transpile errors, go to the node_modules/sfs2x-api folder and edit the type definitions file. Try substituting all occurrences of "{array}" with "{Array}". Do the er...
by Bax
22 Jan 2020, 10:23
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 14
Views: 1693

Re: TypeScript declarations bug

Could you send a very basic project example showing the TypeScript transpile errors? Possibly the whole project folder, including node modules and all. We tried updating all the tools used to generate our API final package and we'd like to test it. I don't think anything changed in this regards but....
by Bax
16 Jan 2020, 09:08
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 14
Views: 1693

Re: TypeScript declarations bug

It is not clear if you are having issues using the API (connect to SFS, etc), or if it is just a matter of intellisense and code completion.
by Bax
20 Dec 2019, 08:30
Forum: SFS2X Questions
Topic: Log Analysis no Data
Replies: 1
Views: 149

Re: Log Analysis no Data

You should check the logs for possible errors in the logs analysis process.
The relevant logs are logs/smartfox.log and logs/statsParser.log. In particular the second one is the one written during the process.
Can you please check both and report any issue you may find?
Thanks.
by Bax
26 Nov 2019, 08:19
Forum: SFS2X HTML5 / JavaScript API
Topic: ReferenceError: DataStream is not defined in wechat
Replies: 7
Views: 2185

Re: ReferenceError: DataStream is not defined in wechat

Hi Bax! I have the same problem when using for CocosCreator IDE. Can you send me a copy. If i can fix, i'll send back for you. My Email: janicegamemaster@gmail.com Hope you feedback. Thanks! Please send us an email with your request. Also, we'd like to have more information on the issue you are fac...
by Bax
15 Nov 2019, 13:42
Forum: SFS2X Questions
Topic: Question: smartfox unity integration, and more
Replies: 5
Views: 328

Re: Question: smartfox unity integration, and more

Creating an asset like that is not trivial. Maybe in the future we will make something similar, but we can't guarantee. At the moment we are focused on other improvements of SmartFoxServer. About the server side language, I guess you mean Lua, not Luna. Anyway, if you are not familiar with Java, you...
by Bax
15 Nov 2019, 10:04
Forum: SFS2X Questions
Topic: Question: smartfox unity integration, and more
Replies: 5
Views: 328

Re: Question: smartfox unity integration, and more

Actually that's not an asset we created. It is from a third-party developer, so you should try contacting him.
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: 462

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

Re: Error on Unity examples pack

We updated the Unity examples package in the download page:
https://www.smartfoxserver.com/download ... p=examples

Go to advanced search